@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

/* ==========================================================================
   1. VARIABLES GLOBALES & THÈME GOLD ROYAL
   ========================================================================== */
:root {
    /* --- COULEURS PRINCIPALES (L'OR) --- */
    --color-primary: #D4AF37; 
    --color-primary-hover: #F1D06E; 
    
    /* LE DÉGRADÉ ROYAL (Effet Métallique) */
    --gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    --gold-border-gradient: linear-gradient(to right, #BF953F, #FBF5B7, #AA771C);

    /* --- ARRIÈRE-PLANS --- */
    --color-bg: #0a0a0a; 
    --color-brighter-bg: #141414; 
    
    /* CORRECTION : 0.7 au lieu de 0.0.7 */
    --glass-bg: rgba(15, 15, 15, 0.7); 
    --glass-border: rgba(212, 175, 55, 0.15); 
    --glass-blur: 15px;

    /* --- TEXTE --- */
    --color-text: #F8F8FF; 
    --color-text-secondary: #C0C0C0; 
  
    /* --- NOUVELLE IMAGE DE FOND (Hébergée sur ImgBB) --- */
    --bg-image: url("https://i.ibb.co/RpQ6Pb5M/testtttttttttt.png");

    /* Border radius */
    --radius-sm: 4px; 
    --radius-md: 6px;
    --radius-lg: 8px;

    /* Structure */
    --sidebar-width: 300px;
    --btn-size: 46px;
    --widget-padding: 24px;
}

/* ==========================================================================
   BACKGROUND HD PROPRE
   ========================================================================== */

body {
  font-family: 'Inter', Lato, sans-serif;
  background-color: var(--color-bg); 
  color: var(--color-text);
  line-height: normal;
  position: relative;
  
  /* FORCE LA SUPPRESSION DE TOUTE ANCIENNE IMAGE SUR LE BODY */
  background-image: none !important; 
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  
  /* Utilise la nouvelle image HD */
  background: var(--bg-image) center center/cover no-repeat;
  background-attachment: fixed;
  
  pointer-events: none;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.custom-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 100vh; 
}

.main-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-grow: 1; 
}

/* ==========================================================================
   4. EFFET DE VERRE (GLASSMORPHISM ROYAL)
   ========================================================================== */
