* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #1a1a1a 50%, #0a0a0a 75%, #000000 100%);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Container des mondes */
.world-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

/* Styles de base pour tous les mondes */
.world {
    position: absolute;
    width: 20%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.world:hover {
    transform: scale(1.08);
    z-index: 10;
}

.world-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.world-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.3) contrast(1.2);
}

.world:hover .world-image img {
    filter: brightness(0.6) contrast(1.1);
    transform: scale(1.1);
}

.world-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.world:hover .world-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Bordures magiques */
.magical-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200% 200%;
    animation: magicalBorderFlow 8s ease-in-out infinite;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.world:hover .magical-border {
    opacity: 1;
}

/* Effets magiques discrets */
.magical-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 70%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.world:hover .magical-effect {
    opacity: 1;
}

/* Effets spécifiques par monde */
.world-dark .magical-effect {
    background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, rgba(255,255,255,0.01) 100%);
}

.world-pink .magical-effect {
    background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, rgba(255,105,180,0.03) 100%);
}

.world-blue .magical-effect {
    background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, rgba(135,206,235,0.03) 100%);
}

.world-red .magical-effect {
    background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, rgba(255,69,0,0.03) 100%);
}

.world-green .magical-effect {
    background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 60%, rgba(50,205,50,0.03) 100%);
}

@keyframes magicalBorderFlow {
    0%, 100% { 
        background-position: 0% 0%;
        border-color: rgba(255,255,255,0.1);
    }
    25% { 
        background-position: 100% 0%;
        border-color: rgba(255,255,255,0.2);
    }
    50% { 
        background-position: 100% 100%;
        border-color: rgba(255,255,255,0.3);
    }
    75% { 
        background-position: 0% 100%;
        border-color: rgba(255,255,255,0.2);
    }
}

/* Monde Noir - Les Ombres */
.world-dark {
    left: 0;
    box-shadow: inset 0 0 150px rgba(0,0,0,0.9);
}

.world-dark .world-image img {
    filter: brightness(0.1) contrast(400) saturate(0) blur(3px) grayscale(100%);
}

.world-dark .world-overlay {
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.95) 100%);
}

.world-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 60%);
    animation: voidPulse 12s ease-in-out infinite;
    z-index: 3;
}

/* Monde Rose - Les Rêves */
.world-pink {
    left: 20%;
    box-shadow: inset 0 0 100px rgba(255,105,180,0.1);
}

.world-pink::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,105,180,0.1) 0%, transparent 60%);
    animation: dreamFloat 10s ease-in-out infinite;
    z-index: 3;
}

/* Monde Bleu - Les Cieux */
.world-blue {
    left: 40%;
    box-shadow: inset 0 0 100px rgba(135,206,235,0.1);
}

.world-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(135,206,235,0.1) 0%, transparent 50%);
    animation: skyDrift 12s ease-in-out infinite;
    z-index: 3;
}

/* Monde Rouge - Les Flammes */
.world-red {
    left: 60%;
    box-shadow: inset 0 0 100px rgba(255,69,0,0.1);
}

.world-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,69,0,0.1) 0%, transparent 40%);
    animation: flameFlicker 6s ease-in-out infinite;
    z-index: 3;
}

/* Monde Vert - Les Forêts */
.world-green {
    left: 80%;
    box-shadow: inset 0 0 100px rgba(50,205,50,0.1);
}

.world-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(50,205,50,0.1) 0%, transparent 55%);
    animation: forestSway 14s ease-in-out infinite;
    z-index: 3;
}

/* Animations des mondes */
@keyframes voidPulse {
    0%, 100% { opacity: 0.02; transform: scale(1) rotate(0deg); }
    25% { opacity: 0.05; transform: scale(1.01) rotate(0.5deg); }
    50% { opacity: 0.08; transform: scale(1.02) rotate(1deg); }
    75% { opacity: 0.05; transform: scale(1.01) rotate(0.5deg); }
}

@keyframes shadowPulse {
    0%, 100% { opacity: 0.05; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.15; transform: scale(1.02) rotate(1deg); }
}

@keyframes dreamFloat {
    0%, 100% { transform: translateY(0px) scale(1) rotate(0deg); }
    25% { transform: translateY(-5px) scale(1.01) rotate(0.5deg); }
    50% { transform: translateY(-10px) scale(1.02) rotate(1deg); }
    75% { transform: translateY(-5px) scale(1.01) rotate(0.5deg); }
}

@keyframes skyDrift {
    0%, 100% { transform: translateX(0px) translateY(0px) scale(1); }
    33% { transform: translateX(8px) translateY(-3px) scale(1.01); }
    66% { transform: translateX(-5px) translateY(5px) scale(1.005); }
}

@keyframes flameFlicker {
    0%, 100% { opacity: 0.1; transform: scale(1) rotate(0deg); }
    25% { opacity: 0.2; transform: scale(1.02) rotate(0.5deg); }
    50% { opacity: 0.15; transform: scale(0.98) rotate(-0.5deg); }
    75% { opacity: 0.25; transform: scale(1.01) rotate(0.3deg); }
}

