:root {
    color-scheme: dark;
    --page: #11102a;
    --panel: #211a48;
    --panel-light: #30245f;
    --line: rgba(190, 166, 255, 0.2);
    --text: #fff7ff;
    --muted: #c1b6d7;
    --cyan: #00eaff;
    --violet: #c084fc;
    --green: #35ff9b;
    --amber: #ffd447;
    --red: #ff3f9f;
    --font-display: "Chakra Petch", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--page);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        linear-gradient(rgba(192, 132, 252, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 132, 252, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 80% 6%, rgba(190, 55, 190, 0.2), transparent 40%),
        radial-gradient(ellipse at 15% 30%, rgba(49, 79, 205, 0.22), transparent 43%),
        linear-gradient(145deg, #171331 0%, #1c1742 48%, #10172f 100%);
    background-size: 36px 36px, 36px 36px, auto, auto;
    font-family: var(--font-body);
    font-size: 18px;
}

body.modal-abierto {
    overflow: hidden;
}

.arcade-bezel {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    opacity: 0.23;
    pointer-events: none;
}

.bezel-art {
    position: absolute;
    display: block;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.2));
}

.bezel-cabinet-left {
    top: 4vh;
    left: clamp(8px, calc((100vw - 1200px) / 2 - 135px), 220px);
    width: clamp(100px, 12vw, 180px);
}

.bezel-donkey {
    top: 31vh;
    left: clamp(8px, calc((100vw - 1200px) / 2 - 115px), 260px);
    width: clamp(120px, 15vw, 210px);
}

.bezel-snow-bros {
    bottom: 4vh;
    left: clamp(8px, calc((100vw - 1200px) / 2 - 110px), 260px);
    width: clamp(100px, 12vw, 170px);
    filter: brightness(1.28)
        drop-shadow(0 0 7px rgba(255, 255, 255, 0.55))
        drop-shadow(0 0 16px rgba(0, 234, 255, 0.35));
}

.bezel-pacman {
    top: 7vh;
    right: clamp(8px, calc((100vw - 1200px) / 2 - 110px), 260px);
    width: clamp(105px, 12vw, 170px);
}

.bezel-space-invaders {
    top: 39vh;
    right: clamp(8px, calc((100vw - 1200px) / 2 - 105px), 260px);
    width: clamp(105px, 12vw, 170px);
}

.bezel-cabinet-right {
    right: clamp(8px, calc((100vw - 1200px) / 2 - 135px), 220px);
    bottom: 4vh;
    width: clamp(100px, 12vw, 180px);
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

[hidden] {
    display: none !important;
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0 64px;
}

.site-header {
    margin: 0 auto 28px;
    text-align: center;
}

.eyebrow,
.section-kicker,
.board-label,
.miniatura-caption {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #a9c1e3;
}

.live-dot,
.board-led {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(110, 231, 168, 0.9);
}

.eyebrow-divider {
    color: var(--cyan);
}

.site-header h1 {
    margin: 0;
    color: #f8fbff;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-shadow: 0 0 28px rgba(49, 217, 255, 0.25);
}

.intro-copy {
    margin: 12px 0 22px;
    color: var(--muted);
    font-size: 1.12rem;
}

.leyenda {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin: 0;
}

.leyenda p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #c4d2e7;
    font-size: 0.94rem;
    font-weight: 600;
}

.estado-punto {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.disponible-punto {
    background: var(--green);
    box-shadow: 0 0 12px rgba(53, 255, 155, 0.9);
}

.reservado-punto {
    background: var(--amber);
    box-shadow: 0 0 12px rgba(255, 212, 71, 0.85);
}

.confirmado-punto {
    background: var(--red);
    box-shadow: 0 0 12px rgba(255, 63, 159, 0.85);
}

.game-panel,
.premios-section {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(24, 37, 67, 0.96), rgba(17, 28, 53, 0.96));
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.27), inset 0 1px rgba(255, 255, 255, 0.035);
}

