@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Exo+2:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg: #030308;
    --bg-card: #0a0a14;
    --bg-input: #12121f;
    --accent: #d600a1;
    --accent-hover: #ff1fb8;
    --accent2: #0d1a3a;
    --neon-cyan: #00d8ff;
    --neon-magenta: #d600a1;
    --neon-yellow: #e8ff00;
    --neon-green: #00ff88;
    --neon-blue: #4d9fff;
    --neon-orange: #ff8c42;
    --text: #ffffff;
    --text-muted: #a8a8c8;
    --success: #00ff88;
    --error: #ff4d6d;
    --warning: #e8ff00;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 216, 255, 0.08);
    --glow-cyan: 0 0 20px rgba(0, 216, 255, 0.35);
    --glow-magenta: 0 0 20px rgba(214, 0, 161, 0.35);
    --glow-yellow: 0 0 16px rgba(232, 255, 0, 0.3);
    --gradient-brand: linear-gradient(135deg, var(--neon-magenta), var(--neon-cyan));
    --gradient-warm: linear-gradient(135deg, var(--neon-yellow), var(--neon-orange));
    --font-display: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
}

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

/* ── Arcade background & CRT ── */
.arcade-body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.arcade-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(214, 0, 161, 0.14) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 15%, rgba(0, 216, 255, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 90%, rgba(232, 255, 0, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 60%, rgba(255, 140, 66, 0.05) 0%, transparent 35%),
        linear-gradient(180deg, #030308 0%, #08081a 50%, #030308 100%);
}

.arcade-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 216, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 0, 161, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: grid-drift 24s linear infinite;
}

@keyframes grid-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.crt-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.02) 3px,
        rgba(0, 0, 0, 0.02) 4px
    );
}

.crt-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 70%, rgba(0, 0, 0, 0.25) 100%);
}

/* ── Arcade cabinet frame ── */
.arcade-cabinet {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 0.75rem;
}

.arcade-cabinet::before,
.arcade-cabinet::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: 12px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, #1a0a3e, #0e0e1c, #1a0a3e);
    border: 1px solid rgba(0, 255, 249, 0.15);
    box-shadow: inset 0 0 20px rgba(0, 255, 249, 0.05);
}

.arcade-cabinet::before { left: 0; }
.arcade-cabinet::after { right: 0; }

@media (max-width: 768px) {
    .arcade-cabinet::before,
    .arcade-cabinet::after { display: none; }
}

/* ── Marquee banner ── */
.arcade-marquee {
    background: linear-gradient(90deg, rgba(214, 0, 161, 0.25), rgba(0, 216, 255, 0.15), rgba(214, 0, 161, 0.25));
    border: 1px solid rgba(0, 216, 255, 0.3);
    border-radius: 12px;
    margin: 0.75rem 0 0;
    padding: 0.6rem 0;
    overflow: hidden;
    box-shadow: var(--glow-cyan);
}

.arcade-marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
}

.arcade-marquee-inner span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-yellow);
    padding: 0 3rem;
    letter-spacing: 0.08em;
    text-shadow: var(--glow-yellow);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── CRT screen area ── */
.crt-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(3, 3, 8, 0.88);
    border: 1px solid rgba(0, 216, 255, 0.3);
    border-radius: 16px;
    box-shadow:
        0 0 50px rgba(0, 216, 255, 0.1),
        0 0 30px rgba(214, 0, 161, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.75rem;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

/* ── HUD (panel arcade en cabecera) ── */
.arcade-hud {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.arcade-hud-header {
    gap: 0.6rem;
    flex-shrink: 0;
}

.arcade-hud-header .arcade-hud-item {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.45rem 0.9rem;
    min-width: 5.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 216, 255, 0.22);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 216, 255, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.arcade-hud-header .arcade-hud-item:hover {
    border-color: rgba(0, 216, 255, 0.4);
    box-shadow: 0 0 16px rgba(0, 216, 255, 0.12);
}

.arcade-hud-header .arcade-hud-item:nth-child(1) {
    border-color: rgba(214, 0, 161, 0.25);
}

.arcade-hud-header .arcade-hud-item:nth-child(1) .arcade-hud-value {
    color: var(--neon-cyan);
}

.arcade-hud-header .arcade-hud-item:nth-child(2) {
    border-color: rgba(232, 255, 0, 0.2);
}

.arcade-hud-header .arcade-hud-item:nth-child(3) {
    border-color: rgba(0, 255, 136, 0.2);
}

.arcade-hud-header .arcade-hud-item:nth-child(3) .arcade-hud-value {
    color: var(--neon-green);
}

.arcade-hud-value {
    color: var(--neon-yellow);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.arcade-hud-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.arcade-hud-label {
    color: var(--text-muted);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.blink {
    animation: blink 1.2s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ── Arcade controls footer ── */
.arcade-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0 1.5rem;
}

.arcade-joystick {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #444, #111);
    border: 3px solid #333;
    box-shadow: 0 4px 0 #000, 0 0 10px rgba(0, 255, 249, 0.2);
    position: relative;
}

.arcade-joystick::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--accent), #990033);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.arcade-buttons {
    display: flex;
    gap: 0.75rem;
}

.arcade-btn-a,
.arcade-btn-b {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
}

.arcade-btn-a {
    background: radial-gradient(circle at 35% 35%, #ff4466, #cc0033);
    border: 2px solid #ff6688;
}

.arcade-btn-b {
    background: radial-gradient(circle at 35% 35%, #44aaff, #0066cc);
    border: 2px solid #66bbff;
}

.arcade-coin-slot {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-yellow);
    padding: 0.5rem 1.25rem;
    border: 1px dashed rgba(232, 255, 0, 0.4);
    border-radius: 999px;
    animation: coin-glow 2s ease-in-out infinite;
    text-shadow: var(--glow-yellow);
}

@keyframes coin-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(232, 255, 0, 0.15); }
    50% { box-shadow: 0 0 20px rgba(232, 255, 0, 0.35), 0 0 8px rgba(0, 216, 255, 0.2); }
}

/* ── Neon text utilities ── */
.neon-title {
    font-family: var(--font-display);
    text-shadow:
        0 0 7px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px rgba(0, 255, 249, 0.3);
    color: var(--text);
}

.neon-accent {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent), 0 0 30px rgba(255, 45, 106, 0.4);
}

