/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #39ff14;
    --secondary-green: #00ff88;
    --dark-green: #1a4d3a;
    --gold: #ffd700;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(26, 77, 58, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --glow: 0 0 20px var(--primary-green);
    --glow-strong: 0 0 30px var(--primary-green), 0 0 60px var(--primary-green);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Particules d'arrière-plan */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(var(--glow));
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(var(--glow-strong));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
    text-shadow: var(--glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Menu utilisateur */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: var(--glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(57, 255, 20, 0.1);
}

.dropdown-item:hover {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary-green);
}

.dropdown-item.logout {
    color: #ff4444;
}

.dropdown-item.logout:hover {
    background: rgba(255, 68, 68, 0.1);
    color: #ff6666;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    margin: 0.5rem 0;
}

.dropdown-item.game-account {
    background: rgba(57, 255, 20, 0.05);
    border-left: 3px solid var(--primary-green);
}

.dropdown-item.game-account:hover {
    background: rgba(57, 255, 20, 0.15);
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
}

.dropdown-item.with-separator {
    border-bottom: 1px solid rgba(57, 255, 20, 0.3);
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
}

/* Boutons */
.btn-primary, .btn-secondary, .btn-hero-primary, .btn-hero-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary, .btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--dark-bg);
    box-shadow: var(--glow);
}

.btn-primary:hover, .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-strong);
}

.btn-secondary, .btn-hero-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover, .btn-hero-secondary:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
    box-shadow: var(--glow);
}

.btn-hero-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-hero-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(26, 77, 58, 0.6) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-main {
    display: block;
    color: var(--text-primary);
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary-green), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: var(--darker-bg);
    position: relative;
    z-index: 4;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-green);
    text-shadow: var(--glow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 0.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: var(--glow);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.stat-number.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.coming-soon-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-green);
    opacity: 0.7;
}

.coming-soon-subtext {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-top: -0.2rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background: var(--dark-bg);
    position: relative;
    z-index: 4;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.section-header .section-title {
    text-align: center;
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

.view-all-link {
    grid-column: 3;
    justify-self: end;
}

.view-all-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    text-shadow: var(--glow);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: var(--glow);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card.featured .news-image img {
    height: 200px;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-green);
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-card.featured .news-title {
    font-size: 1.4rem;
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-link:hover {
    text-shadow: var(--glow);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        padding: 1rem;
        position: relative;
    }
    
    .logo {
        height: 80px;
    }
    
    /* Menu mobile container */
    .mobile-menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 26, 15, 0.98);
        backdrop-filter: blur(15px);
        border: 1px solid var(--primary-green);
        border-radius: 0 0 15px 15px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(57, 255, 20, 0.3);
        z-index: 999;
    }
    
    .mobile-menu-container.active {
        display: block;
    }
    
    /* Cacher les menus desktop */
    .nav-menu, .nav-actions {
        display: none;
    }
    
    /* Styles pour le menu mobile */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(57, 255, 20, 0.3);
    }
    
    .nav-actions.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(57, 255, 20, 0.05);
        border: 1px solid rgba(57, 255, 20, 0.2);
        margin-bottom: 0.5rem;
    }
    
    .nav-link:hover, .nav-link.active {
        background: rgba(57, 255, 20, 0.15);
        border-color: var(--primary-green);
        transform: translateY(-2px);
    }
    
    /* Boutons d'action mobile */
    .nav-actions .btn-secondary,
    .nav-actions .btn-primary {
        width: 100%;
        padding: 1rem;
        text-align: center;
        justify-content: center;
        font-size: 1.1rem;
    }
    
    /* Menu utilisateur mobile */
    .user-menu {
        width: 100%;
    }
    
    .user-menu button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .user-dropdown {
        position: static;
        width: 100%;
        margin-top: 1rem;
        box-shadow: none;
        border: 1px solid rgba(57, 255, 20, 0.3);
        background: rgba(57, 255, 20, 0.05);
    }
    
    .user-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        padding: 0.8rem;
    }
    
    .logo {
        height: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}
/* Audio Control */
.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
}

.audio-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.audio-btn:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
    box-shadow: var(--glow);
    transform: scale(1.1);
}

.audio-btn.muted .audio-icon {
    font-size: 0;
}

.audio-btn.muted .audio-icon::after {
    content: '🔇';
    font-size: 1.5rem;
}

/* Trailer Section */
.trailer-section {
    padding: 5rem 0;
    background: var(--dark-bg);
    position: relative;
    z-index: 4;
}

