:root {
    --bg: #060608;
    --card: #111117;
    --border: #262632;
    --gold: #f5b014;
    --red: #e11d48;
    --cyan: #00d2d3;
    --text: #f8fafc;
    --muted: #94a3b8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}
h1, h2, h3, h4, .logo, .ticket-price { font-family: 'Bebas Neue', sans-serif; letter-spacing: 1.5px; }

/* =========================================================
   FONDOS ANIMADOS DE ARENA PPV (LÁSERES, GRILLA Y CHISPAS)
   ========================================================= */
.arena-bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cyber-grid {
    position: absolute;
    inset: -50%;
    background-image: 
        linear-gradient(rgba(245, 176, 20, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 176, 20, 0.05) 1px, transparent 1px);
    background-size: 55px 55px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 18s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(55px); }
}

.spotlight {
    position: absolute;
    top: -20%;
    width: 45vw;
    height: 120vh;
    background: radial-gradient(ellipse at top, rgba(245, 176, 20, 0.14), transparent 70%);
    transform-origin: top center;
}

.spot-left { left: 5%; animation: sweepLeft 9s ease-in-out infinite alternate; }
.spot-right { right: 5%; background: radial-gradient(ellipse at top, rgba(225, 29, 72, 0.14), transparent 70%); animation: sweepRight 11s ease-in-out infinite alternate; }

@keyframes sweepLeft { 0% { transform: rotate(-18deg); } 100% { transform: rotate(22deg); } }
@keyframes sweepRight { 0% { transform: rotate(18deg); } 100% { transform: rotate(-22deg); } }

#sparks-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* =========================================================
   INTRO OVERLAY (PC & CELULAR)
   ========================================================= */
