/* ============================================================
   SANTALIA RP — SHARED STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Rajdhani:wght@600;700&display=swap');

:root {
    --primary:        #c8a84b;
    --primary-dim:    #a08836;
    --primary-light:  #dfc070;
    --glow:           rgba(200,168,75,0.35);
    --bg:             #2a1f12;
    --bg-dark:        #1e1509;
    --card-bg:        rgba(38,28,14,0.95);
    --card-border:    rgba(200,168,75,0.18);
    --card-border-hover: rgba(200,168,75,0.5);
    --text:           #f4ede0;
    --text-dim:       #8a7860;
    --text-muted:     #5a4e3a;
    --nav-bg:         rgba(26,16,6,0.82);
    --grain:          url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
    --red:    #b04040;
    --green:  #6a9a5a;
    --blue:   #5a7a9a;
    --orange: #c8883a;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    background-image: var(--bg-texture);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dim); border-radius: 3px; }


/* ================================================================
   PAGE LOADER
   ================================================================ */
#pageLoader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity .5s ease, visibility .5s ease;
}
#pageLoader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-logo {
    height: 64px;
    width: auto;
    animation: loaderPulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(200,168,75,.5));
}
@keyframes loaderPulse {
    0%,100% { transform: scale(1);    opacity: 1;  }
    50%      { transform: scale(1.08); opacity: .7; }
}
.loader-bar-wrap {
    width: 160px;
    height: 3px;
    background: rgba(200,168,75,.15);
    border-radius: 3px;
    overflow: hidden;
}
.loader-bar {
    height: 100%;
    width: 0;
    background: var(--primary);
    border-radius: 3px;
    animation: loaderFill 2.4s ease forwards;
    box-shadow: 0 0 10px var(--primary);
}
@keyframes loaderFill { 0% { width:0%; } 60% { width:80%; } 100% { width:100%; } }
.loader-text {
    font-family: 'Oswald', sans-serif;
    font-size: .85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
}


/* ================================================================
   ANNONCE BANNER
   ================================================================ */
#siteBanner {
    background: rgba(200,168,75,.08);
    border-bottom: 1px solid rgba(200,168,75,.2);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    max-height: 60px;
    overflow: hidden;
    transition: max-height .4s ease, opacity .4s ease, padding .4s ease;
}
#siteBanner.banner-hiding { max-height: 0; opacity: 0; padding: 0; }
.banner-emoji { font-size: 1rem; }
.banner-text { color: var(--text-dim); }
.banner-link {
    color: var(--banner-color, var(--primary));
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: opacity .2s;
    white-space: nowrap;
}
.banner-link:hover { opacity: .75; }
.banner-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: .9rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color .2s, background .2s;
    line-height: 1;
}
.banner-close:hover { color: var(--text); background: rgba(255,255,255,.06); }


/* ================================================================
   FLOATING DISCORD BUTTON
   ================================================================ */
#discordFloat {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #2a1f12;
    background-image: var(--grain);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(88,101,242,.45);
    opacity: 0;
    transform: translateY(16px) scale(.85);
    transition: opacity .4s ease, transform .4s ease, box-shadow .25s, background .25s;
    pointer-events: none;
}
#discordFloat.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
#discordFloat:hover {
    background: #4752c4;
    box-shadow: 0 10px 32px rgba(88,101,242,.6);
    transform: translateY(-3px) scale(1.06);
}
#discordFloat.pulse {
    animation: discordPulse .7s ease;
}
@keyframes discordPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.18); }
    70%  { transform: scale(.95); }
    100% { transform: scale(1); }
}

/* Tooltip on hover */
#discordFloat::before {
    content: 'Discord';
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #1e1e1e;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    border: 1px solid rgba(255,255,255,.08);
}
#discordFloat:hover::before { opacity: 1; }


/* ================================================================
   BACK TO TOP (floating)
   ================================================================ */
#backToTopFloat {
    position: fixed;
    bottom: 94px;
    right: 28px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(200,168,75,.12);
    border: 1px solid rgba(200,168,75,.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease, background .2s, border-color .2s;
    pointer-events: none;
}
#backToTopFloat.btt-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
#backToTopFloat:hover {
    background: rgba(200,168,75,.22);
    border-color: rgba(200,168,75,.6);
}


/* ================================================================
   NAVBAR
   ================================================================ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 16px 5%;
    z-index: 1000;
    transition: padding .3s;
}
/* When banner is present, nav sits below it */
body.has-banner nav { top: 42px; }

.nav-container {
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(200,168,75,.18);
    transition: background .3s, border-color .3s;
}
.nav-container.scrolled {
    background: rgba(5,5,4,.97);
    border-color: rgba(200,168,75,.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    color: var(--text);
    margin-right: 4px;
}
.logo span { color: var(--primary); }
.logo-img { height: 28px; width: auto; object-fit: contain; }

.nav-links { display: flex; list-style: none; gap: 2px; margin-left: auto; }
.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: .78rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color .2s, background .2s;
    letter-spacing: .3px;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text);
    background: rgba(200,168,75,.1);
}

.nav-right { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

/* Badge joueurs — caché sur les écrans moyens, visible sur grand écran */
.status-badge {
    font-size: .7rem;
    font-weight: 600;
    background: rgba(200,168,75,.07);
    border: 1px solid rgba(200,168,75,.3);
    padding: 5px 10px;
    border-radius: 100px;
    color: var(--text-dim);
}
.status-badge span { color: var(--primary); }

.btn-login {
    text-decoration: none;
    color: #000;
    background: var(--primary);
    padding: 7px 16px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .3px;
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
}
.btn-login:hover { opacity: .85; transform: translateY(-1px); }

/* Cacher le badge sur les écrans < 1400px pour gagner de la place */
@media (max-width: 1400px) {
    .status-badge { display: none; }
}
/* Réduire encore les paddings entre 1024 et 1280px */
@media (max-width: 1280px) {
    .nav-links a { padding: 5px 7px; font-size: .73rem; }
    .logo { font-size: 1rem; }
}
/* Basculer en burger sous 1024px */
@media (max-width: 1024px) {
    .nav-links, .nav-right { display: none !important; }
    .burger { display: flex !important; }
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    background: none;
    border: none;
}
.burger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,8,6,.97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu a {
    text-decoration: none;
    color: var(--text);
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color .2s;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn-login { font-size: 1rem; padding: 12px 36px; color: #000; }


/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: block;
    background:
        linear-gradient(180deg, rgba(20,12,4,0.4) 0%, rgba(30,18,6,0.72) 60%, #2a1f12 100%),
        url('https://images.unsplash.com/photo-1584031024741-e55162e69e1d?w=1920&q=75')
        center 30% / cover no-repeat fixed;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200,168,75,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,168,75,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(200,168,75,.12) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation: breathe 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes breathe {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity:.8; }
    50%      { transform: translate(-50%,-50%) scale(1.15); opacity:1; }
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.top-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(200,168,75,.35);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    background: rgba(200,168,75,.06);
}
.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -1px;
    margin-bottom: 22px;
    text-transform: uppercase;
    text-shadow: 0 4px 40px rgba(0,0,0,0.8);
}
.hero h1 span { color: var(--primary); font-style: italic; font-weight: 400; text-shadow: 0 0 60px rgba(200,168,75,0.5); }
.hero p { color: rgba(242,236,228,0.7); font-size: 1.05rem; max-width: 580px; margin: 0 auto 38px; }
.hero-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: var(--primary);
    color: #000;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .5px;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 24px rgba(200,168,75,.4);
}
.btn-primary:hover { opacity:.88; transform:translateY(-2px); box-shadow:0 8px 32px rgba(200,168,75,.5); }

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: transparent;
    color: var(--text);
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid rgba(255,255,255,.12);
    transition: border-color .2s, background .2s, transform .15s;
}
.btn-discord:hover { border-color:#5865F2; background:rgba(88,101,242,.1); transform:translateY(-2px); }


/* ================================================================
   STATS
   ================================================================ */
.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 5%;
    flex-wrap: wrap;
    margin-top: -70px;
    position: relative;
    z-index: 10;
}
.stat-card {
    background: var(--card-bg);
    padding: 28px 36px;
    border-radius: 18px;
    text-align: center;
    min-width: 180px;
    border: 1px solid var(--card-border);
    transition: border-color .3s, transform .3s;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(200,168,75,.06) 0%, transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.stat-card:hover { border-color:rgba(200,168,75,.4); transform:translateY(-4px); }
.stat-card:hover::before { opacity:1; }
.stat-card h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(200,168,75,.3);
}
.stat-card p { color:var(--text-dim); font-size:.82rem; font-weight:500; letter-spacing:.5px; text-transform:uppercase; }


/* ================================================================
   JOIN SECTION
   ================================================================ */
.join-section { padding: 120px 5%; text-align: center; }
.join-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 70px;
}
.steps-grid { display:flex; justify-content:center; gap:28px; flex-wrap:wrap; }
.step {
    background: var(--card-bg);
    padding: 44px 36px 36px;
    border-radius: 22px;
    width: 320px;
    position: relative;
    border: 1px solid var(--card-border);
    transition: border-color .3s, transform .3s;
}
.step:hover { border-color:rgba(200,168,75,.35); transform:translateY(-5px); }
.step.highlight { border-color:rgba(200,168,75,.3); }
.step-num {
    position:absolute; top:-20px; left:50%; transform:translateX(-50%);
    background:var(--primary); color:#000;
    width:42px; height:42px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-family:'Rajdhani',sans-serif; font-weight:700; font-size:1.1rem;
    border:3px solid var(--bg);
}
.step h3 { font-size:1.1rem; margin-bottom:10px; font-weight:700; }
.step p { color:var(--text-dim); font-size:.88rem; }
.copy-area {
    background:#050504; padding:14px 18px; border-radius:12px; margin-top:22px;
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    border:1px solid rgba(200,168,75,.25);
}
.copy-area code { font-size:.82rem; color:var(--primary); font-family:'Courier New',monospace; }
.copy-area button {
    background:var(--primary); color:#000; border:none;
    padding:8px 18px; border-radius:8px; cursor:pointer;
    font-weight:700; font-size:.8rem; white-space:nowrap;
    transition:opacity .2s; font-family:'Poppins',sans-serif;
}
.copy-area button:hover { opacity:.8; }


/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.reveal { opacity:0; transform:translateY(30px); transition:opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }
.reveal-delay-4 { transition-delay:.4s; }


/* ================================================================
   FOOTER
   ================================================================ */
footer {
    background:#050504; padding:80px 8% 32px;
    border-top:1px solid rgba(200,168,75,.1); margin-top:60px;
}
.footer-main { display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px; margin-bottom:50px; }
.footer-info .logo { margin-bottom:16px; }
.footer-info p { color:var(--text-dim); font-size:.88rem; line-height:1.8; }
.footer-nav h4 { font-size:.8rem; letter-spacing:2px; text-transform:uppercase; color:var(--text-dim); margin-bottom:16px; }
.footer-nav ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-nav a { text-decoration:none; color:var(--text-dim); font-size:.88rem; transition:color .2s; }
.footer-nav a:hover { color:var(--primary); }
.footer-bottom {
    border-top:1px solid rgba(255,255,255,.04); padding-top:28px;
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
    color:#3a3a38; font-size:.78rem;
}
.back-to-top {
    display:flex; align-items:center; justify-content:center;
    width:36px; height:36px; border-radius:10px;
    border:1px solid rgba(200,168,75,.2); color:var(--primary);
    text-decoration:none; transition:border-color .2s, background .2s;
}
.back-to-top:hover { border-color:var(--primary); background:rgba(200,168,75,.1); }


/* ================================================================
   RULES PAGE
   ================================================================ */
