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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 500px;
}

.logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.25s forwards;
}

.redirect-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.5s forwards;
}

.redirect-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.countdown {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.5s forwards;
}

.loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin-top: 1rem;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.5s forwards;
}

.progress {
    height: 100%;
    background: white;
    border-radius: 10px;
    animation: progress 3s linear forwards;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Particules flottantes */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 16px;
    height: 16px;
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    width: 10px;
    height: 10px;
    top: 40%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    p { font-size: 1rem; }
    .container { padding: 1rem; }
}