/* Importación de fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #f4f7f6; /* Fondo neutro para resaltar el contenedor */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Contenedor Principal --- */
.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    
    /* Configuración de imagen de fondo */
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("../MUNDIAL.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* --- Control del Logo --- */
.prize-image img {
    max-width: 160px; /* Tamaño controlado para que no sea invasivo */
    height: auto;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.1));
}

/* --- Títulos y Subtítulos --- */
h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.subtitle {
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: #555; /* Gris oscuro para legibilidad sobre fondo claro */
    line-height: 1.4;
}

/* --- Estilos del Formulario --- */
.input-group {
    margin-bottom: 18px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #ff8000; /* Naranja corporativo */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: "Poppins", sans-serif;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #ff8000;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.15);
}

/* Texto pequeño debajo de los inputs */
.help-text {
    font-size: 0.75rem;
    color: #777;
    margin-top: 4px;
    display: block;
}

/* --- Botón de Acción --- */
.cta-button {
    width: 100%;
    padding: 14px;
    background-color: #e63946; /* Rojo de la marca */
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

.cta-button:hover {
    background-color: #d62839;
    transform: translateY(-1px);
}

.cta-button:active {
    transform: scale(0.98);
}

/* --- Checkbox y Términos --- */
.terms-group {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin: 20px 0;
    font-size: 0.75rem;
    color: #666;
}

.terms-group input[type="checkbox"] {
    margin-top: 2px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #e63946;
}

.terms-group a {
    color: #e63946;
    font-weight: 600;
    text-decoration: none;
}

.terms-group a:hover {
    text-decoration: underline;
}

/* --- Pie de página --- */
footer {
    margin-top: 15px;
}

.terms {
    font-size: 0.7rem;
    color: #888;
    text-align: center;
}