.rules-header {
    min-height:40vh; display:flex; align-items:center; justify-content:center;
    text-align:center; padding:120px 5% 60px; position:relative; overflow:hidden;
}
.rules-header::before {
    content:''; position:absolute; inset:0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,168,75,.1) 0%, transparent 70%);
}
.rules-hero-content { position:relative; z-index:1; }
.rules-hero-content h1 {
    font-family:'Rajdhani',sans-serif;
    font-size:clamp(2rem,5vw,3.5rem);
    font-weight:700; letter-spacing:1px; margin-bottom:12px;
}
.rules-hero-content h1 span { color:var(--primary); }
.rules-hero-content p { color:var(--text-dim); font-size:1rem; max-width:600px; font-style:italic; }
.rules-container { max-width:900px; margin:0 auto 100px; padding:0 20px; }
.rules-section {
    background:var(--card-bg); padding:40px; border-radius:22px;
    border:1px solid var(--card-border); margin-bottom:30px;
}
.rules-category {
    display:flex; align-items:center; gap:14px; margin-bottom:28px;
    padding-bottom:16px; border-bottom:1px solid rgba(200,168,75,.15);
}
.rules-category i { color:var(--primary); font-size:1.5rem; width:28px; text-align:center; }
.rules-category h2 { font-family:'Rajdhani',sans-serif; font-size:1.6rem; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; }
.rule-box { margin-bottom:22px; padding-left:16px; border-left:2px solid rgba(200,168,75,.4); }
.rule-box:last-child { margin-bottom:0; }
.rule-box h3 { color:var(--text); font-size:1rem; font-weight:600; margin-bottom:6px; }
.rule-box p { color:var(--text-dim); font-size:.88rem; line-height:1.7; }
.danger-border { border-color:rgba(224,80,80,.3) !important; }
.danger-list { list-style:none; display:flex; flex-direction:column; gap:10px; }
.danger-list li {
    background:rgba(224,80,80,.06); padding:14px 18px; border-radius:10px;
    color:#ffb4b4; border-left:3px solid var(--red); font-size:.88rem;
}
.danger-list li::before { content:"✖  "; color:var(--red); font-weight:700; }


/* ================================================================
   STATUS PAGE
   ================================================================ */
.status-container { max-width:860px; margin:0 auto 100px; padding:0 20px; }
.status-card {
    background:var(--card-bg); border-radius:18px; padding:26px 32px;
    display:flex; justify-content:space-between; align-items:center;
    border:1px solid var(--card-border); margin-bottom:18px; transition:border-color .3s;
}
.status-card:hover { border-color:rgba(200,168,75,.25); }
.main-status { padding:36px; border-color:rgba(200,168,75,.25); background:linear-gradient(135deg,#1e160e 0%,#18170e 100%); }
.status-info { display:flex; align-items:center; gap:22px; }
.status-info i { font-size:1.8rem; color:var(--primary); width:32px; text-align:center; }
.status-info h3 { font-size:1.1rem; font-weight:600; margin-bottom:4px; }
.status-info p { color:var(--text-dim); font-size:.88rem; }
.status-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(380px,1fr)); gap:18px; }
.indicator { width:14px; height:14px; border-radius:50%; flex-shrink:0; }
.indicator.online  { background:var(--green); box-shadow:0 0 12px var(--green); }
.indicator.offline { background:var(--red);   box-shadow:0 0 12px var(--red); }
.indicator.checking {
    background:var(--orange); box-shadow:0 0 12px var(--orange);
    animation:pulseInd 1.5s ease-in-out infinite;
}
@keyframes pulseInd { 0%,100%{opacity:1;}50%{opacity:.3;} }
.status-footer-note {
    margin-top:36px; background:rgba(200,168,75,.05); border:1px solid var(--card-border);
    padding:18px 24px; border-radius:14px; color:var(--text-dim); font-size:.88rem;
    display:flex; align-items:center; gap:14px;
}
.status-footer-note i { color:var(--primary); font-size:1.1rem; flex-shrink:0; }


/* ================================================================
   BOUTIQUE PAGE
   ================================================================ */
.shop-section { padding-top:140px; max-width:1400px; margin:0 auto; padding-bottom:100px; }
.shop-header { text-align:center; padding:0 30px 60px; }
.shop-header h1 { font-family:'Rajdhani',sans-serif; font-size:clamp(2rem,5vw,3.2rem); font-weight:700; letter-spacing:1px; }
.shop-header h1 span { color:var(--primary); }
.shop-container { display:grid; grid-template-columns:260px 1fr; gap:36px; padding:0 30px; align-items:start; }
.shop-sidebar { display:flex; flex-direction:column; gap:10px; }
.tab-btn {
    background:var(--card-bg); border:1px solid var(--card-border);
    padding:16px 20px; color:var(--text-dim); border-radius:14px; cursor:pointer;
    text-align:left; font-weight:600; font-size:.82rem; text-transform:uppercase;
    letter-spacing:1px; transition:all .25s; font-family:'Poppins',sans-serif;
    display:flex; align-items:center; gap:10px;
}
.tab-btn i { font-size:1rem; color:var(--primary); }
.tab-btn.active, .tab-btn:hover { background:rgba(200,168,75,.1); border-color:rgba(200,168,75,.4); color:var(--text); }
.tab-content { display:none; }
.tab-content.active { display:block; }
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.product-card {
    background:var(--card-bg); border:1px solid var(--card-border);
    border-radius:20px; padding:24px 20px; text-align:center;
    transition:all .3s; display:flex; flex-direction:column; align-items:center;
    position:relative; overflow:hidden;
}
.product-card::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(135deg,rgba(200,168,75,.07) 0%,transparent 60%);
    opacity:0; transition:opacity .3s;
}
.product-card:hover { transform:translateY(-6px); border-color:rgba(200,168,75,.4); box-shadow:0 12px 36px rgba(200,168,75,.15); }
.product-card:hover::after { opacity:1; }
.category-tag {
    font-size:.7rem; font-weight:700; letter-spacing:1px; text-transform:uppercase;
    color:var(--primary); background:rgba(200,168,75,.1); border:1px solid rgba(200,168,75,.2);
    padding:3px 10px; border-radius:100px; margin-bottom:14px; display:inline-block;
}
.product-img { width:100%; height:110px; object-fit:contain; margin-bottom:12px; }
.product-card h3 { font-size:.95rem; font-weight:700; margin-bottom:8px; color:var(--text); }
.price { color:var(--primary); font-family:'Rajdhani',sans-serif; font-size:1.5rem; font-weight:700; margin-bottom:18px; display:flex; align-items:center; gap:6px; }
.btn-buy {
    width:100%; background:var(--primary); color:#000; border:none;
    padding:12px; border-radius:10px; font-weight:700; font-size:.8rem;
    text-transform:uppercase; letter-spacing:1px; cursor:pointer;
    text-decoration:none; display:block; text-align:center;
    transition:opacity .2s, transform .15s; position:relative; z-index:1;
}
.btn-buy:hover { opacity:.85; transform:translateY(-1px); }


/* ================================================================
   404 PAGE
   ================================================================ */
.error-page {
    min-height:100vh; display:flex; align-items:center; justify-content:center;
    text-align:center; overflow:hidden; position:relative;
}
.error-page::before {
    content:''; position:absolute; inset:0;
    background-image:
        linear-gradient(rgba(200,168,75,.03) 1px,transparent 1px),
        linear-gradient(90deg,rgba(200,168,75,.03) 1px,transparent 1px);
    background-size:50px 50px;
}
.bg-glow {
    position:absolute; width:500px; height:500px;
    background:radial-gradient(circle,rgba(200,168,75,.13) 0%,transparent 70%);
    border-radius:50%; top:50%; left:50%; transform:translate(-50%,-50%);
    animation:breathe 7s ease-in-out infinite; pointer-events:none;
}
.error-container { position:relative; z-index:2; padding:40px 20px; }
.error-logo { height:80px; margin-bottom:28px; filter:drop-shadow(0 0 20px rgba(200,168,75,.4)); }
.error-code {
    font-family:'Rajdhani',sans-serif;
    font-size:clamp(6rem,18vw,12rem);
    font-weight:700; line-height:1; margin-bottom:12px;
    color:var(--primary); text-shadow:0 0 60px rgba(200,168,75,.4); letter-spacing:-4px;
}
.error-title { font-family:'Rajdhani',sans-serif; font-size:clamp(1.4rem,3vw,2rem); font-weight:700; margin-bottom:14px; letter-spacing:1px; }
.error-desc { color:var(--text-dim); max-width:440px; margin:0 auto 36px; font-size:.95rem; }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:1024px) { .product-grid { grid-template-columns:repeat(2,1fr); } }

@media (max-width:900px) {
    .shop-container { grid-template-columns:1fr; }
    .shop-sidebar { flex-direction:row; flex-wrap:wrap; }
    .tab-btn { flex:1 1 auto; text-align:center; justify-content:center; }
}

@media (max-width:768px) {
    /* nav handled by the 1024px rule above */
    .nav-container { border-radius:16px; }
    .hero-btns { flex-direction:column; align-items:center; }
    .btn-primary, .btn-discord { width:100%; max-width:320px; justify-content:center; }
    .stats { margin-top:30px; flex-direction:column; align-items:center; }
    .stat-card { width:100%; max-width:320px; }
    .step { width:100%; padding:40px 24px 28px; }
    .copy-area { flex-direction:column; gap:12px; }
    .copy-area code { text-align:center; }
    .rules-section { padding:28px 20px; }
    .rules-category h2 { font-size:1.3rem; }
    .footer-bottom { flex-direction:column; text-align:center; }
    .status-grid { grid-template-columns:1fr; }
    .status-card { padding:20px; }
    #discordFloat { bottom:20px; right:20px; }
    #backToTopFloat { bottom:84px; right:20px; }
}

@media (max-width:480px) {
    nav { padding:12px 4%; }
    .logo { font-size:1.15rem; }
    .logo-img { height:26px; }
    .product-grid { grid-template-columns:1fr; }
    .error-code { font-size:8rem; }
}


/* ================================================================
   SECTION HEADERS (commun à toutes les nouvelles sections)
   ================================================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(200,168,75,.3);
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    background: rgba(200,168,75,.06);
}
.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--text-dim); font-size: .95rem; max-width: 500px; margin: 0 auto; }


/* ================================================================
   POURQUOI NOUS REJOINDRE
   ================================================================ */
.why-section {
    padding: 100px 8%;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: border-color .3s, transform .3s;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity .3s;
}
.why-card:hover { border-color: rgba(200,168,75,.35); transform: translateY(-5px); }
.why-card:hover::before { opacity: 1; }

.why-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: rgba(200,168,75,.1);
    border: 1px solid rgba(200,168,75,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary);
    transition: background .3s;
}
.why-card:hover .why-icon { background: rgba(200,168,75,.18); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--text-dim); font-size: .87rem; line-height: 1.7; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }


/* ================================================================
   TIMELINE
   ================================================================ */
.timeline-section {
    padding: 100px 8%;
    background: linear-gradient(180deg, transparent 0%, rgba(200,168,75,.03) 50%, transparent 100%);
}
.timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}
/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(200,168,75,.4) 15%, rgba(200,168,75,.4) 85%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    margin-bottom: 56px;
    position: relative;
}
.timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg);
    box-shadow: 0 0 16px rgba(200,168,75,.6);
    z-index: 1;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 26px 28px;
    max-width: 340px;
    transition: border-color .3s;
}
.timeline-content:hover { border-color: rgba(200,168,75,.3); }

.timeline-date {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}
.timeline-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.timeline-content p  { color: var(--text-dim); font-size: .86rem; line-height: 1.7; }

@media (max-width: 680px) {
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item.right {
        justify-content: flex-start;
        padding-left: 56px;
        padding-right: 0;
    }
    .timeline-dot { left: 20px; }
    .timeline-content { max-width: 100%; }
}


/* ================================================================
   ÉQUIPE STAFF
   ================================================================ */
.staff-section { padding: 100px 8%; }

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.staff-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 36px 24px 28px;
    text-align: center;
    transition: border-color .3s, transform .3s;
    position: relative;
}
.staff-card:hover { border-color: rgba(200,168,75,.3); transform: translateY(-6px); }

.staff-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(200,168,75,.08);
    border: 2px solid rgba(200,168,75,.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    font-size: 2rem;
    transition: border-color .3s, box-shadow .3s;
}
.staff-card:hover .staff-avatar {
    border-color: rgba(200,168,75,.5);
    box-shadow: 0 0 20px rgba(200,168,75,.2);
}

