* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --verde: #079b3b;
    --verde-claro: #0cc94d;
    --verde-oscuro: #0a3d1f;
    --dorado: #d4af37;
    --rojo: #b23a3a;
    --fuente-titulos: "Barlow Condensed", Arial, sans-serif;
    --fuente-texto: "Inter", Arial, Helvetica, sans-serif;
}

body {
    font-family: var(--fuente-texto);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3,
.btn,
.partido-rival,
.tarjeta h2 {
    font-family: var(--fuente-titulos);
}


/* =========================
   ACCESIBILIDAD: FOCO Y
   ENLACE PARA SALTAR AL CONTENIDO
========================= */

.saltar-enlace {
    position: absolute;
    top: -60px;
    left: 10px;
    z-index: 1000;

    background: var(--verde);
    color: white;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: bold;

    transition: top 0.15s;
}

.saltar-enlace:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid var(--verde-claro);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

}


/* =========================
   FONDO
========================= */

.fondo {
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.62),
            rgba(0, 0, 0, 0.72)
        ),
        url("fondo.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    z-index: -1;
}


/* =========================
   INDICADOR DE PASOS
========================= */

.progreso {
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(5,5,5,0.92);
    backdrop-filter: blur(6px);

    border-bottom: 1px solid rgba(255,255,255,0.1);

    padding: 14px 20px;
}

.progreso ol {
    list-style: none;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    max-width: 650px;

    margin: 0 auto;
}

.progreso .paso {
    display: flex;

    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,0.45);

    font-size: 14px;
}

.progreso .paso:not(:last-child)::after {
    content: "";

    width: 28px;
    height: 2px;

    background: rgba(255,255,255,0.2);

    margin-left: 10px;
}

.progreso .paso-num {
    width: 26px;
    height: 26px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.25);

    font-weight: bold;

    font-size: 13px;

    flex-shrink: 0;
}

.progreso .paso.completado {
    color: rgba(255,255,255,0.75);
}

.progreso .paso.completado .paso-num {
    background: var(--verde);
    border-color: var(--verde);
    color: white;
}

.progreso .paso.activo {
    color: white;
    font-weight: bold;
}

.progreso .paso.activo .paso-num {
    background: var(--verde-claro);
    border-color: var(--verde-claro);
    color: #063;
    box-shadow: 0 0 10px rgba(12,201,77,0.6);
}

@media (max-width: 560px) {

    .progreso .paso-label {
        display: none;
    }

    .progreso .paso:not(:last-child)::after {
        width: 16px;
    }

}


/* =========================
   HERO
========================= */

.hero {
    width: 100%;
    min-height: 500px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 50px 20px 30px;
}


/* LOGO + TITULO */

.marca {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    margin-bottom: 45px;
}

.escudo {
    width: 180px;
    height: 180px;

    object-fit: contain;

    filter:
        drop-shadow(0 8px 10px rgba(0,0,0,0.7));
}

.titulo h1 {
    font-size: clamp(45px, 7vw, 92px);

    font-weight: 900;

    letter-spacing: 2px;

    text-shadow:
        4px 4px 5px black,
        0 0 15px rgba(0,0,0,0.7);
}

.titulo p {
    font-size: 28px;

    font-weight: bold;

    margin-top: 5px;

    text-shadow: 3px 3px 5px black;
}


/* =========================
   BOTONES
========================= */

.botones-principales {
    display: flex;

    justify-content: center;

    gap: 35px;
}

.btn {
    border: none;

    border-radius: 10px;

    padding: 20px 55px;

    font-size: 22px;

    font-weight: bold;

    cursor: pointer;

    color: white;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.5);
}

.btn span {
    font-size: 25px;
}

.icono-svg {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    vertical-align: middle;

    margin-right: 4px;
}

.icono-svg svg {
    width: 24px;
    height: 24px;

    color: white;
}