.top-nav-bar, 
.widget, 
.welcome-box, 
.reviews-section, 
.store-text, 
.category-header, 
.store-product-full,
.custom-footer,
.basket-popup-content,
.sidebar-nav-widget,
.login-glass-card,
.voice-card {
  background: rgba(10, 10, 10, -0.3) !important;
  backdrop-filter: blur(var(--glass-blur)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
  
  /* BORDURE DORÉE EN DÉGRADÉ */
  border: 1px solid transparent !important;
  /* Fallback pour border-image */
  border-color: rgba(212, 175, 55, 0.2) !important; 
  
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   5. BOUTONS (EFFET LINGOT D'OR)
   ========================================================================== */
.btn-primary, .open-basket {
  /* Fond Or Métallique */
  background: var(--gold-gradient) !important;
  background-size: 200% auto !important;
  
  color: #0a0a0a !important; /* Texte Noir pour contraste */
  font-weight: 900;
  text-transform: uppercase;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  
  height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover, .open-basket:hover {
  background-position: right center !important; 
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
  color: #000 !important;
}

/* Boutons Secondaires (Contour Or) */
.btn-secondary, .btn-tertiary, .btn-outline-orange {
   background: rgba(212, 175, 55, 0.05) !important;
   color: var(--color-primary) !important;
   border: 1px solid var(--color-primary) !important;
   border-radius: var(--radius-sm);
   font-weight: 800;
   text-transform: uppercase;
   transition: all 0.3s ease;
   height: 44px;
   display: flex; align-items: center; justify-content: center;
   cursor: pointer;
}

.btn-secondary:hover, .btn-tertiary:hover, .btn-outline-orange:hover {
   background: var(--color-primary) !important;
   color: #000 !important;
   box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Bouton Discord */
.btn-discord {
  background: rgba(88, 101, 242, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(88, 101, 242, 0.3) !important;
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 800;
}
.btn-discord:hover {
  background: #5865F2 !important;
  border-color: #5865F2 !important;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

/* ==========================================================================
   6. HEADER & NAV
   ========================================================================== */
.top-nav-bar {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}
/* (Le reste du header est géré par ton sidebar menu maintenant, 
    mais on garde le style basique au cas où) */

/* ==========================================================================
   7. SIDEBAR (WIDGETS & NAV)
   ========================================================================== */
.custom-sidebar-left {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Titres des widgets avec dégradé Or */
.widget-title, .custom-sidebar-left .widget-title, .innovation-title, h1, h2 {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 15PX;
    display: inline-block;
}

/* --- NAVIGATION LATÉRALE (STYLE GLITCH OR) --- */
.sidebar-nav-widget {
    padding: 0 !important; 
    background: transparent !important; 
    border: none !important;
    box-shadow: none !important;
}

.glitch-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glitch-nav li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    
    background: rgba(10, 10, 10, 0.8); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 4px;
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    border-left: 3px solid transparent; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.glitch-nav li a i {
    width: 20px;
    text-align: center;
    color: rgba(255,255,255,0.2);
    transition: 0.3s;
}

/* Hover Or */
.glitch-nav li a:hover,
.glitch-nav li.active a {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(10,10,10,0.9) 100%);
    
    color: #fff;
    border-color: rgba(212, 175, 55, 0.3);
    
    border-left: 3px solid var(--color-primary); 
    
    padding-left: 28px; 
    transform: translateX(5px);
    
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.glitch-nav li a:hover i,
.glitch-nav li.active a i {
    color: var(--color-primary);
    transform: scale(1.2);
}


/* ==========================================================================
   8. PRODUITS (CARDS ROYAL)
   ========================================================================== */
.custom-products-grid, .store-products-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.store-product {
  background: rgba(10, 10, 10, 0.7) !important;
  background-image: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
  
  /* Bordure fine Or */
  border: 1px solid rgba(212, 175, 55, 0.1) !important;
  
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.store-product:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15) !important;
  transform: translateY(-5px);
}

.store-product .product-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.store-product .price {
  text-align: center;
  color: var(--color-primary) !important; /* Texte Or */
  font-weight: 800 !important;
  font-size: 20px !important;
  margin-bottom: 15px !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   9. INNOVATION SECTION (Updated Colors)
   ========================================================================== */
.innovation-section { padding: 60px 30px !important; }
.innovation-title { color: var(--color-primary); }
.innovation-divider { background: var(--color-primary); }

.innovation-card {
  background: rgba(10, 10, 10, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.innovation-card:hover { border-color: var(--color-primary) !important; }

.icon-wrapper {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.icon-wrapper .material-symbols-outlined { color: var(--color-primary); }


/* ==========================================================================
   10. FOOTER (ROYAL STYLE)
   ========================================================================== */
.custom-footer {
    padding: 15px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(10, 10, 10, -0.3) !important;
    border-top: 1px solid var(--glass-border) !important;
}

.footer-security-title { color: var(--color-text); }
.shield-icon { color: var(--color-primary); }

.footer-payment-icons { color: rgba(255, 255, 255, 0.2); }
.footer-payment-icons i:hover { color: var(--color-primary); }

.footer-tebex-badge { color: var(--color-primary); }
.footer-divider {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

/* Designer Link */
.designer-link {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}
.designer-link:hover {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   11. PAGE LOGIN & OPTIONS
   ========================================================================== */
.options-glass-card, .login-glass-card {
    border-color: var(--glass-border) !important;
}

.options-icon-container {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.custom-input:focus {
    border-color: var(--color-primary);
    background: rgba(212, 175, 55, 0.05);
}

/* ==========================================================================
   12. PRIX & BADGES
   ========================================================================== */
.price-badge {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.free-text {
    color: #23a559 !important; /* Garder vert pour "Gratuit" c'est mieux */
    /* Ou en or si tu préfères : color: var(--color-primary) !important; */
}

.main-price { color: #fff !important; }
.currency { color: var(--color-primary) !important; }

/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .main-container { flex-direction: column; }
  .custom-sidebar-left { width: 100%; order: 2; }
  .custom-main-content { order: 1; }
  .header-main-area { flex-direction: column; gap: 20px; }
  .top-nav-links { flex-wrap: wrap; justify-content: center; }
}
/* ==========================================================================
   ROYAL HERO SECTION (INDEX)
   ========================================================================== */

.royal-hero-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh; /* Prend une bonne partie de la hauteur */
}

.hero-container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* LOGO */
.hero-logo-wrapper {
    margin-bottom: 20px;
    animation: floatLogo 6s ease-in-out infinite;
}

.hero-main-logo {
    max-width: 450px; /* Taille du logo */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4)); /* Lueur dorée derrière le logo */
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* TEXTES */
.hero-description-box {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,10,10,0.8) 50%, rgba(0,0,0,0) 100%);
    padding: 20px;
    border-radius: var(--radius-lg);
    width: 100%;
}

.hero-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-primary); /* Or */
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-text {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hero-subtext {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary); /* Or */
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* BOUTONS D'ACTION */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-royal {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px; /* Coins un peu carrés style tech/royal */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

/* Bouton Discord */
.btn-discord-hero {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid #5865F2;
    color: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.2);
}
.btn-discord-hero:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.6);
    transform: translateY(-3px);
}

/* Bouton Join Server (Style Or) */
.btn-server-hero {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-server-hero:hover {
    background: var(--color-primary); /* Devient Or plein */
    color: #000; /* Texte noir */
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
}

.fivem-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .hero-main-logo { max-width: 300px; }
    .hero-title { font-size: 20px; }
    .hero-text { font-size: 13px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-royal { width: 100%; }
}/* ==========================================================================
   ROYAL HERO SECTION (INDEX)
   ========================================================================== */

.royal-hero-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh; /* Prend une bonne partie de la hauteur */
}

.hero-container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* LOGO */
.hero-logo-wrapper {
    margin-bottom: 20px;
    animation: floatLogo 6s ease-in-out infinite;
}

.hero-main-logo {
    max-width: 450px; /* Taille du logo */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4)); /* Lueur dorée derrière le logo */
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* TEXTES */
.hero-description-box {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,10,10,0.8) 50%, rgba(0,0,0,0) 100%);
    padding: 20px;
    border-radius: var(--radius-lg);
    width: 100%;
}

.hero-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-primary); /* Or */
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-text {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hero-subtext {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary); /* Or */
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* BOUTONS D'ACTION */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-royal {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px; /* Coins un peu carrés style tech/royal */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

/* Bouton Discord */
.btn-discord-hero {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid #5865F2;
    color: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.2);
}
.btn-discord-hero:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.6);
    transform: translateY(-3px);
}

/* Bouton Join Server (Style Or) */
.btn-server-hero {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-server-hero:hover {
    background: var(--color-primary); /* Devient Or plein */
    color: #000; /* Texte noir */
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
}

.fivem-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .hero-main-logo { max-width: 300px; }
    .hero-title { font-size: 20px; }
    .hero-text { font-size: 13px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-royal { width: 100%; }
}

/* ==========================================================================
   MONEY RAIN (PLUIE DE BILLETS) - ARRIÈRE-PLAN
   ========================================================================== */

.money-rain-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Permet de cliquer à travers les billets */
    z-index: 0; /* Niveau 0 : Juste au-dessus du fond, mais sous le contenu */
    overflow: hidden;
}

.bill {
    position: absolute;
    top: -150px;
    
    /* Votre image hébergée */
    background-image: url('https://i.ibb.co/LzwmcMpZ/money.png'); 
    
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px; 
    height: 50px;
    opacity: 0.8;
}

/* Animation de chute */
@keyframes moneyFall {
    0% { transform: translateY(-150px) rotate(0deg) translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg) translateX(50px); opacity: 0; }
}

/* Configuration des billets (Position et Vitesse) */
.b1 { left: 5%; animation: moneyFall 6s linear infinite; animation-delay: 0s; }
.b2 { left: 20%; animation: moneyFall 8s linear infinite; animation-delay: 2s; transform: scale(0.8); }
.b3 { left: 35%; animation: moneyFall 5s linear infinite; animation-delay: 4s; }
.b4 { left: 50%; animation: moneyFall 7s linear infinite; animation-delay: 1s; transform: scale(1.2); }
.b5 { left: 65%; animation: moneyFall 9s linear infinite; animation-delay: 3s; }
.b6 { left: 80%; animation: moneyFall 6s linear infinite; animation-delay: 5s; transform: scale(0.9); }
.b7 { left: 95%; animation: moneyFall 10s linear infinite; animation-delay: 0.5s; filter: blur(1px); }
.b8 { left: 15%; animation: moneyFall 8s linear infinite; animation-delay: 6s; filter: blur(2px); transform: scale(0.6); }
.b9 { left: 45%; animation: moneyFall 7s linear infinite; animation-delay: 2.5s; }
.b10 { left: 75%; animation: moneyFall 11s linear infinite; animation-delay: 1.5s; transform: scale(1.1); }

/* ==========================================================================
   GESTION DES COUCHES (Z-INDEX) - OBLIGATOIRE
   Cela force le site (menus, textes, sidebar) à passer DEVANT la pluie
   ========================================================================== */

/* 1. Le Site passe au premier plan (Niveau 10) */
.site, 
.custom-layout, 
.main-container, 
.top-nav-bar, 
.custom-sidebar-left, 
.widget,
.royal-hero-section,
.innovation-section {
    position: relative;
    z-index: 10 !important;
}
/* ==========================================================================
   CROWN DECORATION (KING SIZE & ANIMATED)
   ========================================================================== */

/* 1. Configuration du parent (le bouton HOME) */
.glitch-nav li:first-child {
    position: relative;
    overflow: visible !important; /* Laisse la couronne dépasser */
    z-index: 100;
}

/* 2. La Couronne (État normal) */
.glitch-nav li:first-child::after {
    content: "";
    position: absolute;
    
    /* POSITIONNEMENT (Ajusté pour la nouvelle taille) */
    top: -28px;  /* Plus haut */
    left: -22px; /* Plus à gauche */
    
    /* TAILLE PLUS GRANDE */
    width: 58px; 
    height: 58px;
    
    /* L'IMAGE */
    background-image: url('https://i.ibb.co/Mxs9Ghkq/CITYPNG-COM-HD-Real-Gold-And-Red-King-Crown-PNG-1500x1500.png');
    background-size: contain;
    background-repeat: no-repeat;
    
    pointer-events: none;
    
    /* OMBRE DORÉE (GOLD SHADOW) */
    /* Une ombre noire pour le contraste + Une lueur dorée */
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5)) drop-shadow(0 0 5px #FFD700);
    
    /* Transformation initiale */
    transform: rotate(-20deg);
    
    /* Transition fluide pour l'animation */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet "rebond" */
}

