.subtitle-chip{ display:inline-block; margin: 8px 0 10px 0; padding: 10px 14px; border-radius: 999px; font-weight: 900; letter-spacing:.08em; background: rgba(18,68,216,.14); border:1px solid rgba(18,68,216,.35); box-shadow: 0 8px 20px rgba(12,16,25,.22); color: #1244d8; }
.pill-row{ display:flex; align-items:center; gap:14px; justify-content:center; margin-bottom: 12px; }
.button-row{ display:flex; justify-content:center; }
/* Estilos principales para la Landing Page y Vista de Transmisión */

:root{
    --primary-blue:#1244d8;
    --primary-blue-dark:#0d33a5;
    --bg-light:#0f1115;
    --bg-dark:#0c0c0f;
    --surface:#15171c;
    --text-dark:#e9edf5;
    --text-light:#ffffff;
    --muted:#8f98a3;
    --border:rgba(18,68,216,.35);
    /* Compatibilidad con clases existentes */
    --brand-burgundy:var(--bg-dark);
    --brand-red:var(--primary-blue);
    --brand-red-dark:var(--primary-blue-dark);
    --brand-dark:var(--bg-dark);
    --brand-dark-2:var(--surface);
    --text:var(--text-light);
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--brand-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--brand-red);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #dd44af;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Evitar scroll en la vista principal */
html, body { height: 100%; }

/* Asegurar que el body sea scrolleable */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto; /* scroll habilitado por defecto */
}
.landing-wrapper {
    min-height: 100vh;
    height: 100vh; /* bloquear scroll en landing */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* centrar verticalmente */
    gap: 20px;
    padding: 16px 20px;
    position: relative; /* para líneas animadas */
    background:
        linear-gradient(180deg, #0f1115 0%, #141922 62%, #0c0c0f 100%);
    color: var(--text-dark);
    text-align: center;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: hidden; /* sin scroll solo en landing */
}
.landing-lines{ position:absolute; inset:0; pointer-events:none; }
.landing-lines .line{ position:absolute; bottom: 0; height: 62vh; width: 1px; background: linear-gradient(to top, rgba(18,68,216,.35), rgba(18,68,216,.09)); box-shadow: 0 0 6px rgba(18,68,216,.18); transform-origin: bottom; animation: growLine 5s ease-in-out infinite alternate; }
.landing-lines .line::before{ content:""; position:absolute; top:-4px; left:50%; transform: translateX(-50%); width: 8px; height: 8px; background: rgba(18,68,216,.34); border-radius: 50%; box-shadow: 0 0 10px rgba(18,68,216,.32); }
.landing-lines .line::after{ content:""; position:absolute; bottom:0; left:50%; transform: translateX(-50%); width: 2px; height: 100%; background: linear-gradient(to top, rgba(18,68,216,.28), rgba(18,68,216,0)); filter: blur(2px); opacity:.85; }


@keyframes growLine{
    0%{ height: 40vh; }
    100%{ height: 62vh; }
}

/* posiciones y delays para múltiples líneas */
.landing-lines .line:nth-child(1){ left: 6%; animation-delay: 0s; }
.landing-lines .line:nth-child(2){ left: 14%; animation-delay: .4s; animation-duration: 4.6s; }
.landing-lines .line:nth-child(3){ left: 22%; animation-delay: .8s; animation-duration: 5.2s; }
.landing-lines .line:nth-child(4){ left: 36%; animation-delay: 1.2s; animation-duration: 4.2s; }
.landing-lines .line:nth-child(5){ left: 52%; animation-delay: .2s; animation-duration: 5.4s; }
.landing-lines .line:nth-child(6){ left: 68%; animation-delay: .6s; animation-duration: 4.8s; }
.landing-lines .line:nth-child(7){ left: 82%; animation-delay: 1s; animation-duration: 5.6s; }
.landing-lines .line:nth-child(8){ left: 92%; animation-delay: 1.4s; animation-duration: 4.4s; }
.hero { width: 100%; max-width: 980px; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 0; }
.brand-logo {
    display: block;
    object-fit: contain;
}
.hero-card{
    position: relative;
    width: 100%;
    border-radius: 20px;
    padding: 28px 28px 36px 28px;
    /* Efecto vidrio (glassmorphism) */
    background: linear-gradient(180deg, rgba(12,12,15,.96) 0%, rgba(21,23,28,.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(18,68,216,.35);
    box-shadow: 0 20px 56px rgba(10,12,20,.32), inset 0 1px 0 rgba(255,255,255,.06);
    overflow: hidden;
}
.landing-brand-logo{
    width: 140px;
    max-width: 35vw;
    margin: 0 0 14px 0;
    opacity: .95;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45));
    background: rgba(0,0,0,.5);
    padding: 8px 14px;
    border-radius: 10px;
}
.hero-badge{ font-size: .85rem; letter-spacing: .08em; opacity: .95; margin-bottom: 6px; text-transform: uppercase; color: rgba(255,255,255,.92); }
.hero-badge .accent{ color: #7ca3ff; font-weight: 700; }
.hero-title{ font-family: 'Montserrat', sans-serif; margin: 0 0 8px 0; line-height: 1.06; text-align: left; text-transform: uppercase; }
.hero-title span{ display:block; font-weight: 900; color: var(--text); text-shadow: 0 4px 18px rgba(0,0,0,.5); }
.hero-title .year{ font-size: clamp(4rem, 12vw, 7.5rem); letter-spacing: .02em; }
.hero-title span:nth-child(1){ font-size: clamp(1.1rem, 2.6vw, 1.6rem); letter-spacing: .12em; opacity: 1; }
.hero-title span:nth-child(2){ font-size: clamp(2.8rem, 9vw, 5rem); letter-spacing: .02em; opacity: 1; }
.hero-subtitle-main{ font-size: clamp(1.2rem, 4vw, 2rem) !important; letter-spacing: .08em !important; color: #7ca3ff !important; }
.event-chip{ display:inline-block; margin: 4px 0 10px; padding: 8px 12px; border-radius: 999px; background: rgba(18,68,216,.15); border:1px solid rgba(18,68,216,.35); color:#e6edff; font-weight: 800; letter-spacing: .06em; }
.hero-stripes{
    position: absolute; right: 28px; top: 18px; bottom: 18px; width: 14px; display: flex; gap: 8px; align-items: stretch; opacity:.9;
}
.hero-stripes::before, .hero-stripes::after{
    content:""; display:block; width: 6px; background: linear-gradient(180deg, rgba(18,68,216,.95), rgba(18,68,216,.5)); border-radius: 6px; filter: blur(.2px);
}
.hero-rook{ position: absolute; right: 60px; bottom: 18px; font-size: 62px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); opacity:.9; }
.tagline{ margin: 6px 0 12px 0; font-weight: 900; letter-spacing:.08em; text-transform: uppercase; text-shadow: 0 3px 12px rgba(0,0,0,.45); }
.hero-actions{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.date-label{ font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: .95rem; letter-spacing: .06em; color: #ffffff; padding: 12px 18px; border-radius: 999px; background: linear-gradient(135deg, rgba(18,68,216,.95) 0%, rgba(13,51,165,.95) 100%); border: 1.5px solid rgba(255,255,255,.18); box-shadow: 0 10px 26px rgba(10,16,35,.28); }
.subtagline{ margin: 0; opacity:.85; font-size:.95rem; letter-spacing:.06em; text-transform: uppercase; }

/* Estilos para la sección de instrucciones */
.instructions-section {
    width: 100%;
    max-width: 800px;
    margin: 32px 0 24px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.instructions-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0 0 20px 0;
    text-align: center;
    color: var(--text);
}
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.step-number {
    width: 32px;
    height: 32px;
    background: var(--brand-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.step-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 4px 0;
    color: var(--text);
}
.step-content p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.landing-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: auto; /* un solo botón, tamaño al contenido */
    gap: 20px;
    margin-top: 8px;
    justify-content: center;
}
.landing-card {
    display: block;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(18,68,216,.95) 0%, rgba(13,51,165,.95) 100%);
    border: 1.5px solid rgba(255, 255, 255, .18);
    outline: 2px solid rgba(0,0,0,0.1);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    cursor: pointer;
}
.landing-card:hover{ 
    transform: translateY(-5px); 
    border-color: rgba(255,255,255,.34); 
    background: linear-gradient(135deg, rgba(34,89,245,.95) 0%, rgba(18,68,216,.95) 100%); 
    box-shadow: 0 12px 28px rgba(10, 16, 35, .34); 
}

/* Variante moderna del botón: cápsula con glow y micro-interacción */
.cta-button {
    border-radius: 999px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    isolation: isolate;
    min-width: 260px;
    max-width: 360px;
}

.cta-button.secondary{ background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.08) 100%); color: rgba(255,255,255,.92); border: 1.5px solid rgba(255,166,235,.55); }
.cta-button.secondary:hover{ background: linear-gradient(135deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.12) 100%); border-color: rgba(255,190,244,.72); }

.cta-button::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: radial-gradient(60% 60% at 50% 120%, rgba(18,68,216,.38) 0%, rgba(18,68,216,0) 60%);
    filter: blur(10px);
    opacity: .6;
    z-index: -1;
    transition: opacity .2s ease, filter .2s ease;
}

