* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0d1b2a;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main-container {
    width: 100%;
    max-width: 420px;
    padding: 12px;
}

.video-card {
    position: relative;
    width: 100%;
    height: 85vh; /* Se adapta a la pantalla del celular */
    max-height: 750px;
    background-color: #000000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* El video ocupa el 100% de la tarjeta */
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Clave: recorta los bordes limpios sin estirar la imagen */
    display: block;
}

/* Capa flotante con el botón Call to Action */
.cta-overlay {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(8px);
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 10;
}

.cta-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}

.cta-message {
    font-size: 0.88rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #e0e1dd;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}