/* ============================================
   HYPERION - Site Web CSS
   Style: Dark/Spatial - Star Citizen Theme
   Version: 2.0 - Optimized
   ============================================ */

/* ============================================
   Variables CSS
   ============================================ */
:root {
    /* Couleurs de base */
    --bg-dark: #0a0a12;
    --bg-darker: #050508;
    --bg-card: rgba(15, 15, 25, 0.8);
    /* Texte */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6a6a7a;
    /* Accent principal */
    --accent-cyan: #00bfff;
    --accent-cyan-dark: #0099cc;
    --accent-cyan-glow: rgba(0, 191, 255, 0.3);
    /* Couleurs des divisions */
    --division-typhon: #00bfff;
    --division-typhon-dark: #006699;
    --division-pegasus: #cc4444;
    --division-pegasus-dark: #882222;
    --division-atlas: #cc8833;
    --division-atlas-dark: #885522;
    --division-cerberus: #44cc44;
    --division-cerberus-dark: #228822;
    /* Espacement */
    --container-width: 1200px;
    --section-padding: 80px;
    --section-padding-mobile: 50px;
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    /* Mobile */
    --header-height: 70px;
    --header-height-mobile: 60px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

button {
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Etoiles animees en fond
   ============================================ */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
}

.stars-small {
    background-image: radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.8), transparent), radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.6), transparent), radial-gradient(1px 1px at 50px 160px, rgba(255,255,255,0.7), transparent), radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.5), transparent), radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent), radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.8), transparent);
    background-size: 200px 200px;
    animation: stars-drift 100s linear infinite;
}

.stars-medium {
    background-image: radial-gradient(1.5px 1.5px at 150px 150px, rgba(255,255,255,0.6), transparent), radial-gradient(1.5px 1.5px at 200px 220px, rgba(255,255,255,0.5), transparent), radial-gradient(1.5px 1.5px at 100px 280px, rgba(255,255,255,0.7), transparent), radial-gradient(1.5px 1.5px at 300px 100px, rgba(255,255,255,0.4), transparent);
    background-size: 400px 400px;
    animation: stars-drift 150s linear infinite reverse;
}

.stars-large {
    background-image: radial-gradient(2px 2px at 250px 200px, rgba(0, 191, 255, 0.4), transparent), radial-gradient(2px 2px at 400px 300px, rgba(255,255,255,0.5), transparent), radial-gradient(2px 2px at 100px 400px, rgba(0, 191, 255, 0.3), transparent);
    background-size: 600px 600px;
    animation: stars-twinkle 4s ease-in-out infinite;
}

@keyframes stars-drift {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

@keyframes stars-twinkle {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ============================================
   Animations Scroll Reveal
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: linear-gradient(to bottom, rgba(10, 10, 18, 0.9), transparent);
    transition: all var(--transition-medium);
}

    .header.scrolled {
        background: rgba(10, 10, 18, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 15px 40px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }

    .header.hidden {
        transform: translateY(-100%);
    }

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--text-primary);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--accent-cyan);
        transition: width var(--transition-medium);
    }

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

.nav-login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

    .nav-login:hover {
        color: var(--text-primary);
    }

.login-icon {
    width: 18px;
    height: 18px;
}

/* Bouton menu mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        transition: all var(--transition-fast);
        border-radius: 1px;
    }

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 150% 100% at 50% 120%, rgba(60, 80, 100, 0.3) 0%, transparent 50%), radial-gradient(ellipse 80% 50% at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), linear-gradient(to bottom, #0a0a12 0%, #151520 50%, #1a1a2a 100%);
    background-size: cover;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 10, 18, 0.4) 100%);
}

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Hero Image Background */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Background Music Toggle Button */
.music-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

    .music-toggle-btn svg {
        width: 24px;
        height: 24px;
        color: var(--accent-cyan);
        transition: all var(--transition-fast);
    }

    .music-toggle-btn:hover {
        background: rgba(0, 191, 255, 0.25);
        border-color: var(--accent-cyan);
        transform: scale(1.05);
    }

    .music-toggle-btn:active {
        transform: scale(0.95);
    }

    .music-toggle-btn.muted {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.3);
    }

        .music-toggle-btn.muted svg {
            color: rgba(255, 255, 255, 0.5);
        }

        .music-toggle-btn.muted:hover {
            background: rgba(0, 191, 255, 0.15);
            border-color: rgba(0, 191, 255, 0.4);
        }

            .music-toggle-btn.muted:hover svg {
                color: var(--accent-cyan);
            }