.game-panel {
    padding: clamp(20px, 3.4vw, 38px);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-kicker {
    margin: 0 0 8px;
    color: var(--cyan);
    font-size: 0.62rem;
}

.section-heading h2,
.participar-heading h2,
.seleccion h2,
.modal-contenido h2 {
    margin: 0;
    color: #f4f7ff;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.045em;
}

#tituloNumeros {
    font-weight: 800;
    letter-spacing: 0.035em;
    text-shadow: 0 0 28px rgba(49, 217, 255, 0.25);
}

.price-chip {
    display: grid;
    gap: 7px;
    min-width: 154px;
    margin: 0;
    padding: 13px 18px;
    border: 1px solid rgba(255, 190, 86, 0.55);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(91, 56, 27, 0.94), rgba(54, 37, 68, 0.96));
    box-shadow: inset 0 0 18px rgba(255, 187, 79, 0.08), 0 0 16px rgba(255, 169, 58, 0.08);
    text-align: center;
}

.price-chip span {
    color: #ffe0a3;
    font-family: var(--font-display);
    font-size: 0.62rem;
    letter-spacing: 0.09em;
}

.price-chip strong {
    color: var(--cyan);
    font-size: 1.28rem;
    line-height: 1;
}

.zona-compra {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    align-items: stretch;
    gap: 22px;
}

.ticket-board {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    padding: clamp(15px, 2.4vw, 26px);
    border: 1px solid rgba(135, 120, 255, 0.28);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% 0, rgba(153, 87, 255, 0.12), transparent 64%),
        linear-gradient(155deg, rgba(14, 14, 42, 0.97), rgba(18, 20, 52, 0.98));
    box-shadow: 0 0 34px rgba(128, 83, 255, 0.11), inset 0 0 35px rgba(0, 0, 0, 0.22);
}

.tombola-illustration {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 3%;
    width: clamp(210px, 35%, 340px);
    color: #e879f9;
    opacity: 0.065;
    pointer-events: none;
    transform: translateY(-42%);
}

.board-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.board-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d3e6ff;
    font-size: 0.58rem;
}

.board-led {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(49, 217, 255, 0.9);
}

.board-hint {
    color: #8498b7;
    font-size: 0.83rem;
}

.numeros {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(10, minmax(34px, 1fr));
    grid-auto-flow: row;
    justify-content: center;
    gap: 10px;
}