/* 3. L'Animation au SURVOL de la souris */
.glitch-nav li:first-child:hover::after {
    /* La couronne se redresse, grossit et saute en l'air */
    transform: rotate(-10deg) scale(1.2) translateY(-8px);
    
    /* La lueur dorée devient intense */
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.3)) drop-shadow(0 0 15px #FFD700);
    
    cursor: pointer;
}
/* ==========================================================================
   ANIMATION SOUS-CATÉGORIES (SLIDE DOWN)
   ========================================================================== */

/* Style du lien principal quand il a des sous-menus */
.dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important; /* Pousse la flèche à droite */
    align-items: center;
    cursor: pointer;
}

/* La petite flèche */
.arrow-icon {
    transition: transform 0.4s ease; /* Animation de rotation */
    font-size: 12px;
    opacity: 0.7;
}

/* Quand le menu est ouvert, la flèche tourne */
.has-sub.open .arrow-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

/* --- LE CONTENEUR CACHÉ (Sub-Nav) --- */
.sub-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    
    /* C'est ici que l'animation se joue */
    max-height: 0; /* Hauteur 0 par défaut (caché) */
    overflow: hidden; /* Cache ce qui dépasse */
    opacity: 0;
    
    transition: max-height 0.5s ease-in-out, opacity 0.4s ease; /* Transition fluide */
    
    background: rgba(0, 0, 0, 0.2); /* Fond un peu plus sombre */
    border-radius: 0 0 4px 4px;
}

