
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: radial-gradient(circle at top, #1e1e1e, #0b0b0b);
    color: #e6e6e6;
    min-height: 100vh;
}


/* TOP BAR */


.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 100;

    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    padding: 0 32px;
    border-bottom: 1px solid rgba(197, 183, 113, 0.25);
}



.topbar {
    background: rgba(0, 0, 0, 0.6); /* ← ajuste ici */
    backdrop-filter: blur(2px);     /* bonus premium */
    -webkit-backdrop-filter: blur(2px);
}


.topbar .logo {
    font-weight: 800;
    font-size: 20px;
    margin-right: 40px;
}

.topbar nav {
    display: flex;
    justify-content: center;
    align-items: center;
}


.topbar nav a {
    margin: 0 14px;
    font-size: 13px;
    text-transform: uppercase;
    opacity: 0.8;
    cursor: pointer;
}

.topbar nav a:hover {
    opacity: 1;
}

/* ================= NAV LINKS — CLEAN ================= */

.topbar nav a {
    color: #cfcfcf;
    text-decoration: none;
    font-weight: 400;
    margin: 0 14px;
    position: relative;
    transition: color 0.2s ease;
}

/* Hover : juste plus clair */
.topbar nav a:hover {
    color: #ffffff;
}

/* Active : soulignement fin */
.topbar nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.6);
}


/* Active page */
.topbar nav a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}



.topbar .lang {
    cursor: pointer;
}

.topbar nav {
    display: flex;
    align-items: center;
}

.topbar nav a {
    position: relative;
    padding: 0 18px;
}

.topbar nav a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(240,199,94,0.5),
        transparent
    );
    opacity: 0.6;
}

.topbar nav a {
    font-size: 12px;
    letter-spacing: 1.6px;
    font-weight: 600;
    text-transform: uppercase;
}

.topbar nav a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(240,199,94,0),
        rgba(240,199,94,0.9),
        rgba(240,199,94,0)
    );
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.topbar nav a:hover::before {
    width: 80%;
}

.topbar .logo {
    font-weight: 900;
    letter-spacing: 3px;
    color: #f5f5f5;
    position: relative;
}

.topbar .logo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #f0c75e,
        transparent
    );
}


.left {
    position: relative;
    z-index: 3;

    /* background: linear-gradient(
        to bottom,
        rgba(20,20,20,0.65),
        rgba(20,20,20,0.85)
    ); */

    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 20px;
    padding: 28px;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.05); */
		
}

.left::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;

    /*background: linear-gradient(
        135deg,
        rgba(240,199,94,0.35),
        rgba(255,255,255,0.05),
        rgba(240,199,94,0.15)
    );*/

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}



.left .card {
    background: rgba(30,30,30,0.75);
    backdrop-filter: blur(4px);
    border-radius: 14px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 30px rgba(0,0,0,0.4);
}

.left h3 {
    font-weight: 700;
    letter-spacing: 0.6px;
}


/* MAIN LAYOUT */
.layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 40px;
	max-width: 1500px;
	margin: 0 auto;
}

/* LEFT */
.left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.brand {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 4px;
    opacity: 0.9;
}

/* CARDS */
.card {
    background: rgba(20,20,20,0.75);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* RANKING */
.ranking ul {
    list-style: none;
    margin-top: 12px;
}

.ranking li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

/* MENU BUTTONS */
.menu > button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: #1f1f1f;
    color: #f0c75e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}


.menu button:hover {
    background: #2a2a2a;
}

/* RIGHT */
.right {
    position: relative;
}

/* HERO */
.hero {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* NEWS */
.news {
    margin-top: 24px;
    display: grid;
    gap: 20px;
}

.patchnotes p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.85;
}

/* La vidéo prend une hauteur proportionnelle à l'écran */
.hero-video {
    position: relative;
    width: 100%;
    height: 70vh;              /* ← 70% de la hauteur de la fenêtre (ajuste 60-80 selon ton goût) */
    min-height: 400px;         /* ← évite qu'elle devienne trop petite sur très petits écrans */
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;  /* ou center center si tu préfères */
}

/* Le contenu suit automatiquement la hauteur de la vidéo */
.content {
    position: relative;
    z-index: 2;
    margin-top: calc(-70vh * 0.25);  /* ← chevauchement proportionnel ! */
    padding-top: 40px;              /* un peu d'air pour la respiration visuelle */
}

/* Option bonus : limite le chevauchement max/min pour éviter les extrêmes */
.content {
    margin-top: clamp(-120px, calc(-70vh * 0.18), -60px);
}


/* overlay sombre + lisibilité */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.2),
            rgba(0,0,0,0.8)
        );
}

.hero-video::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 350px; /* Tu peux tester 300px ou 400px selon ton feeling */
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(30, 30, 30, 0.1) 20%,
        rgba(28, 28, 28, 0.25) 40%,
        rgba(25, 25, 25, 0.5) 60%,
        rgba(22, 22, 22, 0.8) 80%,
        #141414 100%
    );
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 768px) {
	
.hero-video video {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 79% top;  /* ou center center si tu préfères */
	}	
	
    .hero-video {
        height: 60vh;
        min-height: 350px;
    }
    .content {
        margin-top: calc(-60vh * 0.2);  /* moins de chevauchement sur mobile */
    }
}

