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

:root {
    --mauve-fonce: #6B46C1;
    --mauve-clair: #A78BFA;
    --rose: #EC4899;
    --jaune: #FFA500;
    --violet: #451288;
    --rose-clair: #F9A8D4;
    --jaune-clair: #FFC107;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    background: #ffffff;
    position: relative;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Animations de fond */
.background-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 20s infinite ease-in-out, colorShift 8s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--mauve-clair), var(--violet));
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--rose), #ff015d);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--jaune), var(--jaune-clair));
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--rose-clair), var(--rose));
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.shape-5 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--violet), var(--mauve-clair));
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 19s;
}

.shape-6 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--jaune-clair), var(--jaune));
    top: 50%;
    left: 5%;
    animation-delay: 5s;
    animation-duration: 17s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

@keyframes colorShift {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        filter: hue-rotate(15deg) brightness(1.1);
    }
    50% {
        filter: hue-rotate(30deg) brightness(1);
    }
    75% {
        filter: hue-rotate(15deg) brightness(1.1);
    }
}

/* Contenu principal */
.content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 2px solid rgba(69, 18, 136, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease-out;
}

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

.logo-container {
    margin-bottom: 40px;
    margin-top: -20px;
}

.logo {
    font-size: 3rem;
    font-weight: 800;
    color: #ff015d;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(20deg);
    }
}

.logo-subtitle {
    font-size: 1.2rem;
    color: #451288;
    font-weight: 300;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.message-container {
    margin-bottom: 40px;
}

.message-icon {
    margin-bottom: 20px;
    animation: moveUpDown 3s ease-in-out infinite;
    display: inline-block;
}

.message-icon img {
    width: 250px;
    height: auto;
    max-width: 300px;
    object-fit: contain;
}

@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(30px);
    }
}

.main-message {
    font-size: 2.5rem;
    color: #451288;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(69, 18, 136, 0.2);
    animation: slideIn 1.2s ease-out;
}

.sub-message {
    font-size: 1.3rem;
    color: #451288;
    margin-bottom: 15px;
    font-weight: 400;
    animation: slideIn 1.4s ease-out;
}

.return-message {
    font-size: 1.1rem;
    color: var(--jaune);
    font-weight: 600;
    animation: slideIn 1.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Indicateur de chargement */
.loading-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.loading-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--jaune);
    animation: loadingBounce 1.4s ease-in-out infinite, pulseColor 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
}

.loading-dot:nth-child(1) {
    animation-delay: 0s;
    background: var(--jaune);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.9);
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
    background: #ff015d;
    box-shadow: 0 0 20px rgba(255, 1, 93, 0.8);
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--violet);
    box-shadow: 0 0 20px rgba(69, 18, 136, 0.8);
}

@keyframes loadingBounce {
    0%, 80%, 100% {
        transform: scale(0.8) translateY(0);
        opacity: 0.7;
    }
    40% {
        transform: scale(1.2) translateY(-20px);
        opacity: 1;
    }
}

@keyframes pulseColor {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.3) saturate(1.2);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
    }
    
    .main-message {
        font-size: 1.8rem;
    }
    
    .sub-message {
        font-size: 1.1rem;
    }
    
    .content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .shape {
        width: 150px !important;
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .main-message {
        font-size: 1.5rem;
    }
    
    .message-icon {
        font-size: 3rem;
    }
}