@media (max-width: 768px) {
    .music-toggle-btn {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }

        .music-toggle-btn svg {
            width: 20px;
            height: 20px;
        }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    margin-bottom: 40px;
}

.hero-ship {
    margin: 40px auto;
    width: 300px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ship-placeholder {
    width: 200px;
    height: 100px;
    color: rgba(255, 255, 255, 0.2);
    display: none;
}

    .ship-placeholder svg {
        width: 100%;
        height: 100%;
    }

/* Bouton CTA */
.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-primary);
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 2px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

    .hero-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.2), transparent);
        transition: left var(--transition-slow);
    }

    .hero-cta:hover {
        background: rgba(0, 191, 255, 0.2);
        box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
    }

        .hero-cta:hover::before {
            left: 100%;
        }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.chevron {
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale(0.3);
    animation: chevron-move 3s ease-out infinite;
    position: relative;
}

    .chevron:first-child {
        animation-delay: 0s;
    }

    .chevron:nth-child(2) {
        animation-delay: 0.3s;
    }

    .chevron:nth-child(3) {
        animation-delay: 0.6s;
    }

    .chevron::before,
    .chevron::after {
        content: '';
        position: absolute;
        width: 14px;
        height: 2px;
        background: var(--text-secondary);
    }

    .chevron::before {
        transform: rotate(45deg) translateX(2px);
    }

    .chevron::after {
        transform: rotate(-45deg) translateX(-2px);
        left: 12px;
    }

@keyframes chevron-move {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    30% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ============================================
   Section About / Qu'est-ce que HYPERION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.about-description {
    max-width: 800px;
    margin: 0 auto 5px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.about-description-end {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}
/* Statistiques */
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* ============================================
   Section Divisions
   ============================================ */
.divisions {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    position: relative;
    z-index: 1;
}

.divisions-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.divisions-line {
    height: 2px;
    background: linear-gradient(to right, var(--accent-cyan), transparent);
    margin-bottom: 60px;
}

/* Grille des divisions */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Carte de division - Version amelioree */
.division-card {
    position: relative;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform var(--transition-medium);
}

    .division-card:hover {
        transform: translateY(-10px);
    }

/* Effet glow */
.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
    filter: blur(40px);
}

.division-card:hover .card-glow {
    opacity: 0.4;
}

.division-card.typhon .card-glow {
    background: var(--division-typhon);
}

.division-card.pegasus .card-glow {
    background: var(--division-pegasus);
}

.division-card.atlas .card-glow {
    background: var(--division-atlas);
}

.division-card.cerberus .card-glow {
    background: var(--division-cerberus);
}

/* Bordure SVG */
.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.card-shape {
    width: 100%;
    height: 100%;
    transition: all var(--transition-medium);
}

.division-card.typhon .card-shape {
    stroke: var(--division-typhon);
}

.division-card.pegasus .card-shape {
    stroke: var(--division-pegasus);
}

.division-card.atlas .card-shape {
    stroke: var(--division-atlas);
}

.division-card.cerberus .card-shape {
    stroke: var(--division-cerberus);
}

/* Contenu de la carte */
.card-content {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(10, 15, 25, 0.85);
    clip-path: polygon( 10% 0%, 90% 0%, 100% 7%, 100% 90%, 90% 100%, 50% 100%, 50% 100%, 10% 100%, 0% 90%, 0% 7% );
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    transition: background var(--transition-medium);
}

.division-card:hover .card-content {
    background: rgba(15, 20, 35, 0.9);
}

.division-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.division-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    transition: text-shadow var(--transition-medium);
}

.division-card.typhon .division-name {
    color: var(--division-typhon);
}

.division-card.pegasus .division-name {
    color: var(--division-pegasus);
}

.division-card.atlas .division-name {
    color: var(--division-atlas);
}

.division-card.cerberus .division-name {
    color: var(--division-cerberus);
}

.division-card:hover .division-name {
    text-shadow: 0 0 20px currentColor;
}

.division-icon {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    color: rgba(255, 255, 255, 0.8);
}

    .division-icon svg {
        width: 80px;
        height: 80px;
        transition: transform var(--transition-medium);
    }

.division-card:hover .division-icon svg {
    transform: scale(1.1);
}

.card-arrow {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    margin-top: auto;
    transition: transform var(--transition-medium), color var(--transition-medium);
}

    .card-arrow svg {
        width: 100%;
        height: 100%;
    }

.division-card:hover .card-arrow {
    transform: translateY(5px);
}