.pixel-divider {
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--neon-cyan) 0px,
        var(--neon-cyan) 8px,
        transparent 8px,
        transparent 16px
    );
    margin: 1.5rem 0;
    border: none;
}

/* ── Base layout ── */
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Header (unificado en todo el sitio) ── */
.site-header {
    background: linear-gradient(180deg, rgba(214, 0, 161, 0.1) 0%, rgba(0, 216, 255, 0.04) 50%, transparent 100%);
    padding: 0.85rem 0;
    border-bottom: 2px solid transparent;
    position: relative;
}

.site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.site-header-left {
    justify-self: start;
}

.site-header-center {
    justify-self: center;
    text-align: center;
    min-width: 0;
    max-width: 100%;
}

.site-header-right {
    justify-self: end;
}

.site-header-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 10%, var(--neon-cyan) 55%, var(--neon-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header .logo {
    flex-shrink: 0;
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-magenta), var(--neon-cyan), var(--neon-yellow), var(--neon-magenta));
    background-size: 200% 100%;
    animation: brand-line 6s linear infinite;
}

@keyframes brand-line {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s, filter 0.25s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    display: block;
    height: auto;
    width: 156px;
    max-width: 156px;
    filter: drop-shadow(0 0 14px rgba(0, 216, 255, 0.3)) drop-shadow(0 0 6px rgba(214, 0, 161, 0.2));
    transition: filter 0.3s;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 22px rgba(0, 216, 255, 0.5)) drop-shadow(0 0 12px rgba(214, 0, 161, 0.35));
}

.logo-img-sm {
    width: 125px;
    max-width: 125px;
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--neon-magenta));
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .site-header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: 0.65rem 0.75rem;
        overflow: hidden;
    }

    .site-header-left {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        max-width: 100%;
    }

    .site-header-right {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        min-width: 0;
        max-width: 100%;
    }

    .site-header-center {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        width: 100%;
    }

    .site-header-title {
        white-space: normal;
        font-size: 1.05rem;
    }

    .arcade-hud-header {
        gap: 0.35rem;
        flex-shrink: 1;
        min-width: 0;
        max-width: 100%;
    }

    .arcade-hud-header .arcade-hud-item {
        min-width: 0;
        padding: 0.35rem 0.45rem;
        flex: 1 1 auto;
    }

    .arcade-hud-header .arcade-hud-value {
        font-size: 0.72rem;
    }
}

@media (max-width: 768px) {
    .page-reservation .arcade-hud-header .arcade-hud-item:nth-child(1),
    .page-reservation .arcade-hud-header .arcade-hud-item:nth-child(2) {
        display: none;
    }

    .page-reservation .arcade-hud-header .arcade-hud-item {
        min-width: 0;
        padding: 0.35rem 0.55rem;
    }

    .page-reservation .site-header-right {
        max-width: 5.5rem;
    }

    .page-reservation .logo-img {
        max-width: 7.5rem;
        width: auto;
        height: auto;
    }
}

@media (max-width: 420px) {
    .arcade-hud-header .arcade-hud-label {
        font-size: 0.55rem;
    }
}

.tagline {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

main.container { flex: 1; padding: 2rem 1.25rem; }

.site-footer {
    background: linear-gradient(180deg, transparent, rgba(214, 0, 161, 0.06));
    padding: 1.25rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-body);
    border-top: 2px solid transparent;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-magenta), var(--neon-cyan), var(--neon-yellow), transparent);
}

.site-footer p::before {
    content: '◆ ';
    color: var(--neon-cyan);
}

.site-footer p::after {
    content: ' ◆';
    color: var(--neon-magenta);
}

/* ── Hero ── */
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem 1rem;
    position: relative;
}

.hero::before {
    content: 'Elige tu experiencia';
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 30%, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-compact {
    margin-bottom: 1.25rem;
    padding: 0;
}

.hero-compact::before {
    display: none;
}

.hero-compact h1 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--text) 20%, var(--neon-cyan) 60%, var(--neon-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

.info-box {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 249, 0.3);
    border-left: 4px solid var(--neon-cyan);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.08);
    position: relative;
}

.info-box::before {
    content: 'Info';
    position: absolute;
    top: -0.55rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--neon-cyan);
    background: var(--bg-card);
    padding: 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-box h3 {
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

/* ── Plan cards (game cartridges) ── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.plan-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid rgba(0, 255, 249, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-magenta), var(--neon-cyan), var(--neon-yellow));
}

.plan-card::after {
    content: '★';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    color: var(--neon-yellow);
    opacity: 0;
    transition: opacity 0.25s;
    text-shadow: 0 0 8px var(--neon-yellow);
}

.plan-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--neon-cyan);
    box-shadow:
        0 0 30px rgba(0, 255, 249, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.5);
}

.plan-card:hover::after { opacity: 1; }

.plan-duration {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neon-magenta);
    margin-bottom: 0.5rem;
}

.plan-card h2 {
    margin: 0.5rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text);
}

.plan-desc { color: var(--text-muted); flex: 1; margin-bottom: 1rem; font-size: 0.95rem; }

.plan-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--neon-yellow);
    margin-bottom: 0.5rem;
}

.plan-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── Plan showcase (tabla de precios) ── */
.plans-showcase {
    align-items: stretch;
}

.plan-card-showcase {
    background: linear-gradient(180deg, #0c1028 0%, #060810 100%);
    border: 1px solid rgba(0, 216, 255, 0.2);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 1px rgba(214, 0, 161, 0.2);
}

.plan-card-showcase::before,
.plan-card-showcase::after {
    display: none;
}

.plan-card-showcase:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 216, 255, 0.45);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), var(--glow-cyan);
}

