/* Estilos Globales y Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Envoltorio de la página para centrar el lienzo en pantallas grandes */
.page-wrapper {
    background: linear-gradient(135deg, #fcedf2 0%, #e3e6f5 100%);
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Contenedor con Formato Estricto 9:16 */
.card-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 420px; /* Ancho máximo de un móvil estándar */
    height: 100vh;
    max-height: calc(100vh - 40px); /* Deja un pequeño margen arriba/abajo en pantallas grandes */
    aspect-ratio: 9 / 16; /* Fuerza la proporción 9:16 */
    
    /* Configuración Flexbox para distribuir el contenido verticalmente de forma perfecta */
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Ajuste automático para pantallas móviles nativas (ocupa todo el alto y ancho) */
@media (max-width: 480px) {
    .page-wrapper {
        background: #ffffff;
    }
    .card-container {
        max-height: 100vh;
        border-radius: 0;
        box-shadow: none;
        border: none;
        padding: 40px 25px;
    }
}

/* 1. Sección del Logotipo */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    width: 100%;
    max-width: 160px;
    height: auto;
    object-fit: contain;
}

/* 2. Aviso de Estado (Centro) */
.status-notice {
    margin: 10px 0;
}

.status-icon {
    font-size: 2.5rem;
    color: #ffb74d;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.status-notice h2 {
    font-size: 1.4rem;
    color: #37474f;
    margin-bottom: 8px;
    font-weight: 600;
}

.status-notice p {
    font-size: 0.95rem;
    color: #78909c;
    line-height: 1.5;
}

/* 3. Botones de Acción */
.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn:active {
    transform: scale(0.97);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
}

.btn-prices {
    background-color: #ec407a; /* Rosa pastel */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(236, 64, 122, 0.2);
}

.btn-prices:hover {
    background-color: #d81b60;
}

/* 4. Bloque Inferior (Gráfica y Footer) */
.bottom-section {
    width: 100%;
    margin-top: 10px;
}

.progress-box {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.progress-label {
    display: block;
    font-size: 0.82rem;
    color: #546e7a;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: left;
}

.progress-bar-bg {
    background-color: #eceff1;
    border-radius: 6px;
    height: 10px;
    width: 100%;
    overflow: hidden;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #ff8a80, #ffb74d, #a5d6a7, #81d4fa, #b39ddb);
    width: 65%;
    height: 100%;
    border-radius: 6px;
    animation: fillProgress 2.5s ease-out forwards;
}

.card-footer {
    font-size: 0.75rem;
    color: #b0bec5;
}

/* Animaciones */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 65%; }
}