.cta-button:hover::after {
    opacity: .9;
    filter: blur(14px);
}

.cta-button .landing-card-title {
    font-size: 1.05rem;
}

.cta-button .landing-card-action {
    font-size: .85rem;
    opacity: .95;
}
.landing-card:hover .landing-icon {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(215, 197, 58, .25);
}
.landing-icon { 
    width: 100%; 
    height: 180px; 
    margin-bottom: 16px; 
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
    transition: transform .2s ease, box-shadow .2s ease;
}
.landing-card-title { 
    font-family:'Montserrat', sans-serif; 
    font-weight: 800; 
    margin-bottom: 8px; 
    font-size: 1.1rem;
    line-height: 1.3;
}
.landing-card-desc { 
    opacity: .92; 
    font-size: .9rem; 
    font-weight: 700;
    color: rgba(10,10,13,.85);
    margin-bottom: 8px;
}
.landing-card-action {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0a0a0d;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Estilos para cards deshabilitadas */
.landing-card.disabled {
    opacity: 0.5;
    background: #0a0a0f;
    border-color: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    filter: grayscale(1);
    pointer-events: none;
}

.landing-card.disabled:hover {
    transform: none;
    box-shadow: none;
}

.landing-card.disabled .landing-icon {
    opacity: 0.6;
}

.landing-card.disabled .landing-card-action {
    opacity: 0.5;
}

.disabled-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* Botón de charla obligatoria */
.charla-button {
    display: none; /* reemplazado por versión minimal */
}

.charla-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.charla-button:hover::before {
    left: 100%;
}

.charla-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(212, 225, 87, 0.25);
    border-color: rgba(212, 225, 87, 0.6);
}

