/* ============= RESET & BASE ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #030805 url('img/estadio.webp') center/cover no-repeat fixed;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at center, rgba(0, 30, 15, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(180deg, rgba(0, 20, 10, 0.6) 0%, transparent 40%, rgba(0, 20, 10, 0.8) 100%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============= TOP BAR ============= */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    gap: 10px;
}

.logo-top {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(0.75rem, 2.8vw, 1.05rem);
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    flex-shrink: 0;
}

.logo-brand { color: #ffffff; }
.logo-highlight { color: #00ff41; text-shadow: 0 0 8px rgba(0, 255, 65, 0.6); }
.logo-badge { background: #00ff41; color: #000000; font-size: 0.6em; font-weight: 900; padding: 1px 5px; border-radius: 4px; }

.badge-acceso {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(0.6rem, 2.2vw, 0.8rem);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 65, 0.5);
}

.badge-acceso .dot {
    width: 7px;
    height: 7px;
    background-color: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 6px #00ff41;
}

/* ============= MAIN GRID (FIJO Y CENTRADO) ============= */
.main-grid {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 680px) 1fr;
    gap: 20px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 20px 0 40px;
}

.center-content {
    grid-column: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.player-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 480px;
    overflow: hidden;
    min-width: 200px;
}

.player-left { grid-column: 1; }
.player-right { grid-column: 3; }

.player-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(0, 255, 65, 0.35)) brightness(0.95);
}

.player-left .player-image {
    transform: scaleX(-1) scale(0.85); 
    animation: float-left 4s ease-in-out infinite;
}

@keyframes float-left {
    0%, 100% { transform: scaleX(-1) scale(0.85) translateY(0); }
    50% { transform: scaleX(-1) scale(0.85) translateY(-12px); }
}