.entrada {
    background: linear-gradient(
        135deg,
        #00a83b,
        #007d2d
    );

    box-shadow:
        0 5px 20px rgba(0,0,0,0.4);
}

.historia {
    background: rgba(10,10,10,0.9);

    border: 1px solid #555;
}

.estadisticas {
    background: linear-gradient(
        135deg,
        #b8901f,
        #8a6b16
    );

    box-shadow:
        0 5px 20px rgba(0,0,0,0.4);
}


/* =========================
   TARJETAS
========================= */

.tarjetas {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    max-width: 1100px;

    margin: 0 auto;

    padding: 20px 25px 60px;
}

.tarjeta {
    min-height: 330px;

    padding: 35px 25px;

    text-align: center;

    background:
        rgba(10,10,10,0.86);

    border:
        1px solid rgba(255,255,255,0.25);

    border-bottom:
        5px solid #00a83b;

    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.5);

    transition:
        transform 0.2s;
}

.tarjeta:hover {
    transform: translateY(-8px);
}

.icono {
    width: 95px;
    height: 95px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #079b3b;

    font-size: 43px;
}

.tarjeta h2 {
    font-size: 27px;

    margin-bottom: 20px;
}

.tarjeta p {
    font-size: 19px;

    line-height: 1.5;

    color: #ddd;
}


/* =========================
   FOOTER
========================= */

footer {
    min-height: 130px;

    background:
        rgba(5,5,5,0.96);

    border-top:
        1px solid #444;

    display: flex;

    align-items: center;

    justify-content: space-around;

    gap: 30px;

    padding: 25px 60px;
}

.footer-item {
    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 17px;

    color: #ddd;
}

.redes {
    display: flex;

    gap: 18px;
}

.redes a {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #079b3b;

    font-size: 27px;

    font-weight: bold;

    color: white;

    text-decoration: none;

    transition: 0.15s;
}

.redes a:hover {
    background: #0cc94d;

    transform: scale(1.08);
}


/* =========================
   PANTALLAS
========================= */

.pantalla {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}

.oculto {
    display: none !important;
}


/* =========================
   FORMULARIO
========================= */

.panel {
    width: 450px;

    max-width: 95%;

    padding: 40px;

    text-align: center;

    background:
        rgba(8,8,8,0.94);

    border:
        1px solid #555;

    border-bottom:
        5px solid #079b3b;

    border-radius: 15px;

    box-shadow:
        0 15px 50px rgba(0,0,0,0.7);
}

.escudo-pequeno {
    width: 90px;
    height: 90px;

    object-fit: contain;

    margin-bottom: 15px;
}

.panel h2 {
    font-size: 32px;

    margin-bottom: 10px;
}

.panel p {
    color: #ccc;

    margin-bottom: 25px;
}

input {
    width: 100%;

    padding: 15px;

    margin-bottom: 14px;

    border:
        1px solid #555;

    border-radius: 8px;

    background: #181818;

    color: white;

    font-size: 16px;

    outline: none;
}

input:focus {
    border-color: #00a83b;
}

.campos-formulario {
    text-align: left;
}

.label-campo {
    display: block;

    margin: 4px 0 6px;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.5px;

    color: rgba(255,255,255,0.65);

    text-transform: uppercase;
}


/* =========================
   HISTORIA
========================= */

.panel-historia {
    width: 750px;
    max-width: 95%;
    text-align: left;
}

.panel-historia h2 {
    text-align: center;
}

.intro-historia {
    text-align: center;
    color: #ddd;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.historia-contenido {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 20px;
}

.historia-contenido::-webkit-scrollbar {
    width: 8px;
}

.historia-contenido::-webkit-scrollbar-thumb {
    background: #079b3b;
    border-radius: 8px;
}

.historia-contenido::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}