.trailer-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(57, 255, 20, 0.3);
    transition: all 0.3s ease;
}

.trailer-container:hover {
    border-color: var(--primary-green);
    box-shadow: var(--glow), 0 20px 60px rgba(0, 0, 0, 0.7);
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: var(--darker-bg);
    border-radius: 15px;
    overflow: hidden;
}

.trailer-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    background: var(--darker-bg);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: all;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border: none;
    color: var(--dark-bg);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--glow);
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-strong);
}

.video-play-btn .play-icon {
    margin-left: 5px;
}

/* Responsive pour trailer */
@media (max-width: 768px) {
    .trailer-container {
        margin: 0 1rem;
    }
    
    .play-btn {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .audio-control {
        bottom: 1rem;
        right: 1rem;
    }
    
    .audio-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
/* Animation des lucioles */
.firefly {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-green), 0 0 20px var(--primary-green);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

.fireflies-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.firefly::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: firefly-glow 3s ease-in-out infinite alternate;
}

@keyframes firefly-glow {
    0% { 
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes firefly-move-1 {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% { 
        opacity: 1;
    }
    90% { 
        opacity: 1;
    }
    100% { 
        transform: translate(200px, -100px) rotate(180deg);
        opacity: 0;
    }
}

@keyframes firefly-move-2 {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    15% { 
        opacity: 1;
    }
    85% { 
        opacity: 1;
    }
    100% { 
        transform: translate(-150px, -200px) rotate(-120deg);
        opacity: 0;
    }
}

@keyframes firefly-move-3 {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    20% { 
        opacity: 1;
    }
    80% { 
        opacity: 1;
    }
    100% { 
        transform: translate(300px, 50px) rotate(240deg);
        opacity: 0;
    }
}

@keyframes firefly-move-4 {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    12% { 
        opacity: 1;
    }
    88% { 
        opacity: 1;
    }
    100% { 
        transform: translate(-100px, -150px) rotate(-90deg);
        opacity: 0;
    }
}

@keyframes firefly-move-5 {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    18% { 
        opacity: 1;
    }
    82% { 
        opacity: 1;
    }
    100% { 
        transform: translate(250px, -50px) rotate(300deg);
        opacity: 0;
    }
}

/* Classes pour les différents types de mouvement */
.firefly-1 { animation: firefly-move-1 8s linear infinite; }
.firefly-2 { animation: firefly-move-2 10s linear infinite; }
.firefly-3 { animation: firefly-move-3 12s linear infinite; }
.firefly-4 { animation: firefly-move-4 9s linear infinite; }
.firefly-5 { animation: firefly-move-5 11s linear infinite; }
/* Overlays spécifiques par section */
.stats-section .section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(57, 255, 20, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 85% 80%, rgba(0, 255, 136, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.trailer-section .section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 30%, rgba(57, 255, 20, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 30% 70%, rgba(0, 255, 136, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(26, 77, 58, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.news-section .section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 60%, rgba(0, 255, 136, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 20%, rgba(57, 255, 20, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 50% 90%, rgba(26, 77, 58, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

/* Amélioration des sections */
.stats-section, .trailer-section, .news-section {
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(30deg, transparent 0%, rgba(57, 255, 20, 0.03) 50%, transparent 100%),
        linear-gradient(-60deg, transparent 0%, rgba(0, 255, 136, 0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.trailer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(60deg, transparent 0%, rgba(0, 255, 136, 0.04) 50%, transparent 100%),
        linear-gradient(-30deg, transparent 0%, rgba(57, 255, 20, 0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(26, 77, 58, 0.04) 50%, transparent 100%),
        linear-gradient(-45deg, transparent 0%, rgba(0, 255, 136, 0.03) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Particules flottantes pour toutes les sections */
.section-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-gentle 8s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-15px) translateX(10px);
        opacity: 0.6;
    }
}

/* Amélioration des titres de section */
.section-title {
    position: relative;
    z-index: 3;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    box-shadow: 0 0 10px var(--primary-green);
}

/* Amélioration des cards */
.stat-card, .news-card {
    position: relative;
    z-index: 3;
    backdrop-filter: blur(15px);
    background: rgba(26, 77, 58, 0.4);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.stat-card::before, .news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1) 0%, transparent 50%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card:hover::before, .news-card:hover::before {
    opacity: 1;
}

/* Container avec z-index pour le contenu */
.container {
    position: relative;
    z-index: 3;
}

/* Amélioration du trailer container */
.trailer-container {
    position: relative;
    z-index: 3;
}
/* Barres de séparation lumineuses */
.section-separator {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(57, 255, 20, 0.3) 20%, 
        var(--primary-green) 50%, 
        rgba(57, 255, 20, 0.3) 80%, 
        transparent 100%
    );
    box-shadow: 
        0 0 20px rgba(57, 255, 20, 0.5),
        0 0 40px rgba(57, 255, 20, 0.3),
        0 0 60px rgba(57, 255, 20, 0.1);
    z-index: 10;
    overflow: hidden;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%
    );
    animation: separator-shine 3s ease-in-out infinite;
}

@keyframes separator-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Variantes de barres pour chaque section */
.separator-stats {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(57, 255, 20, 0.4) 15%, 
        rgba(0, 255, 136, 0.8) 50%, 
        rgba(57, 255, 20, 0.4) 85%, 
        transparent 100%
    );
}

.separator-trailer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.3) 20%, 
        var(--primary-green) 50%, 
        rgba(0, 255, 136, 0.3) 80%, 
        transparent 100%
    );
}

.separator-news {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(26, 77, 58, 0.5) 25%, 
        rgba(57, 255, 20, 0.9) 50%, 
        rgba(26, 77, 58, 0.5) 75%, 
        transparent 100%
    );
}

/* Harmonisation des couleurs de sections */
.stats-section {
    background: linear-gradient(180deg, 
        var(--dark-bg) 0%, 
        rgba(5, 10, 5, 0.95) 50%, 
        var(--darker-bg) 100%
    );
}

.trailer-section {
    background: linear-gradient(180deg, 
        var(--darker-bg) 0%, 
        rgba(8, 15, 8, 0.9) 50%, 
        rgba(10, 10, 10, 0.95) 100%
    );
}

.news-section {
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(12, 18, 12, 0.9) 50%, 
        var(--dark-bg) 100%
    );
}
/* Correction spécifique pour le centrage des titres */
.news-section .section-title,
.stats-section .section-title,
.trailer-section .section-title {
    text-align: center !important;
    width: 100%;
}

/* Responsive pour section header */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header .section-title {
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        padding: 0 0.5rem;
    }
    
    .news-grid {
        padding: 0 2rem;
        grid-template-columns: 1fr;
    }
}
/* Harmonisation des hauteurs des news cards */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-excerpt {
    flex: 1;
}
/* Fallback YouTube */
.youtube-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.fallback-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fallback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fallback-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.fallback-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--dark-bg);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--glow);
}

.fallback-play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-strong);
}