.staff-badge {
    display: inline-block;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.staff-badge.owner { background: rgba(255,215,0,.15); color: #ffd700; border: 1px solid rgba(255,215,0,.3); }
.staff-badge.dev   { background: rgba(88,101,242,.15); color: #818cf8; border: 1px solid rgba(88,101,242,.3); }
.staff-badge.admin { background: rgba(200,168,75,.12); color: var(--primary); border: 1px solid rgba(200,168,75,.3); }
.staff-badge.modo  { background: rgba(74,222,128,.1); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }

.staff-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.staff-card > p { color: var(--text-dim); font-size: .82rem; margin-bottom: 18px; }

.staff-socials { display: flex; justify-content: center; gap: 10px; }
.staff-socials a {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    font-size: .85rem;
    transition: color .2s, border-color .2s, background .2s;
}
.staff-socials a:hover { color: #5865F2; border-color: #5865F2; background: rgba(88,101,242,.1); }

@media (max-width: 900px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .staff-grid { grid-template-columns: 1fr; max-width: 360px; } }


/* ================================================================
   FAQ
   ================================================================ */
.faq-section { padding: 100px 8%; }

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .3s;
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
    border-color: rgba(200,168,75,.35);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: none;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question[aria-expanded="true"] { color: var(--primary); }

.faq-icon {
    flex-shrink: 0;
    font-size: .8rem;
    color: var(--primary);
    transition: transform .35s ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .35s ease;
    padding: 0 28px;
}
.faq-answer.open {
    max-height: 300px;
    padding: 0 28px 22px;
}
.faq-answer p { color: var(--text-dim); font-size: .88rem; line-height: 1.8; }
.faq-answer code {
    background: rgba(200,168,75,.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: .85em;
}


/* ================================================================
   CURSEUR PERSONNALISÉ
   ================================================================ */
*, *::before, *::after { cursor: none !important; }
input, textarea, select { cursor: text !important; }

.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width .15s, height .15s, background .15s;
    box-shadow: 0 0 8px rgba(200,168,75,.8);
}
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(200,168,75,.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width .3s ease, height .3s ease, border-color .3s ease, opacity .3s;
}
.cursor-dot.hovering  { width: 12px; height: 12px; background: #fff; }
.cursor-ring.hovering { width: 52px; height: 52px; border-color: rgba(200,168,75,.8); }
.cursor-dot.clicking  { width: 6px; height: 6px; }
.cursor-ring.clicking { width: 28px; height: 28px; border-color: var(--primary); }

/* Hide custom cursor on touch devices */
@media (hover: none) {
    *, *::before, *::after { cursor: auto !important; }
    .cursor-dot, .cursor-ring { display: none; }
}


/* ================================================================
   PARTICULES HERO
   ================================================================ */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: .6; }
    100% { transform: translateY(-20px) scale(1); opacity: 0; }
}


/* ================================================================
   PAGE TRANSITION FADE
   ================================================================ */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9000;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease;
}
.page-transition.fading { opacity: 1; pointer-events: all; }


/* ================================================================
   TÉMOIGNAGES (CAROUSEL)
   ================================================================ */
.testimonials-section { padding: 100px 8%; overflow: hidden; }

.testimonials-track-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 -8%;
    padding: 0 8%;
}
.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 32px 28px;
    min-width: 320px;
    flex: 0 0 320px;
    position: relative;
    transition: border-color .3s;
}
.testimonial-card:hover { border-color: rgba(200,168,75,.3); }

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    opacity: .5;
    font-family: Georgia, serif;
}
.testimonial-card p {
    color: var(--text-dim);
    font-size: .9rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(200,168,75,.1);
    border: 1px solid rgba(200,168,75,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-size: .9rem; font-weight: 700; }
.testimonial-author-info span   { color: var(--primary); font-size: .75rem; }

.testimonial-stars {
    position: absolute;
    top: 28px; right: 24px;
    color: var(--primary);
    font-size: .75rem;
    letter-spacing: 2px;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.testi-btn {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    transition: border-color .2s, background .2s, color .2s;
}
.testi-btn:hover { border-color: rgba(200,168,75,.4); background: rgba(200,168,75,.08); color: var(--primary); }

.testi-dots {
    display: flex;
    gap: 8px;
}
.testi-dot {
    width: 6px; height: 6px;
    border-radius: 3px;
    background: rgba(200,168,75,.25);
    transition: width .3s, background .3s;
    cursor: pointer;
}
.testi-dot.active { width: 20px; background: var(--primary); }


/* ================================================================
   GALERIE SCREENSHOTS (LIGHTBOX)
   ================================================================ */
.gallery-section { padding: 100px 8%; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 12px;
}
.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: transform .3s, border-color .3s;
    min-height: 140px;
}
/* First image: hero (2 cols x 2 rows) */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
/* Items 2-5: normal cells */
/* Item 6: spans 2 cols on second row remainder */
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item:hover { transform: scale(1.02); border-color: rgba(200,168,75,.4); z-index: 2; }

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 1.8rem; }

/* Placeholder when no images */
.gallery-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: .8rem;
    min-height: 140px;
}
.gallery-placeholder i { font-size: 1.8rem; color: rgba(200,168,75,.3); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.93);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0,0,0,.8);
    transition: transform .3s;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    width: 44px; height: 44px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.15); }
.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    width: 48px; height: 48px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.lightbox-nav:hover { background: rgba(200,168,75,.2); border-color: rgba(200,168,75,.4); color: var(--primary); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
    position: absolute;
    bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(8px);
    color: var(--text-dim);
    font-size: .8rem;
    padding: 6px 18px;
    border-radius: 100px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 520px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1) { grid-column: span 1; }
    .lightbox-nav { display: none; }
}


/* ================================================================
   PAGE NEWS / ÉVÉNEMENTS
   ================================================================ */
.news-header {
    min-height: 38vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 5% 60px;
    position: relative; overflow: hidden;
}
.news-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,168,75,.1) 0%, transparent 70%);
}
.news-hero-content { position: relative; z-index: 1; }
.news-hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
}
.news-hero-content h1 span { color: var(--primary); }
.news-hero-content p { color: var(--text-dim); font-size: 1rem; max-width: 600px; font-style: italic; }

.news-container { max-width: 1000px; margin: 0 auto 100px; padding: 0 20px; }

.news-featured {
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,.25);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.news-featured-img {
    background: linear-gradient(135deg, #18170e, #1e160e);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem;
    min-height: 240px;
    border-right: 1px solid rgba(200,168,75,.1);
}
.news-featured-body { padding: 40px 36px; }
.news-tag {
    display: inline-block;
    font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 3px 12px; border-radius: 100px; margin-bottom: 16px;
}
.news-tag.event    { background: rgba(200,168,75,.12); color: var(--primary); border: 1px solid rgba(200,168,75,.3); }
.news-tag.update   { background: rgba(88,101,242,.12); color: #818cf8; border: 1px solid rgba(88,101,242,.3); }
.news-tag.hotfix   { background: rgba(224,80,80,.12); color: #ff8080; border: 1px solid rgba(224,80,80,.3); }
.news-tag.announce { background: rgba(74,222,128,.1); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }

.news-featured-body h2 { font-family: 'Oswald', sans-serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.news-featured-body p  { color: var(--text-dim); font-size: .9rem; line-height: 1.75; margin-bottom: 24px; }
.news-meta { color: var(--text-dim); font-size: .78rem; }
.news-meta i { color: var(--primary); margin-right: 5px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px 24px;
    transition: border-color .3s, transform .3s;
    cursor: pointer;
}
.news-card:hover { border-color: rgba(200,168,75,.3); transform: translateY(-4px); }
.news-card-icon { font-size: 2rem; margin-bottom: 16px; }
.news-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.news-card p  { color: var(--text-dim); font-size: .84rem; line-height: 1.7; margin-bottom: 18px; }
.news-card .news-meta { font-size: .75rem; }

@media (max-width: 768px) {
    .news-featured { grid-template-columns: 1fr; }
    .news-featured-img { min-height: 140px; }
    .news-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   BOUTIQUE — BADGES POPULAIRE / PROMO
   ================================================================ */
.product-badge {
    position: absolute;
    top: -10px; right: 16px;
    font-size: .68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    padding: 4px 14px; border-radius: 100px;
    z-index: 2;
}
.product-badge.popular { background: var(--primary); color: #000; box-shadow: 0 4px 14px rgba(200,168,75,.5); }
.product-badge.best    { background: #ff6b35; color: #fff; box-shadow: 0 4px 14px rgba(255,107,53,.45); }

.promo-banner {
    background: linear-gradient(135deg, rgba(200,168,75,.12), rgba(200,168,75,.05));
    border: 1px solid rgba(200,168,75,.3);
    border-radius: 18px;
    padding: 20px 28px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.promo-left { display: flex; align-items: center; gap: 14px; }
.promo-icon { font-size: 1.8rem; }
.promo-left strong { font-family: 'Oswald', sans-serif; font-size: 1.2rem; font-weight: 700; display: block; }
.promo-left span { color: var(--text-dim); font-size: .82rem; }
.promo-countdown {
    display: flex; gap: 8px;
}
.countdown-unit {
    background: var(--bg);
    border: 1px solid rgba(200,168,75,.2);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    min-width: 54px;
}
.countdown-unit strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.countdown-unit span { font-size: .62rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

.price-original {
    font-size: .85rem;
    color: var(--text-dim);
    text-decoration: line-through;
    margin-bottom: 2px;
}
.price-discount {
    color: #ff6b35;
    font-size: .7rem;
    font-weight: 700;
    background: rgba(255,107,53,.12);
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 6px;
}


/* ================================================================
   RECHERCHE RÈGLEMENT
   ================================================================ */
.rules-search-bar {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    position: relative;
}
.rules-search-input {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,.3);
    border-radius: 16px;
    padding: 16px 20px 16px 52px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    outline: none;
    transition: border-color .3s, box-shadow .3s;
}
.rules-search-input::placeholder { color: var(--text-dim); }
.rules-search-input:focus {
    border-color: rgba(200,168,75,.6);
    box-shadow: 0 0 0 3px rgba(200,168,75,.08);
}
.rules-search-icon {
    position: absolute;
    left: 36px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: .95rem;
    pointer-events: none;
}
.rules-search-count {
    position: absolute;
    right: 36px; top: 50%;
    transform: translateY(-50%);
    font-size: .75rem;
    color: var(--primary);
    font-weight: 600;
    opacity: 0;
    transition: opacity .2s;
}
.rules-search-count.visible { opacity: 1; }

/* Highlight matching text */
.search-highlight {
    background: rgba(200,168,75,.3);
    color: var(--text);
    border-radius: 3px;
    padding: 0 2px;
}

/* Hide non-matching rule boxes */
.rule-box.hidden    { display: none; }
.rules-section.hidden { display: none; }

.rules-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
    display: none;
}
.rules-no-results.visible { display: block; }
.rules-no-results i { font-size: 2.5rem; color: rgba(200,168,75,.2); display: block; margin-bottom: 16px; }


/* ================================================================
   PAGE MÉTIERS / FACTIONS
   ================================================================ */
.factions-header {
    min-height: 40vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 5% 60px;
    position: relative; overflow: hidden;
}
.factions-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,168,75,.1) 0%, transparent 70%);
}
.factions-hero-content { position: relative; z-index: 1; }
.factions-hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
}
.factions-hero-content h1 span { color: var(--primary); }
.factions-hero-content p { color: var(--text-dim); font-size: 1rem; max-width: 600px; }

.factions-container { max-width: 1100px; margin: 0 auto 100px; padding: 0 20px; }

/* Category tabs */
.faction-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}
.faction-tab {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 10px 22px;
    color: var(--text-dim);
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .25s;
    display: flex; align-items: center; gap: 8px;
}
.faction-tab.active,
.faction-tab:hover {
    background: rgba(200,168,75,.1);
    border-color: rgba(200,168,75,.4);
    color: var(--text);
}

.faction-content { display: none; }
.faction-content.active { display: block; }

.factions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.faction-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 32px 26px;
    transition: border-color .3s, transform .3s;
    position: relative;
    overflow: hidden;
}
.faction-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--faction-color, var(--primary));
    opacity: 0; transition: opacity .3s;
}
.faction-card:hover { transform: translateY(-5px); }
.faction-card:hover::before { opacity: 1; }

.faction-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
}
.faction-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.faction-card > p { color: var(--text-dim); font-size: .87rem; line-height: 1.7; margin-bottom: 20px; }

.faction-tags {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px;
}
.faction-tag {
    font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 3px 10px; border-radius: 100px;
    background: rgba(200,168,75,.08);
    color: var(--primary);
    border: 1px solid rgba(200,168,75,.2);
}

.faction-slots {
    display: flex; align-items: center; gap: 8px;
    font-size: .78rem; color: var(--text-dim);
}
.faction-slots i { color: var(--primary); }

.faction-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    margin: 36px 0 28px;
    opacity: .2;
}
.faction-category-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-dim); margin-bottom: 24px;
}

@media (max-width: 900px)  { .factions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .factions-grid { grid-template-columns: 1fr; } }


/* ================================================================
   PAGE CANDIDATURE STAFF
   ================================================================ */
.apply-header {
    min-height: 38vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 5% 60px;
    position: relative; overflow: hidden;
}
.apply-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,168,75,.1) 0%, transparent 70%);
}
.apply-hero-content { position: relative; z-index: 1; }
.apply-hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
}
.apply-hero-content h1 span { color: var(--primary); }
.apply-hero-content p { color: var(--text-dim); font-size: 1rem; max-width: 560px; }