@keyframes forestSway {
    0%, 100% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    33% { transform: translateX(-3px) translateY(-2px) rotate(-0.3deg); }
    66% { transform: translateX(2px) translateY(1px) rotate(0.2deg); }
}

/* Contenu principal */
.main-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.title-container {
    margin-bottom: 4rem;
    animation: titleGlow 6s ease-in-out infinite;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 900;
    text-shadow: 
        0 0 20px rgba(255,255,255,0.3),
        0 0 40px rgba(255,255,255,0.2),
        0 0 60px rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.9);
    animation: textLuminosity 4s ease-in-out infinite;
    position: relative;
}

.main-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: textShine 6s ease-in-out infinite;
    pointer-events: none;
}

.subtitle {
    font-size: 1.4rem;
    opacity: 0.7;
    font-weight: 400;
    text-shadow: 0 0 15px rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
}



.discord-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.discord-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #7289da, #5865f2, #4752c4);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(114, 137, 218, 0.3);
    border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.discord-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.discord-button:hover::before {
    left: 100%;
}

.discord-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(114, 137, 218, 0.5);
    background: linear-gradient(135deg, #5865f2, #7289da, #4752c4);
    border-color: rgba(255,255,255,0.3);
}

/* Section de connexion */
.login-section {
    margin-top: 2rem;
    text-align: center;
}

.login-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.login-button:hover::before {
    left: 100%;
}

.login-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffed4e, #ffd700, #ffed4e);
    border-color: rgba(255,255,255,0.3);
}



/* Animations du contenu principal */
@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(255,255,255,0.3), 0 0 40px rgba(255,255,255,0.2), 0 0 60px rgba(255,255,255,0.1);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 25px rgba(255,255,255,0.4), 0 0 50px rgba(255,255,255,0.3), 0 0 75px rgba(255,255,255,0.2);
        transform: scale(1.02);
    }
}

@keyframes constructionPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }
    50% { 
        transform: scale(1.01);
        box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    }
}

@keyframes textLuminosity {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(255,255,255,0.3), 0 0 40px rgba(255,255,255,0.2), 0 0 60px rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.9);
    }
    50% { 
        text-shadow: 0 0 30px rgba(255,255,255,0.5), 0 0 60px rgba(255,255,255,0.3), 0 0 90px rgba(255,255,255,0.2);
        color: rgba(255,255,255,1);
    }
}

@keyframes textShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Effets visuels */

/* Trail du curseur */
.cursor-trail {
    position: fixed;
    width: 0px;
    height: 0px;
    background: transparent;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transition: all 0.05s ease;
}

/* Éléments flottants */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* Contrôle audio */
.audio-control {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
}

.audio-button {
    background: rgba(0,0,0,0.7);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.audio-button:hover {
    background: rgba(0,0,0,0.8);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.audio-icon {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.audio-button.muted .audio-icon {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    /* Désactiver tous les effets visuels sur mobile */
    .world-container {
        display: none;
    }
    
    .cursor-trail,
    .floating-elements,
    .magical-border,
    .magical-effect,
    .world-overlay::before,
    .world::before {
        display: none !important;
    }
    
    /* Masquer les contrôles audio */
    .audio-control {
        display: none;
    }
    
    /* Afficher le message mobile et masquer le message desktop */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* Afficher explicitement le message mobile sur mobile */
    .mobile-message.mobile-only {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: auto !important;
    }
    
    /* Masquer explicitement le message desktop sur mobile */
    .desktop-message.desktop-only {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Style pour mobile - fond simple */
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem;
    }
    
    /* Contenu principal centré */
    .main-content {
        position: relative;
        z-index: 10;
        text-align: center;
        max-width: 100%;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
    }
    
    /* Titre adapté mobile */
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }
    
    /* Bouton Discord adapté mobile */
    .discord-section {
        margin-top: 2rem;
    }
    
    .discord-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .discord-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        min-width: 200px;
    }
    

    

}

/* Classes pour affichage conditionnel */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

/* Afficher explicitement le message desktop sur desktop */
.desktop-message.desktop-only {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Masquer explicitement le message mobile sur desktop */
.mobile-message.mobile-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Conteneur des messages de statut */
.status-notice {
    margin-top: 2rem;
    text-align: center;
}

/* Message pour desktop */
.desktop-message {
    background: transparent;
    border: none;
    padding: 0.5rem;
    animation: constructionPulse 4s ease-in-out infinite;
    box-shadow: none;
}

.desktop-message p {
    font-size: 1.2rem;
    opacity: 0.8;
    animation: constructionPulse 4s ease-in-out infinite;
}

/* Message pour mobile */
.mobile-message {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mobile-message h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.mobile-message p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.mobile-message .pc-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}





@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .discord-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .mobile-message {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .mobile-message h3 {
        font-size: 1.3rem;
    }
    
    .mobile-message p {
        font-size: 0.9rem;
    }
} 