/* Overlay joueurs connectés – Haut droite */
.players-overlay {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(240, 199, 94, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInRight 1s ease-out;
    font-weight: 600;
}


.players-overlay .icon {
    width: 24px;
    height: 24px;
    background: #f0c75e;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='9' cy='7' r='4'%3E%3C/circle%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'%3E%3C/path%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='9' cy='7' r='4'%3E%3C/circle%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'%3E%3C/path%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

.players-overlay .number {
    font-size: 22px;
    font-weight: 800;
    color: #f0c75e;
}

.players-overlay .text {
    font-size: 13px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animation d'entrée depuis la droite */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Point vert live (plus discret) */
.players-overlay::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #409f63;
    border-radius: 50%;
    box-shadow: 0 0 10px #3e975e;
}

/* Petite animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


@keyframes pulse {
    0% { box-shadow: 0 0 12px #4ade80; }
    50% { box-shadow: 0 0 20px #4ade80; }
    100% { box-shadow: 0 0 12px #4ade80; }
}


/* mobile */
@media (max-width: 1024px) {
    .layout {
        grid-template-columns: 320px 1fr;
        gap: 24px;
    }

    .left {
        padding: 22px;
    }

    .brand {
        font-size: 48px;
    }
}

@media (max-width: 768px) {

    /* Layout en colonne */
    .layout {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    /* Sidebar devient un bloc normal */
    .left {
        margin-top: 0;
        transform: none;
        border-radius: 16px;
    }

    /* Titre plus compact */
    .brand {
        font-size: 36px;
        letter-spacing: 2px;
        text-align: center;
    }


    .topbar {
        justify-content: space-between;
    }


}

@media (max-width: 480px) {

    .brand {
        font-size: 28px;
    }

    .left {
        padding: 18px;
    }

    .card {
        padding: 16px;
    }
}
.lang-switcher {
    position: relative;
    margin-left: 24px;
    z-index: 200;
}

/* Bouton principal */
.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;

    background: rgba(20,20,20,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border: 1px solid rgba(240,199,94,0.35);
    border-radius: 20px;

    padding: 6px 14px;
    cursor: pointer;

    color: #f5f5f5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.lang-current .chevron {
    font-size: 10px;
    opacity: 0.7;
}

/* Menu déroulant */
.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;

    min-width: 160px;

    background: linear-gradient(
        to bottom,
        rgba(20,20,20,0.85),
        rgba(20,20,20,0.95)
    );

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(240,199,94,0.25);
    border-radius: 14px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.7);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

/* Items */
.lang-menu button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;
    border: none;
    color: #e6e6e6;

    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;

    transition: background 0.2s ease;
}

.lang-menu button span {
    opacity: 0.6;
    font-size: 11px;
    letter-spacing: 0;
}

/* Hover item */
.lang-menu button:hover {
    background: rgba(240,199,94,0.12);
}

/* Ouverture au hover (desktop) */
.lang-switcher:hover .lang-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-menu button[data-lang="fr"] {
    color: #f0c75e;
    font-weight: 700;
}

.lang-menu a {
    box-sizing: border-box;
}

.lang-menu a.active {
    box-shadow: inset 0 0 0 1px rgba(240,199,94,0.35);
}


.lang-menu {
    overflow: hidden;
    border-radius: 14px; /* ou la valeur que tu utilises déjà */
}

.lang-switcher::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px; /* zone tampon */
}

.footer {
    position: relative;
    margin-top: 120px;
    padding: 40px 60px 30px;

    background:
        linear-gradient(
            to bottom,
            rgba(20,20,20,0.6),
            rgba(10,10,10,0.9)
        );

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-top: 1px solid rgba(240,199,94,0.25);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(240,199,94,0.6),
        transparent
    );
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 40px;

    max-width: 1400px;
    margin: 0 auto;
}

/* BRAND */
.footer-logo {
    font-weight: 900;
    letter-spacing: 4px;
    font-size: 18px;
    color: #f5f5f5;
    position: relative;
}

.footer-logo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 35%;
    height: 2px;

    background: linear-gradient(
        90deg,
        #f0c75e,
        transparent
    );
}

.footer-brand p {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.6;
    line-height: 1.5;
}

/* LINKS */
.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    position: relative;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    opacity: 0.75;
    text-decoration: none;
    color: inherit;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        rgba(240,199,94,0),
        rgba(240,199,94,0.9),
        rgba(240,199,94,0)
    );

    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links a:hover::after {
    width: 100%;
}

/* LANG */
.footer-lang {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 12px;
    letter-spacing: 1.2px;
    opacity: 0.7;
}