.disponible,
.reservado,
.confirmado {
    border: 1px solid transparent;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.numeroticket {
    display: flex;
    width: 100%;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: clamp(0.82rem, 1.35vw, 1rem);
    font-weight: 700;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.disponible.numeroticket {
    border-color: rgba(53, 255, 155, 0.65);
    color: #c4ffe1;
    background: linear-gradient(145deg, rgba(19, 151, 92, 0.88), rgba(8, 93, 73, 0.94));
    box-shadow: 0 0 12px rgba(53, 255, 155, 0.2), inset 0 1px rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.disponible.numeroticket:hover {
    transform: translateY(-2px);
    border-color: var(--green);
    background: linear-gradient(145deg, #20d884, #087954);
    box-shadow: 0 0 20px rgba(53, 255, 155, 0.47);
}

.reservado.numeroticket {
    border-color: rgba(255, 212, 71, 0.84);
    color: #fff2aa;
    background: linear-gradient(145deg, rgba(185, 122, 18, 0.93), rgba(119, 72, 14, 0.96));
    box-shadow: 0 0 15px rgba(255, 196, 39, 0.25), inset 0 1px rgba(255, 255, 255, 0.15);
}

.confirmado.numeroticket {
    border-color: rgba(255, 63, 159, 0.78);
    color: #ffd0e8;
    background: linear-gradient(145deg, rgba(173, 38, 112, 0.88), rgba(115, 25, 82, 0.95));
    box-shadow: 0 0 13px rgba(255, 63, 159, 0.22);
}

.seleccionado {
    z-index: 1;
    transform: translateY(-3px) scale(1.06);
    border: 2px solid #a8fbff !important;
    color: #061827 !important;
    background: linear-gradient(145deg, #b9ffff, #00eaff 58%, #40aaff) !important;
    box-shadow: 0 0 12px rgba(0, 234, 255, 1), 0 0 29px rgba(0, 234, 255, 0.65) !important;
}

.seleccion {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 0;
    gap: 12px;
    padding: 12px 13px 15px;
    overflow: hidden;
    border: 2px solid rgba(169, 117, 255, 0.8);
    border-radius: 28px 28px 17px 17px;
    background:
        radial-gradient(circle at 50% 0, rgba(238, 78, 208, 0.18), transparent 34%),
        linear-gradient(160deg, #34265e, #211941 58%, #171432);
    box-shadow:
        0 0 0 5px rgba(15, 13, 36, 0.7),
        0 16px 38px rgba(8, 6, 25, 0.45),
        inset 0 1px rgba(255, 255, 255, 0.16);
}

.arcade-marquee {
    position: relative;
    display: flex;
    min-height: 67px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 111, 226, 0.72);
    border-radius: 17px 17px 9px 9px;
    color: #fff3ff;
    background:
        linear-gradient(90deg, rgba(255, 60, 184, 0.18), rgba(114, 94, 255, 0.22), rgba(0, 234, 255, 0.14)),
        #1b153c;
    box-shadow:
        0 0 15px rgba(255, 63, 195, 0.38),
        inset 0 0 18px rgba(174, 85, 255, 0.24);
}

.marquee-label {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-shadow: 0 0 13px rgba(255, 121, 233, 0.9);
}

.selection-icon {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #ff91e2;
    font-size: 1rem;
    text-shadow: 0 0 12px rgba(255, 93, 218, 0.95);
}

.marquee-lights {
    position: absolute;
    right: 10px;
    bottom: 8px;
    left: 10px;
    display: flex;
    justify-content: space-between;
}

.marquee-lights i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 8px var(--amber);
}

.marquee-lights i:nth-child(2) {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.marquee-lights i:nth-child(3) {
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.cabinet-screen {
    padding: 14px 13px 13px;
    border: 7px solid #131329;
    border-radius: 18px;
    background:
        linear-gradient(rgba(144, 113, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(144, 113, 255, 0.055) 1px, transparent 1px),
        radial-gradient(ellipse at 50% 0, rgba(70, 56, 154, 0.25), transparent 75%),
        #090d20;
    background-size: 14px 14px, 14px 14px, auto, auto;
    box-shadow:
        inset 0 0 21px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(232, 179, 255, 0.32),
        0 0 18px rgba(105, 71, 255, 0.17);
}

.seleccion .section-kicker {
    margin: 0 0 5px;
    color: #bca8ff;
    font-size: 0.55rem;
}

.seleccion h2 {
    margin-bottom: 12px;
    font-size: 0.82rem;
}

.seleccion p#listaSeleccion {
    min-height: 70px;
    margin: 0 0 10px;
    padding: 11px;
    overflow-wrap: anywhere;
    border: 1px solid rgba(0, 234, 255, 0.18);
    border-radius: 8px;
    color: #c9fcff;
    background: rgba(10, 21, 43, 0.74);
    box-shadow: inset 0 0 14px rgba(0, 234, 255, 0.05);
    font-family: var(--font-display);
    font-size: 0.8rem;
}

.seleccion p#TotalCompra {
    margin: 0;
    color: #ffe66d;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 0 13px rgba(255, 217, 80, 0.43);
}

.selection-note {
    margin: -4px 2px 0;
    color: #c7b9df;
    font-size: 0.74rem;
    line-height: 1.3;
}

.seleccion button,
.button-primary,
#botonSubirComprobante {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 0;
    padding: 13px 15px;
    border: 1px solid rgba(255, 229, 113, 0.88);
    border-radius: 8px 8px 12px 12px;
    color: #28123a;
    background: linear-gradient(180deg, #ffe974 0%, #ffb633 48%, #ea7d2c 100%);
    box-shadow: 0 5px 0 #7f3b2e, 0 9px 16px rgba(255, 131, 47, 0.26), inset 0 1px rgba(255, 255, 255, 0.65);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    transition: transform 120ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.seleccion button:not(.button-recordatorio):hover,
.button-primary:hover,
#botonSubirComprobante:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 6px 0 #7f3b2e, 0 11px 23px rgba(255, 131, 47, 0.38);
}

.seleccion button:not(.button-recordatorio):active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #7f3b2e, 0 4px 12px rgba(255, 131, 47, 0.22);
}

.button-arrow {
    font-size: 1.2rem;
}

.seleccion .como-participar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    margin: 2px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(207, 183, 255, 0.42);
}

.seleccion .participar-heading {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

.seleccion .participar-heading .section-kicker {
    margin: 0;
    color: #ffc4f1;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
}

.seleccion .participar-heading h2 {
    margin: 0;
    font-size: 0.94rem;
}

.seleccion .pasos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seleccion .pasos-grid li {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 66px;
    padding: 11px 12px;
    border: 1px solid rgba(207, 183, 255, 0.34);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(42, 30, 67, 0.9), rgba(11, 24, 43, 0.92));
    box-shadow: inset 0 0 18px rgba(255, 158, 233, 0.035);
}

.seleccion .paso-numero {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-color: rgba(255, 158, 233, 0.65);
    border-radius: 10px;
    color: #ffd1f2;
    background: rgba(255, 99, 209, 0.17);
    font-size: 0.78rem;
}

.seleccion .pasos-grid li > span:last-child {
    display: grid;
    gap: 4px;
}

.seleccion .pasos-grid strong {
    color: #fff7ff;
    font-size: 0.91rem;
    line-height: 1.25;
}

.seleccion .pasos-grid small {
    color: #e0d5f1;
    font-size: 0.79rem;
    line-height: 1.35;
}

.premios-section {
    margin-top: 24px;
    padding: clamp(20px, 3vw, 32px);
}

.section-heading-compact {
    align-items: center;
    margin-bottom: 17px;
}

.section-heading-compact h2 {
    font-size: 1rem;
}

.section-side-note {
    margin: 0;
    color: #8598b5;
    font-size: 0.9rem;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tarjeta-premio {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 15px;
    color: var(--text);
    background: rgba(8, 18, 37, 0.56);
    text-align: left;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tarjeta-premio:hover,
.tarjeta-premio:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 99, 209, 0.62);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 99, 209, 0.12);
}

.miniatura-premio {
    position: relative;
    display: grid;
    min-height: 132px;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(255, 63, 195, 0.23), transparent 58%),
        linear-gradient(135deg, #352355, #20234c 54%, #42234f);
}

.miniatura-premio::before,
.miniatura-premio::after {
    position: absolute;
    width: 135px;
    height: 135px;
    border: 1px solid rgba(255, 183, 247, 0.17);
    border-radius: 50%;
    content: "";
}

.miniatura-premio::after {
    width: 90px;
    height: 90px;
    border-color: rgba(0, 234, 255, 0.22);
}

.icono-respaldo {
    z-index: 1;
    color: rgba(255, 190, 250, 0.9);
    font-size: 2.6rem;
    text-shadow: 0 0 22px rgba(255, 63, 195, 0.75);
}

.miniatura-caption {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 14px;
    color: rgba(226, 239, 255, 0.78);
    font-size: 0.53rem;
}

.miniatura-premio img {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.miniatura-premio img[hidden] {
    display: none;
}

.texto-tarjeta-premio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
}

.texto-tarjeta-premio strong {
    font-size: 1.04rem;
}

.texto-tarjeta-premio > span {
    color: #91a5c4;
    font-size: 0.85rem;
}

.texto-tarjeta-premio > span span {
    color: var(--cyan);
}

.premios-extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 11px 12px;
    border: 1px solid rgba(190, 166, 255, 0.16);
    border-radius: 11px;
    background: rgba(12, 12, 35, 0.48);
}

.premios-extra > span {
    margin-right: 5px;
    color: #a99abd;
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.premios-extra a {
    padding: 5px 10px;
    border: 1px solid rgba(192, 132, 252, 0.28);
    border-radius: 7px;
    color: #e2d4ff;
    background: rgba(143, 78, 201, 0.11);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}

.premios-extra a:hover {
    border-color: var(--cyan);
    color: #fff;
    background: rgba(0, 234, 255, 0.1);
}

.premios-extra a span {
    color: var(--cyan);
}

.como-participar {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--line);
}

.participar-heading .section-kicker {
    color: #c0aaff;
}

.participar-heading h2 {
    font-size: 0.77rem;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pasos-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(207, 183, 255, 0.24);
    border-radius: 12px;
    background: rgba(20, 25, 48, 0.62);
}

.paso-numero {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid rgba(49, 217, 255, 0.35);
    border-radius: 8px;
    color: var(--cyan);
    background: rgba(49, 217, 255, 0.07);
    font-family: var(--font-display);
    font-size: 0.56rem;
}

.pasos-grid li > span:last-child {
    display: grid;
    gap: 3px;
}

.pasos-grid strong {
    color: #f2f7ff;
    font-size: 1.04rem;
    line-height: 1.25;
}

.pasos-grid small {
    color: #c3d0e4;
    font-size: 0.91rem;
    line-height: 1.35;
}

.modal,
.lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    overflow-y: auto;
    background: rgba(3, 8, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-contenido {
    position: relative;
    width: min(100%, 520px);
    max-height: min(92vh, 900px);
    padding: clamp(24px, 4vw, 38px);
    overflow-y: auto;
    border: 1px solid rgba(90, 211, 255, 0.25);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 100% 0, rgba(87, 75, 174, 0.2), transparent 42%),
        linear-gradient(145deg, #1a2848, #111b34);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58), 0 0 45px rgba(49, 217, 255, 0.08);
}

.modal-cerrar,
.lightbox-cerrar {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 14px;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: #d6e5fa;
    background: rgba(5, 12, 27, 0.7);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.modal-cerrar:hover,
.lightbox-cerrar:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.modal-cerrar-icono {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.modal-cerrar-icono::before,
.modal-cerrar-icono::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.modal-cerrar-icono::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-cerrar-icono::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-contenido h2 {
    margin-bottom: 10px;
    padding-right: 28px;
}

.modal-intro {
    margin: 0 0 23px;
    color: var(--muted);
}

#datosComprador,
#formularioComprobante {
    display: grid;
    gap: 10px;
}

#datosComprador label,
#formularioComprobante label {
    margin-top: 7px;
    color: #c7d6eb;
    font-size: 0.96rem;
    font-weight: 600;
}

#datosComprador input,
#archivoComprobante {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(153, 177, 211, 0.26);
    border-radius: 9px;
    outline: none;
    color: var(--text);
    background: rgba(5, 14, 30, 0.6);
}

#datosComprador input:focus,
#archivoComprobante:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(49, 217, 255, 0.12);
}

