/* ===== Base & Variables ===== */
:root {
    --bg-dark: #09090b;
    --primary: #00f0ff;
    --secondary: #8a2be2;
    --text-main: #f8f9fa;
    --text-muted: #a0a0ab;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

.mobile-only {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

span {
    color: var(--primary);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 5%;
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    flex: 1; /* Prend l'espace à gauche */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    flex: 2; /* Prend le double d'espace au milieu */
    justify-content: center;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Buttons ===== */
.cta-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
    display: inline-block;
    font-family: 'Outfit', sans-serif;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    box-shadow: none;
}

.cta-btn.secondary:hover {
    background: rgba(138, 43, 226, 0.1);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: -1;
}

.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: floatOrbs 15s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.hero-bg::before {
    width: 800px;
    height: 800px;
    background: var(--primary); /* Cyan */
    top: -200px;
    left: -200px;
}

.hero-bg::after {
    width: 700px;
    height: 700px;
    background: var(--secondary); /* Purple */
    bottom: -200px;
    right: -100px;
    animation-delay: -9s;
}

@keyframes floatOrbs {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(200px, 150px) scale(1.2);
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    animation: fadeUp 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===== Container & Typography ===== */
section {
    padding: 100px 5%;
}

section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
}

/* ===== Features ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.feature-card {
    text-align: center;
    padding: 0; /* Let .glass handle it */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--text-main);
    line-height: 1.2;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
}

/* Generate fake icons with CSS gradients if images load fail */
.fps-icon::after { content: "⚡"; font-size: 40px; line-height: 80px; }
.ping-icon::after { content: "🌐"; font-size: 40px; line-height: 80px; }
.coach-icon::after { content: "🎯"; font-size: 40px; line-height: 80px; }


/* ===== Products ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@media (max-width: 480px) {
    .glass { padding: 20px; }
}

.glass:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.popular-badge-pro {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    z-index: 10;
    white-space: nowrap;
}

/* Product Themes */
.card-cyan:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
}

.product-card.reveal.active {
    animation: cardEntrance 0.8s ease-out forwards;
}

@keyframes cardEntrance {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.card-cyan h3 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.card-purple:hover {
    border-color: #9d50ff;
    box-shadow: 0 10px 30px rgba(157, 80, 255, 0.2);
}

.card-gold:hover {
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-img-fallback {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(138,43,226,0.1));
    border-radius: 12px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}

.strike {
    text-decoration: line-through;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.product-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.product-features li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 10px;
    font-weight: bold;
}

.buy-btn {
    width: 100%;
}

.highlighted {
    border-color: rgba(138, 43, 226, 0.4);
}

.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138,43,226,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== Coaching ===== */
.coaching-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(to right, var(--glass-bg), rgba(138,43,226,0.05));
}

.coaching-text {
    flex: 1;
}

.coaching-text h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.coaching-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.coaching-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.coaching-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,240,255,0.2);
}

.profile-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid rgba(138,43,226,0.4);
    box-shadow: 0 0 40px rgba(138,43,226,0.3);
    transition: transform 0.3s;
}

.profile-img:hover {
    transform: scale(1.02);
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 5px;
    font-size: 0.8rem !important;
    opacity: 0.5;
}

/* ===== Performances ===== */
.performances {
    text-align: center;
}

.perf-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.lan-badge {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.highlighted-gold {
    border-color: rgba(255, 215, 0, 0.4);
}

.glow-effect-gold {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.lan-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.3));
}

.lan-badge h3 {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.lan-badge p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.top-list {
    flex: 2;
    min-width: 350px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top-list h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.perf-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.perf-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s, background 0.2s;
}

.perf-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.06);
}

.rank {
    font-weight: 800;
    margin-right: 25px;
    min-width: 80px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
}

.top-1 { color: #ffd700; text-shadow: 0 0 10px rgba(255,215,0,0.5); }
.top-xs { color: #e0e0e0; }
.top-10 { color: #cd7f32; }
.top-50 { color: var(--primary); }
.top-100 { color: #d4d4dc; }

/* Responsive Adjustments */
@media (max-width: 900px) {
    .navbar {
        padding: 0 5%;
        height: 70px;
        display: flex;
        justify-content: space-between;
    }

    .nav-right {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .mobile-only .cta-btn {
        margin: 10px auto;
        display: block;
        width: 80%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: radial-gradient(circle at center, rgba(15, 15, 20, 0.98), rgba(9, 9, 11, 1));
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 999;
        gap: 2.2rem;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease-out;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger links entrance */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.4s; }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background: white;
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    
    .coaching-container { flex-direction: column; text-align: center; }
    .coaching-text h2 { text-align: center; font-size: 2rem; }
    
    section { padding: 60px 5%; }
    section h2 { font-size: 2rem; margin-bottom: 40px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.1rem; }
    .logo { font-size: 1.3rem; }
    .product-card { padding: 20px; }
    
    /* Modals Mobile Fix */
    #payment-modal .glass, #auth-modal .modal-content {
        padding: 25px 15px;
        width: 95%;
        margin: 10px;
    }

    #payment-modal h2 { font-size: 1.5rem; }
    #payment-modal .price { font-size: 1.2rem; }
    
    #stripe-box, #discord-box {
        padding: 15px 10px;
    }
    
    #stripe-box h3, #discord-box h3 {
        font-size: 1rem;
    }
}