.footer-lang strong {
    color: #f0c75e;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}


.discord-overlay {

    display: flex;
    align-items: center;
    gap: 10px;

    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 12px 22px;
    border-radius: 50px;

    border: 1px solid rgba(240,199,94,0.35);
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);

	animation: fadeInLeftSoft 0.8s ease-out both;
	
    font-weight: 600;
    z-index: 3;
}

/* Icône Discord */
.discord-overlay .icon {
    width: 22px;
    height: 22px;
    background: #5865F2;

    mask: url("https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/discord.svg") no-repeat center;
    mask-size: contain;

    -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/discord.svg") no-repeat center;
    -webkit-mask-size: contain;
}

/* Nombre */
.discord-overlay .count {
    font-size: 20px;
    font-weight: 800;
    color: #f0c75e;
}

/* Texte */
.discord-overlay .label {
    font-size: 12px;
    letter-spacing: 0.6px;
    opacity: 0.9;
    text-transform: uppercase;
}

/* Point live */
.discord-overlay::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);

    width: 10px;
    height: 10px;
    background: #5865F2;
    border-radius: 50%;
    box-shadow: 0 0 12px #5865F2;

    animation: discordPulse 2s infinite;
}

@keyframes discordPulse {
    0%   { box-shadow: 0 0 10px #5865F2; }
    50%  { box-shadow: 0 0 18px #5865F2; }
    100% { box-shadow: 0 0 10px #5865F2; }
}



@keyframes fadeInLeftSoft {
    from {
        opacity: 0;
        transform: translateX(-20px) scale(0.96);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.discord-overlay {
    animation-delay: 0.12s;
}

.status-overlays {
    position: absolute;
    top: 100px;
    left: 55px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    z-index: 10;
}

.discord-overlay,
.players-overlay {
    position: relative;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 22px;
    border-radius: 50px;

    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(240,199,94,0.35);
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);

    font-weight: 600;
}

@media (max-width: 768px) {
    .status-overlays {
        top: auto;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    height: 2px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #f0c75e,
        rgba(240,199,94,0.6)
    );
    border-radius: 2px;
}
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .topbar nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;

        background: rgba(10,10,10,0.95);
        backdrop-filter: blur(12px);

        flex-direction: column;
        gap: 0;

        border-bottom: 1px solid rgba(240,199,94,0.25);

        max-height: 0;
        overflow: hidden;

        transition: max-height 0.35s ease;
    }

    .topbar nav a {
        padding: 16px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .topbar nav.open {
        max-height: 400px; /* suffisant pour ton menu */
    }
}

.auth-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.auth-modal.active {
    display: flex;
}

.auth-box {
	position: relative; 

	width: 360px;
    padding: 28px;
    border-radius: 18px;

    background: linear-gradient(
        to bottom,
        rgba(20,20,20,0.9),
        rgba(10,10,10,0.95)
    );

    border: 1px solid rgba(240,199,94,0.35);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);

    animation: fadeInUp 0.4s ease;
}

.auth-box h3 {
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.auth-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;

    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(240,199,94,0.25);
    border-radius: 10px;

    color: #fff;
}

.auth-box form button {
    width: 100%;
    padding: 12px;
    background: #f0c75e;
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}


.auth-close {
    all: unset;
    position: absolute;
    top: 14px;
    right: 14px;

    width: 34px;
    height: 34px;
    border-radius: 10px; /* même vibe que Login */

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f0c75e;
    color: #000;

    font-size: 18px;
    font-weight: 900;
    line-height: 1;

    cursor: pointer;



}

.auth-switch {
    margin-top: 14px;
    font-size: 12px;
    text-align: center;
    opacity: 0.7;
}

.auth-switch span {
    color: #f0c75e;
    cursor: pointer;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 10px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
}

.lang-current img {
    width: 22px;
    height: auto;
}

.lang-menu {
    position: absolute;
    top: 110%;
    right: 0;
    width: 200px;
    background: rgba(10,10,10,0.95);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 6px;
    display: none;
    z-index: 999;
}

.lang-switcher:hover .lang-menu {
    display: block;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: #ddd;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.lang-item img {
    width: 26px;
    height: auto;
}

.lang-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ================= DOWNLOAD CARD (SOFT) ================= */
/* ===============================
   DOWNLOAD CARD (H1N1 THEME)
   =============================== */

.download-card {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(197, 183, 113, 0.25);
    border-radius: 6px;
    overflow: hidden;
}

/* Header */
.download-header {
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(197, 183, 113, 0.25);
}

.download-title {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #e6e0c8;
    text-transform: uppercase;
}

.download-subtitle {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.55);
}

/* Body */
.download-body {
    padding: 28px 20px;
}

/* Highlight text */
.download-highlight {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 22px;
}

/* Download button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 12px 22px;
    margin: 10px 0 18px;

    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(197, 183, 113, 0.4);
    border-radius: 4px;

    color: #e6e0c8;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.6px;

    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

/* Logo in button */
.download-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Hover */
.download-btn:hover {
    background: rgba(197, 183, 113, 0.08);
    border-color: #c5b771;
    color: #fff;
}

/* Info text */
.download-info {
    margin-top: 12px;
    font-size: 12px;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.5);
}