.historia-contenido h3 {
    color: #00c84a;
    font-size: 21px;
    letter-spacing: 1px;
    margin: 22px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.historia-contenido h3:first-child {
    margin-top: 0;
}

.historia-contenido p {
    color: #ddd;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 8px;
}

@media (max-width: 800px) {

    .panel-historia {
        width: 100%;
        padding: 25px 20px;
    }

    .historia-contenido {
        max-height: 60vh;
    }

}


/* =========================
   FORMULARIO NETLIFY
========================= */

.campo-oculto {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================
   ERROR
========================= */

.error {
    color: #ff4b4b !important;

    margin-bottom: 10px !important;

    min-height: 20px;
}


/* =========================
   BOTÓN VOLVER
========================= */

.volver {
    display: block;

    margin: 15px auto 0;

    border: none;

    background: transparent;

    color: #bbb;

    cursor: pointer;

    font-size: 16px;
}

.volver:hover {
    color: white;
}


/* =========================
   BOTÓN ENVIANDO
========================= */

.btn.enviando {
    opacity: 0.7;

    cursor: wait;

    transform: none;

    box-shadow: none;
}


/* =========================
   ESTADIO
========================= */

.panel-estadio {
    width: 100%;

    max-width: 1000px;

    text-align: center;

    background:
        rgba(5,5,5,0.94);

    padding: 35px;

    border-radius: 15px;

    border-bottom:
        5px solid #079b3b;
}

.panel-estadio h2 {
    font-size: 34px;
}


/* CAMPO */

.campo {
    position: relative;

    width: 90%;

    max-width: 750px;

    height: 300px;

    margin: 35px auto;

    background:
        linear-gradient(
            90deg,
            #158a38,
            #20a348,
            #158a38
        );

    border:
        4px solid white;

    box-shadow:
        inset 0 0 30px rgba(0,0,0,0.3);
}

.linea-central {
    position: absolute;

    left: 50%;

    top: 0;

    height: 100%;

    width: 3px;

    background: white;
}

.campo::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    border: 3px solid white;

    border-radius: 50%;

    left: calc(50% - 45px);
    top: calc(50% - 45px);
}

.area {
    position: absolute;

    width: 90px;
    height: 150px;

    top: 72px;

    border: 3px solid white;
}

.area-izquierda {
    left: 0;
}

.area-derecha {
    right: 0;
}

.texto-campo {
    position: absolute;

    width: 100%;

    top: 120px;

    font-size: 30px;

    font-weight: bold;

    color:
        rgba(255,255,255,0.35);

    letter-spacing: 3px;
}


/* =========================
   LEYENDA
========================= */

.leyenda {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;

    margin: 20px 0 30px;

    font-size: 14px;

    color:
        rgba(255,255,255,0.7);
}

.leyenda-item {
    display: flex;

    align-items: center;

    gap: 8px;
}

.punto {
    width: 14px;
    height: 14px;

    border-radius: 4px;

    display: inline-block;
}

.punto.disponible {
    background: #444;
}

.punto.seleccionado {
    background: #00b83f;

    box-shadow: 0 0 8px #00b83f;
}

.punto.ocupado {
    background: #8b1d1d;
}


/* =========================
   MAPA DEL ESTADIO
========================= */

.mapa-estadio {
    display: grid;

    grid-template-columns: 1fr 1.6fr 1fr;

    grid-template-areas:
        "platea campo vip"
        "popular popular popular";

    gap: 20px;

    align-items: start;

    margin: 20px 0;
}

.sector-platea {
    grid-area: platea;
}

.sector-vip {
    grid-area: vip;
}

.sector-popular {
    grid-area: popular;
}

.mapa-estadio .campo {
    grid-area: campo;

    width: 100%;

    margin: 0;
}


/* =========================
   SELECTS (cantidad, torneo)
========================= */

.label-cantidad {
    display: block;

    margin: 15px 0 6px;

    font-size: 14px;

    color:
        rgba(255,255,255,0.7);

    text-align: left;
}

.select-cantidad {
    width: 100%;

    padding: 12px;

    border-radius: 8px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.2);

    color: white;

    font-size: 15px;

    margin-bottom: 10px;
}