.charla-button:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(21, 152, 149, 0.5);
}

.charla-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.charla-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.charla-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.3;
}

.charla-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.charla-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.charla-info-item .emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.charla-info-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.charla-info-label {
    font-weight: 700;
    display: inline;
}

.charla-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.9);
    color: #000;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.charla-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.95);
}

.charla-action svg {
    transition: transform 0.3s ease;
}

.charla-button:hover .charla-action svg {
    transform: translateX(4px);
}

/* Botón de grabaciones */
.recordings-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    margin-top: 24px;
    background: linear-gradient(135deg, var(--brand-red) 0%, #b8a92a 100%);
    color: var(--text);
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 24px rgba(212, 225, 87, 0.35);
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 225, 87, 0.35);
    position: relative;
    overflow: hidden;
}

/* Pastilla de ubicación minimalista */
.location-pill{ display: inline-flex; align-items: center; gap: 10px; color: #ffffff; border-radius: 28px; padding: 14px 18px; border: 1.5px solid rgba(255,255,255,.2); position: relative; isolation: isolate; background: linear-gradient(135deg, rgba(12,12,15,.95) 0%, rgba(21,23,28,.95) 100%); }
.location-pill::before{ content:""; position:absolute; left: 14px; top:50%; transform: translateY(-50%); width: 26px; height: 26px; background: rgba(255,255,255,.15); border-radius: 50%; z-index: -1; box-shadow: inset 0 0 0 5px rgba(255,255,255,.1); }
.chip-icon{ filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.chip{ display:inline-flex; align-items:center; gap:10px; font-weight: 900; letter-spacing: .06em; box-shadow: 0 10px 26px rgba(0,0,0,.25); border-radius: 28px; padding: 12px 18px; }
.chip--date{ background: linear-gradient(135deg, rgba(18,68,216,.95) 0%, rgba(13,51,165,.95) 100%); color: #ffffff; border: 1.5px solid rgba(255,255,255,.18); }
.chip--location{ padding-left: 46px; color: #ffffff; border: 1.5px solid rgba(255,255,255,.2); background: linear-gradient(135deg, rgba(12,12,15,.95) 0%, rgba(21,23,28,.95) 100%); }
.location-pill .pin{ filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.location-pill .location-text{ font-family: 'Montserrat', sans-serif; font-size: .9rem; }

.recordings-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.recordings-button:hover::before {
    left: 100%;
}

.recordings-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 225, 87, 0.4);
    border-color: rgba(212, 225, 87, 0.6);
}

.recordings-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(215, 197, 58, 0.35);
}

.recordings-button svg {
    flex-shrink: 0;
}

.recordings-button .arrow-icon {
    transition: transform 0.3s ease;
}

.recordings-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Estilos para la vista de transmisión (cuando se hace clic en una card) */
#app-view {
    display: none;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #0f1115 0%, #141922 100%);
    position: relative;
}
.stream-brand-logo{
    position: absolute;
    top: 14px;
    right: 18px;
    width: 110px;
    z-index: 110;
    opacity: .9;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
    background: rgba(0,0,0,.55);
    padding: 8px 10px;
    border-radius: 10px;
}

/* Contenedor principal del chat */
#app-view .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-template-rows: 1fr;
    gap: 16px;
    height: 100vh;
    padding: 16px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #0f1115 0%, #141922 100%);
}