/* ================= INFO ================= */

.download-info {
    margin-top: 22px;
    font-size: 0.9rem;
    color: #9e9e9e;
}

.auth-card {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.auth-card h2 {
    margin-bottom: 6px;
}

.auth-card .subtitle {
    color: #aaa;
    margin-bottom: 20px;
}

.auth-form input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px;
    margin-bottom: 12px;
    color: #fff;
}

.auth-form button {
    width: 100%;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px;
    color: #fff;
    cursor: pointer;
}

.auth-form button:hover {
    border-color: #fff;
}

.auth-error {
    color: #ff6b6b;
    margin-bottom: 12px;
}

.auth-success {
    color: #6bff95;
    margin-bottom: 12px;
}

.auth-links {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #aaa;
}

.auth-links a {
    color: #ddd;
    text-decoration: none;
}

.auth-links a:hover {
    color: #fff;
}

.auth-error {
    animation: shake 0.3s ease;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}


.auth-card {
    max-width: 420px;
    margin: 60px auto 0;
}

.maintenance-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.maintenance-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.maintenance-card {
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(255, 215, 120, 0.25);
    border-radius: 18px;
    padding: 60px 80px;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeUp 0.8s ease-out;
}

.maintenance-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.maintenance-title {
    font-size: 32px;
    margin-bottom: 16px;
    color: #ffd27a;
}

.maintenance-desc {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
}

.maintenance-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffd27a, #c9a14a);
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maintenance-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 210, 122, 0.6);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section.right.maintenance-hero {
    width: 100%;
    flex: 1;
    padding: 0;
}

.maintenance-full {
    width: 100%;
    min-height: calc(100vh - var(--topbar-height, 80px));
    align-items: center;
    justify-content: center;
}

.maintenance-hero .row,
.maintenance-hero .col-lg-9 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ranking-full {
    width: 100%;
    min-height: calc(100vh - var(--topbar-height, 80px));
    position: relative;
}