.select-cantidad option {
    background: #111;

    color: white;
}


/* =========================
   HISTORIAL DEL CLUB
========================= */

.lista-historial {
    display: flex;

    flex-direction: column;

    gap: 14px;

    margin: 20px 0;

    text-align: left;
}

.historial-item {
    padding: 16px 18px;

    border-radius: 10px;

    background:
        rgba(255,255,255,0.05);

    border-left:
        4px solid #079b3b;
}

.historial-anio {
    font-size: 13px;

    font-weight: bold;

    color: #0cc94d;

    letter-spacing: 1px;
}

.historial-titulo {
    font-size: 17px;

    font-weight: bold;

    margin: 4px 0 6px;
}

.historial-texto {
    font-size: 14px;

    color:
        rgba(255,255,255,0.75);

    line-height: 1.5;
}


/* =========================
   PARTIDOS
========================= */

.panel-partidos {
    max-width: 650px;
}

.lista-partidos {
    display: flex;

    flex-direction: column;

    gap: 14px;

    margin: 25px 0;
}

.partido-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 18px 20px;

    border-radius: 12px;

    background:
        rgba(255,255,255,0.05);

    border-left:
        4px solid #079b3b;

    cursor: pointer;

    text-align: left;

    color: white;

    transition: 0.15s;
}

.partido-card:hover {
    background:
        rgba(255,255,255,0.1);

    transform: translateX(4px);
}

.partido-rival {
    font-size: 20px;

    font-weight: bold;
}

.partido-datos {
    font-size: 14px;

    color:
        rgba(255,255,255,0.6);

    margin-top: 4px;
}

.partido-flecha {
    font-size: 24px;

    color: #079b3b;
}

.partido-elegido {
    background:
        rgba(7,155,59,0.15);

    border-left:
        4px solid #079b3b;

    padding: 10px 15px;

    border-radius: 8px;

    font-size: 15px;

    margin-bottom: 15px;
}


/* =========================
   ESTADÍSTICAS
========================= */

.panel-estadisticas {
    max-width: 950px;
}

.resumen-stats {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

    margin: 25px 0 35px;
}

.stat-card {
    padding: 18px 10px;

    border-radius: 10px;

    background:
        rgba(255,255,255,0.05);

    border-top:
        3px solid #079b3b;

    text-align: center;
}

.stat-card .valor {
    font-size: 30px;

    font-weight: bold;
}

.stat-card .etiqueta {
    font-size: 12px;

    letter-spacing: 1px;

    color:
        rgba(255,255,255,0.6);

    margin-top: 4px;
}

.stat-card.ganados {
    border-top-color: #079b3b;
}

.stat-card.empatados {
    border-top-color: #d4af37;
}

.stat-card.perdidos {
    border-top-color: #b23a3a;
}

.stat-card.ganados .valor {
    color: #0cc94d;
}

.stat-card.empatados .valor {
    color: #d4af37;
}

.stat-card.perdidos .valor {
    color: #e05a5a;
}


/* Tabla de posiciones */

.titulo-tabla {
    margin-top: 10px;

    margin-bottom: 15px;

    font-size: 18px;

    letter-spacing: 2px;

    color:
        rgba(255,255,255,0.7);

    text-align: center;
}

.tabla-wrapper {
    overflow-x: auto;

    border-radius: 10px;

    background:
        rgba(255,255,255,0.04);
}

.tabla-posiciones {
    width: 100%;

    border-collapse: collapse;

    font-size: 14px;

    min-width: 560px;
}

.tabla-posiciones th,
.tabla-posiciones td {
    padding: 10px 8px;

    text-align: center;

    white-space: nowrap;
}

.tabla-posiciones th {
    background:
        rgba(255,255,255,0.08);

    font-size: 12px;

    letter-spacing: 1px;

    color:
        rgba(255,255,255,0.6);
}