.plan-card-head {
    padding: 1.25rem 1.25rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 216, 255, 0.12);
    background: linear-gradient(180deg, rgba(214, 0, 161, 0.08) 0%, transparent 100%);
}

.plan-card-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--neon-yellow);
    line-height: 1.2;
    text-shadow: var(--glow-yellow);
}

.plan-price-tiers {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-price-tier {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.plan-price-tier-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neon-magenta);
    line-height: 1.3;
}

.plan-price-tier-value {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}

.plan-price-tier-special .plan-price-tier-label {
    color: var(--neon-magenta);
    font-size: 0.68rem;
}

.plan-price-tier-special .plan-price-tier-value {
    font-size: 1.25rem;
}

.plan-highlights {
    list-style: disc;
    margin: 0;
    padding: 0.5rem 1.25rem 1rem 2rem;
    border-bottom: none;
}

.plan-highlights li {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.plan-highlights li:last-child {
    margin-bottom: 0;
}

.plan-highlight {
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 216, 255, 0.35);
}

.plan-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-block-title {
    margin: 0;
    padding: 1rem 1.25rem 0.5rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.3;
}

.plan-block--diffs {
    background: linear-gradient(
        180deg,
        rgba(214, 0, 161, 0.06) 0%,
        transparent 100%
    );
}

.plan-block--diffs .plan-block-title {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(232, 255, 0, 0.2);
}

.plan-block--detail .plan-block-title {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px rgba(214, 0, 161, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.plan-block--detail .plan-highlights + .plan-section .plan-section-title,
.plan-block--detail .plan-section:first-of-type .plan-section-title {
    margin-top: 0;
}

.plan-key-diffs {
    --plan-key-label-width: 4.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0 1.25rem 1rem;
    background: linear-gradient(
        135deg,
        rgba(214, 0, 161, 0.14) 0%,
        rgba(0, 0, 0, 0.25) 45%,
        rgba(232, 255, 0, 0.1) 100%
    );
    border-top: 1px solid rgba(232, 255, 0, 0.12);
    border-bottom: 1px solid rgba(232, 255, 0, 0.12);
    box-shadow: inset 0 0 24px rgba(232, 255, 0, 0.04);
}

.plan-key-diff {
    display: grid;
    grid-template-columns: var(--plan-key-label-width) minmax(0, 1fr);
    column-gap: 0.6rem;
    align-items: center;
    padding: 0.55rem 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-key-diff--duration {
    border-left: 4px solid var(--neon-cyan);
    box-shadow: 0 0 16px rgba(0, 216, 255, 0.08);
}

.plan-key-diff--battles {
    border-left: 4px solid var(--neon-magenta);
    box-shadow: 0 0 16px rgba(214, 0, 161, 0.1);
}

.plan-key-diff--unlimited {
    border-left: 4px solid var(--neon-yellow);
    box-shadow: 0 0 16px rgba(232, 255, 0, 0.12);
}

.plan-key-diff--unlimited .plan-key-diff-text {
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
}

.plan-key-diff--includes {
    border-left: 3px solid rgba(0, 216, 255, 0.45);
    align-items: start;
    padding: 0.45rem 0.65rem;
}

.plan-key-diff--includes .plan-key-diff-text {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(240, 240, 248, 0.92);
    text-shadow: none;
    letter-spacing: normal;
}

.plan-key-diff--includes .plan-key-diff-text .plan-highlight {
    font-weight: 700;
}

.plan-key-diff--gift {
    border-left: 2px solid rgba(232, 255, 0, 0.45);
    box-shadow: none;
    padding: 0.4rem 0.65rem;
    background: rgba(0, 0, 0, 0.2);
    align-items: start;
}

.plan-key-diff-label {
    width: 100%;
    min-width: 0;
    font-family: var(--font-display);
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    line-height: 1.25;
    white-space: pre-line;
    text-wrap: balance;
}

.plan-key-diff--gift .plan-key-diff-label {
    font-size: 0.52rem;
    color: rgba(232, 255, 0, 0.65);
    line-height: 1.2;
}

.plan-key-diff-text {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.02em;
    min-width: 0;
}

.plan-key-diff--duration .plan-key-diff-text {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.plan-key-diff--battles .plan-key-diff-text {
    color: var(--neon-magenta);
    text-shadow: 0 0 12px rgba(214, 0, 161, 0.45);
}

.plan-key-diff--gift .plan-key-diff-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(240, 240, 248, 0.82);
    text-shadow: none;
    letter-spacing: normal;
}

.plan-section {
    padding: 0.85rem 1.25rem 0;
}

.plan-block--detail .plan-section:last-of-type {
    padding-bottom: 0.75rem;
}

.plan-section-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--neon-yellow);
    line-height: 1.35;
    text-shadow: 0 0 10px rgba(232, 255, 0, 0.2);
}

.plan-section-list {
    list-style: disc;
    margin: 0 0 0.75rem;
    padding-left: 1.1rem;
}

.plan-section-list li {
    font-size: 0.88rem;
    line-height: 1.4;
    color: rgba(240, 240, 248, 0.92);
    margin-bottom: 0.3rem;
}

.plan-section-list li:last-child {
    margin-bottom: 0;
}

.plan-card-footer {
    margin-top: auto;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.btn-plan-reserve {
    width: 100%;
}

.plan-pay-note {
    margin: 0.65rem 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

.extra-guests-notice {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, rgba(214, 0, 161, 0.08) 0%, rgba(0, 216, 255, 0.05) 100%);
    border: 1px solid rgba(0, 216, 255, 0.25);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 216, 255, 0.08);
}

.payment-summary {
    margin-top: 1rem;
    padding: 1.15rem;
    background: linear-gradient(135deg, rgba(214, 0, 161, 0.08) 0%, rgba(0, 216, 255, 0.05) 100%);
    border: 1px solid rgba(0, 216, 255, 0.25);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 216, 255, 0.08);
}