#datosComprador .button-primary {
    margin-top: 16px;
}

.modal-reserva {
    width: min(100%, 720px);
    border-color: rgba(0, 234, 255, 0.38);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58), 0 0 45px rgba(0, 234, 255, 0.12);
}

#contenidoReserva > .section-kicker {
    padding-right: 35px;
    color: var(--green);
}

.modal-reserva h3 {
    margin: 19px 0 10px;
    color: #dceaff;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.resumen-reserva {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 20px;
}

.resumen-reserva p {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(192, 132, 252, 0.38);
    border-radius: 10px;
    color: #e2d4ff;
    background: linear-gradient(145deg, rgba(67, 45, 105, 0.88), rgba(27, 30, 66, 0.94));
    font-size: 0.83rem;
}

.resumen-reserva p:first-child strong {
    color: #8deeff;
}

.resumen-reserva p:last-child {
    border-color: rgba(255, 190, 86, 0.5);
    color: #ffe2aa;
    background: linear-gradient(145deg, rgba(98, 61, 25, 0.88), rgba(52, 36, 67, 0.94));
}

.resumen-reserva strong {
    overflow-wrap: anywhere;
    color: #fff8ff;
    font-size: 1rem;
}

.resumen-reserva p:last-child strong {
    color: #ffe271;
    text-shadow: 0 0 12px rgba(255, 201, 77, 0.3);
}