.ranking-card {
    background: rgba(18,18,18,0.8);
    border: 1px solid rgba(255,215,120,0.25);
    border-radius: 20px;
    padding: 40px 50px;
    box-shadow: 0 0 80px rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.ranking-title {
    font-size: 30px;
    color: #ffd27a;
    margin-bottom: 30px;
}

/* Onglets */
.ranking-tabs {
    text-align: center;
    margin-bottom: 30px;
}

.ranking-tabs .tab {
    background: transparent;
    border: 1px solid rgba(255,215,120,0.25);
    color: #ccc;
    padding: 10px 18px;
    margin: 0 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ranking-tabs .tab:hover {
    color: #ffd27a;
    border-color: #ffd27a;
}

.ranking-tabs .tab.active {
    background: linear-gradient(135deg, #ffd27a, #c9a14a);
    color: #111;
    font-weight: 600;
}

/* Contenu */
.ranking-content {
    display: none;
}

.ranking-content.active {
    display: block;
    animation: fadeUp 0.4s ease-out;
}

.ranking-tabs {
    border-bottom: 1px solid rgba(255,215,120,0.15);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* ########### */
/* CLASSEMENT */
/* ########### */

/* ===== CLASSEMENT CARD ===== */
.card {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 215, 120, 0.25);
    border-radius: 18px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(
        180deg,
        rgba(30, 30, 30, 0.95),
        rgba(15, 15, 15, 0.95)
    );
    border-bottom: 1px solid rgba(255, 215, 120, 0.25);
}



.card-header p {
    color: #cfcfcf;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== ONGLET CLASSEMENT ===== */
.nav-tabs {
    border-bottom: 1px solid rgba(255, 215, 120, 0.25);
}

.nav-tabs .nav-link {
    color: #c9c9c9;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    padding: 12px 18px;
    transition: all 0.25s ease;
}

.nav-tabs .nav-link:hover {
    color: #f3d28c;
}

.nav-tabs .nav-link.active {
    color: #f3d28c;
    background: transparent;
    border-bottom: 3px solid #f3d28c;
}


/* ===============================
   TABLE EVENT – PREMIUM UI
   =============================== */

.table-event {
    width: 100%;
    border-collapse: collapse;
    background: rgba(8, 8, 8, 0.55);
    font-size: 13px;
}

/* ===== HEADER ===== */
.table-event thead th {
    padding: 12px 10px;
    text-align: center;

    background: rgba(20, 20, 20, 0.9);
    color: #e6e0c8;

    font-weight: 600;
    letter-spacing: 0.4px;

    border-bottom: 1px solid rgba(197, 183, 113, 0.35);
}

/* ===== BODY ===== */
.table-event tbody td {
    padding: 10px 8px;
    text-align: center;

    color: rgba(255, 255, 255, 0.85);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== ROW HOVER ===== */
.table-event tbody tr {
    transition: background 0.12s ease;
}

.table-event tbody tr:hover {
    background: rgba(197, 183, 113, 0.06);
}

/* ===== HIGHLIGHT (search result, active row, etc.) ===== */
.table-event tbody tr.table-success {
    background: rgba(120, 200, 140, 0.12);
}

.table-event tbody tr.table-success:hover {
    background: rgba(120, 200, 140, 0.18);
}


/* ===== HIGHLIGHT SEARCH ===== */
.table-success {
    background: rgba(90, 160, 90, 0.25) !important;
    box-shadow: inset 0 0 10px rgba(90, 160, 90, 0.5);
}

/* ===== ALERTS ===== */
.alert-warning {
    background: rgba(200, 120, 40, 0.15);
    border: 1px solid rgba(200, 120, 40, 0.4);
    color: #ffcf91;
}

/* ===== PAGINATION ===== */
.btn-light {
    background: rgba(25, 25, 25, 0.9);
    border: 1px solid rgba(255, 215, 120, 0.25);
    color: #f3d28c;
    font-weight: 600;
}

.btn-light:hover {
    background: rgba(255, 215, 120, 0.15);
    color: #fff;
}

/* ===== AUTOCOMPLETE ===== */
.ui-autocomplete {
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(255, 215, 120, 0.35);
    max-height: 240px;
    overflow-y: auto;
    z-index: 9999;
}

.ui-menu-item-wrapper {
    color: #e0e0e0;
    padding: 8px 12px;
}

.ui-menu-item-wrapper.ui-state-active {
    background: rgba(255, 215, 120, 0.25);
    color: #fff;
}

/* ================================
   FAKE BOOTSTRAP – TABS ONLY
   ================================ */

/* NAV TABS */
.nav-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}

.nav-tabs .nav-item {
    list-style: none;
}

.nav-tabs .nav-link {
    background: transparent;
    border: none;
    padding: 10px 16px;
    cursor: pointer;

    font-size: 15px;
    color: inherit;
    opacity: 0.65;

    transition: opacity 0.15s ease; /* UNIQUEMENT opacity */
}

.nav-tabs .nav-link.active {
    opacity: 1;
    font-weight: 600;

    /* underline nette, sans animation */
    border-bottom: 2px solid #c5b771;
}


/* TAB CONTENT */
.tab-content {
    position: relative;
}

/* PANELS */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 18px;
    margin-bottom: 20px;
}


.card-header p {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 0.3px;
}


/* Container recherche */
.input-group {
    display: flex;
    align-items: center;

    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;

    overflow: hidden; /* fusion visuelle */
}

/* Input */
.input-group input[type="text"] {
    flex: 1;

    background: transparent;
    border: none;

    padding: 10px 14px;
    font-size: 14px;
    color: inherit;

    outline: none;
}

/* Placeholder */
.input-group input::placeholder {
    opacity: 0.5;
}

/* Focus global */
.input-group:focus-within {
    border-color: #c5b771;
}

/* Bouton recherche intégré */
.input-group .btn {
    background: rgba(197, 183, 113, 0.08);
    border: none;

    color: #c5b771;
    font-size: 14px;
    padding: 10px 16px;

    cursor: pointer;
    white-space: nowrap;

    transition: background 0.15s ease, color 0.15s ease;
	max-width: 250px;
}

/* Hover bouton */
.input-group .btn:hover {
    background: rgba(197, 183, 113, 0.15);
    color: #e6e0c8;
}


.d-flex.justify-content-between {
    margin-top: 24px;
}

.d-flex.justify-content-between .btn {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);

    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;

    padding: 6px 14px;
    cursor: pointer;

    transition: border-color 0.15s ease, color 0.15s ease;
	text-decoration: none;
}

.d-flex.justify-content-between .btn:hover {
    border-color: #c5b771;
    color: #e6e0c8;
}

.d-flex.justify-content-between .btn:focus {
    outline: none;
}






/* ================================
   jQuery UI Autocomplete – OVERRIDE
   ================================ */

.ui-autocomplete.ui-menu {
    background: rgba(15, 15, 15, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-top: none !important;

    border-radius: 0 0 4px 4px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6) !important;

    padding: 4px 0 !important;
    margin-top: -1px !important;
    z-index: 9999 !important;
}

/* Items */
.ui-autocomplete.ui-menu .ui-menu-item-wrapper {
    background: transparent !important;
    border: none !important;

    padding: 8px 14px !important;
    font-size: 14px !important;

    color: rgba(255, 255, 255, 0.75) !important;
    cursor: pointer !important;

    transition: background 0.12s ease, color 0.12s ease !important;
}

/* Hover / keyboard selection */
.ui-autocomplete.ui-menu .ui-menu-item-wrapper.ui-state-active {
    background: rgba(197, 183, 113, 0.15) !important;
    color: #e6e0c8 !important;
}

/* Neutralise styles jQuery UI globaux */
.ui-widget-content,
.ui-widget.ui-widget-content {
    border: none !important;
    background: transparent !important;
}

/* Supprime focus bleu */
.ui-state-focus {
    outline: none !important;
}

/* ================================
   jQuery UI Autocomplete – FIX FINAL
   ================================ */

/* Le dropdown */
.ui-autocomplete.ui-menu {
    position: absolute;

    background-color: rgba(15, 15, 15, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-top: none !important;

    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);

    padding: 4px 0;
    margin-top: -1px;

    max-width: 100vw;
    overflow-x: hidden;

    z-index: 9999;
}

/* Liste */
.ui-autocomplete.ui-menu .ui-menu-item {
    list-style: none;
    width: 100%;
}

/* Ligne */
.ui-autocomplete.ui-menu .ui-menu-item-wrapper {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 8px 14px;
    font-size: 14px;

    background: transparent;
    color: rgba(255, 255, 255, 0.75);

    cursor: pointer;
    white-space: nowrap;

    transition: background-color 0.12s ease, color 0.12s ease;
}

/* Hover / sélection */
.ui-autocomplete.ui-menu
.ui-menu-item-wrapper.ui-state-active {
    background-color: rgba(197, 183, 113, 0.18);
    color: #e6e0c8;
}

/* Neutralisation jQuery UI */
.ui-widget-content {
    background: none;
    border: none;
}

/* IMPORTANT : forcer la largeur sur celle de l’input */
.ui-autocomplete {
    width: inherit !important;
}

/* ===============================
   TITRE CLASSEMENT
   =============================== */

.card-header.text-center {
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(197, 183, 113, 0.25);
}

.card-header.text-center h2 {
    margin: 0 0 6px 0;

    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.2px;

    color: #e6e0c8;
    text-transform: uppercase;
}

.card-header.text-center p {
    margin: 0;

    font-size: 13px;
    letter-spacing: 0.4px;

    color: rgba(255, 255, 255, 0.55);
}

.card-header h2 {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #e6e0c8;
    text-transform: uppercase;
}

.register-card {
    margin: auto;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: .75;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.15);
    color: #e6e0c8;
    border-radius: 4px;
}

.form-group input:focus {
    border-color: rgba(240,199,94,.8);
    outline: none;
}

.form-status {
    font-size: 12px;
    margin-top: 4px;
}

.password-field {
    display: flex;
    gap: 6px;
}

.password-field button {
    background: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg,#f0c75e,#c9a63d);
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.referrer-box {
    background: rgba(240,199,94,.08);
    border: 1px solid rgba(240,199,94,.6);
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    text-align: center;
}

.captcha-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

/* ===============================
   LOGOUT CARD
   =============================== */

.logout-card {
    text-align: center;
}

/* Loader minimal */
.logout-loader {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0;
}

.logout-loader span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(240,199,94,0.9);
    animation: pulse 1.2s infinite ease-in-out;
}

.logout-loader span:nth-child(2) { animation-delay: .15s; }
.logout-loader span:nth-child(3) { animation-delay: .3s; }

@keyframes pulse {
    0%, 80%, 100% { opacity: .2; }
    40% { opacity: 1; }
}

.logout-redirect {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

/* Bouton retour */
.btn-secondary {
    display: inline-block;
    padding: 10px 22px;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #e6e0c8;
    text-decoration: none;
    border: 1px solid rgba(240,199,94,0.35);
    background: transparent;
    transition: all .2s ease;
}

.btn-secondary:hover {
    background: rgba(240,199,94,0.12);
    border-color: rgba(240,199,94,0.8);
}

/* ================= ACCOUNT CARD (H1N1) ================= */

/* Header */
.account-header {
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(197, 183, 113, 0.25);
}

.account-title {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #e6e0c8;
    text-transform: uppercase;
}

.account-subtitle {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.55);
}

/* Body */
.account-body {
    padding: 24px 20px;
}

/* Onglets horizontaux comme Classement */
.account-tabs {
    display: flex;
    gap: 28px;
    padding: 0;
    margin: 0 0 18px;
    list-style: none;
    border-bottom: 1px solid rgba(197, 183, 113, 0.25);
}

.account-tabs li {
    margin: 0;
}

.account-tabs .nav-link {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 14px;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Onglet actif */
.account-tabs .nav-link.active {
    color: #c5b771;
    border-bottom: 2px solid #c5b771;
}

.account-action {
    margin: 22px 0 28px;
    display: flex;
    justify-content: center;
}


.account-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(197,183,113,0.35);
    border-radius: 4px;

    color: #e6e0c8;
    font-size: 14px;
    letter-spacing: 0.4px;
    text-decoration: none;

    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.account-link .icon {
    font-size: 16px;
}

.account-link:hover {
    background: rgba(197,183,113,0.12);
    border-color: #c5b771;
    color: #fff;
}


/* Panneau Email */
#email {
    margin: 0 auto;
}

#email > p {

    margin: 0 auto 26px;

    font-size: 14px;
    line-height: 1.7;
    text-align: center;

    color: rgba(255,255,255,0.72);

    padding: 10px 16px;
    background: rgba(0,0,0,0.25);

    border-left: 2px solid rgba(197,183,113,0.6);
    border-right: 2px solid rgba(197,183,113,0.15);

    border-radius: 3px;
}