.payment-summary .payment-split {
    margin-bottom: 0;
}

.payment-split-event--inactive {
    opacity: 0.62;
}

.payment-split-event--inactive .payment-split-amount {
    color: var(--text-muted);
    text-shadow: none;
}

.payment-split-event--inactive .payment-split-badge,
.payment-split-event--inactive .payment-split-label {
    opacity: 0.85;
}

.payment-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1.15rem;
}

.payment-split-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid;
    min-width: 0;
}

.payment-split-today {
    background: rgba(0, 216, 255, 0.08);
    border-color: rgba(0, 216, 255, 0.35);
    box-shadow: 0 0 16px rgba(0, 216, 255, 0.1);
}

.payment-split-event {
    background: rgba(232, 255, 0, 0.06);
    border-color: rgba(232, 255, 0, 0.3);
    box-shadow: 0 0 16px rgba(232, 255, 0, 0.08);
}

.payment-split-badge {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.payment-split-today .payment-split-badge { color: var(--neon-cyan); }
.payment-split-event .payment-split-badge { color: var(--neon-yellow); }

.payment-split-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-split-amount {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    line-height: 1.1;
}

.payment-split-today .payment-split-amount {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 216, 255, 0.35);
}

.payment-split-event .payment-split-amount {
    color: var(--neon-yellow);
    text-shadow: 0 0 12px rgba(232, 255, 0, 0.3);
}

.payment-split-detail {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.payment-split-detail strong {
    color: var(--text);
}

.payment-split-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neon-magenta);
    text-shadow: 0 0 10px rgba(214, 0, 161, 0.4);
    align-self: center;
}

.extra-guests-checkbox {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text);
}

.extra-guests-checkbox input {
    margin-top: 0.35rem;
    flex-shrink: 0;
}

/* Énfasis en textos de checkboxes del wizard */
.cb-em {
    font-weight: 600;
}

.cb-em-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 216, 255, 0.3);
}

.cb-em-yellow {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(232, 255, 0, 0.25);
}

.cb-em-magenta {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px rgba(214, 0, 161, 0.3);
}

.cb-em-time {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05em;
    letter-spacing: 0.02em;
}

.vacate-time-notice {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(0, 216, 255, 0.06);
    border: 1px solid rgba(0, 216, 255, 0.28);
    border-radius: 10px;
    box-shadow: 0 0 14px rgba(0, 216, 255, 0.08);
}

.vacate-time-checkbox {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text);
}

.vacate-time-checkbox input {
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.terms-checkbox {
    margin-top: 0.75rem;
}

.terms-checkbox span {
    line-height: 1.5;
}

@media (max-width: 700px) {
    .payment-split {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .payment-split-arrow {
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }
}

@media (max-width: 900px) {
    .plan-card-title {
        font-size: 1.5rem;
    }

    .plan-key-diffs {
        --plan-key-label-width: 4.35rem;
    }

    .plan-key-diff--gift .plan-key-diff-text {
        font-size: 0.76rem;
    }

    .plan-key-diff--includes .plan-key-diff-text {
        font-size: 0.78rem;
    }
}

/* ── Buttons (modern arcade) ── */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    text-align: center;
    position: relative;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--glow-magenta);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-hover), var(--neon-cyan));
    box-shadow: var(--glow-cyan), var(--glow-magenta);
    transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(255, 61, 110, 0.3);
}

.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary.is-blocked,
.btn-primary[aria-disabled="true"]:not(.is-loading) {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-primary.is-blocked:hover,
.btn-primary[aria-disabled="true"]:not(.is-loading):hover {
    background: var(--gradient-brand);
    transform: none;
    box-shadow: none;
}

.btn .btn-content-default {
    display: inline;
}

.btn .btn-content-loading {
    display: none;
}

.btn.is-loading .btn-content-default {
    display: none !important;
}

.btn.is-loading .btn-content-loading {
    display: inline-flex !important;
}

.btn.is-loading {
    cursor: wait;
    pointer-events: none;
    opacity: 0.92;
}

.btn-content-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.btn-spinner {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; width: 100%; }

.btn-secondary {
    background: rgba(26, 16, 64, 0.8);
    color: var(--neon-cyan);
    border: 1px solid rgba(46, 232, 224, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
    background: rgba(46, 232, 224, 0.1);
    box-shadow: 0 4px 16px rgba(46, 232, 224, 0.15);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(1px);
}

.btn-danger {
    background: linear-gradient(135deg, #fb7185, var(--error));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(248, 113, 113, 0.3);
}

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* ── Alerts ── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.alert-success {
    background: rgba(57, 255, 20, 0.08);
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.1);
}

.alert-error {
    background: rgba(255, 51, 85, 0.08);
    border: 2px solid var(--error);
    color: var(--error);
    box-shadow: 0 0 10px rgba(255, 51, 85, 0.1);
}

.breadcrumb { margin-bottom: 1.5rem; }

.breadcrumb a {
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--text);
}

.reservation-form-section h1 { margin-bottom: 0.5rem; }
.plan-summary { color: var(--text-muted); margin-bottom: 0; }

/* ── Reservation layout ── */
.reservation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: stretch;
}
.reservation-main { min-width: 0; }

.reservation-page-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text);
    line-height: 1.3;
}

.page-reservation.arcade-body {
    overflow-x: clip;
    max-width: 100vw;
}