.division-card.typhon:hover .card-arrow {
    color: var(--division-typhon);
}

.division-card.pegasus:hover .card-arrow {
    color: var(--division-pegasus);
}

.division-card.atlas:hover .card-arrow {
    color: var(--division-atlas);
}

.division-card.cerberus:hover .card-arrow {
    color: var(--division-cerberus);
}

/* ============================================
   Section Division Detail
   ============================================ */
.division-detail {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark));
    position: relative;
    z-index: 1;
}

.detail-box {
    position: relative;
    padding: 40px 50px;
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.1), inset 0 0 60px rgba(0, 191, 255, 0.03);
}

    .detail-box::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 30px;
        right: 30px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    }

.detail-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.detail-line {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, var(--accent-cyan), transparent);
    margin-bottom: 25px;
}

.detail-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
}

/* ============================================
   Section Adventures / Carrousel
   ============================================ */
.adventures {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
}

.adventures-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: var(--text-primary);
}

/* Carrousel */
.carousel-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--accent-cyan);
    background: rgba(0, 191, 255, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
}

    .carousel-btn:hover:not(.disabled) {
        background: rgba(0, 191, 255, 0.2);
        box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
    }

    .carousel-btn.disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

.carousel-track-container {
    flex: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 calc((100% - 75px) / 6);
    aspect-ratio: 16/10;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all var(--transition-medium);
    cursor: pointer;
}

    .carousel-slide:hover {
        border-color: var(--accent-cyan);
        box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
        transform: scale(1.05);
    }

.slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Indicateurs carrousel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--accent-cyan);
    background: transparent;
    padding: 0;
    transition: all var(--transition-fast);
}

    .carousel-dot.active,
    .carousel-dot:hover {
        background: var(--accent-cyan);
        box-shadow: 0 0 10px var(--accent-cyan-glow);
    }

/* ============================================
   Section Fleet
   ============================================ */
.fleet {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    position: relative;
    z-index: 1;
}

.fleet-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.fleet-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.fleet-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.fleet-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.2), inset 0 0 60px rgba(0, 191, 255, 0.05);
}

    .fleet-image-frame::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 18px;
        border: 1px solid rgba(0, 191, 255, 0.3);
        pointer-events: none;
    }

.fleet-image-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #2a4a3a, #1a2a20);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    gap: 10px;
}

    .fleet-image-placeholder svg {
        width: 80px;
        height: 50px;
    }

    .fleet-image-placeholder span {
        font-size: 12px;
    }

/* Fleet Slideshow */
.fleet-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #2a4a3a, #1a2a20);
}

.fleet-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    /* Premier slide visible par défaut */
    .fleet-slide:first-child {
        opacity: 1;
    }

    .fleet-slide.active {
        opacity: 1;
    }

    .fleet-slide:not(.active):not(:first-child) {
        opacity: 0;
    }

    .fleet-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ============================================
   Section Benefits
   ============================================ */
.benefits {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark));
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-card {
    position: relative;
    padding: 30px 20px;
    background: rgba(15, 25, 40, 0.6);
    border: 1px solid rgba(100, 120, 150, 0.3);
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition-medium);
}

    .benefit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
        background: linear-gradient(135deg, rgba(100, 120, 150, 0.1), transparent);
        pointer-events: none;
    }

    .benefit-card:hover {
        border-color: rgba(100, 120, 150, 0.5);
        transform: translateY(-5px);
    }

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.8);
}

    .benefit-icon svg {
        width: 100%;
        height: 100%;
    }

    .benefit-icon.flag-icon svg {
        border-radius: 4px;
    }

.benefit-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.benefit-line {
    width: 80%;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-dark));
    border-radius: 2px;
}

/* ============================================
   Section Join
   ============================================ */
.join {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
}

.join-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.join-logo {
    width: 100px;
    height: 100px;
    color: rgba(255, 255, 255, 0.8);
    animation: logo-pulse 3s ease-in-out infinite;
}

    .join-logo svg {
        width: 100%;
        height: 100%;
    }

@keyframes logo-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.join-cta {
    display: inline-block;
    padding: 15px 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid rgba(100, 120, 150, 0.5);
    border-radius: 4px;
    transition: all var(--transition-medium);
}

    .join-cta:hover {
        border-color: var(--accent-cyan);
        background: rgba(0, 191, 255, 0.1);
        box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
    }

/* ============================================
   Section Hero Footer
   ============================================ */