#app-view.chat-disabled .container {
    grid-template-columns: 1fr;
}

/* Video container */
#app-view .video-container {
    position: relative;
    background: linear-gradient(180deg, rgba(12,12,15,.96) 0%, rgba(21,23,28,.95) 100%);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay invisible para bloquear interacciones del reproductor */
.youtube-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
    pointer-events: auto;
    cursor: default;
}

/* Controles del video */
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 30;
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.control-btn {
    background: rgba(12,12,15,0.82);
    border: 2px solid rgba(18, 68, 216, 0.45);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(18,68,216,0.92);
    border-color: rgba(255, 255, 255, 0.72);
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn svg {
    width: 24px;
    height: 24px;
}

.control-btn.is-disabled {
    opacity: .6;
}

/* Estilos específicos para el botón de sonido */
.sound-btn.sound-on {
    background: rgba(76, 175, 80, 0.8);
    border-color: rgba(76, 175, 80, 0.6);
}

.sound-btn.sound-on:hover {
    background: rgba(76, 175, 80, 0.9);
    border-color: rgba(76, 175, 80, 0.8);
}

.sound-btn:not(.sound-on) {
    background: rgba(12,12,15,0.84);
    border-color: rgba(18, 68, 216, 0.45);
}

.sound-btn:not(.sound-on):hover {
    background: rgba(18,68,216,0.92);
    border-color: rgba(255, 255, 255, 0.72);
}

#app-view .video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Chat container */
#app-view .chat-container {
    background: linear-gradient(180deg, rgba(12,12,15,.97) 0%, rgba(21,23,28,.96) 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(18,68,216,.38);
}

#app-view.chat-disabled .chat-container {
    display: none;
}