.apply-container {
    max-width: 820px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

/* Requirements box */
.apply-requirements {
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,.2);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.req-item { display: flex; align-items: flex-start; gap: 12px; }
.req-icon { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.req-item strong { display: block; font-size: .88rem; margin-bottom: 4px; }
.req-item span { color: var(--text-dim); font-size: .8rem; line-height: 1.5; }

/* Form */
.apply-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
}
.apply-form h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem; font-weight: 700; margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(200,168,75,.15);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: span 2; }

.form-label {
    font-size: .8rem; font-weight: 600; letter-spacing: .5px;
    color: var(--text-dim); text-transform: uppercase;
}
.form-label span { color: var(--primary); }

.form-input,
.form-select,
.form-textarea {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: rgba(200,168,75,.5);
    box-shadow: 0 0 0 3px rgba(200,168,75,.07);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-dim); opacity: .6; }
.form-select { cursor: pointer; appearance: none; }
.form-select option { background: #1e160e; color: var(--text); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.65; }

.form-hint { font-size: .75rem; color: var(--text-dim); margin-top: 4px; }

.form-rating {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.rating-btn {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text-dim);
    font-size: .85rem; font-weight: 700;
    cursor: pointer; transition: all .2s;
    font-family: 'Inter', sans-serif;
}
.rating-btn:hover,
.rating-btn.selected { background: rgba(200,168,75,.15); border-color: rgba(200,168,75,.5); color: var(--primary); }

.form-submit {
    width: 100%; margin-top: 28px;
    background: var(--primary); color: #000;
    border: none; border-radius: 14px;
    padding: 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(200,168,75,.35);
}
.form-submit:hover { opacity: .88; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,168,75,.45); }