/* --- ÉTAT OUVERT (OPEN) --- */
.has-sub.open .sub-nav-list {
    max-height: 500px; /* On donne une hauteur max suffisante pour tout montrer */
    opacity: 1;
    padding-bottom: 10px; /* Un peu d'espace en bas */
}

/* --- STYLE DES LIENS SOUS-CATEGORIES --- */
.sub-nav-list li a {
    padding: 10px 10px 10px 45px !important; /* Décalage vers la droite (indentation) */
    font-size: 13px !important;
    color: #aaa !important; /* Gris clair par défaut */
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sub-nav-list li a:hover {
    color: var(--color-primary) !important; /* Or au survol */
    padding-left: 50px !important; /* Petit mouvement vers la droite */
    background: transparent !important;
    border-left: none !important; /* Pas de grosse bordure pour les sous-items */
}

.sub-nav-list li a i {
    font-size: 10px;
    margin-right: 5px;
    width: auto !important;
}
/* ==========================================================================
   FIX : SUPPRESSION DE LA COURONNE DANS LES SOUS-MENUS
   ========================================================================== */

/* On force la désactivation de la couronne pour TOUS les éléments du sous-menu */
.sub-nav-list li::after,
.sub-nav-list li:first-child::after {
    content: none !important; /* Supprime l'image */
    display: none !important; /* Cache l'élément */
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}
/* ==========================================================================
   BOUTONS HERO PREMIUM (SHINE & GOLD)
   ========================================================================== */

/* 1. Style de base des boutons (Structure) */
.btn-royal {
    position: relative;
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden; /* Important pour l'effet Shine */
    z-index: 1;
    backdrop-filter: blur(5px); /* Effet verre */
}

/* 2. L'animation "Reflet de Lumière" (Shine) */
.btn-royal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%; /* Commence hors du bouton à gauche */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.5s;
    z-index: -1;
}