.page-reservation .arcade-cabinet {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.page-reservation .crt-screen {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.reservation-sidebar {
    min-width: 0;
    align-self: stretch;
}

.sidebar-mobile-dock,
.sidebar-mobile-backdrop { display: none; }

.reservation-sidebar-inner {
    position: sticky;
    top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 901px) {
    .page-reservation.arcade-body {
        overflow-x: visible;
    }

    .page-reservation .crt-screen,
    .page-reservation .arcade-cabinet {
        overflow: visible;
    }

    .page-reservation .reservation-sidebar-inner {
        overflow: visible;
        max-height: none;
        overscroll-behavior: auto;
    }
}

.sidebar-plan {
    background: var(--bg-card);
    border: 2px solid rgba(255, 0, 255, 0.25);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.08);
}

.sidebar-plan-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neon-magenta);
    margin-bottom: 0.35rem;
}

.sidebar-plan-name { font-size: 1.15rem; margin-bottom: 0.5rem; line-height: 1.3; font-weight: 700; }
.sidebar-plan-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; line-height: 1.45; }
.sidebar-plan-meta { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; color: var(--text-muted); }
.sidebar-meta-item { display: block; }

.sidebar-selection {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 249, 0.15);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.sidebar-selection-title {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neon-cyan);
    margin-bottom: 0.75rem;
}

.sidebar-selection-list { margin: 0; }
.sidebar-selection-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(0, 255, 249, 0.08);
}
.sidebar-selection-row:last-child { border-bottom: none; }
.sidebar-selection-row dt { font-size: 0.85rem; color: var(--text-muted); flex-shrink: 0; }
.sidebar-selection-row dd {
    font-size: 0.88rem;
    font-weight: 500;
    text-align: right;
    margin: 0;
    color: var(--text-muted);
    transition: color 0.25s;
    font-family: var(--font-mono);
}
.sidebar-selection-row dd.sidebar-filled { color: var(--neon-yellow); text-shadow: 0 0 6px rgba(255, 230, 0, 0.3); }

.sidebar-price.price-breakdown {
    margin-bottom: 0;
    box-shadow: var(--shadow);
    border: 2px solid rgba(0, 255, 249, 0.15);
}

.sidebar-pay {
    background: var(--bg-card);
    border: 2px solid rgba(255, 61, 110, 0.35);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: 0 0 20px rgba(255, 61, 110, 0.12);
}

.sidebar-pay[hidden] {
    display: none;
}

.sidebar-pay .submit-btn-slot {
    display: block;
}

.sidebar-pay .btn {
    width: 100%;
    margin: 0;
}

.sidebar-pay .submit-hint {
    text-align: left;
}

.reservation-wizard { max-width: none; }

/* ── Wizard progress ── */
.wizard-progress { margin-bottom: 1.75rem; }

.wizard-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-bottom: 0.75rem;
    padding: 0;
    gap: 0.5rem;
}

.wizard-step-indicator {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.35;
    transition: opacity 0.3s;
}

.wizard-step-indicator.active,
.wizard-step-indicator.completed { opacity: 1; }

.wizard-step-indicator .step-number {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--bg-input);
    border: 2px solid rgba(46, 232, 224, 0.2);
    transition: all 0.3s;
}

.wizard-step-indicator.active .step-number {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 45, 106, 0.5);
}

.wizard-step-indicator.completed .step-number {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: #000;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.wizard-step-indicator .step-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
}

.wizard-step-indicator.active .step-label { color: var(--neon-cyan); }

.wizard-progress-bar {
    height: 6px;
    background: rgba(0, 255, 249, 0.08);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 249, 0.15);
}

.wizard-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-magenta), var(--neon-cyan), var(--neon-green));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.5);
}

/* ── Wizard panels ── */
.wizard-panel {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 249, 0.1);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: opacity 0.4s, transform 0.4s, max-height 0.5s;
}

.wizard-panel.locked { display: none; }
.wizard-panel.revealing { display: block; opacity: 0; transform: translateY(16px); }

.wizard-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(0, 255, 249, 0.35);
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.1), var(--shadow);
}

.wizard-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 249, 0.08);
}

.wizard-panel-icon { font-size: 1.75rem; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 0 6px var(--neon-magenta)); }
.wizard-panel-header h2 { font-size: 1.05rem; margin-bottom: 0.25rem; font-weight: 700; }
.wizard-panel-desc { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.wizard-panel-body { padding: 1.25rem 1.5rem; }

.wizard-panel-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 255, 249, 0.08);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    transition: background 0.3s, color 0.3s;
}

.wizard-panel-status.status-done {
    background: rgba(57, 255, 20, 0.06);
    color: var(--neon-green);
}

.wizard-panel-status .status-icon { font-weight: 700; width: 1.25rem; text-align: center; }
.wizard-summary { margin-bottom: 1.25rem; }

/* ── Toasts ── */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 360px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 249, 0.2);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 249, 0.1);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    line-height: 1.4;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.toast-visible { opacity: 1; transform: translateX(0); }
.toast-hiding { opacity: 0; transform: translateX(100%); }
.toast-success { border-left: 4px solid var(--neon-green); }
.toast-info { border-left: 4px solid var(--neon-cyan); }
.toast-warning { border-left: 4px solid var(--neon-yellow); }
.toast-error { border-left: 4px solid var(--error); }
.toast-icon { flex-shrink: 0; font-size: 1rem; }
.toast-message { flex: 1; }