.intro-overlay {
    position: fixed; inset: 0;
    background: radial-gradient(circle at center, #2b1804 0%, #050507 85%);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 1.5rem; transition: opacity 0.6s ease, transform 0.6s ease;
}
.intro-overlay.fade-out { opacity: 0; transform: scale(1.06); pointer-events: none; }
.intro-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flashStrike 1s ease-out; pointer-events: none; }
@keyframes flashStrike { 0% { opacity: 0.7; } 100% { opacity: 0; } }
.intro-content { max-width: 780px; width: 100%; animation: zoomPunch 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes zoomPunch { 0% { opacity: 0; transform: scale(0.65); } 100% { opacity: 1; transform: scale(1); } }
.intro-tag { color: var(--gold); font-weight: 800; font-size: 0.82rem; letter-spacing: 2.5px; }
.intro-title { font-size: clamp(3.4rem, 11vw, 6.8rem); line-height: 0.95; margin: 0.4rem 0; }
.intro-title span { color: var(--gold); }
.intro-vs-line { color: var(--muted); font-weight: 700; font-size: 0.9rem; margin-bottom: 1.5rem; }
.intro-loader-bar { width: min(320px, 85%); height: 6px; background: #1e1e26; border-radius: 10px; margin: 0 auto 1.4rem; overflow: hidden; }
.intro-progress { width: 0%; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); }
.btn-skip { background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 0.65rem 1.6rem; border-radius: 30px; font-weight: 800; cursor: pointer; }
.btn-skip:hover { background: var(--gold); color: #000; }

/* =========================================================
   NAVBAR & HERO
   ========================================================= */
.navbar {
    position: sticky; top: 0; z-index: 500; display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 6%; background: rgba(6, 6, 8, 0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245, 176, 20, 0.28);
}
.logo { font-size: 1.9rem; color: var(--text); text-decoration: none; }
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 0.88rem; text-transform: uppercase; transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.btn-teleticket-nav { background: linear-gradient(135deg, var(--cyan), #0284c7); color: #000 !important; padding: 0.45rem 1rem; border-radius: 6px; font-weight: 900 !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background: var(--gold); }

.hero { min-height: 76vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 3.5rem 1.5rem; position: relative; z-index: 2; }
.hero-content { max-width: 860px; }
.badge-live { display: inline-flex; align-items: center; gap: 8px; background: rgba(225, 29, 72, 0.2); border: 1px solid var(--red); color: #fda4af; padding: 0.35rem 1rem; border-radius: 30px; font-size: 0.78rem; font-weight: 800; margin-bottom: 1rem; }
.dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.4; } }
.glitch-title { font-size: clamp(3.5rem, 9vw, 6.6rem); line-height: 0.95; margin-bottom: 1rem; text-shadow: 0 5px 25px rgba(0,0,0,0.8); }
.glitch-title span, .section-title span, .gold-text { color: var(--gold); }
.hero-desc { color: var(--muted); max-width: 650px; margin: 0 auto 2rem; }
.countdown { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.time-box { background: rgba(17, 17, 23, 0.9); border: 1px solid rgba(245, 176, 20, 0.38); padding: 0.8rem 1.2rem; border-radius: 10px; min-width: 75px; }
.time-box span { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.time-box small { font-size: 0.65rem; color: var(--muted); font-weight: 700; }
.hero-actions { display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; }

.btn-primary, .btn-secondary, .btn-cyan { padding: 0.85rem 1.6rem; border-radius: 8px; font-weight: 900; text-decoration: none; border: none; cursor: pointer; font-size: 0.88rem; transition: 0.25s; display: inline-block; }
.btn-primary { background: linear-gradient(135deg, var(--gold), #d97706); color: #000; }
.btn-secondary { background: rgba(255,255,255,0.06); border: 1px solid #3f3f46; color: var(--text); }
.btn-cyan { background: var(--cyan); color: #000; }
.btn-primary:hover, .btn-cyan:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(245, 176, 20, 0.3); }
.full-width { width: 100%; }

/* MARQUEE */
.marquee-banner { background: linear-gradient(90deg, #991b1b, #b45309, #991b1b); padding: 0.65rem 0; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); position: relative; z-index: 2; }
.marquee-track { display: inline-block; animation: scrollMarquee 24s linear infinite; }
.marquee-track span { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; margin: 0 2rem; letter-spacing: 2px; }
@keyframes scrollMarquee { 100% { transform: translateX(-50%); } }

/* =========================================================
   CONTENEDORES, CRONOGRAMA Y PATROCINADORES
   ========================================================= */
.container { max-width: 1140px; margin: 0 auto; padding: 3rem 1.5rem; position: relative; z-index: 2; }
.home-section { margin-bottom: 4.5rem; }
.page-header, .section-header-center { text-align: center; margin-bottom: 2.5rem; }
.kicker { color: var(--gold); font-size: 0.78rem; font-weight: 800; letter-spacing: 2.2px; }
.section-title { font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1.05; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0.5rem auto 0; }

.quick-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.quick-card { background: rgba(17, 17, 23, 0.92); border: 1px solid var(--border); border-radius: 12px; padding: 1.8rem; text-decoration: none; color: var(--text); transition: 0.25s; display: flex; flex-direction: column; }
.quick-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(245, 176, 20, 0.15); }
.qc-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.quick-card h3 { font-size: 1.65rem; color: var(--gold); margin-bottom: 0.4rem; }
.quick-card p { font-size: 0.85rem; color: var(--muted); flex: 1; }
.qc-link { margin-top: 1rem; font-weight: 800; font-size: 0.82rem; color: var(--cyan); }

/* CRONOGRAMA */
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.timeline-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.timeline-item.highlight { border-color: var(--gold); background: linear-gradient(145deg, #1b160c, #111117); }
.time-pill { display: inline-block; background: var(--red); color: #fff; font-weight: 800; font-size: 0.75rem; padding: 0.25rem 0.7rem; border-radius: 20px; margin-bottom: 0.7rem; }
.timeline-item h4 { font-size: 1.4rem; color: var(--gold); margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.83rem; color: var(--muted); }

/* MURO DE PATROCINADORES */
.sponsors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.sponsor-card {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #2b2b38;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: 0.3s;
}
.sponsor-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(245, 176, 20, 0.18); }
.sponsor-tag { font-size: 0.65rem; font-weight: 800; color: var(--cyan); letter-spacing: 1.5px; }
.sponsor-name { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--text); margin: 0.25rem 0; letter-spacing: 2px; }
.sponsor-rubro { font-size: 0.78rem; color: var(--muted); }

.footer-sponsors-strip {
    background: #0d0d12;
    border-top: 1px solid #22222c;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    position: relative;
    z-index: 2;
}
.footer-sponsors-strip strong { color: var(--gold); margin: 0 0.35rem; }

/* =========================================================
   PELEAS, FOTOS Y FICHAS TÉCNICAS
   ========================================================= */
.fights-grid { display: grid; gap: 1.8rem; }
.fight-card { background: rgba(17, 17, 23, 0.94); border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; transition: 0.3s; }
.fight-card:hover { border-color: var(--gold); }
.fight-top { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 800; color: var(--gold); border-bottom: 1px solid #1f1f28; padding-bottom: 0.7rem; margin-bottom: 1.4rem; }
.fighters-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.2rem; text-align: center; }

.avatar-ring {
    width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 0.9rem; padding: 4px;
    background: linear-gradient(135deg, var(--gold), var(--red));
    box-shadow: 0 0 22px rgba(245, 176, 20, 0.28);
}
.avatar-inner {
    width: 100%; height: 100%; border-radius: 50%; background: #18181f;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: var(--gold);
    object-fit: cover;
}
.fighter-box h3 { font-size: 1.9rem; }
.apodo { color: var(--gold); font-size: 0.85rem; font-weight: 700; }
.meta-info { color: var(--muted); font-size: 0.78rem; margin-bottom: 0.85rem; }
.btn-ficha { background: #1b1b24; border: 1px solid var(--gold); color: var(--gold); padding: 0.55rem 1.1rem; border-radius: 6px; font-weight: 800; font-size: 0.78rem; cursor: pointer; transition: 0.2s; }
.btn-ficha:hover { background: var(--gold); color: #000; }
.vs-emblem { font-family: 'Bebas Neue', sans-serif; font-size: 3.2rem; color: var(--red); text-shadow: 0 0 18px rgba(225, 29, 72, 0.6); }

/* COMPARADOR & REGLAMENTO */
.h2h-wrapper, .rules-box { margin-top: 3.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.fight-select { width: 100%; max-width: 500px; display: block; margin: 0 auto 2rem; padding: 0.8rem; background: #09090d; border: 1px solid var(--gold); color: var(--text); border-radius: 8px; }
.stat-row { margin-bottom: 1rem; }
.stat-header { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.3rem; }
.stat-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.track-left { display: flex; justify-content: flex-end; background: #1e1e26; height: 10px; border-radius: 5px; overflow: hidden; }
.track-left div { background: var(--gold); height: 100%; }
.track-right { display: flex; justify-content: flex-start; background: #1e1e26; height: 10px; border-radius: 5px; overflow: hidden; }
.track-right div { background: var(--red); height: 100%; }

.rules-box h3 { font-size: 1.9rem; color: var(--gold); margin-bottom: 1rem; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; font-size: 0.86rem; color: var(--muted); }

/* MODAL FICHA */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.88); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 1rem; overflow-y: auto; }
.hidden { display: none !important; }
.modal-content { background: #121218; border: 2px solid var(--gold); border-radius: 14px; padding: 1.8rem; max-width: 480px; width: 100%; position: relative; text-align: center; }
.ficha-modal { max-width: 560px; text-align: left; }
.close-btn { position: absolute; top: 12px; right: 16px; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.ficha-specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; background: #09090d; padding: 1rem; border-radius: 8px; margin: 1rem 0; font-size: 0.82rem; }
.ficha-stat-line { margin-bottom: 0.6rem; font-size: 0.8rem; }
.ficha-bar-bg { height: 8px; background: #222; border-radius: 4px; overflow: hidden; margin-top: 3px; }
.ficha-bar-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); }

/* =========================================================
   APUESTAS CON FOTOS & QR EN CAJA
   ========================================================= */
.apuestas-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.8rem; align-items: start; }
.bet-match-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem; margin-bottom: 1rem; }
.bet-match-title { font-size: 0.75rem; color: var(--gold); font-weight: 800; margin-bottom: 0.8rem; }
.bet-options-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.bet-pick-btn {
    background: #181820; border: 2px solid #2c2c38; color: var(--text); padding: 0.8rem;
    border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 0.7rem; text-align: left; transition: 0.2s;
}
.bet-pick-btn.selected { border-color: var(--gold); background: rgba(245, 176, 20, 0.16); }
.bet-mini-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #272732; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; color: var(--gold); flex-shrink: 0; }
.bet-pick-btn strong { display: block; font-size: 0.84rem; line-height: 1.1; }
.bet-pick-btn span { color: var(--gold); font-weight: 800; font-size: 0.78rem; }

.bet-slip-card { background: var(--card); border: 2px solid var(--gold); border-radius: 14px; padding: 1.6rem; position: sticky; top: 85px; }
.bet-slip-card h3 { font-size: 1.9rem; color: var(--gold); margin-bottom: 0.8rem; }
.selecciones-box { background: #09090d; border-radius: 8px; padding: 0.9rem; margin-bottom: 1rem; min-height: 60px; font-size: 0.85rem; }
.pick-tag { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid #1e1e26; }
.slip-inputs label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-top: 0.7rem; }
.slip-inputs input, .modal-content input { width: 100%; padding: 0.75rem; margin-top: 0.3rem; background: #09090d; border: 1px solid #333340; color: var(--text); border-radius: 6px; }
.slip-totals { margin: 1.1rem 0; padding: 0.8rem; background: #09090d; border-radius: 8px; font-size: 0.9rem; }
.slip-totals div { display: flex; justify-content: space-between; margin-bottom: 0.3rem; }

.qr-caja-box { margin-top: 1.4rem; background: #fff; color: #09090b; padding: 1.2rem; border-radius: 10px; text-align: center; }
.qr-badge { background: #dc2626; color: #fff; font-weight: 900; font-size: 0.72rem; padding: 0.3rem; border-radius: 4px; margin-bottom: 0.8rem; }
.qr-canvas-holder { display: flex; justify-content: center; margin: 0.8rem 0; }
.codigo-texto { font-family: monospace; font-weight: 900; font-size: 1.1rem; color: #000; }
.detalle-caja { text-align: left; font-size: 0.8rem; border-top: 1px dashed #999; margin-top: 0.7rem; padding-top: 0.7rem; }
.caja-instruccion { display: block; margin-top: 0.6rem; color: #334155; font-weight: 700; font-size: 0.75rem; }

/* TELETICKET & UBICACIÓN */
.tickets-grid.two-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.8rem; max-width: 820px; margin: 0 auto; }
.ticket-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; text-align: center; overflow: hidden; }
.ticket-card.featured { border: 2px solid var(--gold); }
.ticket-ribbon { background: #1e293b; color: var(--cyan); font-size: 0.72rem; font-weight: 900; padding: 0.35rem; margin: -2rem -2rem 1.4rem; }
.ticket-ribbon.gold { background: var(--gold); color: #000; }
.ticket-price { font-size: 3.6rem; color: var(--gold); }
.ticket-price span { font-size: 1.5rem; }
.ticket-card ul { list-style: none; text-align: left; margin: 1.2rem 0 1.8rem; color: var(--muted); font-size: 0.88rem; }
.ticket-card li { margin-bottom: 0.5rem; }
.btn-ticket { width: 100%; padding: 0.85rem; background: var(--cyan); color: #000; border: none; border-radius: 8px; font-weight: 900; cursor: pointer; }
.btn-ticket.gold-btn { background: var(--gold); }
.e-ticket { margin-top: 1.2rem; background: #fff; color: #09090b; padding: 1rem; border-radius: 8px; text-align: left; font-size: 0.82rem; border-left: 6px solid var(--cyan); }

.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; align-items: center; }
.location-info h3 { font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; }
.location-info p { margin-bottom: 0.6rem; font-size: 0.92rem; }
.location-btns { display: flex; gap: 0.8rem; margin-top: 1.4rem; flex-wrap: wrap; }

.footer { text-align: center; padding: 2rem 1rem; color: var(--muted); font-size: 0.85rem; position: relative; z-index: 2; }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links { position: fixed; top: 64px; right: -100%; width: 75%; height: calc(100vh - 64px); background: #0b0b0f; flex-direction: column; padding: 2rem; border-left: 1px solid var(--gold); transition: 0.3s; }
    .nav-links.active { right: 0; }
    .fighters-grid, .apuestas-layout, .location-grid { grid-template-columns: 1fr; }
    .bet-options-row { grid-template-columns: 1fr; }
}