/* Au survol, le reflet traverse le bouton */
.btn-royal:hover::before {
    left: 120%; 
}

/* Au survol, le bouton monte un peu */
.btn-royal:hover {
    transform: translateY(-5px); 
}

/* --- STYLE SPÉCIFIQUE DISCORD (Sobre & Propre) --- */
.btn-discord-hero {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.5);
    color: #fff;
    box-shadow: 0 0 15px rgba(10, 10, 10, -0.3);
}

.btn-discord-hero:hover {
    background: rgba(88, 101, 242, 0.2);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.4);
    border-color: #5865F2;
}

/* --- STYLE SPÉCIFIQUE FIVEM (Luxe & Or) --- */
.btn-server-hero {
    background: rgba(212, 175, 55, 0.05); /* Fond or très léger */
    border: 1px solid var(--color-primary); /* Bordure Or */
    color: var(--color-primary); /* Texte Or */
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); /* Lueur douce */
}

.btn-server-hero:hover {
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5); /* Lueur INTENSE au survol */
    color: #fff; /* Le texte devient blanc pour le contraste */
    border-color: #fff;
}

/* 3. FILTRE MAGIQUE POUR L'ICÔNE FIVEM (Transforme l'orange en OR) */
.fivem-gold-filter {
    width: 24px;
    height: 24px;
    transition: transform 0.4s ease;
    
    /* Ce filtre change la couleur de l'image PNG */
    filter: sepia(100%) saturate(500%) hue-rotate(0deg) brightness(90%) contrast(1.2);
}