/* Success state */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
}
.form-success.visible { display: block; }
.form-success-icon {
    font-size: 4rem; margin-bottom: 20px;
    animation: successPop .5s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes successPop {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.form-success h3 { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.form-success p  { color: var(--text-dim); font-size: .92rem; max-width: 420px; margin: 0 auto; line-height: 1.75; }

@media (max-width: 680px) {
    .apply-requirements { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
    .apply-form { padding: 28px 20px; }
}


/* ================================================================
   MUSIQUE D'AMBIANCE
   ================================================================ */
.music-player {
    position: fixed;
    bottom: 170px;
    right: 28px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none;
}
.music-player.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.music-btn {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: rgba(10,8,4,.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200,168,75,.3);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .15s;
}
.music-btn:hover { border-color: rgba(200,168,75,.6); background: rgba(200,168,75,.1); transform: scale(1.05); }
.music-btn.playing { border-color: var(--primary); box-shadow: 0 0 14px rgba(200,168,75,.3); }

.music-info {
    background: rgba(10,8,4,.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(200,168,75,.2);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 220px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity .3s, transform .3s;
}
.music-info.visible { opacity: 1; pointer-events: all; transform: translateX(0); }

.music-bars {
    display: flex; align-items: flex-end; gap: 2px; height: 16px; flex-shrink: 0;
}
.music-bar {
    width: 3px; border-radius: 2px;
    background: var(--primary);
    animation: musicBar .8s ease-in-out infinite alternate;
}
.music-bar:nth-child(1) { height: 6px;  animation-delay: 0s;    animation-duration: .6s; }
.music-bar:nth-child(2) { height: 14px; animation-delay: .15s;  animation-duration: .8s; }
.music-bar:nth-child(3) { height: 10px; animation-delay: .3s;   animation-duration: .7s; }
.music-bar:nth-child(4) { height: 16px; animation-delay: .05s;  animation-duration: .9s; }
.music-bar:nth-child(5) { height: 8px;  animation-delay: .2s;   animation-duration: .65s; }
.music-bars.paused .music-bar { animation-play-state: paused; height: 4px !important; }

@keyframes musicBar {
    from { transform: scaleY(.3); }
    to   { transform: scaleY(1); }
}

.music-label { font-size: .72rem; color: var(--text-dim); line-height: 1.4; }
.music-label strong { display: block; color: var(--text); font-size: .78rem; }

.music-volume {
    display: flex; align-items: center; gap: 8px; margin-top: 2px;
}
.music-vol-btn {
    background: none; border: none; color: var(--text-dim);
    cursor: pointer; font-size: .75rem; padding: 2px;
    transition: color .2s;
}
.music-vol-btn:hover { color: var(--primary); }
input[type="range"].vol-slider {
    -webkit-appearance: none;
    width: 80px; height: 3px;
    background: rgba(200,168,75,.2);
    border-radius: 3px; outline: none; cursor: pointer;
}
input[type="range"].vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .music-player { bottom: 152px; right: 20px; }
}


/* ================================================================
   WIDGET DISCORD LIVE (STATUS PAGE + ACCUEIL)
   ================================================================ */
.discord-widget {
    background: var(--card-bg);
    border: 1px solid rgba(88,101,242,.25);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color .3s;
}
.discord-widget:hover { border-color: rgba(88,101,242,.5); }

.discord-widget-header {
    background: linear-gradient(135deg, rgba(88,101,242,.15), rgba(88,101,242,.05));
    border-bottom: 1px solid rgba(88,101,242,.15);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.discord-widget-header i { font-size: 1.4rem; color: #5865F2; }
.discord-widget-header h3 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.discord-widget-header p  { font-size: .78rem; color: var(--text-dim); }

.discord-live-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    margin-left: auto;
    animation: pulseInd 1.8s ease-in-out infinite;
}

.discord-counts {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.discord-count-item {
    flex: 1;
    padding: 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.04);
    position: relative;
}
.discord-count-item:last-child { border-right: none; }
.discord-count-num {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
.discord-count-num.online  { color: var(--green); }
.discord-count-num.members { color: #5865F2; }
.discord-count-num.boosters { color: #ff73fa; }
.discord-count-label { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

.discord-members-list {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
}
.discord-members-list::-webkit-scrollbar { width: 4px; }
.discord-members-list::-webkit-scrollbar-thumb { background: rgba(88,101,242,.3); border-radius: 2px; }

.discord-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 10px;
    transition: background .2s;
}
.discord-member:hover { background: rgba(255,255,255,.04); }

.member-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(88,101,242,.2);
    border: 2px solid rgba(88,101,242,.3);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    position: relative;
}
.member-status-dot {
    position: absolute;
    bottom: -1px; right: -1px;
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid var(--card-bg);
}
.member-status-dot.online  { background: var(--green); }
.member-status-dot.idle    { background: var(--orange); }
.member-status-dot.dnd     { background: var(--red); }

.member-info { flex: 1; min-width: 0; }
.member-name { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-activity { font-size: .72rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.member-role {
    font-size: .65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 2px 8px; border-radius: 100px; flex-shrink: 0;
}
.member-role.owner  { background: rgba(255,215,0,.12); color: #ffd700; }
.member-role.admin  { background: rgba(200,168,75,.1); color: var(--primary); }
.member-role.modo   { background: rgba(74,222,128,.1); color: #4ade80; }
.member-role.dev    { background: rgba(88,101,242,.15); color: #818cf8; }

.discord-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,.04);
    text-decoration: none;
    color: var(--text-dim);
    font-size: .8rem;
    font-weight: 600;
    transition: color .2s, background .2s;
}
.discord-footer-link:hover { color: #5865F2; background: rgba(88,101,242,.05); }
.discord-footer-link i { color: #5865F2; }

/* Section wrapper on accueil */
.discord-live-section { padding: 80px 8%; }
.discord-live-section .discord-widget { max-width: 520px; margin: 0 auto; }


/* ================================================================
   WIDGET VOTE
   ================================================================ */
.vote-section { padding: 0 8% 80px; }
.vote-widget {
    background: linear-gradient(135deg, rgba(200,168,75,.08), rgba(200,168,75,.03));
    border: 1px solid rgba(200,168,75,.25);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}
.vote-left h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem; font-weight: 700; margin-bottom: 10px;
}
.vote-left h2 span { color: var(--primary); }
.vote-left p { color: var(--text-dim); font-size: .9rem; line-height: 1.7; max-width: 480px; }

.vote-platforms {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}
.vote-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    border: 1px solid transparent;
}
.vote-btn:hover { transform: translateX(4px); opacity: .9; }
.vote-btn.fivem {
    background: rgba(255,107,53,.12);
    border-color: rgba(255,107,53,.3);
    color: #ff6b35;
}
.vote-btn.fivem:hover { box-shadow: 0 4px 16px rgba(255,107,53,.2); }
.vote-btn.topm {
    background: rgba(200,168,75,.1);
    border-color: rgba(200,168,75,.3);
    color: var(--primary);
}
.vote-btn.topm:hover { box-shadow: 0 4px 16px rgba(200,168,75,.15); }
.vote-btn.alt-fivem {
    background: rgba(88,101,242,.1);
    border-color: rgba(88,101,242,.3);
    color: #818cf8;
}
.vote-btn.alt-fivem:hover { box-shadow: 0 4px 16px rgba(88,101,242,.15); }

.vote-btn-icon { font-size: 1.1rem; flex-shrink: 0; }
.vote-btn-text { flex: 1; }
.vote-btn-text strong { display: block; }
.vote-btn-text span   { font-size: .72rem; opacity: .7; font-weight: 500; }
.vote-arrow { font-size: .75rem; opacity: .5; }

.vote-cooldown {
    margin-top: 14px;
    font-size: .75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}
.vote-cooldown i { color: var(--primary); }

@media (max-width: 768px) {
    .vote-widget { grid-template-columns: 1fr; }
    .vote-platforms { min-width: auto; }
}


/* ================================================================
   PAGE SANCTIONS PUBLIQUES
   ================================================================ */
.sanctions-header {
    min-height: 36vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 5% 50px;
    position: relative; overflow: hidden;
}
.sanctions-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 40% at 50% 100%, rgba(224,80,80,.1) 0%, transparent 70%);
}
.sanctions-hero-content { position: relative; z-index: 1; }
.sanctions-hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem,5vw,3.2rem);
    font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
}
.sanctions-hero-content h1 span { color: var(--red); }
.sanctions-hero-content p { color: var(--text-dim); font-size: .95rem; max-width: 580px; }

.sanctions-container { max-width: 980px; margin: 0 auto 100px; padding: 0 20px; }

/* Filters */
.sanctions-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    align-items: center;
}
.sanction-filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 8px 18px;
    color: var(--text-dim);
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .2s;
}
.sanction-filter-btn.active,
.sanction-filter-btn:hover { border-color: rgba(200,168,75,.4); color: var(--text); background: rgba(200,168,75,.08); }
.sanction-filter-btn.f-ban.active    { border-color: rgba(224,80,80,.5); color: #ff8080; background: rgba(224,80,80,.08); }
.sanction-filter-btn.f-kick.active   { border-color: rgba(255,152,0,.5); color: #ffb74d; background: rgba(255,152,0,.08); }
.sanction-filter-btn.f-warn.active   { border-color: rgba(255,214,0,.5); color: #ffd740; background: rgba(255,214,0,.08); }
.sanction-filter-btn.f-mute.active   { border-color: rgba(88,101,242,.5); color: #818cf8; background: rgba(88,101,242,.08); }

.sanction-search {
    margin-left: auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 8px 16px 8px 36px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    outline: none;
    width: 200px;
    position: relative;
    transition: border-color .25s;
}
.sanction-search:focus { border-color: rgba(200,168,75,.4); }
.sanction-search-wrap { position: relative; margin-left: auto; }
.sanction-search-wrap i {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); font-size: .8rem; pointer-events: none;
}

/* Table */
.sanctions-table-wrap {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
}
.sanctions-table {
    width: 100%;
    border-collapse: collapse;
}
.sanctions-table th {
    background: rgba(255,255,255,.03);
    padding: 14px 20px;
    text-align: left;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.sanctions-table td {
    padding: 14px 20px;
    font-size: .85rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
    vertical-align: middle;
}
.sanctions-table tr:last-child td { border-bottom: none; }
.sanctions-table tr { transition: background .15s; }
.sanctions-table tr:hover td { background: rgba(255,255,255,.02); }

.sanction-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
}
.sanction-type.ban    { background: rgba(224,80,80,.12); color: #ff8080; border: 1px solid rgba(224,80,80,.3); }
.sanction-type.tempban{ background: rgba(255,152,0,.12); color: #ffb74d; border: 1px solid rgba(255,152,0,.3); }
.sanction-type.kick   { background: rgba(255,214,0,.1); color: #ffd740; border: 1px solid rgba(255,214,0,.25); }
.sanction-type.warn   { background: rgba(88,101,242,.1); color: #818cf8; border: 1px solid rgba(88,101,242,.3); }
.sanction-type.mute   { background: rgba(168,85,247,.1); color: #c084fc; border: 1px solid rgba(168,85,247,.3); }

.sanction-pseudo { font-weight: 600; }
.sanction-reason { color: var(--text-dim); max-width: 280px; }
.sanction-date   { color: var(--text-dim); font-size: .78rem; white-space: nowrap; }
.sanction-staff  { font-size: .78rem; color: var(--primary); }

.sanctions-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
    display: none;
}
.sanctions-empty i { font-size: 2rem; color: rgba(200,168,75,.2); display: block; margin-bottom: 14px; }

.sanctions-info-note {
    margin-top: 24px;
    background: rgba(200,168,75,.05);
    border: 1px solid rgba(200,168,75,.15);
    border-radius: 14px;
    padding: 16px 22px;
    font-size: .82rem;
    color: var(--text-dim);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.sanctions-info-note i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.sanctions-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.sanction-stat {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}
.sanction-stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem; font-weight: 700; line-height: 1; margin-bottom: 4px;
}
.sanction-stat-num.s-ban    { color: #ff8080; }
.sanction-stat-num.s-kick   { color: #ffd740; }
.sanction-stat-num.s-warn   { color: #818cf8; }
.sanction-stat-num.s-mute   { color: #c084fc; }
.sanction-stat-label { font-size: .7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 768px) {
    .sanctions-stats { grid-template-columns: repeat(2,1fr); }
    .sanctions-table th:nth-child(3),
    .sanctions-table td:nth-child(3) { display: none; }
    .sanctions-filters { gap: 6px; }
    .sanction-search-wrap { margin-left: 0; width: 100%; }
    .sanction-search { width: 100%; }
}
@media (max-width: 480px) {
    .sanctions-stats { grid-template-columns: repeat(2,1fr); }
    .sanctions-table th:nth-child(5),
    .sanctions-table td:nth-child(5) { display: none; }
}


/* ================================================================
   NAVBAR — MENU DÉROULANT "PLUS"
   ================================================================ */
.nav-more { position: relative; list-style: none; }

.nav-more-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: .3px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.nav-more-btn:hover,
.nav-more-btn.open { color: var(--text); background: rgba(200,168,75,.1); }

.nav-more-icon {
    font-size: .6rem;
    transition: transform .25s ease;
}
.nav-more-btn.open .nav-more-icon { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(12,12,10,.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(200,168,75,.2);
    border-radius: 14px;
    padding: 8px;
    min-width: 200px;
    max-height: 70vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 2000;
    box-shadow: 0 16px 40px rgba(0,0,0,.6);
    scrollbar-width: thin;
    scrollbar-color: rgba(200,168,75,.3) transparent;
}
.nav-dropdown::-webkit-scrollbar { width: 4px; }
.nav-dropdown::-webkit-scrollbar-thumb { background: rgba(200,168,75,.3); border-radius: 2px; }
.nav-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dim);
    font-size: .82rem;
    font-weight: 500;
    transition: color .2s, background .2s;
}
.nav-dropdown a i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    font-size: .82rem;
}
.nav-dropdown a:hover { color: var(--text); background: rgba(200,168,75,.08); }
.nav-dropdown a.active { color: var(--primary); }


/* ================================================================
   NEWSLETTER WIDGET
   ================================================================ */
.newsletter-section {
    padding: 0 8% 80px;
}
.newsletter-widget {
    background: linear-gradient(135deg, rgba(200,168,75,.1) 0%, rgba(200,168,75,.04) 100%);
    border: 1px solid rgba(200,168,75,.25);
    border-radius: 24px;
    padding: 48px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.newsletter-widget::before {
    content: '📧';
    position: absolute;
    right: -20px; top: -20px;
    font-size: 10rem;
    opacity: .04;
    pointer-events: none;
    line-height: 1;
}
.newsletter-left h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem; font-weight: 700;
    margin-bottom: 10px; line-height: 1.1;
}
.newsletter-left h2 span { color: var(--primary); }
.newsletter-left p { color: var(--text-dim); font-size: .9rem; line-height: 1.7; }
.newsletter-perks {
    display: flex; flex-direction: column; gap: 8px; margin-top: 18px;
}
.newsletter-perk {
    display: flex; align-items: center; gap: 10px;
    font-size: .82rem; color: var(--text-dim);
}
.newsletter-perk i { color: var(--primary); font-size: .8rem; width: 14px; }

.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-input-row { display: flex; gap: 10px; }
.newsletter-input {
    flex: 1;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}
.newsletter-input:focus {
    border-color: rgba(200,168,75,.5);
    box-shadow: 0 0 0 3px rgba(200,168,75,.08);
}
.newsletter-input::placeholder { color: var(--text-dim); opacity: .6; }
.newsletter-submit {
    background: var(--primary); color: #000;
    border: none; border-radius: 12px;
    padding: 13px 24px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; white-space: nowrap;
    transition: opacity .2s, transform .15s;
    flex-shrink: 0;
}
.newsletter-submit:hover { opacity: .85; transform: translateY(-1px); }

.newsletter-checkboxes {
    display: flex; flex-direction: column; gap: 8px;
}
.newsletter-check-label {
    display: flex; align-items: center; gap: 10px;
    font-size: .8rem; color: var(--text-dim); cursor: pointer;
}
.newsletter-check-label input[type="checkbox"] {
    width: 15px; height: 15px;
    accent-color: var(--primary);
    cursor: pointer; flex-shrink: 0;
}
.newsletter-success {
    display: none; text-align: center; padding: 20px;
}
.newsletter-success.visible { display: block; }
.newsletter-success-icon { font-size: 2.5rem; margin-bottom: 10px; }
.newsletter-success h3 { font-family: 'Oswald', sans-serif; font-size: 1.4rem; color: var(--primary); margin-bottom: 6px; }
.newsletter-success p  { color: var(--text-dim); font-size: .85rem; }

@media (max-width: 900px) {
    .newsletter-widget { grid-template-columns: 1fr; padding: 36px 28px; }
    .newsletter-widget::before { display: none; }
}
@media (max-width: 560px) {
    .newsletter-input-row { flex-direction: column; }
    .newsletter-submit { width: 100%; }
}


/* ================================================================
   CARTE INTERACTIVE LOS SANTOS
   ================================================================ */
.map-section { padding: 100px 8%; }

.map-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(200,168,75,.2);
    background: #0a0f1a;
    aspect-ratio: 16/9;
    max-height: 620px;
    cursor: crosshair;
}

/* GTA V satellite map background */
.map-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: .85;
    filter: saturate(.75) brightness(.6);
    position: absolute;
    inset: 0;
}

/* Map canvas overlay */
#mapCanvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}

/* Sidebar */
.map-sidebar {
    position: absolute;
    top: 16px; right: 16px;
    width: 200px;
    background: rgba(5,5,4,.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(200,168,75,.2);
    border-radius: 16px;
    padding: 16px;
    z-index: 10;
}
.map-sidebar h4 {
    font-family: 'Oswald', sans-serif;
    font-size: .85rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-dim); margin-bottom: 12px;
}
.map-legend-list { display: flex; flex-direction: column; gap: 8px; }
.map-legend-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .78rem; color: var(--text-dim); cursor: pointer;
    padding: 6px 8px; border-radius: 8px;
    transition: background .2s, color .2s;
    user-select: none;
}
.map-legend-item:hover { background: rgba(255,255,255,.05); color: var(--text); }
.map-legend-item.hidden-layer { opacity: .4; }
.map-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
}

/* Tooltip on hover */
.map-tooltip {
    position: absolute;
    background: rgba(5,5,4,.95);
    border: 1px solid rgba(200,168,75,.3);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: .78rem;
    color: var(--text);
    pointer-events: none;
    z-index: 20;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .15s;
}
.map-tooltip.visible { opacity: 1; }

/* Bottom bar */
.map-controls {
    position: absolute;
    bottom: 16px; left: 16px;
    display: flex; gap: 8px;
}
.map-ctrl-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(5,5,4,.85);
    border: 1px solid rgba(200,168,75,.2);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; cursor: pointer;
    transition: border-color .2s, background .2s;
}
.map-ctrl-btn:hover { border-color: rgba(200,168,75,.5); background: rgba(200,168,75,.1); }

@media (max-width: 768px) {
    .map-sidebar { display: none; }
    .map-wrapper { aspect-ratio: 4/3; }
}

/* Gallery items with real images */
.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.gallery-item { position: relative; }
.gallery-item:hover img { transform: scale(1.06); }


/* Map canvas — full coverage */
#mapCanvas {
    display: block;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}


/* ================================================================
   NOTIFICATIONS PUSH — WIDGET
   ================================================================ */
.notif-widget {
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,.2);
    border-radius: 22px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0 8% 80px;
}
.notif-widget::before {
    content: '🔔';
    position: absolute;
    right: -10px; top: -10px;
    font-size: 8rem;
    opacity: .04;
    pointer-events: none;
    line-height: 1;
}

.notif-left h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem; font-weight: 700;
    margin-bottom: 8px;
}
.notif-left h2 span { color: var(--primary); }
.notif-left p { color: var(--text-dim); font-size: .88rem; line-height: 1.7; max-width: 480px; margin-bottom: 20px; }

.notif-types {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px;
}
.notif-type-tag {
    display: flex; align-items: center; gap: 6px;
    font-size: .75rem; font-weight: 600;
    padding: 5px 12px; border-radius: 100px;
    background: rgba(200,168,75,.08);
    border: 1px solid rgba(200,168,75,.2);
    color: var(--text-dim);
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}
.notif-type-tag.selected {
    background: rgba(200,168,75,.15);
    border-color: rgba(200,168,75,.4);
    color: var(--text);
}
.notif-type-tag input { display: none; }

/* Right side — big bell button */
.notif-right { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.notif-bell-btn {
    width: 80px; height: 80px;
    border-radius: 22px;
    background: rgba(200,168,75,.1);
    border: 2px solid rgba(200,168,75,.3);
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s;
    position: relative;
    flex-shrink: 0;
}
.notif-bell-btn:hover {
    background: rgba(200,168,75,.2);
    border-color: rgba(200,168,75,.6);
    transform: scale(1.05);
}
.notif-bell-btn.subscribed {
    background: rgba(74,222,128,.12);
    border-color: rgba(74,222,128,.4);
    color: #4ade80;
}
.notif-bell-btn.denied {
    background: rgba(224,80,80,.08);
    border-color: rgba(224,80,80,.3);
    color: #ff8080;
    cursor: not-allowed;
}
.notif-bell-btn .bell-ring {
    animation: bellRing .6s ease;
}
@keyframes bellRing {
    0%,100% { transform: rotate(0); }
    20%      { transform: rotate(-25deg); }
    40%      { transform: rotate(20deg); }
    60%      { transform: rotate(-15deg); }
    80%      { transform: rotate(10deg); }
}

.notif-status {
    font-size: .75rem; font-weight: 600;
    text-align: center;
    color: var(--text-dim);
    max-width: 110px;
    line-height: 1.4;
}
.notif-status.active { color: #4ade80; }
.notif-status.denied { color: #ff8080; }

/* Demo panel — envoyer une notif de test */
.notif-test-panel {
    background: rgba(200,168,75,.04);
    border: 1px dashed rgba(200,168,75,.2);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 12px;
    display: none;
}
.notif-test-panel.visible { display: block; }
.notif-test-panel h4 {
    font-size: .78rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-dim); margin-bottom: 12px;
}
.notif-test-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.notif-test-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 8px 14px;
    font-family: 'Inter', sans-serif;
    font-size: .75rem; font-weight: 600;
    color: var(--text-dim);
    cursor: pointer;
    transition: all .2s;
    display: flex; align-items: center; gap: 6px;
}
.notif-test-btn:hover { border-color: rgba(200,168,75,.4); color: var(--text); background: rgba(200,168,75,.06); }

@media (max-width: 768px) {
    .notif-widget { grid-template-columns: 1fr; padding: 28px 24px; }
    .notif-right { flex-direction: row; justify-content: center; align-items: center; }
    .notif-widget::before { display: none; }
}


/* ================================================================
   POP-UP DE BIENVENUE
   ================================================================ */
.welcome-popup {
    position: fixed; inset: 0; z-index: 8000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(6px);
    opacity: 0; pointer-events: none;
    transition: opacity .4s ease;
}
.welcome-popup.visible { opacity: 1; pointer-events: all; }

.welcome-box {
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,.3);
    border-radius: 28px;
    padding: 48px 44px;
    max-width: 520px; width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(20px) scale(.96);
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275);
    box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 60px rgba(200,168,75,.1);
}
.welcome-popup.visible .welcome-box { transform: translateY(0) scale(1); }

.welcome-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.welcome-close {
    position: absolute; top: 16px; right: 16px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    color: var(--text-dim); width: 32px; height: 32px;
    border-radius: 8px; cursor: pointer; font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.welcome-close:hover { color: var(--text); background: rgba(255,255,255,.1); }

.welcome-emoji { font-size: 3.5rem; margin-bottom: 16px; display: block; }
.welcome-box h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem; font-weight: 700; margin-bottom: 10px;
}
.welcome-box h2 span { color: var(--primary); }
.welcome-box p { color: var(--text-dim); font-size: .9rem; line-height: 1.7; margin-bottom: 24px; }

.welcome-perks {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 28px; text-align: left;
}
.welcome-perk {
    display: flex; align-items: center; gap: 10px;
    background: rgba(200,168,75,.06);
    border: 1px solid rgba(200,168,75,.15);
    border-radius: 10px; padding: 10px 14px;
    font-size: .84rem;
}
.welcome-perk i { color: var(--primary); font-size: .85rem; flex-shrink: 0; }

.welcome-cta {
    display: flex; flex-direction: column; gap: 10px;
}
.welcome-timer {
    font-size: .75rem; color: var(--text-dim);
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 12px;
}
.welcome-timer span { color: var(--primary); font-weight: 700; font-size: .8rem; }


/* ================================================================
   BARRE DE PROGRESSION SERVEUR
   ================================================================ */
.server-progress-bar {
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,.2);
    border-radius: 18px;
    padding: 24px 32px;
    margin: 0 8% 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.progress-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 200px; }
.progress-pulse {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 10px var(--green);
    flex-shrink: 0; animation: pulseInd 1.8s ease-in-out infinite;
}
.progress-left h4 { font-size: .9rem; font-weight: 700; margin-bottom: 2px; }
.progress-left p  { font-size: .75rem; color: var(--text-dim); }
.progress-bar-wrap { flex: 2; min-width: 200px; }
.progress-bar-label {
    display: flex; justify-content: space-between;
    font-size: .72rem; color: var(--text-dim); margin-bottom: 8px;
}
.progress-bar-label span:last-child { color: var(--primary); font-weight: 700; }
.progress-track {
    height: 8px; background: rgba(255,255,255,.06);
    border-radius: 100px; overflow: hidden; position: relative;
}
.progress-fill {
    height: 100%; border-radius: 100px;
    background: linear-gradient(90deg, var(--primary-dim), var(--primary));
    box-shadow: 0 0 12px rgba(200,168,75,.5);
    transition: width 1.5s cubic-bezier(.4,0,.2,1);
    width: 0;
}
.progress-right { text-align: right; }
.progress-places {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1;
}
.progress-places-label { font-size: .7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }


/* ================================================================
   SECTION WL AMÉLIORÉE
   ================================================================ */
.wl-section { padding: 100px 8%; }

.wl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.wl-steps { display: flex; flex-direction: column; gap: 0; }

.wl-step {
    display: flex; gap: 20px;
    padding: 24px 0;
    position: relative;
}
.wl-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px; top: 60px; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(200,168,75,.4), rgba(200,168,75,.1));
}
.wl-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(200,168,75,.1);
    border: 2px solid rgba(200,168,75,.4);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 700;
    color: var(--primary); flex-shrink: 0;
    position: relative; z-index: 1;
    transition: background .3s, border-color .3s;
}
.wl-step:hover .wl-num { background: rgba(200,168,75,.2); border-color: var(--primary); }
.wl-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.wl-step p  { color: var(--text-dim); font-size: .86rem; line-height: 1.65; }
.wl-step a  { color: var(--primary); text-decoration: none; font-weight: 600; }
.wl-step a:hover { text-decoration: underline; }