.hero-footer {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 20%), radial-gradient(ellipse 100% 50% at 50% 100%, rgba(30, 60, 90, 0.4) 0%, transparent 70%), linear-gradient(to bottom, #0a0a12 0%, #0d1520 40%, #1a2a3a 70%, #0d1520 100%);
    will-change: transform;
}

.hero-footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(0, 150, 255, 0.1) 0%, transparent 30%), radial-gradient(circle at 70% 80%, rgba(0, 150, 255, 0.1) 0%, transparent 30%);
}

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

.hero-footer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 700;
    letter-spacing: 20px;
    color: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    user-select: none;
}

.hero-footer-ship {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 150px;
    background: transparent;
}

/* ============================================
   Footer Full
   ============================================ */
.footer-full {
    padding: 60px 0 30px;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 60px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

    .footer-logo svg {
        width: 100%;
        height: 100%;
    }

.footer-copyright {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.footer-rights {
    font-size: 10px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links-column a {
        font-size: 12px;
        color: var(--text-secondary);
        transition: color var(--transition-fast);
        position: relative;
        padding-left: 10px;
    }

        .footer-links-column a::before {
            content: '|';
            position: absolute;
            left: 0;
            color: var(--text-muted);
        }

        .footer-links-column a:hover {
            color: var(--text-primary);
        }

.footer-partners {
    display: flex;
    gap: 20px;
    align-items: center;
}

.partner-logo {
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .partner-logo svg {
        width: 100%;
        height: 100%;
    }

    .partner-logo.rsi {
        font-family: 'Orbitron', sans-serif;
        font-size: 14px;
        font-weight: 700;
    }

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0 30px;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.social-link {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

    .social-link:hover {
        color: var(--text-primary);
        transform: scale(1.1);
    }

    .social-link svg {
        width: 100%;
        height: 100%;
    }

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 1100;
}

    .mobile-menu-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: linear-gradient(180deg, #0d1020, #0a0a12);
    z-index: 1101;
    transition: right var(--transition-medium);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

    .mobile-menu.open {
        right: 0;
    }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

    .mobile-logo svg {
        width: 35px;
        height: 35px;
    }

    .mobile-logo span {
        font-family: 'Orbitron', sans-serif;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 2px;
    }

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
    }

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
    gap: 5px;
}

.mobile-nav-link {
    display: block;
    padding: 18px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

    .mobile-nav-link:hover,
    .mobile-nav-link:active {
        background: rgba(0, 191, 255, 0.1);
        color: var(--text-primary);
    }

    .mobile-nav-link.cta {
        margin-top: 20px;
        text-align: center;
        border: 1px solid var(--accent-cyan);
        color: var(--accent-cyan);
    }

        .mobile-nav-link.cta:hover {
            background: rgba(0, 191, 255, 0.2);
        }

.mobile-menu-footer {
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 25px;
}

    .mobile-social a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: all var(--transition-fast);
    }

        .mobile-social a:hover {
            color: var(--accent-cyan);
            border-color: var(--accent-cyan);
        }

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

/* ============================================
   RESPONSIVE - Tablette (1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px;
    }

    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats {
        gap: 40px;
    }

    .carousel-slide {
        flex: 0 0 calc((100% - 45px) / 4);
    }

    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fleet-text {
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-partners {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE - Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }

    .header {
        padding: 15px 20px;
    }

        .header.scrolled {
            padding: 10px 20px;
        }

    .nav-links {
        display: none;
    }

    .nav-login {
        display: none;
    }

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

    .hero-title {
        letter-spacing: 2px;
        padding: 0 10px;
    }

    .hero-cta {
        padding: 12px 30px;
        font-size: 12px;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .about-description {
        margin-bottom: 40px;
    }

    .stats {
        gap: 20px;
    }

    .stat-item {
        min-width: 100px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .division-name {
        font-size: 1rem;
    }

    .division-icon svg {
        width: 60px;
        height: 60px;
    }

    .detail-box {
        padding: 25px;
    }

    .detail-title {
        font-size: 1.1rem;
    }

    .carousel-slide {
        flex: 0 0 calc((100% - 30px) / 3);
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

        .carousel-btn svg {
            width: 16px;
            height: 16px;
        }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .benefit-card {
        padding: 20px 15px;
    }

    .benefit-icon {
        width: 45px;
        height: 45px;
    }

    .benefit-title {
        font-size: 11px;
    }

    .hero-footer-title {
        letter-spacing: 10px;
    }

    .footer-links {
        gap: 20px;
    }
}

/* ============================================
   RESPONSIVE - Petit Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .hero-ship {
        margin: 20px auto;
        height: 100px;
    }

    .hero-cta {
        padding: 12px 25px;
        font-size: 11px;
    }

    .about-title {
        font-size: 1.3rem;
    }

    .about-description {
        font-size: 13px;
    }

    /* Stats Mobile - Grid Style */
    .stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
        background: rgba(15, 20, 30, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
    }

    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }

        .stat-number::after {
            content: '';
            display: block;
            width: 30px;
            height: 2px;
            background: var(--accent-cyan);
            margin: 8px auto 0;
        }

    .stat-item:nth-child(2) .stat-number::after {
        background: var(--division-pegasus);
    }

    .stat-item:nth-child(3) .stat-number::after {
        background: var(--division-atlas);
    }

    .stat-item:nth-child(4) .stat-number::after {
        background: var(--division-cerberus);
    }

    .stat-label {
        text-align: center;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-muted);
    }

        .stat-label br {
            display: none;
        }

    .divisions-title {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .card-content {
        padding: 20px 15px;
    }

    .division-label {
        font-size: 10px;
    }

    .division-name {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .division-icon svg {
        width: 50px;
        height: 50px;
    }

    .detail-box {
        padding: 20px;
    }

    .detail-title {
        font-size: 1rem;
    }

    .detail-description {
        font-size: 13px;
        text-align: left;
    }

    .adventures-title {
        font-size: 0.9rem;
    }

    .carousel-slide {
        flex: 0 0 calc((100% - 15px) / 2);
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
    }

    .carousel-indicators {
        margin-top: 15px;
    }

    .carousel-dot {
        width: 6px;
        height: 6px;
    }

    .fleet-title {
        font-size: 1.3rem;
    }

    .fleet-description {
        font-size: 13px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .benefit-card {
        padding: 15px 10px;
    }

    .benefit-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 12px;
    }

    .benefit-title {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .benefit-line {
        height: 2px;
    }

    .join-logo {
        width: 70px;
        height: 70px;
    }

    .join-cta {
        padding: 12px 30px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hero-footer {
        min-height: 40vh;
    }

    .hero-footer-title {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .footer-full {
        padding: 40px 0 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-divider {
        margin: 25px 0 20px;
    }

    .footer-social {
        gap: 15px;
    }

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

/* ============================================
   Animations Touch-Friendly
   ============================================ */
@media (hover: none) {
    .division-card:hover {
        transform: none;
    }

    .division-card:active {
        transform: scale(0.98);
    }

    .carousel-slide:hover {
        transform: none;
    }

    .benefit-card:hover {
        transform: none;
    }

    .benefit-card:active {
        transform: scale(0.98);
    }
}

/* ============================================
   Performance Optimizations
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .stars-container {
        display: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .stars-container,
    .scroll-indicator,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
    }
}

/* ============================================
   Section Evenements de la semaine
   ============================================ */
.events-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    position: relative;
    z-index: 1;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.events-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 40px;
}

/* Week Grid */
.events-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.event-day {
    background: rgba(15, 20, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-medium);
}

    .event-day:hover {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(20, 25, 40, 0.6);
    }

    .event-day.highlight {
        border-color: var(--accent-cyan);
        box-shadow: 0 0 20px rgba(0, 191, 255, 0.15);
    }

.day-header {
    padding: 12px 10px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.day-name {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.day-date {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.event-day.highlight .day-date {
    color: var(--accent-cyan);
}

.day-events {
    padding: 10px;
    min-height: 80px;
}

    .day-events.empty {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.no-event {
    color: var(--text-muted);
    opacity: 0.3;
}

/* Event Item */
.event-item {
    padding: 8px;
    background: rgba(0, 191, 255, 0.05);
    border-left: 2px solid var(--accent-cyan);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

    .event-item:hover {
        background: rgba(0, 191, 255, 0.1);
    }

    .event-item[data-type="mining"] {
        border-color: var(--division-atlas);
        background: rgba(204, 136, 51, 0.05);
    }

    .event-item[data-type="training"] {
        border-color: var(--division-pegasus);
        background: rgba(204, 68, 68, 0.05);
    }

    .event-item[data-type="social"] {
        border-color: #aa66ff;
        background: rgba(170, 102, 255, 0.05);
    }

    .event-item[data-type="combat"] {
        border-color: var(--accent-cyan);
        background: rgba(0, 191, 255, 0.08);
    }

    .event-item[data-type="exploration"] {
        border-color: var(--division-cerberus);
        background: rgba(68, 204, 68, 0.05);
    }

    .event-item.main-event {
        border-width: 3px;
    }

    .event-item.clickable:hover {
        transform: translateX(4px);
        box-shadow: 0 2px 8px rgba(0, 191, 255, 0.2);
    }

    .event-item.clickable:active {
        transform: translateX(2px);
    }

.event-time {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
}

.event-division {
    font-size: 9px;
    color: var(--text-muted);
}

.event-badge {
    position: absolute;
    top: -8px;
    right: 5px;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--accent-cyan);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Featured Event Card */
.featured-event {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: rgba(10, 15, 25, 0.8);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
}

.featured-event-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(0, 100, 150, 0.3));
}

.featured-event-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(0,191,255,0.1)" stroke-width="1"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(0,191,255,0.1)" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(0,191,255,0.1)" stroke-width="1"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.featured-event-date {
    position: relative;
    z-index: 1;
    text-align: center;
}

.fed-day {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-cyan);
}

.fed-num {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.fed-month {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.featured-event-content {
    padding: 25px 30px;
}

.featured-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.featured-event-type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.featured-event-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
}

.featured-event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.featured-event-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.featured-event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-participants {
    display: flex;
    align-items: center;
    gap: 12px;
}

.participant-dots {
    display: flex;
    gap: 4px;
}

    .participant-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent-cyan);
        opacity: 0.8;
    }

        .participant-dots span:nth-child(2) {
            background: var(--division-pegasus);
        }

        .participant-dots span:nth-child(3) {
            background: var(--division-atlas);
        }

        .participant-dots span:nth-child(4) {
            background: var(--division-cerberus);
        }

        .participant-dots span:nth-child(5) {
            background: #aa66ff;
        }

.event-participants > span {
    font-size: 13px;
    color: var(--text-muted);
}

.event-cta {
    padding: 10px 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    transition: all var(--transition-medium);
}

    .event-cta:hover {
        background: var(--accent-cyan);
        color: var(--bg-dark);
    }

/* Responsive Events */
@media (max-width: 1024px) {
    .events-week {
        grid-template-columns: repeat(4, 1fr);
    }

    .event-day:nth-child(n+5) {
        grid-column: span 1;
    }

    .featured-event {
        grid-template-columns: 150px 1fr;
    }

    .fed-num {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .events-week {
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }

    .day-header {
        padding: 8px 5px;
    }

    .day-name {
        font-size: 8px;
    }

    .day-date {
        font-size: 1rem;
    }

    .day-events {
        padding: 5px;
        min-height: 60px;
    }

    .event-item {
        padding: 5px;
    }

    .event-time {
        font-size: 8px;
    }

    .event-name {
        font-size: 9px;
    }

    .event-division {
        display: none;
    }

    .event-badge {
        display: none;
    }

    .featured-event {
        grid-template-columns: 1fr;
    }

    .featured-event-visual {
        padding: 30px;
    }

    .featured-event-date {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .fed-num {
        font-size: 2.5rem;
    }

    .featured-event-content {
        padding: 20px;
    }

    .featured-event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .featured-event-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .event-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .events-week {
        grid-template-columns: repeat(7, 1fr);
        gap: 3px;
    }

    .day-header {
        padding: 6px 3px;
    }

    .day-name {
        font-size: 7px;
        letter-spacing: 0;
    }

    .day-date {
        font-size: 0.85rem;
    }

    .day-events {
        padding: 4px;
        min-height: 50px;
    }

    .event-item {
        padding: 4px;
        border-width: 2px;
    }

    .event-time {
        font-size: 7px;
        margin-bottom: 2px;
    }

    .event-name {
        font-size: 8px;
    }

    .featured-event-title {
        font-size: 1.1rem;
    }

    .featured-event-desc {
        font-size: 13px;
    }
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-medium);
}

    .lightbox.active,
    .lightbox.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

    .lightbox-close:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--accent-cyan);
        color: var(--accent-cyan);
    }

    .lightbox-close svg {
        width: 24px;
        height: 24px;
    }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

    .lightbox-nav:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--accent-cyan);
        color: var(--accent-cyan);
    }

    .lightbox-nav svg {
        width: 24px;
        height: 24px;
    }

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 200px;
}

    .lightbox-image img {
        max-width: 100%;
        max-height: 70vh;
        object-fit: contain;
    }

.lightbox-caption {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
}

/* ============================================
   Section Poles de Competences
   ============================================ */
.poles-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    position: relative;
    z-index: 1;
}

.poles-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.poles-intro {
    max-width: 750px;
    margin: 0 auto 50px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
}

    .poles-intro strong {
        color: var(--accent-cyan);
        font-weight: 500;
    }

/* Poles Grid */
.poles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 60px;
}