.fallback-info {
    text-align: center;
    color: var(--text-primary);
}

.fallback-info h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.fallback-info p {
    color: var(--text-secondary);
}
/* Modal de connexion */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: linear-gradient(135deg, var(--darker-bg) 0%, rgba(26, 77, 58, 0.9) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    box-shadow: var(--glow), 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(57, 255, 20, 0.3);
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--primary-green);
    text-shadow: var(--glow);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--primary-green);
    background: rgba(57, 255, 20, 0.1);
    transform: rotate(90deg);
}

.modal-content {
    padding: 2rem;
}

/* Onglets */
.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: rgba(26, 77, 58, 0.3);
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    background: var(--primary-green);
    color: var(--dark-bg);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.tab-btn:not(.active):hover {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary-green);
}

/* Formulaires */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(57, 255, 20, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Checkbox personnalisé */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(57, 255, 20, 0.3);
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark-bg);
    font-weight: bold;
    font-size: 0.8rem;
}

.forgot-link, .terms-link {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-link:hover, .terms-link:hover {
    text-shadow: var(--glow);
}

/* Bouton d'authentification */
.auth-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border: none;
    border-radius: 10px;
    color: var(--dark-bg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow);
    margin-bottom: 1rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-strong);
}

.auth-btn:active {
    transform: translateY(0);
}

/* Messages */
.auth-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.auth-message.show {
    opacity: 1;
    transform: translateY(0);
}

.auth-message.success {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid var(--secondary-green);
    color: var(--secondary-green);
}

.auth-message.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff4444;
    color: #ff6666;
}

/* Responsive */
@media (max-width: 480px) {
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Message d'erreur */
.error-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

.error-content {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(255, 107, 53, 0.7));
    border: 2px solid #ff6b35;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    min-width: 400px;
}

.error-icon {
    font-size: 1.5rem;
}