.wl-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .68rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
    margin-top: 8px;
}
.wl-badge.easy   { background: rgba(74,222,128,.1); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.wl-badge.fast   { background: rgba(96,165,250,.1); color: #60a5fa; border: 1px solid rgba(96,165,250,.3); }
.wl-badge.free   { background: rgba(200,168,75,.1); color: var(--primary); border: 1px solid rgba(200,168,75,.3); }

.wl-right {
    position: sticky; top: 100px;
    background: linear-gradient(135deg, rgba(200,168,75,.1), rgba(200,168,75,.04));
    border: 1px solid rgba(200,168,75,.25);
    border-radius: 24px; padding: 36px;
    text-align: center;
}
.wl-right h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem; font-weight: 700; margin-bottom: 8px;
}
.wl-right h3 span { color: var(--primary); }
.wl-right p { color: var(--text-dim); font-size: .88rem; margin-bottom: 24px; line-height: 1.7; }

.wl-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px;
}
.wl-stat {
    background: rgba(0,0,0,.3);
    border-radius: 12px; padding: 14px;
    border: 1px solid rgba(255,255,255,.06);
}
.wl-stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem; font-weight: 700; line-height: 1;
    margin-bottom: 4px; color: var(--primary);
}
.wl-stat-label { font-size: .7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

.wl-right .btn-primary { width: 100%; justify-content: center; margin-bottom: 10px; }
.wl-right .btn-discord { width: 100%; justify-content: center; }

@media (max-width: 900px) {
    .wl-grid { grid-template-columns: 1fr; }
    .wl-right { position: static; }
    .server-progress-bar { flex-direction: column; text-align: center; }
    .progress-right { text-align: center; }
}


/* ================================================================
   PAGE WHITELIST
   ================================================================ */
.wl-page-header {
    min-height: 42vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 5% 60px;
    position: relative; overflow: hidden;
}
.wl-page-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(200,168,75,.12) 0%, transparent 70%);
}
.wl-page-hero { position: relative; z-index: 1; }
.wl-page-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700; letter-spacing: 1px; margin-bottom: 14px;
}
.wl-page-hero h1 span { color: var(--primary); }
.wl-page-hero p { color: var(--text-dim); font-size: 1rem; max-width: 580px; }

.wl-form-container { max-width: 760px; margin: 0 auto 100px; padding: 0 20px; }

.wl-requirements {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; margin-bottom: 36px;
}
.wl-req {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px; padding: 20px;
    text-align: center;
}
.wl-req-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.wl-req h4 { font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.wl-req p  { color: var(--text-dim); font-size: .78rem; line-height: 1.5; }

.wl-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px; padding: 40px;
}
.wl-form-card h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem; font-weight: 700;
    margin-bottom: 28px; padding-bottom: 16px;
    border-bottom: 1px solid rgba(200,168,75,.15);
}

.wl-success { display: none; text-align: center; padding: 50px 20px; }
.wl-success.visible { display: block; }
.wl-success-icon { font-size: 4rem; margin-bottom: 16px; animation: successPop .5s cubic-bezier(.175,.885,.32,1.275); }
.wl-success h3 { font-family: 'Oswald', sans-serif; font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.wl-success p  { color: var(--text-dim); font-size: .9rem; line-height: 1.75; max-width: 420px; margin: 0 auto 24px; }

@media (max-width: 680px) {
    .wl-requirements { grid-template-columns: 1fr; }
    .wl-form-card { padding: 24px 18px; }
}


/* ================================================================
   BLOG / DEVLOG
   ================================================================ */
.blog-header {
    min-height: 38vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 5% 60px;
    position: relative; overflow: hidden;
}
.blog-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,168,75,.1) 0%, transparent 70%);
}
.blog-hero { position: relative; z-index: 1; }
.blog-hero h1 { font-family: 'Oswald', sans-serif; font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; }
.blog-hero h1 span { color: var(--primary); }
.blog-hero p { color: var(--text-dim); font-size: 1rem; max-width: 580px; }

.blog-container { max-width: 1060px; margin: 0 auto 100px; padding: 0 20px; }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

/* Article card */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 22px; overflow: hidden;
    transition: border-color .3s, transform .3s;
    cursor: pointer;
}
.blog-card:hover { border-color: rgba(200,168,75,.35); transform: translateY(-4px); }

