/* REFONTE VISUELLE - STYLE PROFESSIONNEL STUDIO AAA */

/* Imports de polices */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #121212;
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilitaires */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ff4757;
}

/* Système de particules tsParticles */
.flame-forge-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #ff4757;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4757;
    transition: width 0.3s ease;
}

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

/* Menu hamburger pour mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    z-index: 10;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 80px);
    padding: 0 2rem;
}

.hero-center {
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.forge-logo {
    max-width: 160px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(255, 71, 87, 0.3));
    transition: transform 0.5s ease;
    position: relative;
    z-index: 10;
}

.hero-title-container {
    margin-bottom: 2rem;
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.subtitle-studio {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    color: #ff4757;
    display: block;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-center p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 90%;
}

.cta-button {
    display: inline-block;
    background: #ff4757;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

/* Game Section */
.game-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./public/archon-of-ruin-logo.png') no-repeat center center;
    background-size: cover;
    opacity: 0.02;
    filter: blur(10px);
    z-index: -1;
    transform: scale(1.2);
}

.game-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.game-card {
    background: #222222;
    border-radius: 8px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 1px solid #333;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: #444;
}

.game-logo-container {
    position: relative;
    overflow: hidden;
    max-width: 60%;
    text-align: center;
    margin: 0 auto 2rem;
}

.game-logo {
    max-width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    transform: scale(1);
    margin: 0 auto;
}

.game-card:hover .game-logo {
    transform: scale(1.03);
}

.game-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #a0a0a0;
    margin: 2rem auto 2.5rem;
    text-align: center;
    max-width: 90%;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.game-feature {
    background: #2a2a2a;
    border-radius: 4px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.game-feature:hover {
    background: #333;
    border-color: #444;
    transform: translateY(-2px);
}

.status-badge-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.status-badge {
    display: block;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff4757;
    box-shadow: none;
    z-index: 5;
    backdrop-filter: blur(5px);
    margin: 1rem auto;
    width: fit-content;
}

.game-cta {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.game-cta:hover {
    background: #2a2a2a;
    border-color: #666;
    color: #fff;
    transform: translateY(-2px);
}

.game-media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16/9;
    background: #0a0a0a;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.game-media:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: #444;
}

.game-trailer {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('./public/archon-of-ruin-logo.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.game-trailer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    z-index: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 71, 87, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.play-button:hover {
    background: #ff4757;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
    background: #121212;
    position: relative;
    z-index: 10;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff4757;
}

.about-content p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.contact-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff4757;
}

.contact-section p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #222222;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #e0e0e0;
    border: 1px solid #333;
}

.social-link:hover {
    background: #ff4757;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #ff4757;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: #0a0a0a;
    position: relative;
    z-index: 10;
    border-top: 1px solid #222222;
    color: #666;
    font-size: 0.9rem;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .game-section-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .game-media {
        order: -1;
    }
}

@media (max-width: 900px) {
    .forge-logo {
        max-width: 130px;
        margin-bottom: 1.5rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle-studio {
        letter-spacing: 3px;
    }
    
    .hero-center p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title,
    .about-content h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .game-section,
    .about-section,
    .contact-section {
        padding: 5rem 1.5rem;
    }
    
    .game-card {
        padding: 2rem;
    }
    
    .status-badge-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .game-cta {
        margin-left: 0;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    /* Afficher le menu hamburger */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        transition-delay: calc(0.1s * var(--i));
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    /* Animation du menu hamburger */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Overlay pour fermer le menu au clic en dehors */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 576px) {
    header {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle-studio {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-center p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .game-section,
    .about-section,
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .game-description {
        font-size: 1rem;
    }
    
    .game-logo-container {
        max-width: 80%;
    }
    
    .game-features {
        gap: 0.5rem;
    }
    
    .game-feature {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button::before {
        border-width: 10px 0 10px 18px;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .about-content h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }
    
    .about-content p,
    .contact-section p {
        font-size: 1rem;
    }
}

/* Fallback pour le système de particules */
.fallback-active {
    background: #121212 url('./public/red-fuel-rage-studio-logo.png') no-repeat center center;
    background-size: 200px;
    opacity: 0.1;
}