.email-step {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(197,183,113,0.25);
    border-radius: 4px;
    padding: 18px 20px;
    margin-bottom: 22px;
}

#emailSecretValidation,
#emailStep1,
#emailStep2 {
    position: relative;
    padding: 20px 22px;
    margin-bottom: 22px;

    background: rgba(0,0,0,0.30);
    border: 1px solid rgba(197,183,113,0.18);
    border-radius: 6px;
}

#emailSecretValidation:not(.d-none),
#emailStep1:not(.d-none),
#emailStep2:not(.d-none) {
    border-color: rgba(197,183,113,0.45);
    background: rgba(0,0,0,0.45);
}


#emailStep1.d-none,
#emailStep2.d-none {
    opacity: 0.35;
    pointer-events: none;
}


#email h5 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #e6e0c8;

    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 16px;
}


#email h5::before {
    content: "▸";
    color: #c5b771;
    font-size: 14px;
}


#email .form-control {
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(197,183,113,0.25);
    color: #fff;
    font-size: 14px;
}

#email .form-control:focus {
    background: rgba(0,0,0,0.7);
    border-color: #c5b771;
    box-shadow: none;
}

#email .form-control[readonly] {
    opacity: 0.7;
    cursor: not-allowed;
}

#email label {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 6px;
}

