@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at top, #1a1a1a, #0a0a0a 70%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Contenedor principal */
.container {
    max-width: 850px;
    margin: 60px auto;
    padding: 40px 30px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 15px;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, #FFD700, #FFA500) 1;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
    animation: fadeIn 1.2s ease-in-out;
}

header img {
    max-width: 220px;
    margin-bottom: 25px;
}

/* Texto principal (CTA) */
.cta-text {
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    animation: shine 6s linear infinite;
    margin-bottom: 20px;
}

/* Imagen promocional */
.promo {
    margin: 25px 0;
}

.promo img {
    max-width: 85%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
    transition: transform 0.3s ease;
}

.promo img:hover {
    transform: scale(1.03);
}

/* Botones generales */
form button {
    padding: 15px 35px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border: none;
    border-radius: 30px;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(255, 215, 0, 0.4);
}

form button:hover {
    background: linear-gradient(90deg, #FFA500, #FFD700);
    box-shadow: 0 8px 18px rgba(255, 215, 0, 0.6);
    color: #111;
    transform: translateY(-2px) scale(1.02);
}

/* Botón especial de registro */
#registroBtn {
    background-color: transparent;
    color: #FFD700;
    font-size: 22px;
    padding: 15px 45px;
    border: 3px solid #FFD700;
    cursor: pointer; 
    border-radius: 35px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 12px rgba(255, 215, 0, 0.35);
    display: block;
    margin: 25px auto;
    position: relative;
    overflow: hidden;
}

#registroBtn:hover {
    background-color: #FFD700;
    color: #000;
    border-color: #FFA500;
    box-shadow: 0px 8px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px) scale(1.05);
}

/* Shimmer effect */
#registroBtn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transform: skewX(-20deg);
}

#registroBtn:hover::before {
    animation: shimmer 1s ease-in-out;
}

/* Footer */
footer {
    margin-top: auto;
    font-size: 14px;
    color: #ccc;
    padding: 20px 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

footer a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    text-decoration: underline;
    color: #FFA500;
}

/* Animaciones */
@keyframes shimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}

@keyframes shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   OPTIMIZACIÓN PARA MOBILE
   ========================= */
@media (max-width: 768px) {
    .container {
        margin: 30px 15px;
        padding: 25px 20px;
    }

    header img {
        max-width: 160px;
        margin-bottom: 15px;
    }

    .cta-text {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .promo img {
        max-width: 100%;
        border-radius: 10px;
    }

    form button {
        width: 100%;
        font-size: 16px;
        padding: 14px;
    }

    #registroBtn {
        width: 100%;
        font-size: 18px;
        padding: 14px;
    }

    footer {
        font-size: 12px;
        padding: 15px 10px;
    }
}

/* Ajustes extra para pantallas muy pequeñas (ej: 360px ancho) */
@media (max-width: 480px) {
    .cta-text {
        font-size: 20px;
    }

    form button, 
    #registroBtn {
        font-size: 16px;
        padding: 12px;
    }
}