/* Pole Card */
.pole-card {
    position: relative;
    padding: 25px 15px;
    background: rgba(15, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition-medium);
    cursor: pointer;
}

    .pole-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
        background: linear-gradient(135deg, rgba(0, 191, 255, 0.05), transparent);
        opacity: 0;
        transition: opacity var(--transition-medium);
        pointer-events: none;
    }

    .pole-card:hover {
        border-color: var(--accent-cyan);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 191, 255, 0.15);
    }

        .pole-card:hover::before {
            opacity: 1;
        }

/* Pole Icon */
.pole-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 15px;
    color: var(--accent-cyan);
    transition: transform var(--transition-medium);
}

    .pole-icon svg {
        width: 100%;
        height: 100%;
    }

.pole-card:hover .pole-icon {
    transform: scale(1.15);
}

/* Pole Name */
.pole-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.pole-card:hover .pole-name {
    color: var(--accent-cyan);
}

/* Pole Description */
.pole-desc {
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Certification Dots */
.pole-certifs {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.certif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    transition: all var(--transition-fast);
}

    .certif-dot.empty {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

.pole-card:hover .certif-dot:not(.empty) {
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Texte "Et bien d'autres" */
.poles-more {
    text-align: center;
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 50px;
}

/* ============================================
   Progression Path
   ============================================ */
.progression-path {
    background: rgba(10, 15, 25, 0.8);
    border: 1px solid rgba(0, 191, 255, 0.15);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.progression-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 35px;
}

.progression-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.1);
    border-radius: 8px;
    transition: all var(--transition-medium);
    min-width: 160px;
}

    .step:hover {
        border-color: var(--accent-cyan);
        background: rgba(0, 191, 255, 0.1);
        transform: translateY(-3px);
    }

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 191, 255, 0.15);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
}