#email .btn {
    margin-top: 10px;
    padding: 7px 14px;
    font-size: 13px;
    width: auto;
}

#email .step-action {
    display: flex;
    justify-content: center;
}



#email .btn-primary,
#email .btn-warning {
    background: rgba(197,183,113,0.15);
    border: 1px solid rgba(197,183,113,0.6);
    color: #e6e0c8;
}

#email .btn-primary:hover,
#email .btn-warning:hover {
    background: rgba(197,183,113,0.3);
    color: #fff;
}

#email .btn-success {
    background: rgba(100,180,120,0.2);
    border: 1px solid rgba(100,180,120,0.6);
    color: #dff5e6;
}

#email .btn-success:hover {
    background: rgba(100,180,120,0.35);
}

#secretValidationStatus,
#emailMatchFeedback,
#codeSentMessage {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
}

#email .mb-3 {
    margin-bottom: 14px !important;
}


#secretValidationStatus span,
#emailMatchFeedback span {
    display: inline-block;
    margin-top: 6px;
}

.account-info {
    margin-top: 24px;
    border: 1px solid rgba(197,183,113,0.25);
    background: rgba(0,0,0,0.35);
    border-radius: 6px;
    overflow: hidden;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.3px;
}

.info-value {
    font-size: 14px;
    color: #e6e0c8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.empire-icon {
    height: 32px;
    border-radius: 4px;
}

.pill {
    padding: 4px 8px;
    font-size: 12px;
    background: rgba(197,183,113,0.15);
    border: 1px solid rgba(197,183,113,0.35);
    border-radius: 3px;
}

.info-value.gold {
    font-weight: 600;
    color: #f3d28c;
}

.info-value.gold img {
    height: 18px;
}


/* ========================================
   ACCORDÉON FAQ - STYLE UNIFIÉ SITE H1N1
   ======================================== */