/* ── Slots loading ── */
.slots-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    padding: 1rem 0;
    font-family: var(--font-mono);
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(0, 255, 249, 0.15);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    box-shadow: 0 0 8px rgba(0, 255, 249, 0.3);
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .page-reservation.arcade-body {
        overflow-x: clip;
    }

    .page-reservation .arcade-cabinet {
        overflow-x: clip;
    }

    .page-reservation .crt-screen {
        overflow-x: clip;
    }

    .reservation-layout { grid-template-columns: 1fr; }

    .page-reservation .arcade-controls {
        display: none;
    }

    .page-reservation .site-footer {
        padding-bottom: calc(var(--mobile-dock-height, 5.25rem) + 0.5rem);
    }

    .reservation-main {
        padding-bottom: calc(var(--mobile-dock-height, 5.25rem) + 1.25rem);
    }

    .reservation-sidebar {
        position: static;
        height: 0;
        overflow: visible;
        pointer-events: none;
    }

    /* Solo visible como hijo directo de body (viewport), no dentro del aside */
    .reservation-sidebar .sidebar-mobile-dock {
        display: none !important;
    }

    body > .sidebar-mobile-dock {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        z-index: 10050;
        pointer-events: auto;
        background: rgba(10, 10, 20, 0.98);
        border-top: 2px solid rgba(0, 216, 255, 0.35);
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 216, 255, 0.1);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transform: translateZ(0);
    }

    .sidebar-mobile-dock {
        display: none;
    }

    .sidebar-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .sidebar-mobile-dock.has-pay .sidebar-mobile-bar {
        padding-bottom: 0.35rem;
    }

    .sidebar-mobile-pay {
        padding: 0 1rem 0.75rem;
    }

    .sidebar-mobile-pay .btn {
        width: 100%;
        margin: 0;
    }

    .submit-btn-slot {
        display: none;
    }

    .sidebar-pay {
        display: none !important;
    }

    .sidebar-mobile-bar-info {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        min-width: 0;
    }

    .sidebar-mobile-plan {
        font-family: var(--font-display);
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sidebar-mobile-price-wrap {
        display: flex;
        align-items: baseline;
        gap: 0.4rem;
    }

    .sidebar-mobile-price-label {
        font-size: 0.72rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .sidebar-mobile-price {
        font-family: var(--font-mono);
        font-size: 1.05rem;
        color: var(--neon-yellow);
        text-shadow: 0 0 8px rgba(232, 255, 0, 0.35);
    }

    .sidebar-mobile-toggle {
        flex-shrink: 0;
        padding: 0.55rem 0.85rem;
        border: 1px solid rgba(0, 216, 255, 0.35);
        border-radius: 999px;
        background: rgba(0, 216, 255, 0.08);
        color: var(--neon-cyan);
        font-family: var(--font-body);
        font-size: 0.82rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s, border-color 0.2s;
    }

    .sidebar-mobile-toggle:hover {
        background: rgba(0, 216, 255, 0.15);
        border-color: rgba(0, 216, 255, 0.55);
    }

    .sidebar-mobile-backdrop {
        display: none;
    }

    body > .sidebar-mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10049;
        background: rgba(0, 0, 0, 0.65);
        pointer-events: auto;
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .sidebar-mobile-backdrop[hidden] {
        display: none;
    }

    .reservation-sidebar.is-expanded .sidebar-mobile-backdrop:not([hidden]),
    body.sidebar-detail-expanded .sidebar-mobile-backdrop:not([hidden]) {
        opacity: 1;
    }

    .reservation-sidebar-inner {
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--mobile-dock-height, 0px);
        top: auto;
        z-index: 10051;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: min(85vh, calc(100dvh - var(--mobile-dock-height, 5rem) - 1rem));
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
        background: var(--bg);
        border-radius: var(--radius) var(--radius) 0 0;
        border-top: 2px solid rgba(0, 216, 255, 0.25);
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: auto;
        visibility: hidden;
    }

    body > .reservation-sidebar-inner .sidebar-plan,
    body > .reservation-sidebar-inner .sidebar-selection,
    body > .reservation-sidebar-inner .sidebar-price {
        max-width: 100%;
        min-width: 0;
    }

    .sidebar-selection-row {
        align-items: flex-start;
    }

    .sidebar-selection-row dd {
        flex: 1 1 auto;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.sidebar-detail-expanded,
    body.sidebar-mobile-open {
        overflow-x: clip;
        max-width: 100vw;
    }

    .reservation-sidebar.is-expanded .reservation-sidebar-inner,
    body.sidebar-detail-expanded .reservation-sidebar-inner {
        transform: translateY(0);
        visibility: visible;
    }

    .sidebar-plan-meta { flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }

    body.sidebar-mobile-open { overflow: hidden; }
}

@media (max-width: 600px) {
    .wizard-step-indicator .step-label { font-size: 0.72rem; }
    .toast-container { left: 1rem; right: 1rem; max-width: none; }
    .arcade-controls { gap: 1rem; }
    .arcade-coin-slot { font-size: 0.65rem; }
}

.reservation-form { max-width: 100%; }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid rgba(46, 232, 224, 0.15);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 255, 249, 0.2);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row--aligned-inputs .form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.form-row--aligned-inputs .form-field-head {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.15rem;
}

.form-row--aligned-inputs .form-field-head label {
    margin-bottom: 0;
    line-height: 1.2;
}

.guests-field-group .field-hint--tight,
.form-field-head .field-hint--tight {
    margin: -0.12rem 0 0;
    padding: 0;
    font-size: 0.76rem;
    line-height: 1;
}

.field-hint--spacer {
    visibility: hidden;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }

    .form-row--aligned-inputs .field-hint--spacer {
        display: none;
    }
}

fieldset {
    border: 2px solid rgba(0, 255, 249, 0.15);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

legend {
    padding: 0 0.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-magenta);
    letter-spacing: 0.03em;
}

/* ── Time slots ── */
.slots-container { margin-top: 0.5rem; }

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.slot-btn {
    position: relative;
    padding: 0.85rem;
    background: var(--bg-input);
    border: 1px solid rgba(46, 232, 224, 0.15);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.2s;
}

.slot-btn:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 255, 249, 0.2);
    transform: translateY(-2px);
}

.slot-btn.selected {
    border-color: var(--accent);
    background: rgba(255, 45, 106, 0.15);
    box-shadow: 0 0 15px rgba(255, 45, 106, 0.3);
}

.slot-btn.optimized { border-color: rgba(57, 255, 20, 0.5); }

.slot-badge {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--neon-green);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.slots-hint, .loading, .no-slots { color: var(--text-muted); font-size: 0.95rem; }

