/* Styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    overflow: hidden;
    height: 100vh;
}

/* Conteneur principal avec image de fond */
.background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 2s ease-in-out;
}

/* Overlay violet avec dégradé */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(102, 51, 153, 0.8) 0%, 
        rgba(102, 51, 153, 0.5) 50%, 
        rgba(102, 51, 153, 0.2) 100%);
    opacity: 0.9;
}

/* Contenu de bienvenue */
.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    color: white;
    animation: slideUp 1.5s ease-out;
}

.welcome-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.welcome-message {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Bouton avec animations */
.enter-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background-color: rgba(102, 51, 153, 0.7);
    color: white;
    border: 2px solid #FFD700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    letter-spacing: 1px;
}

.enter-button:hover {
    background-color: rgba(102, 51, 153, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.enter-button:active {
    transform: translateY(-2px);
}

.enter-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.enter-button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2.2rem;
    }
    
    .welcome-message {
        font-size: 1.1rem;
    }
    
    .enter-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .welcome-message {
        font-size: 0.9rem;
    }
    
    .background-container {
        background-position: 60% center;
    }
    
    .enter-button {
        padding: 0.7rem 1.5rem;
    }
}