.tabla-posiciones .col-equipo {
    text-align: left;
}

.tabla-posiciones td.col-equipo {
    text-align: left;

    font-weight: 500;
}

.tabla-posiciones tbody tr:nth-child(even) {
    background:
        rgba(255,255,255,0.02);
}

.tabla-posiciones .fila-agropecuario {
    background:
        rgba(7,155,59,0.25) !important;

    font-weight: bold;

    box-shadow:
        inset 3px 0 0 #0cc94d;
}

.tabla-posiciones .pts {
    font-weight: bold;
}

.fuente-datos {
    font-size: 12px;

    color:
        rgba(255,255,255,0.4);

    text-align: center;

    margin: 12px 0 20px;
}


/* =========================
   SECTORES
========================= */

.sector {
    margin: 0;

    padding: 20px;

    border-radius: 10px;

    background:
        rgba(255,255,255,0.04);

    border-top:
        3px solid rgba(255,255,255,0.15);
}

.sector h3 {
    font-size: 20px;

    letter-spacing: 3px;

    color:
        rgba(255,255,255,0.6);

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;
}

.badge-sector {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    display: inline-block;
}

/* Colores distintivos por tipo de sector */

.sector-platea {
    border-top-color: #2d7dd2;
}

.sector-platea .badge-sector {
    background: #2d7dd2;
}

.sector-popular {
    border-top-color: #079b3b;
}

.sector-popular .badge-sector {
    background: #079b3b;
}

.sector-vip {
    border-top-color: #d4af37;
}

.sector-vip .badge-sector {
    background: #d4af37;
}

.sector-vip h3 {
    color: #d4af37;
}

.butacas {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 7px;

    max-width: 850px;

    margin: auto;
}

.sector-popular .butacas {
    max-height: none;
}

.sector-platea .butacas,
.sector-vip .butacas {
    max-height: 260px;

    overflow-y: auto;

    padding: 4px;
}

.asiento {
    width: 42px;
    height: 42px;

    border: none;

    border-radius: 6px;

    background: #444;

    color: white;

    cursor: pointer;

    font-weight: bold;

    transition: 0.15s;
}

.asiento:hover {
    background: #777;

    transform: scale(1.08);
}

.asiento.seleccionado {
    background: #00b83f;

    box-shadow:
        0 0 12px #00b83f;
}

.asiento.ocupado {
    background: #8b1d1d;

    cursor: not-allowed;

    opacity: 0.6;
}


/* =========================
   ASIENTO SELECCIONADO
========================= */

#seleccion {
    margin: 25px;

    font-size: 20px;

    font-weight: bold;

    color: #00c84a;
}


/* =========================
   TICKET
========================= */

.ticket {
    width: 450px;

    max-width: 95%;

    padding: 40px;

    text-align: center;

    background: white;

    color: #111;

    border-radius: 15px;

    box-shadow:
        0 15px 50px rgba(0,0,0,0.7);
}

.escudo-ticket {
    width: 100px;
}

.ticket h2 {
    font-size: 32px;

    margin: 10px;
}

.ticket h3 {
    color: #008c36;

    margin: 20px;
}

.linea {
    border-top: 2px dashed #aaa;

    margin: 20px 0;
}


/* =========================
   MENSAJE DE ENVÍO
========================= */

.mensaje-envio {
    background: #e8f8ed;

    border: 2px solid #079b3b;

    border-radius: 10px;

    padding: 18px;

    margin-bottom: 20px;

    color: #145c2c;
}

.mensaje-envio strong {
    display: block;

    font-size: 20px;

    margin-bottom: 10px;

    color: #008c36;
}

.mensaje-envio p {
    color: #333;

    margin-bottom: 5px;

    line-height: 1.4;
}


#datosTicket {
    text-align: left;

    line-height: 2;

    padding: 15px;

    background: #eee;

    border-radius: 8px;
}