.datos-transferencia {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 16px;
    padding: 13px 15px;
    border: 1px solid rgba(0, 234, 255, 0.28);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(5, 15, 32, 0.94), rgba(11, 24, 43, 0.9));
    box-shadow: inset 0 0 22px rgba(0, 234, 255, 0.035), 0 0 18px rgba(0, 234, 255, 0.045);
}

.datos-transferencia p {
    margin: 2px 0;
    color: #d7fff1;
    font-size: 0.91rem;
    line-height: 1.26;
}

.transferencia-instrucciones {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.transferencia-instrucciones p {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(0, 234, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 234, 255, 0.035);
}

.datos-transferencia strong {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.22);
}

.modal-reserva hr {
    height: 1px;
    margin: 18px 0;
    border: 0;
    background: var(--line);
}

#archivoComprobante {
    padding: 8px;
    color: #b7c8e0;
}

#archivoComprobante::file-selector-button {
    margin-right: 10px;
    padding: 8px 11px;
    border: 1px solid rgba(49, 217, 255, 0.3);
    border-radius: 7px;
    color: var(--cyan);
    background: rgba(49, 217, 255, 0.08);
    cursor: pointer;
}

#botonSubirComprobante {
    justify-content: center;
    margin-top: 7px;
}

#botonSubirComprobante:disabled {
    cursor: wait;
    opacity: 0.75;
}