#app-view .chat-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Botón de volver */
.back-button {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 100;
    background: linear-gradient(135deg, rgba(18,68,216,.95) 0%, rgba(13,51,165,.95) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .2s ease;
    box-shadow: 0 8px 18px rgba(10, 16, 35, .3);
}

.back-button:hover {
    background: linear-gradient(135deg, rgba(34,89,245,.95) 0%, rgba(18,68,216,.95) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

/* Estilos para pantalla completa personalizada */
.custom-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.fullscreen-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.fullscreen-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.fullscreen-controls .control-btn {
    background: rgba(12,12,15,0.84);
    border: 2px solid rgba(18,68,216,.45);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.fullscreen-controls .control-btn:hover {
    background: rgba(18,68,216,0.92);
    border-color: rgba(255, 255, 255, 0.72);
    transform: scale(1.1);
}

.fullscreen-controls .control-btn:active {
    transform: scale(0.95);
}

.fullscreen-controls .control-btn svg {
    width: 24px;
    height: 24px;
}

/* Estilos específicos para el botón de sonido en pantalla completa */
.fullscreen-sound-btn.sound-on {
    background: rgba(76, 175, 80, 0.8);
    border-color: rgba(76, 175, 80, 0.6);
}

.fullscreen-sound-btn.sound-on:hover {
    background: rgba(76, 175, 80, 0.9);
    border-color: rgba(76, 175, 80, 0.8);
}

.fullscreen-sound-btn:not(.sound-on) {
    background: rgba(12,12,15,0.84);
    border-color: rgba(18,68,216,.45);
}

.fullscreen-sound-btn:not(.sound-on):hover {
    background: rgba(18,68,216,0.92);
    border-color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) { 
    .landing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
    .landing-icon {
        height: 150px;
    }
    .instructions-section {
        margin: 24px 0 20px 0;
        padding: 20px;
    }
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Responsive para la vista de transmisión */
    #app-view .container {
        grid-template-columns: 1fr;
        grid-template-rows: 60vh 1fr;
        padding: 8px;
        gap: 8px;
    }
    
    .video-controls {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
    
    .control-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Tablet landscape */
@media (max-width: 1024px) and (orientation: landscape) {
    .landing-wrapper {
        padding: 20px;
    }
    .hero-card {
        padding: 24px;
    }
}
@media (max-width: 520px) { 
    .hero-rook{ right: 24px; font-size: 48px; }
    .landing-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .landing-icon {
        height: 140px;
    }
    .landing-wrapper {
        padding: 20px 16px;
        gap: 16px;
    }
    .instructions-section {
        margin: 20px 0 16px 0;
        padding: 16px;
    }
    .instructions-title {
        font-size: 1.2rem;
    }
    .hero-card {
        padding: 20px;
    }
    .landing-brand-logo{
        width: 112px;
    }
    .stream-brand-logo{
        width: 86px;
        top: 12px;
        right: 12px;
    }
}

/* Breakpoint extra pequeño */
@media (max-width: 360px) {
    .landing-wrapper {
        padding: 16px 12px;
    }
    .hero-card {
        padding: 16px;
    }
    .landing-card {
        padding: 16px;
    }
    .instructions-section {
        padding: 12px;
    }
}

/* ===== LOADER DE TRANSICIÓN ===== */
.transition-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0c0c0f 0%, #15171c 55%, #1244d8 100%);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.transition-loader.active {
    display: flex;
    opacity: 1;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: fadeInUp 0.5s ease;
}

.loader-spinner {
    display: flex;
    gap: 12px;
    align-items: center;
}

.spinner-circle {
    width: 16px;
    height: 16px;
    background: #e8efff;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(18, 68, 216, 0.45);
}

.spinner-circle:nth-child(1) {
    animation-delay: 0s;
}

.spinner-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-circle:nth-child(3) {
    animation-delay: 0.4s;
}

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

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

.loader-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.loader-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para el loader */
@media (max-width: 768px) {
    .loader-title {
        font-size: 1.2rem;
    }
    .loader-subtitle {
        font-size: 0.85rem;
    }
    .spinner-circle {
        width: 14px;
        height: 14px;
    }
    
    .recordings-button {
        font-size: 0.95rem;
        padding: 14px 28px;
        gap: 10px;
    }
    
    .charla-button {
        padding: 20px 24px;
    }
    
    .charla-title {
        font-size: 1.1rem;
    }
    
    .charla-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .charla-info-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 520px) {
    .loader-title {
        font-size: 1.1rem;
    }
    .loader-subtitle {
        font-size: 0.8rem;
    }
    .spinner-circle {
        width: 12px;
        height: 12px;
    }
    .loader-content {
        gap: 20px;
    }
    
    .recordings-button {
        font-size: 0.85rem;
        padding: 12px 24px;
        gap: 8px;
    }
    
    .recordings-button svg {
        width: 20px;
        height: 20px;
    }
    
    .recordings-button .arrow-icon {
        width: 18px;
        height: 18px;
    }
    
    .charla-button {
        padding: 16px 20px;
    }
    
    .charla-icon {
        font-size: 1.6rem;
    }
    
    .charla-title {
        font-size: 1rem;
    }
    
    .charla-info-text {
        font-size: 0.8rem;
    }
    
    .charla-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .charla-action {
        font-size: 0.85rem;
    }
}