/* ============= CENTER CONTENT ============= */
.sub-header {
    font-family: 'Montserrat', sans-serif;
    color: #00ff41;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.main-title .highlight { color: #00ff41; text-shadow: 0 0 20px rgba(0, 255, 65, 0.6); }

.subtitle { font-size: 0.95rem; color: #a8e6b8; font-weight: 600; max-width: 500px; }

/* ============= INFO BOX ============= */
.info-box {
    background: rgba(5, 18, 12, 0.85);
    border: 1.5px solid rgba(0, 255, 65, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    backdrop-filter: blur(12px);
    max-width: 580px;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-item:first-child { padding-top: 0; }

.icon-circle {
    width: 38px;
    height: 38px;
    border: 1.5px solid #00ff41;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 65, 0.1);
    flex-shrink: 0;
}

.info-text { font-size: 0.875rem; color: #e0e0e0; font-weight: 600; text-align: left; }
.info-text .green { color: #00ff41; font-weight: 800; }

/* ============= OPTIONS SECTION ============= */
.options-section { width: 100%; max-width: 1100px; margin: 30px auto; }
.options-title { font-family: 'Montserrat', sans-serif; text-align: center; font-size: 1.8rem; font-weight: 900; margin-bottom: 40px; }
.options-title .green { color: #00ff41; }

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.option-card {
    position: relative;
    background: #060b08;
    border-radius: 20px;
    padding: 32px 24px 24px;
}

.option-card.cyan { border: 2px solid #00bfff; box-shadow: 0 0 20px rgba(0, 191, 255, 0.25); }
.option-card.green { border: 2px solid #00ff41; box-shadow: 0 0 20px rgba(0, 255, 65, 0.25); }

.badge-tag {
    position: absolute;
    top: -15px;
    padding: 6px 18px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
}

.badge-tag.left { left: 24px; }
.badge-tag.right { right: 24px; }

.option-card.cyan .badge-tag.left { background: #00bfff; color: #000; }
.option-card.cyan .badge-tag.right { background: #03141e; color: #00bfff; border: 1.5px solid #00bfff; }

.option-card.green .badge-tag.left { background: #00ff41; color: #000; }
.option-card.green .badge-tag.right { background: #03180b; color: #00ff41; border: 1.5px solid #00ff41; }

.brand-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.brand-icon { width: 75px; height: 75px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-icon svg { width: 42px; height: 42px; }

.option-card.cyan .brand-icon { border: 2px solid #00bfff; background: radial-gradient(circle, rgba(0, 191, 255, 0.2) 0%, rgba(0,0,0,0.8) 100%); color: #00bfff; }
.option-card.green .brand-icon { border: 2px solid #00ff41; background: radial-gradient(circle, rgba(0, 255, 65, 0.2) 0%, rgba(0,0,0,0.8) 100%); color: #00ff41; }

.brand-text h3 { font-family: 'Montserrat', sans-serif; font-size: 1.35rem; font-weight: 800; color: #fff; }
.brand-text h3 span { display: block; font-size: 1.8rem; font-weight: 900; }
.option-card.cyan .brand-text h3 span { color: #00bfff; }
.option-card.green .brand-text h3 span { color: #00ff41; }
.brand-text p { font-size: 0.85rem; color: #b0b0b0; }

/* ============= FORM & INPUT ============= */
.form-container { display: flex; flex-direction: column; gap: 16px; }

.input-box {
    background: #020503;
    border: 1px solid #222;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 14px;
}

.country-code { font-size: 0.75rem; color: #888; border-right: 1px solid #333; padding-right: 12px; text-align: center; }
.country-code strong { font-size: 0.95rem; color: #fff; }

input[type="tel"] {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    width: 100%;
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: filter 0.2s ease;
}

.option-card.cyan .btn-submit { background: linear-gradient(90deg, #0099ff 0%, #00d4ff 100%); color: #000; }
.option-card.green .btn-submit { background: linear-gradient(90deg, #00cc33 0%, #00ff41 100%); color: #000; }

.btn-sub { font-size: 0.7rem; font-weight: 800; opacity: 0.8; border-right: 1px solid rgba(0,0,0,0.2); padding-right: 10px; }
.btn-main { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 900; }

/* ============= MODAL ALERTA ============= */
.alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.alert-box {
    background: #0d1a12;
    border: 2px solid #00ff41;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    max-width: 360px;
    width: 100%;
}

.alert-icon { font-size: 2.5rem; margin-bottom: 10px; }
.alert-box h3 { font-family: 'Montserrat', sans-serif; color: #ffeb3b; margin-bottom: 8px; }
.alert-box p { font-size: 0.85rem; color: #ccc; margin-bottom: 20px; }
.alert-box button { background: #00ff41; border: none; padding: 10px 24px; border-radius: 8px; font-weight: 900; cursor: pointer; color: #000; }

/* ============= PRUEBAS EN VIDEO (OPTIMIZADO Y RESPONSIVO) ============= */
.proof-section { 
    width: 100%; 
    max-width: 650px; 
    margin: 40px auto; 
    text-align: center; 
}

.proof-badge { 
    display: inline-block; 
    background: rgba(0, 255, 65, 0.15); 
    color: #00ff41; 
    border: 1px solid #00ff41; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.75rem; 
    font-weight: 800; 
    padding: 5px 14px; 
    border-radius: 20px; 
    margin-bottom: 12px; 
}

.proof-title { 
    font-family: 'Montserrat', sans-serif; 
    font-size: clamp(1.2rem, 3.5vw, 1.7rem); 
    font-weight: 900; 
}

.proof-title .green { 
    color: #00ff41; 
}

/* MARCO CONTENEDOR */
.video-card { 
    width: 100%; 
    max-width: 320px; 
    background: #08100b; 
    border: 2px solid #00ff41; 
    border-radius: 18px; 
    padding: 8px; 
    margin: 20px auto 0; 
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.25);
    overflow: hidden;
}

/* VIDEO CON RELACIÓN DE ASPECTO FORZADA */
.proof-video { 
    width: 100%; 
    aspect-ratio: 9 / 16; /* Forzado de proporción vertical para prevenir pantallas en negro */
    height: auto;
    border-radius: 12px; 
    display: block; 
    background-color: #000000;
}

/* MARCO REDUCIDO */
.video-card { 
    width: 90%; 
    max-width: 320px; /* <--- Controla el ancho máximo del cuadro (ajusta este valor si lo quieres más chico o más grande) */
    background: #08100b; 
    border: 2px solid #00ff41; 
    border-radius: 18px; 
    padding: 8px; 
    margin: 20px auto 0; 
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.25);
    overflow: hidden;
}

/* VIDEO SIN RECORTES */
.proof-video { 
    width: 100%; 
    height: auto; 
    max-height: 520px; /* Limita el alto en pantallas grandes */
    border-radius: 12px; 
    display: block; 
    object-fit: contain; /* <--- Evita que el video se recorte por los lados */
}

/* ============= RESPONSIVE / ADAPTACIÓN MÓVIL ============= */
@media (max-width: 1024px) {
    .main-grid { grid-template-columns: 1fr; }
    .center-content { grid-column: 1; }
    .player-section { display: none; }
}

@media (max-width: 900px) {
    .options-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 580px) {
    .badge-acceso .extra-text { display: none; }
    .brand-row { flex-direction: column; text-align: center; }
    .btn-submit { flex-direction: column; gap: 2px; }
    .btn-sub { border-right: none; padding-right: 0; }
    .badge-tag { font-size: 0.65rem; padding: 4px 10px; }
}

/* ============= FIX RESPONSIVE MÓVIL ============= */

/* 1. Prevenir Scroll Horizontal en todo el sitio */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 2. Top Bar Responsive */
@media (max-width: 480px) {
    .top-bar {
        flex-wrap: wrap; /* Si no entra, permite salto de línea */
        justify-content: center;
        gap: 8px;
        padding: 8px 10px;
    }

    .logo-top, 
    .badge-acceso {
        font-size: 0.7rem; /* Reducimos tipografía */
        padding: 4px 8px;
        max-width: 100%;
        white-space: normal; /* Permite que el texto se acomode si es necesario */
        text-align: center;
    }

    /* 3. Ajuste de Títulos en Celular */
    .main-title {
        font-size: 1.25rem !important; /* Tamaño cómodo para 5"-6.5" */
        line-height: 1.2;
        padding: 0 10px;
    }

    .subtitle {
        font-size: 0.8rem;
        padding: 0 15px;
    }

    /* 4. Tarjeta Flotante (Info Box) */
    .info-box {
        padding: 14px 12px;
        margin: 0 10px;
        width: calc(100% - 20px);
    }

    .info-item {
        gap: 10px;
    }

    .icon-circle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .info-text {
        font-size: 0.78rem;
        line-height: 1.35;
    }
}