/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0e1a;
    --bg-darker: #050810;
    --bg-card: #131824;
    --bg-hover: #1a2235;
    
    --blue-primary: #2563eb;
    --blue-light: #3b82f6;
    --blue-dark: #1e40af;
    --blue-glow: rgba(37, 99, 235, 0.3);
    
    --orange-warm: #f97316;
    --red-accent: #dc2626;
    --yellow-electric: #fbbf24;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: #1e293b;
    --border-glow: rgba(59, 130, 246, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-light), var(--orange-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-brand .logo-img {
    height: 50px;
    width: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--blue-light);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blue-light);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue-light);
}

/* Hero Parallax */
.hero-parallax {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.layer-bg {
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, rgba(5, 8, 16, 0) 70%),
                linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.layer-mid {
    background-image: 
        radial-gradient(circle at 20% 50%, var(--blue-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.layer-front {
    background-image: 
        radial-gradient(circle at 60% 30%, var(--blue-glow) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 40%);
    animation: float 15s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px var(--blue-glow);
}

.hero-title .volt {
    color: var(--blue-light);
    animation: glow-blue 2s ease-in-out infinite;
}

.hero-title .watt {
    color: var(--orange-warm);
    animation: glow-orange 2s ease-in-out infinite;
}

@keyframes glow-blue {
    0%, 100% { text-shadow: 0 0 20px var(--blue-glow), 0 0 40px var(--blue-glow); }
    50% { text-shadow: 0 0 30px var(--blue-glow), 0 0 60px var(--blue-glow); }
}

@keyframes glow-orange {
    0%, 100% { text-shadow: 0 0 20px rgba(249, 115, 22, 0.4), 0 0 40px rgba(249, 115, 22, 0.3); }
    50% { text-shadow: 0 0 30px rgba(249, 115, 22, 0.5), 0 0 60px rgba(249, 115, 22, 0.4); }
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: white;
    box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--blue-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--blue-light);
    border: 2px solid var(--blue-light);
}

.btn-secondary:hover {
    background: var(--blue-light);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--blue-light), transparent);
}

/* Sections communes */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--blue-light), var(--orange-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section About */
.section-about {
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.image-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.placeholder-icon {
    font-size: 4rem;
}

.feature-icon-img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Section Gameplay */
.section-gameplay {
    background: var(--bg-darker);
}

.gameplay-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 8px 30px var(--blue-glow);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Section Gallery */
.section-gallery {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.gallery-item .image-placeholder {
    height: 250px;
    transition: transform 0.3s;
}

.gallery-item:hover .image-placeholder {
    transform: scale(1.05);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Section CTA */
.section-cta {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    text-align: center;
    padding: 5rem 0;
}

.section-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Forum Styles */
.forum-header {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.forum-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--blue-light), var(--orange-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forum-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.forum-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.forum-content {
    padding: 3rem 0;
}

.forum-category {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.category-icon {
    font-size: 2rem;
}

.category-header h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.category-forums {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-row {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 2rem;
    align-items: center;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.forum-row:hover {
    border-color: var(--blue-light);
    background: var(--bg-hover);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.forum-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.forum-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border-radius: 10px;
    flex-shrink: 0;
}

.forum-icon-img {
    width: 40px;
    height: 40px;
    padding: 5px;
    background: var(--bg-dark);
    border-radius: 10px;
    flex-shrink: 0;
}

.forum-details h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.forum-details p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.forum-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.forum-topics,
.forum-posts {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.forum-topics {
    font-weight: 600;
    color: var(--blue-light);
}

.forum-latest {
    display: flex;
    align-items: center;
}

.latest-post {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.post-title {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.post-meta strong {
    color: var(--blue-light);
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a.active::after {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .gameplay-features,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .forum-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .forum-stats {
        flex-direction: row;
        justify-content: space-around;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    
    .forum-topics,
    .forum-posts {
        font-size: 0.8rem;
    }
    
    .stat-box {
        padding: 1rem;
    }
    
    .stat-num {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .gameplay-features,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .forum-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .forum-topics,
    .forum-posts {
        font-size: 0.75rem;
        word-break: break-word;
    }
}