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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e1e24 0%, #0f0f12 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Animaciones de Fondo */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background: rgba(227, 27, 35, 0.1);
    border-radius: 50%;
    bottom: -100px;
    animation: floatUp 12s infinite linear;
}

.b1 { width: 80px; height: 80px; left: 10%; animation-duration: 10s; }
.b2 { width: 40px; height: 40px; left: 30%; animation-duration: 15s; animation-delay: 2s; background: rgba(255,255,255,0.05); }
.b3 { width: 120px; height: 120px; left: 75%; animation-duration: 18s; animation-delay: 1s; }
.b4 { width: 60px; height: 60px; left: 50%; animation-duration: 11s; animation-delay: 5s; }
.b5 { width: 90px; height: 90px; left: 85%; animation-duration: 14s; background: rgba(255,255,255,0.03); }

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

.container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    text-align: center;
    padding: 40px 20px;
}

header {
    margin-bottom: 30px;
}

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.3));
}

/* Grifo Animado */
.animation-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
}

.faucet-icon {
    width: 100%;
    height: 100%;
    position: relative;
}

.faucet-svg {
    width: 100px;
    height: 100px;
}

.handle-animated {
    transform-origin: 45px 23.5px;
    animation: turnHandle 4s infinite ease-in-out;
}

@keyframes turnHandle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

.drop {
    position: absolute;
    top: 65px;
    left: 27px;
    width: 12px;
    height: 12px;
    background: #e31b23;
    border-radius: 0 100% 100% 100%;
    transform: rotate(45deg);
    animation: drip 2s infinite cubic-bezier(0.5, 0, 0.7, 0.4);
}

@keyframes drip {
    0% { top: 65px; opacity: 1; transform: scale(0.5) rotate(45deg); }
    50% { top: 120px; opacity: 1; transform: scale(1) rotate(45deg); }
    80% { top: 130px; opacity: 0; transform: scale(1.2) rotate(45deg); }
    100% { top: 65px; opacity: 0; }
}

.title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #b3b3b3;
    margin-bottom: 40px;
}

/* Cuenta Regresiva */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.time-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    min-width: 90px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: #e31b23;
}

.time-box span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #e31b23;
}

.time-box label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #a0a0a0;
}

/* Formulario */
.subscription-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-text {
    font-size: 0.95rem;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 20px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.input-group button {
    background: #e31b23;
    color: #fff;
    border: none;
    outline: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group button:hover {
    background: #cc141a;
    transform: scale(1.02);
}

.btn-drop {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

footer {
    margin-top: 50px;
    font-size: 0.8rem;
    color: #666;
}

@media(max-width: 600px) {
    .title { font-size: 1.6rem; }
    .countdown { gap: 10px; }
    .time-box { min-width: 70px; padding: 10px; }
    .time-box span { font-size: 1.4rem; }
    .input-group { flex-direction: column; background: transparent; border: none; gap: 10px; padding: 0; }
    .input-group input { background: rgba(255,255,255,0.08); padding: 15px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); }
    .input-group button { width: 100%; justify-content: center; padding: 15px; }
}
