body { 
    font-family: 'Segoe UI', sans-serif; 
    background-color: #f4f6f8; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    margin: 0; 
}

/* Quitamos padding-bottom para que el footer pegue abajo */
.main-container { 
    background: white; 
    width: 100%; 
    max-width: 450px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

h1 { 
    text-align: center; 
    color: #333; 
    font-size: 1.5rem; 
    margin: 25px 0 15px 0; /* Margen inferior reducido para acercar el banner */
}

/* --- NUEVO: ESTILO DEL BANNER INFORMATIVO --- */
.info-banner {
    background-color: #e8f0fe; /* Azul muy suave */
    color: #1a73e8;            /* Azul fuerte para texto */
    margin: 0 25px 20px 25px;  /* Márgenes laterales alineados con el contenido */
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 15px; /* Espacio entre elementos */
    border: 1px solid #d0e2fb; /* Borde sutil */
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.separator {
    color: #a0c0e8; /* Un punto separador más claro */
}

.info-item i {
    font-size: 1rem;
}

/* Ajuste para móviles muy pequeños */
@media (max-width: 350px) {
    .info-banner {
        flex-direction: column;
        gap: 5px;
    }
    .separator { display: none; }
}

/* --- CONTENIDO PRINCIPAL --- */
.content-box { padding: 0 25px 25px 25px; }

/* INPUTS */
.input-group input { width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 10px; font-size: 14px; box-sizing: border-box; outline: none; transition: 0.3s; }
.input-group input:focus { border-color: #ff0000; }

/* OPCIONES */
.options-grid { display: flex; gap: 15px; margin-top: 15px; margin-bottom: 20px; }
.option-box { flex: 1; }
.option-box label { display: block; font-size: 0.8rem; color: #777; margin-bottom: 5px; }
select { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #ddd; background: white; cursor: pointer; }

/* BOTONES */
button.btn-yt { width: 100%; padding: 15px; color: white; border: none; border-radius: 10px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; background-color: #ff0000; }
button.btn-yt:hover { background-color: #cc0000; }
button:disabled { background: #ccc !important; cursor: not-allowed; }

/* PROGRESO */
.status-area { margin: 0 25px 25px 25px; }
.progress-container { height: 10px; background: #eee; border-radius: 5px; overflow: hidden; }
.progress-bar { height: 100%; width: 0%; background: #4caf50; transition: width 0.4s; }
#statusText { text-align: center; font-size: 0.85rem; color: #555; margin-top: 8px; }

/* --- BARRA DE PIE DE PÁGINA (FOOTER) --- */
.footer-bar {
    background-color: #f1f3f4; /* Gris suave */
    padding: 15px 25px;
    display: flex;
    justify-content: space-between; /* Separa los elementos a los extremos */
    align-items: center;
    border-top: 1px solid #e0e0e0;
    font-size: 0.8rem;
    margin-top: auto; /* Empuja el footer al fondo si sobra espacio */
}

.footer-bar .brand-text {
    color: #666;
    font-weight: 600;
}

.footer-bar .terms-link {
    color: #888;
    text-decoration: none;
    transition: 0.2s;
}

.footer-bar .terms-link:hover {
    color: #333;
    text-decoration: underline;
}

/* --- ESTILOS DEL MODAL (Pop-up) --- */
.modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000; /* Siempre encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(5px); /* Efecto borroso bonito */
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 10% auto; /* 10% desde arriba y centrado */
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px; /* Ancho máximo */
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.3s;
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.4rem;
    border-bottom: 2px solid #f4f6f8;
    padding-bottom: 10px;
}

.modal-body {
    max-height: 60vh; /* Si es muy largo, hace scroll */
    overflow-y: auto;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    text-align: left; /* Texto justificado a la izquierda para leer mejor */
}

.modal-body h3 {
    color: #333;
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Botón de cerrar (X) */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close-btn:hover { color: #000; }

/* Botón inferior */
.btn-close-modal {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    font-weight: 600;
}
.btn-close-modal:hover { background-color: #000; }

/* --- NUEVO: SECCIÓN SEO Y PREGUNTAS FRECUENTES --- */
.seo-content {
    margin-top: 20px;
    padding: 20px 25px; /* Alineado con el padding de .content-box */
    background-color: #fafafa; /* Un fondo muy sutil para diferenciarlo */
    border-top: 1px solid #eee;
    text-align: left; /* Alineación a la izquierda para mejor lectura */
}

.seo-content h2 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center; /* El título queda mejor centrado */
}

.faq-item {
    margin-bottom: 15px;
}

.faq-item strong {
    display: block;
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.faq-item p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Por defecto, el anuncio se muestra */
.ads-pc-only {
    display: block;
}

/* Animaciones */
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes slideUp { from {transform: translateY(50px);} to {transform: translateY(0);} }