﻿/* Base Styles & Reset */
* {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
 scroll-behavior: smooth;
}

:root {
 --bg-color: #06070d;
 --bg-surface: #0e111b;
 --panel-bg: rgba(14, 17, 27, 0.75);
 --border-color: rgba(255, 255, 255, 0.08);
 --text-main: #ffffff;
 --text-muted: #a0a5b5;
 --neon-pink: #d946ef;
 --neon-purple: #9b5de5;
 --neon-cyan: #06b6d4;
 --gradient-neon: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 50%, var(--neon-cyan) 100%);
 --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
 --gradient-pink: linear-gradient(135deg, #d946ef 0%, #ff2d75 100%);
}

body {
 background-color: var(--bg-color);
 color: var(--text-main);
 font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
 min-height: 100vh;
 display: flex;
 flex-direction: column;
 overflow-x: hidden;
 position: relative;
}

/* Background glowing orbs */
.glowing-orb {
 position: fixed;
 border-radius: 50%;
 filter: blur(140px);
 opacity: 0.12;
 z-index: 0;
 pointer-events: none;
 animation: pulse-glow 10s infinite alternate ease-in-out;
}

.orb-pink {
 background: var(--neon-pink);
 width: 450px;
 height: 450px;
 top: -100px;
 left: -150px;
}

.orb-purple {
 background: var(--neon-purple);
 width: 500px;
 height: 500px;
 bottom: -150px;
 right: -100px;
 animation-delay: -3s;
}

.orb-cyan {
 background: var(--neon-cyan);
 width: 400px;
 height: 400px;
 top: 40%;
 left: 60%;
 opacity: 0.08;
 animation-delay: -6s;
}

@keyframes pulse-glow {
 0% { transform: scale(1) translate(0, 0); }
 100% { transform: scale(1.15) translate(30px, 30px); }
}

/* 1. Navbar Fixe (Glassmorphism) avec flex-between et liens centrés */
.navbar-fixed {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 80px;
 background: rgba(6, 7, 13, 0.85);
 backdrop-filter: blur(16px);
 border-bottom: 1px solid var(--border-color);
 z-index: 1000;
 display: flex;
 align-items: center;
}

