/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f0f4f8;
    position: relative;
}

/* --- LE FOND ANIMÉ (Les bulles de couleur) --- */
.background-blobs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px); /* Le flou qui crée l'ambiance */
    opacity: 0.6;
    animation: move 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, #a8e6cf 0%, rgba(168, 230, 207, 0) 70%); /* Vert Menthe */
}

.blob-2 {
    bottom: -20%; right: -20%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, #dcedc1 0%, rgba(220, 237, 193, 0) 70%); /* Vert Tilleul */
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
     top: 40%; left: 50%; width: 40vw; height: 40vw;
     background: radial-gradient(circle, #a7c5eb 0%, rgba(167, 197, 235, 0) 70%); /* Bleu très doux */
     animation-delay: -10s;
     transform: translate(-50%, -50%);
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

/* --- LA CARTE EN VERRE (Glassmorphism) --- */
.glass-card {
    background: rgba(255, 255, 255, 0.45); /* Blanc semi-transparent */
    backdrop-filter: blur(30px) saturate(140%); /* Effet flou Apple */
    -webkit-backdrop-filter: blur(30px) saturate(140%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6); /* Bordure blanche lumineuse */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 
                inset 0 0 20px rgba(255, 255, 255, 0.5); /* Reflet interne */
    
    padding: 50px 40px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    position: relative;
    z-index: 10;
}

/* --- TYPOGRAPHIE --- */
.emoji-header { font-size: 3rem; margin-bottom: 20px; opacity: 0.9; }

h1 {
    color: #1a202c;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

p.subtitle {
    color: #4a5568;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- BOUTONS --- */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glass-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Effet verre pour les boutons aussi */
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #2d3748;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.glass-btn:hover {
    transform: translateY(-3px) scale(1.01);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Bouton Principal (Medoucine) */
.btn-primary {
    background: linear-gradient(135deg, rgba(58, 163, 133, 0.85), rgba(45, 128, 104, 0.9));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(58, 163, 133, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(58, 163, 133, 0.95), rgba(45, 128, 104, 1));
    box-shadow: 0 15px 30px rgba(58, 163, 133, 0.35);
}

.icon { width: 22px; height: 22px; margin-right: 12px; fill: currentColor; }

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    margin: 15px 0;
}

@media (max-width: 480px) {
    .glass-card { padding: 40px 25px; }
    h1 { font-size: 1.5rem; }
}