/* L'icône tourne au survol */
.btn-server-hero:hover .fivem-gold-filter {
    transform: rotate(360deg) scale(1.2); /* Tourne et grossit */
    filter: brightness(200%); /* Devient blanc brillant */
}
/* ==========================================================================
   DESIGN LOGIN PAGE - CARD PREMIUM
   ========================================================================== */

/* 1. Centrage de la carte sur la page */
.login-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

/* 2. La Carte Premium (Glassmorphism) */
.login-card-premium {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3); /* Bordure Or */
    border-radius: 12px;
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

/* Petit liseré doré en haut de la carte */
.login-card-premium::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gold-gradient);
}

/* 3. Logo & Texte */
.login-logo img {
    max-width: 180px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.login-text h2 {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.login-text p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 4. Bouton de Connexion Cfx.re (Style Lingot) */
.btn-cfx-login {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--gold-gradient) !important; /* Ton dégradé Or */
    color: #000 !important; /* Texte noir pour le luxe */
    padding: 18px 30px;
    border-radius: 6px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-cfx-login:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

/* Animation de l'icône FiveM dans le bouton */
.btn-cfx-login img {
    transition: transform 0.6s ease;
}

.btn-cfx-login:hover img {
    transform: rotate(360deg);
}

/* 5. Footer de la carte */
.login-footer-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.login-footer-info p {
    font-size: 12px;
    color: #666;
}

.login-footer-info a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.login-footer-info a:hover {
    text-decoration: underline;
}
.login-logo-middle img {
    max-width: 350px; /* Ajusté pour le nouveau logo plus large */
    height: auto;
    /* Lueur dorée plus diffuse */
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.25));
    margin: 20px 0;
}

.hero-main-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.3));
    
    transition: transform 0.4s ease;
}

.hero-main-logo:hover {
    transform: scale(1.02);
}
/* ==========================================================================
   PERFECTLY CENTERED LOGIN LOGO
   ========================================================================== */

/* Structure de la carte */
.login-card-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centre tout verticalement */
    min-height: 500px; /* Force une hauteur minimale pour voir le centrage */
    padding: 40px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

/* Le Titre */
.access-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0;
    text-transform: uppercase;
}

/* LE LOGO (Exactement au milieu) */
.login-logo-centered {
    margin: 35px 0; /* Espacement symétrique haut/bas */
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-logo-centered img {
    max-width: 320px; /* Taille optimale pour le nouveau logo */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    transition: transform 0.4s ease;
}

/* Animation au survol */
.login-logo-centered img:hover {
    transform: scale(1.05);
}

/* Description & Bouton */
.login-subtext {
    color: #fff;
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 25px auto;
    opacity: 0.9;
    text-align: center;
}

.btn-cfx-login {
    background: var(--gold-gradient) !important;
    color: #000 !important;
    padding: 18px 45px;
    border-radius: 8px;
    font-weight: 900;
    letter-spacing: 1px;
    border: 1px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
/* ==========================================================================
   PAGE LOGIN COMPLÈTE (DESIGN ROYAL)
   ========================================================================== */

/* Centrage de la carte sur l'écran */
.login-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
}

/* La Carte VIP */
.login-card-premium {
    background: rgba(10, 10, 10, -0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    padding: 60px 40px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 30px rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Titre Access Denied */
.access-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.login-divider-gold {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 10px auto 0 auto;
    border-radius: 10px;
}

/* LOGO AU MILIEU */
.login-logo-centered {
    margin: 45px 0; /* Espace identique haut/bas pour le centrage parfait */
    width: 100%;
}

.login-logo-centered img {
    max-width: 380px; /* Taille optimale */
    height: auto;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.3));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.login-logo-centered img:hover {
    transform: scale(1.05);
}

/* Texte de description */
.login-subtext {
    color: #eee;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 420px;
    opacity: 0.8;
}

/* BOUTON CFX LINGOT D'OR */
.btn-cfx-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--gold-gradient) !important;
    color: #000 !important;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1px solid #fff;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.4s ease;
}