.slots-legend {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
}

.legend-optimal {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid var(--neon-green);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(57, 255, 20, 0.4);
}

.terms-box {
    background: var(--bg-input);
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(0, 255, 249, 0.1);
    font-family: var(--font-mono);
}

.checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; font-size: 0.95rem; }
.checkbox-label input { width: auto; margin-top: 0.25rem; accent-color: var(--accent); }

/* ── Result screens (game over / victory) ── */
.result-section {
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
    padding: 1rem;
}

.result-section h1 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.result-icon {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    border: 2px solid;
}

.result-icon.success {
    background: rgba(74, 222, 128, 0.1);
    color: var(--neon-green);
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 0 24px rgba(74, 222, 128, 0.2);
}

.result-icon.pending {
    background: rgba(250, 204, 21, 0.1);
    color: var(--neon-yellow);
    border-color: rgba(250, 204, 21, 0.4);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.15);
}

.result-icon.error {
    background: rgba(248, 113, 113, 0.1);
    color: var(--error);
    border-color: rgba(248, 113, 113, 0.4);
    box-shadow: 0 0 16px rgba(248, 113, 113, 0.15);
}

.result-section h1 + p,
.result-lead {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.result-lead {
    margin-top: 0;
}

.reservation-summary {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    border: 2px solid rgba(0, 255, 249, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.08);
}

.reservation-summary h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.reservation-summary dt { color: var(--text-muted); font-family: var(--font-body); font-size: 0.9rem; }
.reservation-summary dd { font-weight: 500; font-family: var(--font-body); }

.reservation-summary dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

.empty-state::before {
    content: 'Sin planes disponibles';
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ── Admin (control panel) ── */
.admin-body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.admin-layout { display: flex; min-height: 100vh; position: relative; z-index: 1; }

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0e0e1c, #12122a);
    padding: 1.5rem;
    border-right: 2px solid rgba(0, 255, 249, 0.2);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.admin-sidebar::before {
    content: 'Control';
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--neon-cyan);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-align: center;
    text-shadow: var(--glow-cyan);
}

.logo-sidebar {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.admin-sidebar-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--neon-yellow);
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.logo-login {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-cyan);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-nav a {
    display: block;
    padding: 0.65rem 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.admin-nav a::before {
    content: '▸ ';
    color: var(--neon-magenta);
    opacity: 0;
    transition: opacity 0.2s;
}

.admin-nav a:hover::before,
.admin-nav a.active::before { opacity: 1; }

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(46, 232, 224, 0.06);
    color: var(--neon-cyan);
    border-color: rgba(46, 232, 224, 0.15);
}

.admin-nav hr {
    border: none;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(0, 255, 249, 0.3) 0px,
        rgba(0, 255, 249, 0.3) 6px,
        transparent 6px,
        transparent 12px
    );
    margin: 1rem 0;
}

.admin-content { flex: 1; padding: 2rem; }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 249, 0.15);
}

.admin-header h1 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(46, 232, 224, 0.12);
}

.data-table th, .data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(46, 232, 224, 0.06);
}

.data-table th {
    background: rgba(46, 232, 224, 0.05);
    color: var(--neon-cyan);
    font-size: 0.78rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.data-table td {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.data-table tr:hover td { background: rgba(0, 255, 249, 0.03); }

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: 1px solid;
}

.badge-paid { background: rgba(57, 255, 20, 0.1); color: var(--neon-green); border-color: rgba(57, 255, 20, 0.3); }
.badge-pending { background: rgba(255, 230, 0, 0.1); color: var(--neon-yellow); border-color: rgba(255, 230, 0, 0.3); }
.badge-cancelled, .badge-expired { background: rgba(255, 51, 85, 0.1); color: var(--error); border-color: rgba(255, 51, 85, 0.3); }
.badge-special { background: rgba(255, 0, 255, 0.1); color: var(--neon-magenta); border-color: rgba(255, 0, 255, 0.3); }

.admin-card-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-card-header-row h3 { margin: 0; }

.admin-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(0, 255, 249, 0.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.admin-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-magenta);
}

.plan-price-block {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(0, 216, 255, 0.18);
    border-radius: 10px;
    background: rgba(0, 216, 255, 0.04);
}

.plan-price-block-title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--neon-cyan);
}

.edit-status { margin-bottom: 1rem; color: var(--text-muted); font-size: 0.9rem; font-family: var(--font-body); }
.mark-paid-form { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }

.filter-buttons { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.filter-buttons .btn.active { background: var(--accent); color: #fff; box-shadow: 0 0 15px rgba(255, 45, 106, 0.4); }

.bulk-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 255, 249, 0.1);
}

.bulk-actions button:disabled { opacity: 0.4; cursor: not-allowed; }

.actions-cell { white-space: nowrap; }
.actions-cell .btn { margin-right: 0.25rem; margin-bottom: 0.25rem; }

.admin-content .slots-container { margin-top: 0.5rem; }
.admin-content .slots-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.admin-content .slot-btn {
    padding: 0.4rem 0.75rem;
    border: 2px solid rgba(0, 255, 249, 0.15);
    border-radius: var(--radius);
    background: var(--bg-input);
    color: var(--text);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.admin-content .slot-btn:hover { border-color: var(--neon-cyan); }
.admin-content .slot-btn.selected { background: var(--accent); border-color: var(--accent); color: #fff; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 2px solid rgba(0, 255, 249, 0.15);
    border-left: 4px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.15);
}

.stat-card .stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-yellow);
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
}

/* ── Login (insert coin screen) ── */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-box {
    max-width: 420px;
    width: 100%;
    margin: 2rem auto;
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--glow-magenta);
    border: 1px solid rgba(0, 216, 255, 0.25);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}

/* ── Pricing ── */
.plan-pricing-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0.5rem 0 1rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

.price-type-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-mono);
    border: 1px solid;
}

