/* footer.css */
/* ============================
   Footer GIL — global
   ============================ */

/* Bloc footer général */
footer {
    text-align: center;
    color: #777;
    margin: 40px 0 16px;
    font-size: 0.9em;
    box-sizing: border-box;
    padding-bottom: 16px; /* base desktop */

    /* Alignement propre sur desktop & mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Safe-area iPhone (évite la barre gestuelle en bas) */
@supports (padding: max(0px)) {
    footer {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
}

/* Ligne avec logo + texte */
footer p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 8px 0;
}

/* Logo GIL (SVG)
   - Taille mobile / iPhone par défaut
   - Taille plus large sur laptop
*/
.footer-gil-icon {
    width: 18px;   /* taille iPhone / petits écrans */
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

/* Sur écran plus large (laptop / desktop), on agrandit le logo */
@media (min-width: 1024px) {
    .footer-gil-icon {
        width: 26px;   /* ⇦ ajuste ici si tu veux plus gros sur PC */
        height: 26px;
    }
}

/* ============================
   Bouton hacker "D3C0NN3X"
   ============================ */

.footer-hack-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 10px 18px;
    margin-top: 6px;

    border-radius: 999px;
    border: 1px solid #00ffc8;
    background: radial-gradient(circle at top left, #1a1a2a 0, #050505 60%);
    color: #e0fff7;

    font-family: "Courier New", monospace;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.12em;

    cursor: pointer;
    position: relative;
    overflow: hidden;

    box-shadow: 0 0 6px rgba(0, 255, 200, 0.3);
}

/* Effet de balayage néon */
.footer-hack-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(0, 255, 200, 0.25),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.footer-hack-btn:hover::before {
    transform: translateX(100%);
}

.footer-hack-btn:hover {
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.7);
    border-color: #7dffea;
}

/* Crochets verts façon console */
.footer-hack-btn .hack-bracket {
    color: #00ffc8;
    font-weight: bold;
}

/* Label central */
.footer-hack-btn .hack-label {
    text-shadow: 0 0 4px rgba(0, 255, 200, 0.7);
}

/* Petit point lumineux qui pulse */
.footer-hack-btn .hack-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ffc8;
    box-shadow: 0 0 8px #00ffc8;
    animation: hackPulse 1.4s infinite;
}

@keyframes hackPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    70% {
        transform: scale(1.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Texte jaune Chocobo */
.footer-text-chocobo {
    color: #ffd100 !important;            /* Jaune chocobo FFXIV */
    text-shadow: 0 0 6px #ffd10055, 
                 0 0 12px #ffea7a55;      /* Effet léger néon */
    font-weight: 600;                     /* Un peu plus prononcé */
}

/* Sur PC → encore plus lumineux */
@media (min-width: 1024px) {
    .footer-text-chocobo {
        text-shadow: 0 0 8px #ffd100aa,
                     0 0 18px #fff5b8aa;
        font-size: 1rem;
    }
}