.step-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.step-content p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.step-arrow {
    width: 30px;
    height: 30px;
    color: var(--accent-cyan);
    opacity: 0.5;
}

    .step-arrow svg {
        width: 100%;
        height: 100%;
    }

.progression-note {
    font-size: 13px;
    font-style: italic;
    color: var(--text-secondary);
}

/* ============================================
   Poles Responsive - Tablette (1024px)
   ============================================ */
@media (max-width: 1024px) {
    .poles-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .progression-steps {
        gap: 15px;
    }

    .step {
        min-width: 140px;
        padding: 15px 20px;
    }
}

/* ============================================
   Poles Responsive - Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
    .poles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .pole-card {
        padding: 20px 12px;
    }

    .pole-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 10px;
    }

    .pole-name {
        font-size: 0.75rem;
    }

    .pole-desc {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .certif-dot {
        width: 6px;
        height: 6px;
    }

    .progression-path {
        padding: 25px 20px;
    }

    .progression-title {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .progression-steps {
        flex-direction: column;
        gap: 10px;
    }

    .step {
        width: 100%;
        max-width: 280px;
        flex-direction: row;
        gap: 15px;
        padding: 15px 20px;
        text-align: left;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .step-content {
        flex: 1;
    }

    .step-arrow {
        transform: rotate(90deg);
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   Poles Responsive - Petit Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
    .poles-intro {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .poles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 40px;
    }

    .pole-card {
        padding: 15px 10px;
    }

    .pole-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
    }

    .pole-name {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }

    .pole-desc {
        display: none;
    }

    .certif-dot {
        width: 5px;
        height: 5px;
        gap: 4px;
    }

    .progression-path {
        padding: 20px 15px;
    }

    .progression-title {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .step {
        padding: 12px 15px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .step-content h4 {
        font-size: 0.8rem;
    }

    .step-content p {
        font-size: 11px;
    }

    .progression-note {
        font-size: 12px;
    }
}

/* ============================================
   Micro-interactions & Enhancements
   ============================================ */