.nav-container {
 width: 100%;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.logo-area {
 display: flex;
 align-items: center;
 gap: 12px;
 text-decoration: none;
}

.logo-text {
 font-size: 22px;
 font-weight: 800;
 letter-spacing: 1.5px;
 color: #fff;
 text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.highlight-pink {
 color: var(--neon-pink);
 text-shadow: 0 0 12px rgba(217, 70, 239, 0.5);
}

.community-badge {
 background: rgba(255, 255, 255, 0.04);
 border: 1px solid var(--border-color);
 color: var(--text-muted);
 font-size: 10px;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 1px;
 padding: 4px 10px;
 border-radius: 100px;
 transition: all 0.3s ease;
}

.logo-area:hover .community-badge {
 border-color: var(--neon-cyan);
 color: var(--neon-cyan);
 box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.nav-links {
 display: flex;
 gap: 32px;
 align-items: center;
 justify-content: center;
}

.nav-link {
 color: var(--text-muted);
 text-decoration: none;
 font-size: 15px;
 font-weight: 500;
 transition: color 0.2s ease;
 position: relative;
}

.nav-link::after {
 content: '';
 position: absolute;
 bottom: -4px;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--gradient-neon);
 transition: width 0.3s ease;
}

.nav-link:hover {
 color: #fff;
}

.nav-link:hover::after {
 width: 100%;
}

.nav-actions {
 display: flex;
 align-items: center;
 gap: 16px;
}

.btn-nav-cta {
 background: rgba(217, 70, 239, 0.1);
 border: 1px solid rgba(217, 70, 239, 0.3);
 color: #fff;
 padding: 10px 18px;
 border-radius: 30px;
 font-size: 14px;
 font-weight: 600;
 text-decoration: none;
 display: flex;
 align-items: center;
 gap: 8px;
 transition: all 0.3s ease;
}

.btn-nav-cta:hover {
 background: var(--gradient-pink);
 border-color: transparent;
 box-shadow: 0 0 20px rgba(217, 70, 239, 0.4);
 transform: translateY(-2px);
}

.mobile-menu-btn {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 flex-direction: column;
 gap: 6px;
 padding: 4px;
}

.mobile-menu-btn span {
 display: block;
 width: 24px;
 height: 2px;
 background: #fff;
 border-radius: 2px;
 transition: all 0.3s ease;
}

/* Main Content Wrapper */
.main-content {
 flex-grow: 1;
 width: 100%;
 max-width: 1200px;
 margin: 0 auto;
 padding: 140px 24px 80px;
 z-index: 10;
 position: relative;
}

/* Hero Section */
.hero-section {
 text-align: center;
 max-width: 850px;
 margin: 0 auto 100px;
}

.hero-badge {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: rgba(6, 182, 212, 0.08);
 border: 1px solid rgba(6, 182, 212, 0.25);
 color: var(--neon-cyan);
 padding: 6px 16px;
 border-radius: 30px;
 font-size: 13px;
 font-weight: 600;
 margin-bottom: 24px;
 box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.pulse-dot {
 width: 8px;
 height: 8px;
 background: var(--neon-cyan);
 border-radius: 50%;
 box-shadow: 0 0 8px var(--neon-cyan);
 animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
 0% { transform: scale(0.95); opacity: 0.8; }
 50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--neon-cyan); }
 100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
 font-size: 56px;
 font-weight: 800;
 line-height: 1.1;
 margin-bottom: 24px;
 letter-spacing: -1.5px;
}

.gradient-text {
 background: var(--gradient-neon);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
 background: var(--gradient-cyan);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

.hero-subtitle {
 font-size: 18px;
 line-height: 1.6;
 color: var(--text-muted);
 margin-bottom: 40px;
 max-width: 720px;
 margin-left: auto;
 margin-right: auto;
}

.cta-container {
 display: flex;
 justify-content: center;
 margin-bottom: 64px;
}

.btn-cta {
 display: inline-flex;
 align-items: center;
 gap: 12px;
 background: var(--gradient-neon);
 color: #fff;
 padding: 18px 36px;
 border-radius: 50px;
 font-size: 16px;
 font-weight: 700;
 text-decoration: none;
 position: relative;
 overflow: hidden;
 box-shadow: 0 10px 30px rgba(217, 70, 239, 0.35), 0 0 20px rgba(6, 182, 212, 0.2);
 transition: all 0.3s ease;
}

.btn-cta:hover {
 transform: translateY(-4px) scale(1.02);
 box-shadow: 0 15px 40px rgba(217, 70, 239, 0.55), 0 0 30px rgba(6, 182, 212, 0.4);
}

.btn-cta-icon {
 transition: transform 0.3s ease;
}

.btn-cta:hover .btn-cta-icon {
 transform: translateX(6px);
}

/* Stats Banner */
.stats-banner {
 display: flex;
 justify-content: space-around;
 align-items: center;
 background: var(--panel-bg);
 border: 1px solid var(--border-color);
 border-radius: 20px;
 padding: 24px;
 backdrop-filter: blur(10px);
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-item {
 text-align: center;
}

.stat-number {
 font-size: 28px;
 font-weight: 800;
 color: #fff;
 margin-bottom: 4px;
 text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.stat-label {
 font-size: 13px;
 color: var(--text-muted);
 font-weight: 500;
}

.stat-divider {
 width: 1px;
 height: 40px;
 background: var(--border-color);
}

/* Section Header Shared */
.section-header {
 text-align: center;
 margin-bottom: 48px;
}

.section-title {
 font-size: 36px;
 font-weight: 800;
 margin-bottom: 12px;
 letter-spacing: -0.5px;
}

.section-desc {
 font-size: 16px;
 color: var(--text-muted);
}

/* 2. Section Fonctionnalités (Vraie grille responsive de cartes fermées) */
.features-section {
 margin-bottom: 100px;
}

.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 24px;
 max-width: 1200px;
 margin: 0 auto;
}

.feature-card {
 background: var(--panel-bg);
 border: 1px solid var(--border-color);
 border-radius: 20px;
 padding: 32px;
 position: relative;
 overflow: hidden;
 transition: all 0.3s ease;
 backdrop-filter: blur(10px);
}

.feature-card::after {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 2px;
 background: var(--gradient-neon);
 opacity: 0;
 transition: opacity 0.3s ease;
}

.feature-icon-wrapper {
 width: 56px;
 height: 56px;
 border-radius: 16px;
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 24px;
 background: rgba(255, 255, 255, 0.03);
 border: 1px solid var(--border-color);
 transition: all 0.3s ease;
}

.cyan-glow svg { color: var(--neon-cyan); }
.pink-glow svg { color: var(--neon-pink); }
.purple-glow svg { color: var(--neon-purple); }

.feature-title {
 font-size: 20px;
 font-weight: 700;
 margin-bottom: 12px;
}

.feature-desc {
 font-size: 15px;
 line-height: 1.6;
 color: var(--text-muted);
}

.feature-card:hover {
 transform: translateY(-8px);
 border-color: rgba(217, 70, 239, 0.3);
 box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(217, 70, 239, 0.1);
 background: rgba(14, 17, 27, 0.9);
}

.feature-card:hover::after {
 opacity: 1;
}

.feature-card:hover .feature-icon-wrapper {
 transform: scale(1.1) rotate(5deg);
 border-color: currentColor;
 box-shadow: 0 0 15px currentColor;
}

/* 3. Section Leaderboard (Podium stylisé) */
.leaderboard-section {
 margin-bottom: 100px;
}

.leaderboard-card {
 background: var(--panel-bg);
 border: 1px solid var(--border-color);
 border-radius: 20px;
 padding: 32px;
 backdrop-filter: blur(10px);
 max-width: 900px;
 margin: 0 auto;
 box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.lb-header-row {
 display: flex;
 justify-content: space-between;
 padding-bottom: 16px;
 border-bottom: 1px solid var(--border-color);
 font-size: 13px;
 font-weight: 700;
 color: var(--text-muted);
 text-transform: uppercase;
 letter-spacing: 1px;
}

.lb-list {
 display: flex;
 flex-direction: column;
 gap: 12px;
 margin: 20px 0;
}

.lb-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 16px 20px;
 background: rgba(255, 255, 255, 0.02);
 border: 1px solid rgba(255, 255, 255, 0.04);
 border-radius: 12px;
 transition: all 0.2s ease;
}

.lb-row:hover {
 background: rgba(255, 255, 255, 0.05);
 border-color: rgba(255, 255, 255, 0.1);
 transform: scale(1.01);
}

.lb-user {
 display: flex;
 align-items: center;
 gap: 16px;
}

.lb-rank {
 font-size: 18px;
 font-weight: 800;
 width: 24px;
 text-align: center;
 color: var(--text-muted);
}

.rank-1 .lb-rank { color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
.rank-2 .lb-rank { color: #c0c0c0; }
.rank-3 .lb-rank { color: #cd7f32; }

.lb-avatar {
 width: 44px;
 height: 44px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-weight: 700;
 font-size: 18px;
 background: rgba(255, 255, 255, 0.08);
}

.cyan-border { border: 2px solid var(--neon-cyan); box-shadow: 0 0 10px rgba(6, 182, 212, 0.3); }
.pink-border { border: 2px solid var(--neon-pink); box-shadow: 0 0 10px rgba(217, 70, 239, 0.3); }
.purple-border { border: 2px solid var(--neon-purple); box-shadow: 0 0 10px rgba(155, 93, 229, 0.3); }

.lb-name {
 font-weight: 700;
 font-size: 16px;
 color: #fff;
}

.lb-sub {
 font-size: 12px;
 color: var(--text-muted);
}

.lb-score {
 font-weight: 800;
 font-size: 16px;
 color: var(--neon-cyan);
}

.lb-badge-status {
 padding: 4px 12px;
 border-radius: 20px;
 font-size: 12px;
 font-weight: 700;
 text-transform: uppercase;
}

.lb-badge-status.gold { background: rgba(255, 215, 0, 0.15); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.3); }
.lb-badge-status.silver { background: rgba(192, 192, 192, 0.15); color: #c0c0c0; border: 1px solid rgba(192, 192, 192, 0.3); }
.lb-badge-status.bronze { background: rgba(205, 127, 50, 0.15); color: #cd7f32; border: 1px solid rgba(205, 127, 50, 0.3); }

.lb-footer-action {
 text-align: center;
 margin-top: 24px;
}

.btn-secondary {
 display: inline-block;
 background: rgba(255, 255, 255, 0.04);
 border: 1px solid var(--border-color);
 color: #fff;
 padding: 12px 24px;
 border-radius: 30px;
 font-weight: 600;
 font-size: 14px;
 text-decoration: none;
 transition: all 0.3s ease;
}

.btn-secondary:hover {
 background: rgba(255, 255, 255, 0.08);
 border-color: var(--neon-cyan);
 color: var(--neon-cyan);
 box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* 3. Section FAQ (Accordéon dépliable) */
.faq-section {
 margin-bottom: 80px;
}

.faq-container {
 max-width: 800px;
 margin: 0 auto;
 display: flex;
 flex-direction: column;
 gap: 16px;
}

.faq-item {
 background: var(--panel-bg);
 border: 1px solid var(--border-color);
 border-radius: 16px;
 overflow: hidden;
 transition: border-color 0.3s ease;
 backdrop-filter: blur(10px);
}

.faq-item.active {
 border-color: rgba(6, 182, 212, 0.4);
 box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.faq-question {
 width: 100%;
 background: none;
 border: none;
 padding: 20px 24px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 color: #fff;
 font-size: 17px;
 font-weight: 700;
 text-align: left;
 cursor: pointer;
 gap: 16px;
}

.faq-chevron {
 color: var(--text-muted);
 transition: transform 0.3s ease, color 0.3s ease;
 flex-shrink: 0;
}

.faq-item.active .faq-chevron {
 transform: rotate(180deg);
 color: var(--neon-cyan);
}

.faq-answer {
 max-height: 0;
 overflow: hidden;
 padding: 0 24px;
 transition: max-height 0.3s ease, padding 0.3s ease;
 color: var(--text-muted);
 font-size: 15px;
 line-height: 1.6;
}

.faq-item.active .faq-answer {
 max-height: 200px;
 padding: 0 24px 20px;
}

/* Footer Section (Disclaimer Take-Two / Rockstar) */
.landing-footer {
 border-top: 1px solid var(--border-color);
 background: rgba(4, 5, 9, 0.95);
 padding: 60px 0 40px;
 z-index: 10;
 position: relative;
}

.footer-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

.footer-top {
 display: flex;
 justify-content: space-between;
 gap: 40px;
 margin-bottom: 40px;
}

.footer-brand {
 max-width: 350px;
}

.footer-tagline {
 color: var(--text-muted);
 font-size: 14px;
 margin-top: 12px;
 line-height: 1.5;
}

.footer-nav-col {
 display: flex;
 flex-direction: column;
 gap: 12px;
}

.footer-nav-col h4 {
 font-size: 15px;
 font-weight: 700;
 color: #fff;
 margin-bottom: 4px;
}

.footer-nav-col a {
 color: var(--text-muted);
 text-decoration: none;
 font-size: 14px;
 transition: color 0.2s ease;
}

.footer-nav-col a:hover {
 color: var(--neon-cyan);
}

.footer-divider {
 width: 100%;
 height: 1px;
 background: var(--border-color);
 margin-bottom: 30px;
}

.footer-bottom {
 display: flex;
 flex-direction: column;
 gap: 12px;
 text-align: center;
 color: var(--text-muted);
 font-size: 13px;
}

.footer-disclaimer {
 color: rgba(255, 255, 255, 0.35);
 font-size: 11px;
 max-width: 800px;
 margin: 0 auto;
 line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
 .hero-title {
 font-size: 44px;
 }
 
 .features-grid {
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 }

 .footer-top {
 flex-direction: column;
 gap: 30px;
 }
}

@media (max-width: 768px) {
 .nav-links {
 display: none;
 position: absolute;
 top: 80px;
 left: 0;
 width: 100%;
 background: rgba(6, 7, 13, 0.95);
 backdrop-filter: blur(16px);
 flex-direction: column;
 padding: 24px;
 border-bottom: 1px solid var(--border-color);
 box-shadow: 0 10px 30px rgba(0,0,0,0.5);
 gap: 16px;
 }

 .nav-links.active {
 display: flex;
 }

 .mobile-menu-btn {
 display: flex;
 }

 .hero-title {
 font-size: 36px;
 }

 .hero-subtitle {
 font-size: 16px;
 }

 .stats-banner {
 flex-direction: column;
 gap: 20px;
 padding: 20px;
 }

 .stat-divider {
 width: 100%;
 height: 1px;
 }

 .lb-header-row, .lb-row {
 font-size: 12px;
 }
 
 .lb-score {
 font-size: 14px;
 }
}

@media (max-width: 480px) {
 .hero-title {
 font-size: 30px;
 }
 
 .btn-cta {
 padding: 16px 28px;
 font-size: 15px;
 width: 100%;
 justify-content: center;
 }

 .btn-nav-cta {
 display: none;
 }
}