:root {
    --bg-body: #0b0e14;
    --bg-card: #151a23;
    --bg-card-hover: #1b212d;
    --primary: #6366f1;       /* Indigo */
    --primary-light: #818cf8; /* Plus clair pour les effets */
    --primary-dark: #4f46e5;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: #2d3748;
    --gradient-vocal: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

/* --- PERFORMANCE & CLS --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap; 
  src: url(https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hjp-Ek-_EeA.woff2) format('woff2');
}

/* Fix CLS : On réserve la place des icônes */
i[class^="ri-"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
}

/* Fix Mobile : Images fluides */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, -apple-system, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; }

/* --- NAVBAR --- */
.navbar {
    height: 80px; 
    background: rgba(11, 14, 20, 0.95); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1240px; 
    margin: 0 auto; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 20px;
}

.logo { font-size: 1.5rem; font-weight: 800; color: white; z-index: 1001; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-muted); font-weight: 500; transition: 0.2s; }
.nav-links a:hover { color: white; }

.nav-buttons { display: flex; gap: 15px; }
.hamburger { display: none; font-size: 1.5rem; color: white; cursor: pointer; z-index: 1001; }

/* --- HERO --- */
.hero { padding: 180px 20px 100px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 60%); }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; }
.tag-pill { display: inline-block; background: rgba(99, 102, 241, 0.1); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 25px; border: 1px solid rgba(99, 102, 241, 0.2); }

/* --- SECTIONS --- */
.section-padding { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 15px; font-weight: 700; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

/* --- CARDS GRID (Landing Page) --- */
.games-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    align-items: flex-start;
}

.game-card {
    background-color: var(--bg-card); 
    border: 1px solid var(--border); 
    border-radius: 16px;
    overflow: hidden; 
    transition: 0.3s; 
    display: flex; 
    flex-direction: column; 
    position: relative;
    contain: layout style;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }

/* --- FEATURED & COMING SOON --- */
.game-card.featured-card {
    border: 2px solid var(--primary-light);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.25);
    transform: translateY(-10px);
    overflow: visible;
    z-index: 5;
    background-color: #1a1f2e;
}
.game-card.featured-card:hover {
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.45);
    border-color: var(--primary);
    transform: translateY(-12px);
}

.badge-featured {
    position: absolute;
    top: -14px; 
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 2px solid var(--bg-body);
    z-index: 10;
}

.btn.btn-featured {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn.btn-featured:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.game-card.coming-soon {
    opacity: 0.8;
    filter: grayscale(0.2);
    overflow: visible;
}

.badge-soon {
    background: #475569 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-disabled {
    background: #1e293b !important;
    color: #64748b !important;
    border: 1px solid #334155 !important;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

/* --- CARD CONTENT --- */
.card-image { height: 160px; overflow: hidden; position: relative; background: #000; display: flex; align-items: center; justify-content: center; border-radius: 15px 15px 0 0; }
.featured-card .card-image { border-radius: 14px 14px 0 0; } 
.card-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: 0.3s; }
.game-card:hover .card-image img { opacity: 1; transform: scale(1.05); }

.card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h3 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 700; }
.card-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; line-height: 1.5; }

.card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 20px; margin-top: auto; }
.featured-card .card-footer .price { color: var(--primary-light); }

/* --- INFRASTRUCTURE & VOCAL --- */
.infra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.infra-item { background: var(--bg-card); padding: 40px 30px; border-radius: 20px; border: 1px solid var(--border); text-align: center; transition: 0.3s; }
.infra-item:hover { border-color: var(--primary); }
.infra-item i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; display: inline-flex; }
.infra-item h3 { font-size: 1.3rem; margin-bottom: 15px; font-weight: 700; }
.infra-item p { color: var(--text-muted); font-size: 0.95rem; }

.vocal-card { background: var(--gradient-vocal); border: 1px solid var(--primary); border-radius: 20px; padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.vocal-info h3 { font-size: 2rem; margin-bottom: 15px; display: flex; align-items: center; gap: 15px; }
.vocal-info p { color: #c7d2fe; max-width: 600px; font-size: 1.1rem; }
.vocal-price { text-align: right; min-width: 150px; }
.vocal-price .amount { font-size: 2.5rem; font-weight: 800; color: white; display: block; }

/* --- UI ELEMENTS --- */
.price { font-weight: 700; font-size: 1.4rem; line-height: 1; color: white; }
.price small { font-size: 0.75rem; color: var(--text-muted); display: block; font-weight: 500; text-transform: uppercase; margin-bottom: 2px; }
.price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }

.btn { padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: white; }
.btn-primary { background: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* --- FOOTER & FAQ --- */
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; text-align: left; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; transition:0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.payment-icons { display: flex; gap: 10px; margin-top: 15px; font-size: 1.5rem; color: var(--text-muted); }
.bottom-footer { border-top: 1px solid var(--border); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.bottom-footer p { font-size: 0.85rem; color: var(--text-muted); }

.faq-item { background: var(--bg-card); padding: 30px; border-radius: 15px; border: 1px solid var(--border); transition: 0.3s; }
.faq-item:hover { border-color: var(--primary); }
.faq-item h3 { color: white; margin-bottom: 10px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

/* --- MOBILE --- */
@media (max-width: 900px) {
    .hamburger { display: block; }
    .nav-links, .nav-buttons { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: var(--bg-card); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); text-align: center; z-index: 999; }
    .nav-links.active, .nav-buttons.active { display: flex; }
    .nav-links a { display: block; padding: 15px; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-buttons { top: auto; margin-top: 20px; border-top: 1px solid var(--border); position: static; background: transparent; }
    .nav-buttons .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
    .hero { padding: 140px 20px 60px; }
    .hero h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 1.8rem; }
    .section-padding { padding: 50px 20px; }
    .vocal-card { flex-direction: column; text-align: center; gap: 30px; padding: 30px; }
    .vocal-price { text-align: center; }
    .vocal-info h3 { justify-content: center; }
    .footer-cols { text-align: center; }
    .bottom-footer { flex-direction: column; gap: 15px; text-align: center; }
    .payment-icons { justify-content: center; }
    .game-card.featured-card { margin-top: 20px; transform: translateY(0); }
    .game-card.featured-card:hover { transform: translateY(-5px); }
}

/* ----------------------------------------------------------------- */
/* --- PRICING TABLES (Pour les pages FiveM, GMod, etc.) --- */
/* ----------------------------------------------------------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    align-items: center; /* Aligne verticalement pour que la carte Featured ressorte */
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.5);
}

/* Carte mise en avant (Populaire / Recommandé) */
.pricing-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.05), var(--bg-card));
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* Badge "Populaire" */
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Textes de l'offre */
.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 5px;
    line-height: 1;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Liste des fonctionnalités */
.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.features-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Adaptation Mobile Pricing */
@media (max-width: 900px) {
    .pricing-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}