* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e1a;
    color: #fff;
    overflow-x: hidden;
}

/* Pages container */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.discord-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
    transition: all 0.3s ease;
    text-decoration: none;
}

.discord-link:hover {
    background: #5865f2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #3b82f6;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #3b82f6;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    background: #000;
}

.hero-bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, rgba(10, 14, 26, 0.9) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.6));
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 10px;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s both;
    letter-spacing: 2px;
    color: #a5b4fc;
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator::after {
    content: '↓';
    font-size: 2rem;
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

/* Sections */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    color: #a5b4fc;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.game-card {
    background: #141824;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

.game-card-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-content {
    padding: 20px;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #3b82f6;
}

.game-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    text-align: left;
    margin: 0;
}

/* Game Detail Pages */
.game-detail-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    overflow: hidden;
}

.game-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.game-detail-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.game-detail-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.back-button {
    position: absolute;
    top: 100px;
    left: 40px;
    padding: 12px 30px;
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-button:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateX(-5px);
}

.game-detail-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-detail-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #3b82f6;
}

.game-detail-section h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #3b82f6;
}

.game-detail-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #a5b4fc;
    margin-bottom: 20px;
    text-align: left;
}

.game-detail-section ul {
    list-style: none;
    padding-left: 0;
}

.game-detail-section ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #94a3b8;
}

.game-detail-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 1.3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: #141824;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
}

.feature-card h4 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #94a3b8;
    font-size: 1rem;
}

/* Contact Form */
.contact-section {
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #141824;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    animation: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    background: #000;
    color: #64748b;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
        letter-spacing: 5px;
    }
    
    .hero p {
        font-size: 1.2rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .game-detail-hero h1 {
        font-size: 2.5rem;
    }

    .back-button {
        top: 90px;
        left: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .game-detail-section {
        padding: 40px 20px;
    }
}
/* Download Section - À ajouter à la fin de votre style.css */

/* Download Section - VERSION CORRIGÉE */
.download-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.download-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-section > p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    color: #a5b4fc;
    max-width: 800px;
    margin: 0 auto 60px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
}

.download-card-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    transition: all 0.4s ease;
}

.download-card:hover .download-card-bg {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* Backgrounds pour chaque OS */
.download-card.windows .download-card-bg {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
}

.download-card.macos .download-card-bg {
    background: linear-gradient(135deg, #ff9500 0%, #ff6b00 100%);
}

.download-card.linux .download-card-bg {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.download-card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
    z-index: 2;
}

.download-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    object-fit: contain;
}

.download-card h3 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.download-btn {
    padding: 12px 30px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

.download-note {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    width: 90%;
    text-align: center;
}

.icon-download {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .download-card {
        height: 400px;
    }

    .download-card h3 {
        font-size: 2rem;
    }

    .download-section h2 {
        font-size: 2rem;
    }

    .download-icon {
        width: 80px;
        height: 80px;
    }

    .download-btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}