* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-image: url('Gemini_Generated_Image_2hdawg2hdawg2hda.jpg'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* POSICIONAMIENTO EXACTO SOBRE LA IMAGEN */
.countdown-wrapper {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.form-wrapper {
    position: absolute;
    top: 81%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/* ESTILOS DEL CONTADOR - EFECTO FLIP CLOCK */
.countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.digits {
    display: flex;
    gap: 4px;
}

.digit-box {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 10px 14px;
    min-width: 42px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.split-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.digit-box span {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-variant-numeric: tabular-nums;
}

.colon {
    font-size: 3rem;
    color: #ffffff;
    font-weight: 300;
    margin-top: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.label {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 400;
}

/* ESTILOS DEL FORMULARIO TIPO PILL BLANCA */
.notify-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 6px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.notify-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-size: 1rem;
    color: #333;
    outline: none;
    font-family: inherit;
    min-width: 200px;
}

.notify-form input::placeholder {
    color: #888;
}

.notify-form button {
    background: #1e7033; /* Verde oscuro basado en la referencia */
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.notify-form button:hover {
    background: #145023;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .digit-box { padding: 8px 10px; min-width: 35px; }
    .digit-box span { font-size: 2.5rem; }
    .colon { font-size: 2.5rem; margin-top: 5px; }
    .countdown { gap: 8px; }
}

@media (max-width: 600px) {
    .countdown-wrapper { top: 46%; }
    .form-wrapper { top: 84%; }
    
    .countdown { gap: 4px; }
    .digits { gap: 2px; }
    
    .digit-box { padding: 6px 8px; min-width: 30px; border-radius: 6px; }
    .digit-box span { font-size: 2rem; }
    .colon { font-size: 2rem; margin-top: 2px; }
    .label { font-size: 0.85rem; }
}

@media (max-width: 400px) {
    .countdown-wrapper { top: 45%; }
    .form-wrapper { top: 85%; }
    
    .digit-box { padding: 4px 6px; min-width: 25px; }
    .digit-box span { font-size: 1.5rem; }
    .colon { font-size: 1.5rem; }
    .label { font-size: 0.75rem; }
    
    .notify-form input { padding: 10px 15px; font-size: 0.9rem; }
    .notify-form button { padding: 10px 20px; font-size: 0.85rem; }
}

@media (max-height: 500px) {
    .countdown-wrapper { top: 48%; }
    .form-wrapper { top: 85%; }
    
    .digit-box { padding: 4px 8px; }
    .digit-box span { font-size: 1.8rem; }
    .colon { font-size: 1.8rem; }
}
