/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fondo blanco */
body {
    font-family: 'Poppins', sans-serif;

    background: #ffffff;   /* fondo blanco */
    color: #000000;        /* textos negros */

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Contenedor central */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Caja central */
.coming-container {
    text-align: center;
    width: 90%;
    max-width: 420px;
    padding: 2rem 1.8rem;
    margin: 0 auto;
}

/* Logo REFe (misma imagen, pero invertida para que se vea negro) */
.logo-refe {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin-bottom: 2.2rem;

    /* truco: invierte colores del PNG blanco para que se vea negro */
    filter: invert(1);
}

/* COMING SOON en negro, más chico */
.coming-container h1 {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    letter-spacing: 0.5rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #000000;
}

/* Puntitos animados en negro */
.loading-dots {
    display: inline-flex;
    gap: 0.4rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.3rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000000;   /* negro */
    opacity: 0.2;
    animation: dotPulse 1.2s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.2rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.footer .link {
    text-decoration: none;
    color: #000000;                     /* textos negros */
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.06);    /* gris muy clarito */
    padding: 0.5rem 1.4rem;
    border-radius: 999px;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer .link:hover {
    background: rgba(0, 0, 0, 0.12);
}

/* 📱 Móviles */
@media (max-width: 600px) {
    .coming-container {
        padding: 1.6rem 1.2rem;
        max-width: 360px;
    }

    .logo-refe {
        width: 95%;
    }
}

/* 💻 Tablet */
@media (min-width: 768px) {
    .coming-container {
        max-width: 520px;
        padding: 2.5rem 3rem;
    }

    .footer {
        flex-direction: row;
        justify-content: center;
    }

    .footer .link {
        font-size: 1rem;
        margin: 0 0.6rem;
    }
}

/* 🖥 Desktop grande */
@media (min-width: 1200px) {
    .coming-container {
        max-width: 580px;
    }
}