.blog-card-featured {
    border-color: rgba(200,168,75,.25);
    background: linear-gradient(135deg, #1e160e 0%, #18170e 100%);
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, #1a1a12, #1e160e);
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; border-bottom: 1px solid var(--card-border);
    position: relative; overflow: hidden;
}
.blog-card-img-label {
    position: absolute; top: 12px; left: 14px;
    font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 3px 10px; border-radius: 100px;
}
.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-card-meta span { font-size: .72rem; color: var(--text-dim); display: flex; align-items: center; gap: 5px; }
.blog-card-meta i { color: var(--primary); font-size: .7rem; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.blog-card p  { color: var(--text-dim); font-size: .86rem; line-height: 1.7; margin-bottom: 18px; }
.blog-read-more { color: var(--primary); font-size: .82rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.blog-read-more i { font-size: .75rem; transition: transform .2s; }
.blog-card:hover .blog-read-more i { transform: translateX(4px); }

.blog-tag { font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; }
.tag-dev      { background: rgba(88,101,242,.1); color: #818cf8; border: 1px solid rgba(88,101,242,.3); }
.tag-update   { background: rgba(200,168,75,.1); color: var(--primary); border: 1px solid rgba(200,168,75,.3); }
.tag-event    { background: rgba(74,222,128,.1); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.tag-annonce  { background: rgba(251,146,60,.1); color: #fb923c; border: 1px solid rgba(251,146,60,.3); }

.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.sidebar-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 22px; }
.sidebar-card h4 { font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; color: var(--text-dim); }

.sidebar-post { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04); cursor: pointer; transition: opacity .2s; }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { opacity: .7; }
.sidebar-post-num { font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 700; color: rgba(200,168,75,.3); flex-shrink: 0; width: 28px; }
.sidebar-post-info strong { display: block; font-size: .82rem; margin-bottom: 3px; }
.sidebar-post-info span   { font-size: .72rem; color: var(--text-dim); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud-item { font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 100px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: var(--text-dim); cursor: pointer; transition: all .2s; }
.tag-cloud-item:hover { border-color: rgba(200,168,75,.4); color: var(--primary); background: rgba(200,168,75,.08); }

@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } .blog-sidebar { position: static; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }


/* ================================================================
   CALENDRIER DES ÉVÉNEMENTS
   ================================================================ */
.cal-section { padding: 0 8% 80px; }

.cal-header-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.cal-month-nav { display: flex; align-items: center; gap: 12px; }
.cal-month-title { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; min-width: 180px; text-align: center; }
.cal-nav-btn {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--card-bg); border: 1px solid var(--card-border);
    color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: .85rem; transition: all .2s;
}
.cal-nav-btn:hover { border-color: rgba(200,168,75,.4); color: var(--primary); background: rgba(200,168,75,.08); }

.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--text-dim); }
.cal-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.cal-grid-wrap {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px; overflow: hidden;
}
.cal-days-header {
    display: grid; grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.cal-day-name {
    padding: 12px 8px; text-align: center;
    font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-dim);
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-cell {
    min-height: 96px; padding: 10px 8px;
    border-right: 1px solid rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.03);
    transition: background .2s;
    position: relative;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.other-month { opacity: .3; }
.cal-cell.today { background: rgba(200,168,75,.06); }
.cal-cell.today .cal-cell-num { color: var(--primary); font-weight: 700; background: rgba(200,168,75,.15); border-radius: 6px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.cal-cell:hover { background: rgba(255,255,255,.02); }
.cal-cell-num { font-size: .82rem; color: var(--text-dim); margin-bottom: 6px; }
.cal-event {
    font-size: .65rem; font-weight: 600; padding: 2px 6px; border-radius: 5px;
    margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    cursor: pointer; transition: opacity .2s;
}
.cal-event:hover { opacity: .75; }
.cal-event.ev-game      { background: rgba(200,168,75,.15); color: var(--primary); }
.cal-event.ev-update    { background: rgba(88,101,242,.15); color: #818cf8; }
.cal-event.ev-community { background: rgba(74,222,128,.12); color: #4ade80; }
.cal-event.ev-special   { background: rgba(251,146,60,.12); color: #fb923c; }

/* Upcoming events list */
.upcoming-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.upcoming-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px; padding: 18px 22px;
    display: flex; align-items: center; gap: 18px;
    transition: border-color .3s;
}
.upcoming-item:hover { border-color: rgba(200,168,75,.25); }
.upcoming-date-box {
    background: rgba(200,168,75,.1); border: 1px solid rgba(200,168,75,.25);
    border-radius: 12px; padding: 8px 14px; text-align: center; flex-shrink: 0; min-width: 52px;
}
.upcoming-date-box .day   { font-family: 'Oswald', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.upcoming-date-box .month { font-size: .65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); }
.upcoming-info { flex: 1; }
.upcoming-info h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.upcoming-info p  { color: var(--text-dim); font-size: .8rem; }
.upcoming-time    { font-size: .75rem; color: var(--primary); font-weight: 600; white-space: nowrap; }

@media (max-width: 600px) { .cal-cell { min-height: 60px; } .cal-event { display: none; } }


/* ================================================================
   BADGES & RÉCOMPENSES
   ================================================================ */
.badges-section { padding: 0 8% 80px; }

.badges-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.badge-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px; padding: 24px 18px;
    text-align: center;
    transition: border-color .3s, transform .3s;
    position: relative;
}
.badge-card:hover { border-color: rgba(200,168,75,.3); transform: translateY(-4px); }
.badge-card.locked { opacity: .45; filter: grayscale(.7); }
.badge-card.locked:hover { transform: none; }

.badge-icon-wrap {
    width: 70px; height: 70px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 14px;
    position: relative;
}
.badge-icon-wrap::after {
    content: '';
    position: absolute; inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--badge-color, rgba(200,168,75,.4));
    box-shadow: 0 0 16px var(--badge-color, rgba(200,168,75,.2));
}
.badge-card.locked .badge-icon-wrap::after { border-color: rgba(255,255,255,.1); box-shadow: none; }

.badge-name { font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.badge-desc { font-size: .74rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 12px; }
.badge-rarity {
    font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 3px 10px; border-radius: 100px; display: inline-block;
}
.rarity-common   { background: rgba(255,255,255,.06); color: var(--text-dim); }
.rarity-rare     { background: rgba(96,165,250,.1); color: #60a5fa; border: 1px solid rgba(96,165,250,.3); }
.rarity-epic     { background: rgba(167,139,250,.1); color: #a78bfa; border: 1px solid rgba(167,139,250,.3); }
.rarity-legend   { background: rgba(200,168,75,.12); color: var(--primary); border: 1px solid rgba(200,168,75,.3); }

.lock-overlay {
    position: absolute; top: 10px; right: 10px;
    width: 22px; height: 22px; border-radius: 6px;
    background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; color: var(--text-dim);
}

@media (max-width: 900px) { .badges-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px) { .badges-grid { grid-template-columns: repeat(2,1fr); } }


/* ================================================================
   PARRAINAGE
   ================================================================ */
.referral-section { padding: 0 8% 80px; }

.referral-hero {
    background: linear-gradient(135deg, rgba(200,168,75,.1), rgba(200,168,75,.04));
    border: 1px solid rgba(200,168,75,.25);
    border-radius: 24px; padding: 48px 40px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: center;
    margin-bottom: 36px;
}
.referral-left h2 { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.referral-left h2 span { color: var(--primary); }
.referral-left p { color: var(--text-dim); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }

.referral-perks { display: flex; flex-direction: column; gap: 10px; }
.referral-perk { display: flex; align-items: center; gap: 10px; font-size: .84rem; }
.referral-perk i { color: var(--primary); font-size: .8rem; }

.referral-code-box {
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(200,168,75,.3);
    border-radius: 18px; padding: 28px;
    text-align: center;
}
.referral-code-label { font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.referral-code-display {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem; font-weight: 700; letter-spacing: 6px;
    color: var(--primary); text-shadow: 0 0 20px rgba(200,168,75,.3);
    margin-bottom: 16px;
}
.referral-copy-btn {
    background: var(--primary); color: #000;
    border: none; border-radius: 12px; padding: 12px 28px;
    font-family: 'Oswald', sans-serif; font-size: 1rem;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: opacity .2s, transform .15s;
    display: flex; align-items: center; gap: 8px; margin: 0 auto;
}
.referral-copy-btn:hover { opacity: .85; transform: translateY(-1px); }

.referral-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.ref-stat { background: rgba(255,255,255,.03); border-radius: 12px; padding: 14px; text-align: center; }
.ref-stat-num { font-family: 'Oswald', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.ref-stat-label { font-size: .68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

.referral-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ref-step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px; padding: 28px 22px;
    text-align: center; position: relative;
}
.ref-step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary); color: #000;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Oswald', sans-serif; font-weight: 700; font-size: .9rem;
    border: 2px solid var(--bg);
}
.ref-step-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.ref-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.ref-step p  { color: var(--text-dim); font-size: .82rem; line-height: 1.6; }

@media (max-width: 768px) {
    .referral-hero { grid-template-columns: 1fr; padding: 32px 24px; }
    .referral-steps { grid-template-columns: 1fr; }
    .referral-stats { grid-template-columns: repeat(3,1fr); }
}


/* ================================================================
   GALERIE VIDÉO
   ================================================================ */
.video-gallery { padding: 0 8% 80px; }

.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px; overflow: hidden;
    transition: border-color .3s, transform .3s;
    cursor: pointer;
}
.video-card:hover { border-color: rgba(200,168,75,.35); transform: translateY(-4px); }

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #050504;
    overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, #1e160e, #1a1a12); }

.video-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.3);
    transition: background .3s;
}
.video-card:hover .video-play-overlay { background: rgba(0,0,0,.15); }
.video-play-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(0,0,0,.6);
    border: 2px solid rgba(255,255,255,.8);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
    transition: transform .3s, background .3s;
}
.video-card:hover .video-play-btn { transform: scale(1.1); background: var(--primary); border-color: var(--primary); color: #000; }

.video-platform {
    position: absolute; top: 10px; left: 10px;
    font-size: .65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 3px 8px; border-radius: 6px;
}
.platform-youtube { background: #ff0000; color: #fff; }
.platform-tiktok  { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.2); }
.platform-twitch  { background: #9146ff; color: #fff; }

.video-duration {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,.75); color: #fff;
    font-size: .68rem; font-weight: 600; padding: 2px 6px; border-radius: 4px;
}

.video-info { padding: 16px; }
.video-info h4 { font-size: .88rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.video-info-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.video-author { font-size: .75rem; color: var(--text-dim); display: flex; align-items: center; gap: 5px; }
.video-views  { font-size: .72rem; color: var(--primary); font-weight: 600; }

/* Video modal */
.video-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
.video-modal.open { opacity: 1; pointer-events: all; }
.video-modal-inner { width: 100%; max-width: 900px; }
.video-modal-close {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: #fff; width: 44px; height: 44px; border-radius: 12px;
    cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.video-modal-close:hover { background: rgba(255,255,255,.15); }
.video-embed { aspect-ratio: 16/9; width: 100%; border-radius: 16px; overflow: hidden; background: #000; }
.video-embed iframe { width: 100%; height: 100%; border: none; display: block; }

@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }


/* ================================================================
   DAILY BONUS WIDGET
   ================================================================ */
.daily-widget {
    background: linear-gradient(135deg, rgba(200,168,75,.12), rgba(200,168,75,.04));
    border: 1px solid rgba(200,168,75,.3);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    position: relative;
    margin: 0 8% 60px;
}

/* Confetti burst */
@keyframes confetti-fall {
    0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(80px) rotate(720deg); opacity: 0; }
}
.confetti-piece {
    position: absolute; width: 8px; height: 8px;
    border-radius: 2px; pointer-events: none;
    animation: confetti-fall .8s ease-out forwards;
}

/* Streak fire */
@keyframes fireFlicker {
    0%,100% { transform: scaleY(1) translateY(0); }
    50%      { transform: scaleY(1.15) translateY(-2px); }
}

.daily-header {
    background: rgba(200,168,75,.08);
    border-bottom: 1px solid rgba(200,168,75,.15);
    padding: 20px 28px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.daily-header-left { display: flex; align-items: center; gap: 12px; }
.daily-header-left i { color: var(--primary); font-size: 1.2rem; }
.daily-header-left h3 { font-family: 'Oswald', sans-serif; font-size: 1.2rem; font-weight: 700; }
.daily-header-left p  { color: var(--text-dim); font-size: .78rem; }
.daily-streak {
    display: flex; align-items: center; gap: 8px;
    background: rgba(0,0,0,.2);
    border: 1px solid rgba(200,168,75,.2);
    border-radius: 100px; padding: 6px 16px;
    font-size: .82rem; font-weight: 600;
}
.daily-streak-fire { font-size: 1rem; animation: fireFlicker 1s ease-in-out infinite; }
.daily-streak-num  { color: var(--primary); font-family: 'Oswald', sans-serif; font-size: 1.2rem; font-weight: 700; }

/* Days strip */
.daily-days {
    display: flex; gap: 0;
    padding: 20px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.daily-days::-webkit-scrollbar { height: 3px; }
.daily-days::-webkit-scrollbar-thumb { background: rgba(200,168,75,.2); border-radius: 2px; }

.daily-day {
    flex: 1; min-width: 80px;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    padding: 14px 8px;
    border-radius: 14px;
    position: relative;
    scroll-snap-align: start;
    transition: background .25s;
}
.daily-day.claimed {
    background: rgba(74,222,128,.06);
    border: 1px solid rgba(74,222,128,.2);
}
.daily-day.today {
    background: rgba(200,168,75,.12);
    border: 1px solid rgba(200,168,75,.4);
    box-shadow: 0 0 20px rgba(200,168,75,.15);
}
.daily-day.future { opacity: .45; }
.daily-day.missed {
    background: rgba(248,113,113,.04);
    border: 1px solid rgba(248,113,113,.15);
    opacity: .6;
}

.daily-day-label { font-size: .65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); }
.daily-day.today .daily-day-label  { color: var(--primary); }
.daily-day.claimed .daily-day-label{ color: #4ade80; }

.daily-day-icon { font-size: 1.6rem; line-height: 1; }
.daily-day-bonus { font-family: 'Oswald', sans-serif; font-size: .95rem; font-weight: 700; color: var(--text-dim); }
.daily-day.today .daily-day-bonus  { color: var(--primary); }
.daily-day.claimed .daily-day-bonus{ color: #4ade80; }

.daily-check {
    position: absolute; top: -6px; right: -6px;
    width: 20px; height: 20px; border-radius: 50%;
    background: #4ade80; color: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 700;
    border: 2px solid var(--bg);
}

/* Claim button */
.daily-claim-area {
    padding: 0 24px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
}
.daily-info { flex: 1; }
.daily-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.daily-info p  { color: var(--text-dim); font-size: .82rem; }
.daily-next-label {
    font-size: .75rem; color: var(--text-dim);
    display: flex; align-items: center; gap: 6px;
    margin-top: 6px;
}
.daily-next-label i { color: var(--primary); }
.daily-next-timer  { color: var(--primary); font-weight: 700; font-family: 'Oswald', sans-serif; }

.daily-claim-btn {
    background: var(--primary); color: #000;
    border: none; border-radius: 14px;
    padding: 14px 32px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(200,168,75,.4);
    flex-shrink: 0;
    position: relative; overflow: hidden;
}
.daily-claim-btn:hover:not(:disabled) { opacity: .88; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,168,75,.5); }
.daily-claim-btn:disabled {
    background: rgba(255,255,255,.08); color: var(--text-dim);
    box-shadow: none; cursor: not-allowed; transform: none;
}

.daily-claim-btn .btn-shimmer {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.25) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 2s ease-in-out infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* Reward popup */
.daily-reward-popup {
    position: fixed; inset: 0; z-index: 9500;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(6px);
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
}
.daily-reward-popup.open { opacity: 1; pointer-events: all; }

.daily-reward-box {
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,.4);
    border-radius: 28px; padding: 48px 40px;
    max-width: 400px; width: 100%;
    text-align: center;
    transform: scale(.85);
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275);
    position: relative; overflow: hidden;
}
.daily-reward-popup.open .daily-reward-box { transform: scale(1); }
.daily-reward-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.daily-reward-icon { font-size: 4rem; margin-bottom: 16px; display: block; }
.daily-reward-box h2 { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.daily-reward-box p  { color: var(--text-dim); font-size: .9rem; margin-bottom: 24px; line-height: 1.65; }
.daily-reward-amount {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem; font-weight: 700;
    color: var(--primary); text-shadow: 0 0 30px rgba(200,168,75,.5);
    line-height: 1; margin-bottom: 8px;
}
.daily-reward-label { font-size: .78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 28px; }
.daily-reward-close {
    background: var(--primary); color: #000;
    border: none; border-radius: 12px; padding: 13px 36px;
    font-family: 'Oswald', sans-serif; font-size: 1rem;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: opacity .2s;
}
.daily-reward-close:hover { opacity: .85; }

@media (max-width: 768px) {
    .daily-widget { margin: 0 4% 50px; }
    .daily-day { min-width: 70px; }
    .daily-claim-area { flex-direction: column; text-align: center; }
    .daily-claim-btn { width: 100%; }
}

/* ── Grain texture overlay sableux ── */
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 99999;
    opacity: 1;
}

/* ── Horizontal dividers style Las Venturas ── */
.section-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* ── Scrollbar sable ── */
::-webkit-scrollbar-thumb { background: var(--primary-dim); border-radius: 2px; }


/* ================================================================
   HERO — LAS VENTURAS STYLE (split layout + polaroid fan)
   ================================================================ */

/* Override hero to be split layout */
.hero {
    display: block !important;
    text-align: left !important;
    min-height: 100vh;
    padding-top: 0 !important;
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100vh;
    padding: 100px 8% 80px;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* LEFT */
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }

.hero-left .top-badge { margin-bottom: 24px; }

.hero-left h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(4rem, 9vw, 7.5rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-shadow: 0 4px 40px rgba(0,0,0,0.9);
    margin-bottom: 28px;
}
.hero-left h1 span {
    color: var(--primary);
    font-style: italic;
    font-weight: 400;
    display: block;
    text-shadow: 0 0 80px rgba(200,168,75,0.6);
}

.hero-left p {
    color: rgba(242,236,228,0.65);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 440px;
    margin-bottom: 36px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-left .hero-btns { justify-content: flex-start; margin-bottom: 28px; }

.hero-online-badge {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: rgba(242,236,228,0.5);
}
.hero-online-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #7aad6a;
    box-shadow: 0 0 8px #7aad6a;
    animation: pulseInd 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
#player-count-hero { color: #7aad6a; font-weight: 600; }

/* RIGHT — Polaroid fan */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 520px;
}

.polaroid-fan {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Each polaroid card */
.polaroid {
    position: absolute;
    width: 200px;
    background: #1a1410;
    border: 3px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.7),
        0 4px 16px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275),
                box-shadow .4s ease,
                z-index 0s;
    cursor: pointer;
}

.polaroid img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) brightness(0.9);
    transition: filter .4s;
}

.polaroid:hover {
    z-index: 10 !important;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.8),
        0 0 30px rgba(200,168,75,0.2);
}
.polaroid:hover img { filter: saturate(1) brightness(1); }

/* Positions & rotations — exactement comme Las Venturas */
.p1 {
    left: 0%; top: 50%;
    transform: translateY(-50%) rotate(-22deg);
    z-index: 1;
    transform-origin: bottom center;
}
.p2 {
    left: 16%; top: 45%;
    transform: translateY(-50%) rotate(-12deg);
    z-index: 2;
    transform-origin: bottom center;
}
.p3 {
    left: 33%; top: 40%;
    transform: translateY(-50%) rotate(-3deg);
    z-index: 3;
    transform-origin: bottom center;
}
.p4 {
    left: 50%; top: 45%;
    transform: translateY(-50%) rotate(8deg);
    z-index: 2;
    transform-origin: bottom center;
}
.p5 {
    left: 67%; top: 50%;
    transform: translateY(-50%) rotate(18deg);
    z-index: 1;
    transform-origin: bottom center;
}

/* Hover = redresse la carte */
.p1:hover { transform: translateY(-50%) rotate(-5deg) scale(1.08) !important; }
.p2:hover { transform: translateY(-50%) rotate(-2deg) scale(1.08) !important; }
.p3:hover { transform: translateY(-50%) rotate(0deg)  scale(1.1) !important; }
.p4:hover { transform: translateY(-50%) rotate(2deg)  scale(1.08) !important; }
.p5:hover { transform: translateY(-50%) rotate(5deg)  scale(1.08) !important; }

/* Entrée animée au chargement */
@keyframes cardIn {
    from { opacity: 0; transform: translateY(-50%) translateY(40px) rotate(var(--rot, 0deg)); }
    to   { opacity: 1; transform: translateY(-50%) rotate(var(--rot, 0deg)); }
}
.p1 { animation: cardIn .8s .1s cubic-bezier(.175,.885,.32,1.275) both; --rot: -22deg; }
.p2 { animation: cardIn .8s .2s cubic-bezier(.175,.885,.32,1.275) both; --rot: -12deg; }
.p3 { animation: cardIn .8s .3s cubic-bezier(.175,.885,.32,1.275) both; --rot: -3deg;  }
.p4 { animation: cardIn .8s .4s cubic-bezier(.175,.885,.32,1.275) both; --rot: 8deg;   }
.p5 { animation: cardIn .8s .5s cubic-bezier(.175,.885,.32,1.275) both; --rot: 18deg;  }

/* Responsive */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; padding-top: 120px; }
    .hero-right { height: 300px; margin-top: 40px; }
    .polaroid { width: 130px; }
    .p1 { left: 0%; } .p2 { left: 16%; } .p3 { left: 33%; }
    .p4 { left: 50%; } .p5 { left: 66%; }
    .hero-left h1 { font-size: clamp(3rem, 10vw, 5rem); }
    .hero-left .hero-btns { flex-wrap: wrap; }
}