.price-type-weekend { background: rgba(255, 230, 0, 0.1); color: var(--neon-yellow); border-color: rgba(255, 230, 0, 0.3); }
.price-type-special { background: rgba(255, 0, 255, 0.1); color: var(--neon-magenta); border-color: rgba(255, 0, 255, 0.3); }

.price-breakdown {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-breakdown-section {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    border: 2px solid rgba(0, 255, 249, 0.1);
}

.price-breakdown-now {
    background: rgba(57, 255, 20, 0.06);
    border-color: rgba(57, 255, 20, 0.25);
}

.price-breakdown-event { background: rgba(255, 255, 255, 0.02); }

.price-breakdown-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.price-breakdown-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.price-breakdown-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: rgba(46, 232, 224, 0.08);
    color: var(--neon-cyan);
    border: 1px solid rgba(46, 232, 224, 0.2);
}

.price-breakdown-amount {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--neon-yellow);
}

.price-breakdown-amount-muted { color: var(--text-muted); }
.price-breakdown-detail { margin: 0; font-size: 0.9rem; color: var(--text-muted); font-family: var(--font-body); }

.price-breakdown-note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(46, 232, 224, 0.08);
    font-family: var(--font-body);
}

.price-breakdown-total { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; font-family: var(--font-display); color: var(--neon-yellow); }
.price-breakdown-details { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--text-muted); font-family: var(--font-body); }
.price-breakdown-details li { margin-bottom: 0.25rem; }

.hero-pricing-note {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.field-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.35;
    font-family: var(--font-body);
}

.field-error {
    display: block;
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 0.35rem;
    line-height: 1.35;
}

.field-error[hidden] {
    display: none;
}

.form-group.has-field-error input,
.form-group.has-field-error select,
.form-group.has-field-error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 2px rgba(255, 77, 109, 0.15);
}

.submit-hint {
    margin: 0.65rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

.submit-hint[hidden] {
    display: none;
}

.sidebar-mobile-pay .submit-hint {
    margin-top: 0.5rem;
    text-align: left;
}

.field-tooltip {
    display: none;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text);
    background: rgba(232, 255, 0, 0.08);
    border: 1px solid rgba(232, 255, 0, 0.35);
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(232, 255, 0, 0.1);
}

.field-tooltip.is-visible {
    display: flex;
}

.field-tooltip[hidden] {
    display: none !important;
}

.field-tooltip strong {
    color: var(--neon-yellow);
    font-weight: 700;
}

.field-tooltip-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon-yellow);
    background: rgba(232, 255, 0, 0.12);
    border-radius: 50%;
}

.guests-field-group input.input-below-base {
    border-color: rgba(232, 255, 0, 0.55);
    box-shadow: 0 0 0 2px rgba(232, 255, 0, 0.12);
}

/* ── Calendar (admin) ── */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.calendar-nav h3 { margin: 0; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); }

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.legend-special { background: var(--neon-magenta); box-shadow: 0 0 6px var(--neon-magenta); }
.legend-weekend { background: var(--neon-yellow); box-shadow: 0 0 6px var(--neon-yellow); }
.legend-holiday { background: var(--error); box-shadow: 0 0 6px var(--error); }
.legend-today { background: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); }

.pricing-calendar { margin-bottom: 0.75rem; }

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day { margin: 0; min-height: 64px; }
.calendar-day.empty { background: transparent; }

.calendar-day-btn {
    width: 100%;
    height: 100%;
    min-height: 64px;
    border: 2px solid rgba(0, 255, 249, 0.1);
    border-radius: var(--radius);
    background: var(--bg-input);
    color: var(--text);
    cursor: pointer;
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: border-color 0.15s, transform 0.1s, box-shadow 0.15s;
    font-family: var(--font-mono);
}

.calendar-day-btn:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.2);
}

.calendar-day .day-number { font-weight: 700; font-size: 0.95rem; }
.calendar-day .day-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.calendar-day.is-special .calendar-day-btn {
    background: rgba(255, 0, 255, 0.12);
    border-color: var(--neon-magenta);
}

.calendar-day.is-weekend .calendar-day-btn {
    background: rgba(255, 230, 0, 0.08);
    border-color: rgba(255, 230, 0, 0.4);
}

.calendar-day.is-holiday .calendar-day-btn {
    background: rgba(255, 51, 85, 0.08);
    border-color: rgba(255, 51, 85, 0.4);
}

.calendar-day.is-today .calendar-day-btn {
    box-shadow: inset 0 0 0 2px var(--neon-cyan), 0 0 10px rgba(0, 255, 249, 0.2);
}

.calendar-hint { font-size: 0.85rem; color: var(--text-muted); margin: 0; font-family: var(--font-mono); }

/* ── Payment debug ── */
.payment-debug-panel {
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: left;
    background: #0a0a0a;
    border: 2px solid var(--neon-yellow);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 0 20px rgba(255, 230, 0, 0.15);
}

.payment-debug-panel h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-yellow);
    margin-bottom: 0.5rem;
}

.payment-debug-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; font-family: var(--font-mono); }

.payment-debug-step {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 230, 0, 0.3);
    border-radius: var(--radius);
    overflow: hidden;
}

.payment-debug-step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: rgba(255, 230, 0, 0.08);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

.payment-debug-num {
    background: var(--neon-yellow);
    color: #000;
    font-weight: 700;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    font-family: var(--font-display);
}

.payment-debug-time { color: var(--text-muted); font-size: 0.8rem; }

.payment-debug-data {
    margin: 0;
    padding: 0.85rem;
    background: #050505;
    color: var(--neon-green);
    font-size: 0.78rem;
    line-height: 1.45;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: var(--font-mono);
    text-shadow: 0 0 4px rgba(57, 255, 20, 0.3);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Install page ── */
.install-page {
    min-height: 100vh;
    position: relative;
}

.install-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1rem;
    position: relative;
    z-index: 1;
}

.install-box h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.3;
}