#estadoSubidaComprobante {
    min-height: 1.3em;
    margin: 2px 0 0;
    color: var(--green);
    font-size: 0.95rem;
}

.pantalla-exito-comprobante {
    padding: 22px;
    border: 1px solid rgba(53, 255, 155, 0.3);
    border-radius: 14px;
    background: rgba(5, 20, 33, 0.7);
    text-align: center;
}

.pantalla-exito-comprobante h2 {
    padding: 0;
    color: var(--green);
    text-shadow: 0 0 18px rgba(53, 255, 155, 0.2);
}

.pantalla-exito-comprobante > p:first-of-type {
    margin: 12px 0 20px;
    color: #e4fff3;
    line-height: 1.6;
}

.reserva-aviso-revision {
    padding: 13px;
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: 10px;
    color: #d9eaff;
    background: rgba(0, 234, 255, 0.06);
    line-height: 1.6;
}

.reserva-aviso-revision strong {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 1.15em;
}

.button-recordatorio {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 164, 64, 0.9);
    border-radius: 9px;
    color: #fff8e9;
    background: linear-gradient(110deg, #df382e, #ff7918);
    box-shadow: 0 0 12px rgba(255, 83, 39, 0.32), inset 0 1px rgba(255, 236, 196, 0.3);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.45;
    text-shadow: 0 1px 5px rgba(69, 13, 9, 0.8);
    transition: border-color 160ms ease, filter 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button-recordatorio:hover:not(:disabled) {
    border-color: #ffe28a;
    filter: brightness(1.13);
    box-shadow: 0 0 18px rgba(255, 106, 35, 0.55), inset 0 1px rgba(255, 245, 215, 0.45);
    transform: translateY(-1px);
}

.button-recordatorio:disabled {
    cursor: default;
    opacity: 0.65;
}

#formularioRecordatorioAdmin {
    display: grid;
    gap: 10px;
}

#formularioRecordatorioAdmin label {
    margin-top: 7px;
    color: #c7d6eb;
    font-size: 0.96rem;
    font-weight: 600;
}

#formularioRecordatorioAdmin input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(153, 177, 211, 0.3);
    border-radius: 9px;
    outline: none;
    color: var(--text);
    background: rgba(5, 14, 30, 0.7);
}

#formularioRecordatorioAdmin input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(49, 217, 255, 0.12);
}

#estadoRecordatorioAdmin {
    min-height: 1.3em;
    margin: 2px 0 0;
    color: var(--green);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

#estadoRecordatorioAdmin.estado-error {
    color: #ff91b7;
}

.seleccion .button-recordatorio {
    display: block;
    margin: 0;
    padding: 10px 12px;
    border-color: rgba(255, 164, 64, 0.9);
    border-radius: 9px;
    color: #fff8e9;
    background: linear-gradient(110deg, #df382e, #ff7918);
    box-shadow: 0 0 12px rgba(255, 83, 39, 0.32), inset 0 1px rgba(255, 236, 196, 0.3);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.seleccion .button-recordatorio:hover:not(:disabled) {
    border-color: #ffe28a;
    filter: brightness(1.13);
    box-shadow: 0 0 18px rgba(255, 106, 35, 0.55), inset 0 1px rgba(255, 245, 215, 0.45);
    transform: translateY(-1px);
}

.aviso-admin-arcade {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(255, 91, 62, 0.72);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(87, 24, 30, 0.72), rgba(79, 39, 15, 0.76));
    box-shadow: inset 0 0 18px rgba(255, 89, 49, 0.12), 0 0 16px rgba(255, 73, 42, 0.13);
}

.lightbox {
    z-index: 1100;
    background: rgba(2, 6, 16, 0.91);
}

.lightbox-cerrar {
    position: fixed;
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
}

.lightbox-marco {
    display: grid;
    width: min(100%, 980px);
    min-height: min(60vh, 400px);
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(49, 217, 255, 0.2);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(49, 217, 255, 0.12), transparent 60%),
        #101a31;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 45px rgba(49, 217, 255, 0.08);
}