@media (max-width: 600px) {
    .hero-split { padding: 100px 5% 60px; gap: 30px; }
    .polaroid { width: 100px; }
    .p5 { display: none; }
    .p4 { left: 55%; }
}

/* ════════════════════════════════════════════════════════════
   LAS VENTURAS STYLE — COMPOSANTS GLOBAUX
   ════════════════════════════════════════════════════════════ */

/* Grain overlay exact LV */
body::after {
    content: '';
    position: fixed; inset: 0;
    background: var(--grain);
    background-size: 400px 400px;
    pointer-events: none;
    z-index: 9998;
}

/* Section backgrounds alternés */
section { background: transparent; }

/* ── LV Header row (titre + lien "TOUT AFFICHER →") ── */
.lv-header-row {
    display: flex; align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.lv-header-row h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700; letter-spacing: 0.5px;
}
.lv-header-row h2 span { color: var(--primary); font-style: italic; font-weight: 400; }
.lv-header-row .sub { color: var(--text-dim); font-size: .82rem; margin-top: 4px; display: block; }

/* ── Arrow link "TOUT AFFICHER →" ── */
.lv-arrow-link {
    font-family: 'Oswald', sans-serif;
    font-size: .82rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text); text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color .2s, gap .2s;
    white-space: nowrap;
}
.lv-arrow-link:hover { color: var(--primary); gap: 10px; }

/* ── LV card produit (grille boutique) ── */
.lv-card {
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,0.2);
    border-radius: 5px; overflow: hidden;
    transition: border-color .25s, transform .25s;
    cursor: pointer;
}
.lv-card:hover { border-color: rgba(200,168,75,0.55); transform: translateY(-3px); }
.lv-card-img { aspect-ratio: 1/1; overflow: hidden; }
.lv-card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    filter: saturate(0.8) brightness(0.85);
    transition: filter .3s, transform .3s;
}
.lv-card:hover .lv-card-img img { filter: saturate(0.95) brightness(0.95); transform: scale(1.04); }
.lv-card-body { padding: 12px 14px 14px; }
.lv-card-body h4 { font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.lv-card-body .lv-card-sub { font-size: .73rem; color: var(--text-dim); }
.lv-card-price { font-family: 'Oswald', sans-serif; font-size: .9rem; font-weight: 600; color: var(--primary); text-align: right; margin-top: 8px; }

/* ── LV Pricing grid ── */
.lv-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 28px; }
.lv-pricing-card {
    background: var(--card-bg);
    border: 1px solid rgba(200,168,75,0.2);
    border-radius: 5px; padding: 30px 26px;
}
.lv-pricing-card.gold { border-color: var(--primary); }
.lv-pricing-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.lv-pricing-card .sub { font-size: .8rem; color: var(--text-dim); margin-bottom: 20px; line-height: 1.6; }
.lv-price { font-family: 'Oswald', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 20px; }
.lv-price small { font-size: .85rem; color: var(--text-dim); font-weight: 400; }
.lv-pricing-btn {
    width: 100%; padding: 13px;
    font-family: 'Oswald', sans-serif; font-size: .95rem;
    font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    border-radius: 4px; cursor: pointer; transition: all .2s;
    margin-bottom: 22px;
}
.lv-btn-solid { background: var(--primary); color: #1a1000; border: none; }
.lv-btn-solid:hover { background: var(--primary-light); }
.lv-btn-outline { background: transparent; border: 1px solid rgba(200,168,75,0.3); color: var(--text-dim); }
.lv-btn-outline:hover { border-color: var(--primary); color: var(--text); }
.lv-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lv-features li { display: flex; gap: 10px; font-size: .83rem; color: var(--text-dim); align-items: flex-start; line-height: 1.5; }
.lv-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ── LV FAQ ── */
.lv-faq { display: flex; flex-direction: column; }
.lv-faq-item { border: 1px solid rgba(200,168,75,0.2); border-top: none; background: var(--card-bg); }
.lv-faq-item:first-child { border-top: 1px solid rgba(200,168,75,0.2); border-radius: 4px 4px 0 0; }
.lv-faq-item:last-child { border-radius: 0 0 4px 4px; }
.lv-faq-item.open { border-color: rgba(200,168,75,0.4); }
.lv-faq-q {
    width: 100%; text-align: left; padding: 17px 20px;
    background: none; border: none; color: var(--text);
    font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 400;
    cursor: pointer; display: flex; align-items: center;
    justify-content: space-between; gap: 16px; transition: color .2s;
}
.lv-faq-q:hover { color: var(--primary); }
.lv-faq-icon { color: var(--primary); font-size: .95rem; flex-shrink: 0; transition: transform .3s; }
.lv-faq-item.open .lv-faq-icon { transform: rotate(90deg); }
.lv-faq-body { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; padding: 0 20px; }
.lv-faq-item.open .lv-faq-body { max-height: 500px; padding: 0 20px 16px; }
.lv-faq-body p { color: var(--text-dim); font-size: .84rem; line-height: 1.75; }

/* ── LV Footer ── */
.lv-footer {
    background: #1c1208;
    border-top: 2px solid rgba(200,168,75,0.22);
    padding: 44px 8% 24px;
}
.lv-footer-inner {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 40px;
    margin-bottom: 28px; flex-wrap: wrap;
}
.lv-footer-brand .lv-brand-name {
    font-family: 'Oswald', sans-serif; font-size: 1.05rem;
    font-weight: 600; margin-bottom: 10px; display: block;
}
.lv-footer-brand .lv-brand-name em { color: var(--primary); font-style: italic; }
.lv-footer-brand p { color: var(--text-dim); font-size: .78rem; line-height: 1.7; max-width: 540px; }
.lv-footer-nav { display: flex; flex-direction: column; gap: 7px; text-align: right; }
.lv-footer-nav a { color: var(--text-dim); font-size: .8rem; text-decoration: none; transition: color .2s; }
.lv-footer-nav a:hover { color: var(--text); }
.lv-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 18px;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.lv-socials { display: flex; gap: 8px; }
.lv-social-btn {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
    background: none; color: var(--text-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; text-decoration: none;
    transition: all .2s;
}
.lv-social-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(200,168,75,0.08); }
.lv-copyright { font-size: .73rem; color: var(--text-muted); }

/* ── LV Team ── */
.lv-team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.lv-team-card { text-align: center; }
.lv-avatar {
    width: 90px; height: 90px; border-radius: 50%;
    margin: 0 auto 12px; border: 2px solid rgba(200,168,75,0.3);
    overflow: hidden; background: var(--card-bg);
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.lv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lv-team-card h4 { font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.lv-team-card .role { color: var(--primary); font-size: .73rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.lv-team-card p { color: var(--text-dim); font-size: .78rem; line-height: 1.6; }
.lv-team-socials { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.lv-team-socials a { color: var(--text-dim); font-size: .8rem; transition: color .2s; }
.lv-team-socials a:hover { color: var(--primary); }

/* ── LV Big polaroid (about page) ── */
.lv-photo-stack { position: relative; }
.lv-photo {
    border: 2px solid rgba(255,255,255,0.07);
    border-radius: 3px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.lv-photo img { width: 100%; display: block; object-fit: cover; filter: saturate(0.82) brightness(0.88); }

/* ── LV Image grid (products) ── */
.lv-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 1200px) { .lv-products-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 900px)  { .lv-products-grid { grid-template-columns: repeat(3,1fr); } .lv-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 28px auto 0; } .lv-team-grid { grid-template-columns: repeat(2,1fr); } .lv-footer-nav { text-align: left; } }
@media (max-width: 600px)  { .lv-products-grid { grid-template-columns: repeat(2,1fr); } .lv-team-grid { grid-template-columns: 1fr 1fr; } }