/* Enhanced button hover effects */
.hero-cta,
.join-cta,
.next-mission-cta {
    position: relative;
    overflow: hidden;
}

    .hero-cta::after,
    .join-cta::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(0, 191, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .hero-cta:hover::after,
    .join-cta:hover::after {
        width: 300px;
        height: 300px;
    }

/* Card tilt effect */
.division-card,
.mission-card,
.benefit-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Magnetic button effect */
.nav-link,
.social-link {
    transition: transform var(--transition-fast);
}

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
}

    .text-reveal span {
        display: inline-block;
        transform: translateY(100%);
        animation: text-reveal 0.8s ease forwards;
    }

@keyframes text-reveal {
    to {
        transform: translateY(0);
    }
}

/* Smooth image loading */
.carousel-slide img,
.fleet-image img {
    opacity: 1;
    transition: opacity 0.5s ease;
}

    .carousel-slide img.loading,
    .fleet-image img.loading {
        opacity: 0;
    }

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 3px;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--division-pegasus));
    z-index: 1001;
    transform-origin: left;
    transform: scaleX(0);
}

/* Link underline animation */
.footer-links-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10px;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width var(--transition-medium);
}

.footer-links-column a:hover::after {
    width: calc(100% - 10px);
}

/* Glitch text effect on hover */
.hero-title:hover {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 0 var(--accent-cyan), -2px 0 var(--division-pegasus);
    }

    25% {
        text-shadow: -2px 0 var(--accent-cyan), 2px 0 var(--division-pegasus);
    }

    50% {
        text-shadow: 2px -2px var(--accent-cyan), -2px 2px var(--division-pegasus);
    }

    75% {
        text-shadow: -2px 2px var(--accent-cyan), 2px -2px var(--division-pegasus);
    }

    100% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