.lightbox-marco img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

.lightbox-marco p {
    margin: 0;
    padding: 40px 20px;
    color: #b5c8e4;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-align: center;
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .arcade-bezel {
        display: none;
    }
}

@media (max-width: 900px) {
    .zona-compra {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 14px;
    }

    .numeros {
        grid-template-columns: repeat(8, minmax(32px, 1fr));
        gap: 8px;
    }

    .como-participar {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .participar-heading {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .participar-heading .section-kicker {
        margin: 0;
    }
}

@media (max-width: 680px) {
    .arcade-bezel {
        display: block;
        opacity: 0.13;
    }

    .arcade-bezel .bezel-art {
        display: none;
    }

    .arcade-bezel .bezel-cabinet-right {
        top: 2vh;
        right: -28px;
        bottom: auto;
        display: block;
        width: clamp(92px, 29vw, 118px);
    }

    .page-shell {
        width: min(100% - 24px, 560px);
        padding: 30px 0 40px;
    }

    .site-header {
        margin-bottom: 22px;
    }

    .intro-copy {
        max-width: 360px;
        margin: 10px auto 18px;
        font-size: 1rem;
    }

    .game-panel,
    .premios-section {
        border-radius: 17px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .price-chip {
        min-width: 115px;
        gap: 5px;
        padding: 10px 12px;
    }

    .price-chip span {
        font-size: 0.56rem;
    }

    .price-chip strong {
        font-size: 1.08rem;
    }

    .zona-compra {
        grid-template-columns: 1fr;
    }

    .numeros {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        gap: clamp(4px, 1.6vw, 8px);
    }

    .numeroticket {
        border-radius: 9px;
        font-size: clamp(0.68rem, 3.2vw, 0.9rem);
    }

    .seleccion {
        display: flex;
        gap: 11px;
        padding: 13px;
    }

    .seleccion p#TotalCompra {
        font-size: 1.2rem;
    }

    .seleccion button {
        margin: 0;
        padding: 12px 13px;
        font-size: 0.6rem;
    }

    .board-topline {
        align-items: flex-start;
    }

    .board-hint {
        max-width: 130px;
        text-align: right;
        line-height: 1.15;
    }

    .premios-grid {
        gap: 9px;
    }

    .miniatura-premio {
        min-height: 92px;
    }

    .texto-tarjeta-premio {
        align-items: flex-start;
        flex-direction: column;
        gap: 1px;
        padding: 10px;
    }

    .texto-tarjeta-premio strong {
        font-size: 0.9rem;
    }

    .texto-tarjeta-premio > span {
        font-size: 0.77rem;
    }

    .pasos-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pasos-grid small {
        font-size: 0.86rem;
    }

    .modal {
        align-items: end;
        padding: 10px;
    }

    .modal-contenido {
        width: min(100%, 560px);
        max-height: 92vh;
        border-radius: 20px 20px 15px 15px;
    }

    .resumen-reserva {
        grid-template-columns: 1fr;
    }

    .datos-transferencia {
        grid-template-columns: 1fr;
    }

    .transferencia-instrucciones {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 5px;
    }
}

@media (max-width: 390px) {
    .eyebrow {
        font-size: 0.56rem;
    }

    .leyenda {
        gap: 8px 13px;
    }

    .leyenda p {
        font-size: 0.82rem;
    }

    .section-heading h2 {
        font-size: 0.86rem;
    }

    .numeros {
        gap: 4px;
    }

    .seleccion {
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