.codigo {
    font-size: 70px;

    margin: 20px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {

    .marca {
        flex-direction: column;

        text-align: center;
    }

    .titulo h1 {
        font-size: 48px;
    }

    .titulo p {
        font-size: 20px;
    }

    .botones-principales {
        flex-direction: column;

        gap: 10px;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }

    .resumen-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat-card .valor {
        font-size: 24px;
    }

    footer {
        flex-direction: column;

        text-align: center;
    }

    .campo {
        height: 230px;
    }

    .mapa-estadio {
        grid-template-columns: 1fr;

        grid-template-areas:
            "campo"
            "platea"
            "vip"
            "popular";
    }

    .sector-platea .butacas,
    .sector-vip .butacas {
        max-height: none;

        overflow-y: visible;
    }

}

/* =========================================================
   REDISEÑO v2 (cabecera tipo club grande + socios + móvil)
========================================================= */
html { scroll-behavior: smooth; }
:root { --hdr: 64px; --rojo-club: #e31f26; }

.fondo {
    background-image: linear-gradient(180deg, rgba(0,0,0,.35), rgba(6,20,11,.93)), url("fondo.png");
}

.cabecera {
    position: sticky; top: 0; z-index: 100; height: var(--hdr);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; background: rgba(6,20,11,.96);
    border-bottom: 3px solid var(--verde); backdrop-filter: blur(8px);
}
.logo { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none;
        font: 800 24px var(--fuente-titulos); letter-spacing: 2px; }
.logo img { height: 44px; }
.menu { display: flex; gap: 4px; align-items: center; }
.menu button {
    background: none; border: 0; border-bottom: 3px solid transparent; color: #fff; cursor: pointer;
    font: 700 17px var(--fuente-titulos); letter-spacing: 1px; text-transform: uppercase; padding: 10px 16px;
}
.menu button:hover { border-bottom-color: var(--rojo-club); }
.menu .menu-socio { background: var(--rojo-club); border-radius: 6px; border-bottom-color: transparent; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; padding: 6px 10px; }

.progreso { top: var(--hdr); }
.pantalla { min-height: calc(100vh - var(--hdr)); }
.hero { min-height: 540px; padding-top: 60px; }
.botones-principales { flex-wrap: wrap; }
.btn.socio { background: linear-gradient(135deg, #e31f26, #a8141a); box-shadow: 0 5px 20px rgba(0,0,0,.4); }

.proximo {
    max-width: 900px; margin: 0 auto 30px; width: calc(100% - 40px); padding: 28px; text-align: center;
    background: rgba(8,8,8,.92); border-top: 5px solid var(--rojo-club); border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.prox-label { font-size: 13px; letter-spacing: 2px; color: #9fd8b0; }
.prox-vs { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 12px 0;
           font: 800 clamp(30px, 6vw, 56px) var(--fuente-titulos); }
.prox-vs b { color: var(--rojo-club); font-size: .6em; }
.prox-datos { color: #ccc; margin-bottom: 18px; line-height: 1.6; }

.panel-socios { width: 900px; max-width: 95%; }
.lista-planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 28px; }
.plan {
    padding: 20px; border-radius: 12px; background: rgba(255,255,255,.05); color: #fff;
    border: 2px solid rgba(255,255,255,.15); text-align: left; cursor: pointer;
}
.plan.elegido { border-color: var(--verde-claro); background: rgba(7,155,59,.2); }
.plan h3 { font-size: 24px; }
.plan-precio { color: var(--dorado); font-weight: 700; margin: 6px 0 10px; }
.plan ul { padding-left: 18px; font-size: 14px; color: #ddd; line-height: 1.7; }
#socioOk { text-align: left; margin-top: 20px; }

@media (max-width: 800px) {
    .burger { display: block; }
    .menu {
        display: none; position: fixed; top: var(--hdr); left: 0; right: 0; flex-direction: column;
        align-items: stretch; padding: 10px 20px 20px; background: rgba(6,20,11,.98);
        border-bottom: 3px solid var(--verde);
    }
    .menu.abierto { display: flex; }
    .menu button { text-align: left; font-size: 20px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .menu .menu-socio { margin-top: 10px; text-align: center; }
    .lista-planes { grid-template-columns: 1fr; }
    .escudo { width: 120px; height: 120px; }
    .marca { gap: 15px; margin-bottom: 30px; }
    .botones-principales .btn { width: 100%; }
    .tarjeta { min-height: 0; }
    .panel, .panel-socios { padding: 28px 18px; }
    .tarjeta p { font-size: 17px; }
}

@media (max-width: 560px) {
    .btn { padding: 16px 24px; font-size: 20px; }
    .logo span { font-size: 20px; }
    .panel-estadio { padding: 20px 10px; }
    .sector { padding: 14px 8px; }
    .asiento { width: 38px; height: 38px; }
    .butacas { gap: 6px; }
    .campo { height: 170px; }
    .texto-campo { font-size: 18px; top: 70px; }
    .area { width: 55px; height: 100px; top: 32px; }
    footer { padding: 25px 20px; }
    .partido-card { padding: 14px; }
    .partido-datos { line-height: 1.8; }
    .ticket { padding: 28px 18px; }
}


/* =========================
   CALENDARIO
========================= */

.panel-calendario { width: 760px; max-width: 95%; }

.cal-filtros { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }

.cal-filtros button {
    padding: 9px 20px; border-radius: 30px; cursor: pointer;
    border: 1px solid #555; background: transparent; color: #ccc;
    font-size: 15px; font-weight: bold;
}

.cal-filtros button.activo { background: #079b3b; border-color: #079b3b; color: white; }

.cal-lista { display: flex; flex-direction: column; gap: 10px; text-align: left; }

.cal-item {
    display: flex; align-items: center; gap: 18px; padding: 14px 18px;
    background: rgba(255,255,255,0.05); border-radius: 10px;
    border-left: 5px solid #555;
}

.cal-item.g { border-left-color: #00c84a; }
.cal-item.e { border-left-color: #e6b800; }
.cal-item.p { border-left-color: #e03b3b; }

.cal-fecha { min-width: 90px; font-weight: bold; text-transform: capitalize; }
.cal-fecha small, .cal-info small { display: block; color: #aaa; font-weight: normal; text-transform: none; }
.cal-info { flex: 1; }
.cal-cruce { font-size: 18px; font-weight: bold; }
.cal-cruce b { color: #00c84a; }
.cal-res { font-size: 24px; font-weight: 900; }
.cal-item.g .cal-res { color: #00c84a; }
.cal-item.e .cal-res { color: #e6b800; }
.cal-item.p .cal-res { color: #e03b3b; }

.cal-btn {
    padding: 9px 16px; border: none; border-radius: 8px; cursor: pointer;
    background: #079b3b; color: white; font-weight: bold;
}

.cal-vacio { color: #aaa; text-align: center; }

@media (max-width: 800px) {
    .cal-item { flex-wrap: wrap; gap: 8px 14px; }
    .cal-fecha { min-width: 0; }
}


/* =========================
   BARRA DE SPONSORS
========================= */

.barra-sponsors {
    display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
    gap: 8px 30px; padding: 9px 30px; background: var(--rojo-club); color: #fff;
}

.spons-label {
    font: 700 13px var(--fuente-titulos); letter-spacing: 1px;
    padding-right: 20px; border-right: 1px solid rgba(255,255,255,.6);
}

.spons { font: 800 17px var(--fuente-titulos); letter-spacing: 1.5px; text-transform: uppercase; }
.spons img { height: 22px; display: block; filter: brightness(0) invert(1); }

@media (max-width: 800px) {
    .barra-sponsors { justify-content: center; padding: 8px 12px; gap: 6px 18px; }
    .spons-label { border: 0; padding: 0; width: 100%; text-align: center; }
    .spons { font-size: 14px; }
}

.spons-link { color: #fff; text-decoration: none; transition: opacity .2s, transform .2s; }
.spons-link:hover, .spons-link:focus-visible { opacity: .8; transform: translateY(-2px); }


/* =========================
   TIENDA
========================= */

.panel-tienda { width: 780px; max-width: 95%; }

.tienda-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 10px; }

.producto {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,.15);
    border-bottom: 4px solid #079b3b; border-radius: 12px; padding: 20px;
}

.producto-img { background: rgba(255,255,255,.06); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.producto-img svg { width: 100%; max-width: 190px; height: auto; display: block; margin: 0 auto; }
.producto h3 { font-size: 22px; margin-bottom: 4px; }
.panel .producto p { margin-bottom: 10px; font-size: 15px; }
.producto-precio { font-size: 20px; font-weight: 800; color: #00c84a; margin-bottom: 14px; }

.producto-btn {
    display: block; text-decoration: none; text-align: center;
    padding: 13px 20px; font-size: 18px;
}

.producto-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 8px; display: block; }


/* =========================
   PUBLICIDAD
========================= */

.publi {
    position: relative; display: flex; align-items: center; gap: 30px;
    max-width: 900px; margin: 10px auto 30px; padding: 22px;
    background: rgba(8,8,8,.88); border: 1px solid rgba(255,255,255,.2);
    border-bottom: 5px solid #079b3b; border-radius: 14px;
}

.publi img { width: 260px; max-width: 40%; border-radius: 10px; display: block; }
.publi-texto { flex: 1; text-align: left; }
.publi-texto h2 { font-size: 34px; letter-spacing: 1px; margin-bottom: 10px; }
.publi-texto p { color: #ddd; font-size: 18px; line-height: 1.5; margin-bottom: 20px; }

.publi-tag {
    position: absolute; top: 8px; right: 12px; font-size: 11px; letter-spacing: 1px;
    color: rgba(255,255,255,.5);
}

@media (max-width: 800px) {
    .publi { flex-direction: column; margin: 10px 14px 30px; text-align: center; }
    .publi img { max-width: 70%; }
    .publi-texto { text-align: center; }
    .publi-texto h2 { font-size: 28px; }
}


/* =========================
   CUENTA REGRESIVA
========================= */

.cuenta { display: flex; justify-content: center; gap: 12px; margin: 14px 0 18px; }
.cuenta div { min-width: 68px; padding: 10px 6px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; }
.cuenta b { display: block; font-size: 30px; line-height: 1; color: #00c84a; font-variant-numeric: tabular-nums; }
.cuenta small { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #bbb; }
.cuenta-ya { color: #00c84a; font-size: 24px; }

/* =========================
   PLANTEL
========================= */

.panel-plantel { width: 900px; max-width: 95%; }
.panel-plantel > p { margin-bottom: 10px; }
.plantel-grupo { text-align: left; color: #00c84a; font-size: 22px; letter-spacing: 1px; margin: 24px 0 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.15); }
.plantel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.jugador { display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-align: left; background: rgba(255,255,255,.05); border-radius: 10px; border-left: 4px solid #079b3b; }
.jugador-ini { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #079b3b, #e31f26); font-weight: 800; }
.jugador-info { flex: 1; min-width: 0; }
.jugador-info b { display: block; font-size: 16px; }
.jugador-info small { color: #aaa; font-size: 13px; }
.jugador-goles { flex: none; font-size: 14px; font-weight: 800; background: rgba(0,200,74,.15); color: #00c84a; padding: 4px 8px; border-radius: 20px; }

@media (max-width: 800px) {
    .cuenta { gap: 6px; }
    .cuenta div { min-width: 58px; }
    .cuenta b { font-size: 24px; }
}