.error-text {
    color: white;
    font-weight: 500;
    flex: 1;
}

.error-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.error-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive pour le message d'erreur */
@media (max-width: 768px) {
    .error-content {
        min-width: 300px;
        padding: 0.8rem 1rem;
        margin: 0 1rem;
    }
    
    .error-text {
        font-size: 0.9rem;
    }
}
/* Message donation pour utilisateurs non connectés */
.donation-login-message {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    animation: slideDown 0.5s ease-out;
}

.donation-login-message .message-content {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.9), rgba(57, 255, 20, 0.7));
    border: 2px solid #39ff14;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.3);
    backdrop-filter: blur(10px);
    min-width: 400px;
}

.donation-login-message .message-icon {
    font-size: 1.5rem;
}

.donation-login-message .message-text {
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .donation-login-message .message-content {
        min-width: 300px;
        padding: 0.8rem 1rem;
        margin: 0 1rem;
    }
    
    .donation-login-message .message-text {
        font-size: 0.9rem;
    }
}

/* Message vote pour utilisateurs non connectés */
.vote-login-message {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    animation: slideDown 0.5s ease-out;
}

.vote-login-message .message-content {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.9), rgba(255, 140, 0, 0.7));
    border: 2px solid #ffa500;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
    backdrop-filter: blur(10px);
    min-width: 400px;
}

.vote-login-message .message-icon {
    font-size: 1.5rem;
}

.vote-login-message .message-text {
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .vote-login-message .message-content {
        min-width: 300px;
        padding: 0.8rem 1rem;
        margin: 0 1rem;
    }
    
    .vote-login-message .message-text {
        font-size: 0.9rem;
    }
}


/* ===== FOOTER MYSTIQUE MIRA ===== */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    border-top: 2px solid rgba(57, 255, 20, 0.3);
    padding: 30px 0 30px 0;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #39ff14 50%, transparent 100%);
    animation: footerGlow 3s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #39ff14;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    letter-spacing: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 25px;
    background: rgba(57, 255, 20, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover {
    color: #39ff14;
    border-color: #39ff14;
    background: rgba(57, 255, 20, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(57, 255, 20, 0.5) 50%, transparent 100%);
    margin: 40px 0 30px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Particules flottantes dans le footer */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.footer-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #39ff14;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 8s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Responsive footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 25px 0;
        margin-top: 80px;
    }
    
    .footer-brand h3 {
        font-size: 2rem;
    }
    
    .footer-brand p {
        font-size: 1rem;
    }
    
    .footer-links {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .footer-divider {
        margin: 30px 0 20px 0;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-link {
        width: 200px;
        text-align: center;
    }
}

/* CAPTCHA ANTI-BOT */
.captcha-group {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

#captcha-image {
    max-width: 200px;
    height: 60px;
    border: 2px solid #39ff14;
    border-radius: 6px;
    background: #333;
    display: block;
}

.captcha-container input[type="number"] {
    width: 80px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.captcha-refresh {
    background: #39ff14;
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.captcha-refresh:hover {
    background: #2ecc71;
    transform: rotate(180deg);
}

.captcha-group label {
    color: #ffc107;
    font-weight: bold;
}

/* Message téléchargement pour utilisateurs non connectés */
.download-login-message {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 10000;
    animation: slideInRight 0.5s ease-out;
}

.download-login-message .message-content {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.9), rgba(75, 0, 130, 0.7));
    border: 2px solid #8a2be2;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(10px);
    min-width: 350px;
}

.download-login-message .message-icon {
    font-size: 1.5rem;
}

.download-login-message .message-text {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .download-login-message .message-content {
        min-width: 300px;
        padding: 0.8rem 1rem;
        margin: 0 1rem;
    }
    
    .download-login-message .message-text {
        font-size: 0.9rem;
    }
}

/* Message générique pour utilisateurs non connectés */
.generic-login-message {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 10000;
    animation: slideInRight 0.5s ease-out;
}

.generic-login-message .message-content {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.9), rgba(255, 99, 71, 0.7));
    border: 2px solid #ff4500;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.3);
    backdrop-filter: blur(10px);
    min-width: 350px;
}

.generic-login-message .message-icon {
    font-size: 1.5rem;
}

.generic-login-message .message-text {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .generic-login-message .message-content {
        min-width: 300px;
        padding: 0.8rem 1rem;
        margin: 0 1rem;
    }
    
    .generic-login-message .message-text {
        font-size: 0.9rem;
    }
}