.accordion-item.bg-dark {
    background-color: #1a1a1a !important; /* Fond sombre profond */
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.accordion-item.bg-dark:hover {
    box-shadow: 0 6px 16px rgba(255, 153, 0, 0.2); /* Légère lueur orange au hover */
    transform: translateY(-2px);
}

/* Bouton de l'accordéon */
.accordion-button.bg-dark.text-warning {
    background-color: #212529 !important; /* Un poil plus clair que le fond pour contraste */
    color: #ffc107 !important; /* Jaune/orange warning Bootstrap */
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border: none !important;
}

.accordion-button.bg-dark.text-warning:not(.collapsed) {
    background-color: #2c3034 !important; /* Plus clair quand ouvert */
    color: #ffdb5c !important; /* Jaune un peu plus clair pour indiquer actif */
    box-shadow: inset 0 -3px 0 rgba(255, 193, 7, 0.5);
}

.accordion-button.bg-dark.text-warning::after {
    /* Flèche Bootstrap personnalisée */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffc107'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    filter: brightness(1.3);
}

.accordion-button.bg-dark.text-warning:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffdb5c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Corps de la réponse */
.accordion-body.text-light {
    background-color: #121212 !important;
    color: #e9ecef !important;
    padding: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* Bordure orange */
.accordion-item.bg-dark.border.border-warning {
    border-color: #ffc107 !important;
    border-width: 2px !important;
}

/* Espacement entre les items */
.accordion-item.bg-dark.mb-3 {
    margin-bottom: 1.5rem !important;
}



/* Sections internes pour plus de structure */
.launch-section {
    margin-bottom: 28px;
}

.launch-section strong {
    display: block;
    font-size: 1.35rem;
    color: #efd71b;
    margin-bottom: 10px;
}

/* Liste des features */
ul.launch-features {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

ul.launch-features li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #c0e0ff;
}

ul.launch-features li::before {
    content: "►";
    color: #64c8ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Fermeture épique */
.launch-closing {
    margin-top: 35px;
    text-align: center;
    font-size: 1.25rem;
    font-style: italic;
    color: #a0d8ff;
    text-shadow: 0 0 12px rgba(100, 200, 255, 0.5);
    border-top: 1px solid rgba(197, 183, 113, 0.25);
    padding-top: 20px;
}

/* Optionnel : petite animation au hover sur la card */
.card.server-description:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* Pour la version "upcoming-launch" si tu veux un petit twist visuel */
.upcoming-launch {
    border: 1px solid rgba(255, 200, 100, 0.3);
}

.upcoming-launch h3 {
    color: #ffd064;
    text-shadow: 0 0 10px rgba(255, 200, 100, 0.4);
}

.upcoming-launch strong {
    color: #ffd064;
    text-shadow: 0 0 8px rgba(255, 200, 100, 0.3);
}

.upcoming-launch .launch-closing {
    color: #ffe0a0;
    text-shadow: 0 0 12px rgba(255, 200, 100, 0.5);
    border-top-color: rgba(255, 200, 100, 0.3);
}
.join-cta {
    margin-top: 6px;
    display: inline-block;

    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    color: #e9e6d8;
    text-decoration: none;

    background: linear-gradient(
        145deg,
        rgba(114, 137, 218, 0.95),
        rgba(88, 101, 242, 0.95)
    );

    border-radius: 14px;
    box-shadow:
        0 0 12px rgba(114, 137, 218, 0.6),
        inset 0 0 6px rgba(255, 255, 255, 0.15);

    transition: all 0.25s ease;
    cursor: pointer;
}
.join-cta:hover {
    transform: scale(1.08) rotate(-1deg);

    box-shadow:
        0 0 20px rgba(114, 137, 218, 0.9),
        0 0 40px rgba(88, 101, 242, 0.6);

    color: #fff;
}
@keyframes pulseDiscord {
    0%   { box-shadow: 0 0 10px rgba(114,137,218,0.5); }
    50%  { box-shadow: 0 0 22px rgba(114,137,218,0.9); }
    100% { box-shadow: 0 0 10px rgba(114,137,218,0.5); }
}

.join-cta {
    animation: pulseDiscord 2.5s infinite;
}


/* SERVER STATUS CARD */
.card.status {
    background: rgba(30, 30, 30, 0.75);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Titre */
.card.status > span {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Liste */
.status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #d6d6d6;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-list li:last-child {
    border-bottom: none;
}

/* BADGES */
.badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Online */
.bg-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}

/* Offline */
.bg-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #ffffff;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}


/* ================= PREMIUM RANKING CARD ================= */
.premium-ranking {
    background: linear-gradient(145deg, rgba(20, 20, 28, 0.92), rgba(10, 10, 18, 0.95));
    border: 1px solid rgba(240, 199, 94, 0.22);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, box-shadow 0.35s ease;
}



/* Header */
.ranking-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
background: radial-gradient(
    circle at 30% 50%,
    rgba(240, 199, 94, 0.10) 0%,
    rgba(240, 199, 94, 0.03) 40%,
    transparent 70%
);
    border-bottom: 1px solid rgba(240, 199, 94, 0.18);
}



.ranking-header .icon {
    font-size: 28px;
    line-height: 1;
}

.ranking-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #f0c75e;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Liste */
.ranking-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rank-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.18s ease;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-item:hover {
    transform: translateX(4px);
}

/* Rang + Médaille */
.rank-position {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #e6e0c8;
    background: rgba(30,30,38,0.7);
    border-radius: 50%;
    border: 2px solid rgba(240,199,94,0.25);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}

.rank-1 .rank-position {
    background: linear-gradient(135deg, #ffd700, #d4a017);
    color: #111;
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255,215,0,0.45);
}

.rank-2 .rank-position {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    color: #111;
    border-color: #c0c0c0;
    box-shadow: 0 0 16px rgba(192,192,192,0.35);
}

.rank-3 .rank-position {
    background: linear-gradient(135deg, #cd7f32, #b06a2a);
    color: #111;
    border-color: #cd7f32;
    box-shadow: 0 0 14px rgba(205,127,50,0.35);
}

/* Joueur */
.rank-player {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 16px;
}

.medal {
    font-size: 22px;
    line-height: 1;
    min-width: 28px;
}

.name {
    font-size: 15px;
    font-weight: 600;
    color: #e6e6e6;
    letter-spacing: 0.4px;
}

/* Niveau */
.rank-level {
    font-size: 14px;
    font-weight: 700;
    color: #f0c75e;
    background: rgba(240,199,94,0.08);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(240,199,94,0.25);
}

/* Effet glow sur le top 3 au hover
.rank-item.rank-1:hover,
.rank-item.rank-2:hover,
.rank-item.rank-3:hover {
    background: rgba(240, 199, 94, 0.12);
    box-shadow: inset 0 0 10px rgba(240,199,94,0.15);
}