/* Responsive Missions */
@media (max-width: 1024px) {
    .missions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mission-card {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .mission-icon {
        width: 50px;
        height: 50px;
    }

        .mission-icon svg {
            width: 24px;
            height: 24px;
        }

    .next-mission-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .next-mission-footer {
        flex-direction: column;
        gap: 20px;
    }

    .participants {
        flex-direction: column;
        gap: 10px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-image {
        width: 95vw;
        height: 50vh;
    }
}

/* ============================================
   Join Recruitment Dialog (MudBlazor)
   ============================================ */

/* Dialog container override */
.join-recruitment-dialog {
    background: linear-gradient(145deg, rgba(15, 25, 40, 0.98), rgba(10, 15, 25, 0.98)) !important;
    border: 1px solid rgba(0, 191, 255, 0.3) !important;
    border-radius: 16px !important;
    box-shadow: 
        0 0 60px rgba(0, 191, 255, 0.15),
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.join-recruitment-dialog .mud-dialog-title {
    padding: 24px 24px 0 24px !important;
    background: transparent !important;
}

.join-recruitment-dialog .mud-dialog-content {
    padding: 20px 24px !important;
    background: transparent !important;
}

.join-recruitment-dialog .mud-dialog-actions {
    padding: 0 24px 24px 24px !important;
    background: transparent !important;
}

/* Header styling */
.join-dialog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.join-dialog-icon {
    color: var(--accent-cyan) !important;
    font-size: 28px !important;
}

/* Body styling */
.join-dialog-body {
    text-align: center;
    padding: 10px 0;
}

.join-dialog-question {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
}

/* Actions styling */
.join-dialog-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* Yes button (Oui, j'ai un ticket) */
.join-btn-yes {
    width: 100%;
    padding: 14px 24px !important;
    border-radius: 8px !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(0, 191, 255, 0.1)) !important;
    border: 2px solid var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
    transition: all var(--transition-medium) !important;
}

.join-btn-yes:hover {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.35), rgba(0, 191, 255, 0.2)) !important;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.4) !important;
    transform: translateY(-2px);
}

/* Discord button (Non, ouvrir un ticket) */
.join-btn-discord {
    width: 100%;
    padding: 14px 24px !important;
    border-radius: 8px !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.15)) !important;
    border: 2px solid #5865F2 !important;
    color: #ffffff !important;
    transition: all var(--transition-medium) !important;
}

.join-btn-discord:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.5), rgba(88, 101, 242, 0.3)) !important;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.4) !important;
    transform: translateY(-2px);
}

/* MudDialog backdrop override for landing page */
.mud-overlay {
    backdrop-filter: blur(8px);
}



/* Mobile responsive */
@media (max-width: 480px) {
    .join-dialog-header {
        font-size: 1.25rem;
    }
    
    .join-dialog-header .join-dialog-icon {
        font-size: 24px !important;
    }

    .join-dialog-question {
        font-size: 0.9rem !important;
    }

    .join-btn-yes,
    .join-btn-discord {
        padding: 12px 20px !important;
        font-size: 0.85rem !important;
    }
}


