/**
 * Estilos para la landing del streaming
 */

.streaming-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
}

/* Contenido principal - Layout de dos columnas */
.streaming-content {
    flex: 1;
    padding: 60px 24px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.streaming-content-container {
    width: 100%;
}

.streaming-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Columna izquierda: Contenido */
.streaming-content-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

/* Logo BAIC */
.streaming-logo-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

.streaming-logo-main {
    height: 60px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.streaming-title {
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 40px; /* 2xl */
    line-height: 1.15;
    letter-spacing: 0%;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    color: #000;
    width: 100%;
    text-align: left;
}

.streaming-description {
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px; /* lg */
    line-height: 1.45;
    letter-spacing: 0%;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    color: #000;
    width: 100%;
    text-align: left;
}

/* Contador regresivo - Estilo tipo contador digital */
.streaming-countdown {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 16px;
    margin: 40px 0;
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
}

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

.countdown-value {
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    min-width: 110px;
    text-align: center;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.countdown-label {
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-transform: lowercase;
    margin: 0;
    letter-spacing: 0%;
}

.countdown-separator {
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
    font-size: 96px;
    font-weight: 700;
    color: #000;
    margin: 0 8px;
    line-height: 1;
    padding-top: 0;
    letter-spacing: -0.03em;
}

/* Botón Recordar evento - Especificaciones exactas de Figma */
.btn-recordar {
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
    width: 202px;
    height: 40px;
    padding-top: 8px; /* Space/100 - valor típico */
    padding-right: 32px; /* Space/400 - valor típico */
    padding-bottom: 8px; /* Space/100 */
    padding-left: 32px; /* Space/400 */
    border-radius: 0px;
    border: 2px solid black;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    color: #000;
    letter-spacing: 0%;
    box-shadow: none;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    box-sizing: border-box;
}

.btn-recordar:hover {
    background: #000;
    color: #fff;
}

/* Asegurar que el contenedor del botón esté centrado */
.subscription-step-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.subscription-step-1.active {
    display: flex !important;
}

/* Columna derecha: Video player */
.streaming-content-right {
    position: sticky;
    top: 100px;
    align-self: start;
}

.streaming-video-section {
    width: 100%;
}

.streaming-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.streaming-video-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.streaming-video-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.streaming-action-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.streaming-action-btn:hover {
    opacity: 0.7;
}

.streaming-action-label {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.streaming-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.streaming-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.streaming-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.streaming-video-text {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.streaming-video-hecho {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.streaming-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    width: fit-content;
}

.streaming-video-link:hover {
    opacity: 0.7;
}

.streaming-video-link svg {
    height: 20px;
    width: auto;
}

/* Formulario de suscripción */
.streaming-subscription {
    margin: 0px 0 0 0;
    width: 100%;
}

.subscription-step {
    display: none;
    width: 100%;
}

.subscription-step.active {
    display: block;
    width: 100%;
}

/* Botones generales de streaming - Mismos estilos que btn-recordar */
.btn-streaming {
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
    width: 100%;
    height: 40px;
    padding-top: 8px; /* Space/100 - valor típico */
    padding-right: 32px; /* Space/400 - valor típico */
    padding-bottom: 8px; /* Space/100 */
    padding-left: 32px; /* Space/400 */
    border-radius: 0px;
    border: 2px solid black;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    color: #000;
    letter-spacing: 0%;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    box-sizing: border-box;
}

.btn-streaming:hover {
    background: #000;
    color: #fff;
}

.btn-streaming:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.streaming-subscription-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
    width: 100%;
}

.streaming-email-input {
    padding: 8px 0;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #000;
    border-radius: 0;
    outline: none;
    background: transparent;
    transition: border-color 0.2s;
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
}

.streaming-email-input:focus {
    border-bottom-color: #000;
}

.streaming-email-input::placeholder {
    color: #999;
}

.streaming-confirmation-message {
    font-family: "HarmonyOS Sans SC", system-ui, sans-serif;
    font-size: 16px;
    color: #000;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Responsive */
@media (max-width: 1024px) {
    .streaming-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .streaming-content-right {
        position: static;
    }
    
    /* Contador en tablet */
    .countdown-value {
        font-size: 72px;
        min-width: 85px;
    }
    
    .countdown-separator {
        font-size: 72px;
    }
}

@media (max-width: 768px) {
    .streaming-content {
        padding: 24px 16px;
    }
    
    .streaming-main-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    
    .streaming-content-left {
        padding-left: 0;
        gap: 24px;
        width: 100%;
        align-items: flex-start;
        order: 1; /* Contenido primero: Título, Bajada, Contador, Formulario */
    }
    
    .streaming-content-right {
        width: 100%;
        order: 2; /* Video después del contenido */
    }
    
    .streaming-logo-container {
        width: 100%;
    }
    
    .streaming-logo-main {
        height: 40px;
    }
    
    .streaming-title {
        font-size: 32px;
        line-height: 1.5;
        width: 100%;
    }
    
    .streaming-description {
        font-size: 16px;
        line-height: 1.5;
        width: 100%;
    }
    
    /* Contador en mobile */
    .streaming-countdown {
        gap: 6px;
        margin: 24px auto;
        justify-content: center;
        flex-wrap: wrap;
        align-items: baseline;
    }
    
    .countdown-value {
        font-size: 48px;
        min-width: 60px;
    }
    
    .countdown-separator {
        font-size: 48px;
        margin: 0 4px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    /* Botón en mobile */
    .btn-recordar {
        width: 100%;
        max-width: 100%;
    }
    
    .btn-streaming {
        width: 100%;
        max-width: 100%;
    }
    
    .streaming-subscription {
        margin: 24px 0 0 0;
        width: 100%;
    }
    
    .subscription-step-1 {
        width: 100%;
    }
    
    .streaming-subscription-form {
        max-width: 100%;
        width: 100%;
    }
    
    .streaming-email-input {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Video en mobile */
    .streaming-video-section {
        margin: 0;
        width: 100%;
    }
    
    .streaming-video-header {
        margin-bottom: 12px;
        padding: 0 4px;
    }
    
    .streaming-video-logo-text {
        font-size: 12px;
    }
    
    .streaming-video-actions {
        gap: 12px;
    }
    
    .streaming-action-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .streaming-action-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .streaming-video-player {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    
    .streaming-video-text {
        margin-top: 12px;
        padding: 0 4px;
    }
    
    .streaming-video-hecho {
        font-size: 12px;
    }
    
    .streaming-video-link {
        font-size: 12px;
    }
    
    .streaming-video-link svg {
        width: 16px;
        height: 16px;
    }
    
    .streaming-play-btn svg {
        width: 50px;
        height: 50px;
    }
}