.btn-cfx-login:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    filter: brightness(1.1);
}

.btn-cfx-login img {
    width: 28px;
    filter: brightness(0); /* Icone noire sur l'or pour le luxe */
}

/* Footer Support */
.login-footer-info {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.login-footer-info p {
    font-size: 12px;
    color: #666;
}

.login-footer-info a {
    color: var(--color-primary);
    font-weight: bold;
    text-decoration: none;
}
/* ==========================================================================
   CHECKOUT & BASKET DESIGN (ROYAL BLACKOUT)
   ========================================================================== */

.checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header .page-title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
}

.checkout-divider {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 15px auto;
    border-radius: 10px;
}

/* --- LAYOUT GRID --- */
.basket-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: start;
}

/* --- ITEM CARDS --- */
.basket-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.basket-item-card {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.basket-item-card:hover {
    border-color: var(--color-primary);
    transform: translateX(5px);
    background: rgba(20, 20, 20, 0.9);
}

.item-name a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.item-options {
    list-style: none;
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

.item-options strong { color: #fff; }

/* --- CONTROLS & PRICE --- */
.item-controls {
    display: flex;
    align-items: center;
    gap: 25px;
}

.item-price {
    font-weight: 900;
    color: #fff;
    font-size: 18px;
}

/* Quantity Box Style */
.quantity-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    color: var(--color-primary);
    width: 35px;
    height: 35px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.qty-btn:hover:not(:disabled) {
    background: rgba(212, 175, 55, 0.1);
}

.qty-num {
    width: 40px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

/* Remove Button */
.remove-btn {
    color: #ff4d4d;
    font-size: 18px;
    opacity: 0.6;
    transition: all 0.3s;
}

.remove-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* --- SIDEBAR SUMMARY --- */
.basket-summary-sidebar {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: sticky;
    top: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.summary-title {
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 25px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 14px;
}

.total-row {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
}

.total-price { color: var(--color-primary); }

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

/* Coupon Form */
.coupon-form {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.coupon-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
}

.coupon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* CHECKOUT BUTTON (LINGOT D'OR) */
.checkout-btn {
    width: 100%;
    background: var(--gold-gradient) !important;
    color: #000 !important;
    text-align: center;
    border-radius: 6px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 25px;
    border: 1px solid #fff;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

.checkout-secure-note {
    text-align: center;
    font-size: 11px;
    color: #666;
    margin-top: 15px;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-size: 12px;
    text-decoration: none;
}

/* --- EMPTY STATE --- */
.empty-basket-state {
    text-align: center;
    padding: 100px 20px;
    background: rgba(15, 15, 15, 0.6);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.empty-icon-box {
    font-size: 60px;
    color: var(--color-primary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.btn-back-store {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 35px;
    background: var(--color-primary);
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 900px) {
    .basket-layout { grid-template-columns: 1fr; }
    .basket-item-card { flex-direction: column; align-items: flex-start; gap: 20px; }
    .item-controls { width: 100%; justify-content: space-between; }
}
/* ==========================================================================
   PACKAGE DETAIL PAGE (ROYAL LUXURY DESIGN)
   ========================================================================== */

.package-full-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7);
}

/* --- GRILLE DU HAUT --- */
.package-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Image à gauche, Infos à droite */
    gap: 40px;
    margin-bottom: 50px;
}

/* --- SECTION MÉDIA (GALERIE) --- */
.package-media-section {
    position: relative;
}

.image-zoom-wrapper {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    cursor: zoom-in;
}

.package-main-image {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-zoom-wrapper:hover .package-main-image {
    transform: scale(1.03); /* Léger zoom au survol */
}

/* Overlay Zoom */
.zoom-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(212, 175, 55, 0.8);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.image-zoom-wrapper:hover .zoom-overlay {
    opacity: 1;
}

/* Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumb-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.6;
}

.thumb-img:hover {
    opacity: 1;
    border-color: var(--color-primary);
}

/* --- SECTION INFOS (TITRE & PRIX) --- */
.package-title {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.package-countdown {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 50, 50, 0.15);
    color: #ff4d4d;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid rgba(255, 50, 50, 0.3);
    margin-bottom: 20px;
}

.package-price-box {
    margin: 30px 0;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.main-price {
    font-size: 42px;
    font-weight: 900;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.discount-price {
    font-size: 20px;
    color: #666;
    text-decoration: line-through;
}

.currency {
    font-size: 18px;
    color: #aaa;
    font-weight: bold;
}

/* --- BOUTONS D'ACTION --- */
.package-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Add to Basket (Style élégant) */
.btn-outline-orange {
    flex: 1;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--color-primary);
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline-orange:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-primary);
}

/* Buy Now (Lingot d'Or) */
.package-action-buttons .btn-primary {
    flex: 1.5;
    background: var(--gold-gradient) !important;
    color: #000 !important;
    padding: 18px;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: 1px solid #fff;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.package-action-buttons .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.package-secure-note {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- DESCRIPTION --- */
.package-description-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.description-title {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.package-divider {
    width: 50px;
    height: 3px;
    background: var(--gold-gradient);
    margin-bottom: 25px;
}

.text-content {
    color: #ccc;
    line-height: 1.8;
    font-size: 15px;
}

/* --- MODAL FULLSCREEN --- */
.fullscreen-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

.modal-content-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    border: 2px solid var(--color-primary);
}

.close-modal-btn {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .package-top-grid { grid-template-columns: 1fr; }
    .package-title { font-size: 28px; }
}

/* 1. Le conteneur principal (Effet Glassmorphism Noir) */
.options-glass-card {
    background: rgba(15, 15, 15, 0.7) !important; /* Fond noir semi-transparent */
    backdrop-filter: blur(15px) !important; /* Le flou */
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important; /* Bordure or subtile */
    border-radius: 8px !important;
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    color: #ffffff !important;
}

/* 2. L'en-tête et les titres */
.options-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    text-align: left !important;
}

.options-title {
    color: #d4af37 !important; /* Couleur Or */
    text-transform: uppercase !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
}

.options-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
}

.options-icon-container {
    color: #d4af37 !important;
    font-size: 24px !important;
    margin-bottom: 10px !important;
}

/* 3. Les champs de saisie (Inputs) */
.custom-field label {
    color: #d4af37 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
}

.custom-input {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.custom-input:focus {
    border-color: #d4af37 !important;
    outline: none !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3) !important;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* 4. Le bouton "Continue to Basket" */
.options-btn {
    background: linear-gradient(180deg, #F9D05F 0%, #D29A21 100%) !important;
    color: #000000 !important;
    border: none !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 14px 25px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin-top: 15px !important;
}

.options-btn:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

/* 5. Le texte de sécurité Tebex en bas */
.secure-auth-note {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 13px !important;
}
}

.loginpage {
    background: rgba(15, 15, 15, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 8px !important;
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    color: #ffffff !important;
}