:root {
    --ink: #090b18;
    --navy: #101326;
    --panel: #181c32;
    --panel-light: #232842;
    --line: #39405f;
    --cream: #fff1ca;
    --muted: #9aa3bf;
    --yellow: #ffd65a;
    --red: #ed5261;
    --blue: #65bddd;
    --green: #55d68b;
    --pixel-font: 'Press Start 2P', monospace;
    --body-font: 'Space Grotesk', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--ink);
}

body {
    color: var(--cream);
    font-family: var(--body-font);
    background-image:
        linear-gradient(rgba(69, 77, 112, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 77, 112, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 50% 0, #1a1d37 0, var(--ink) 58%);
    background-size: 32px 32px, 32px 32px, 100% 100%;
}

button {
    font: inherit;
}

button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

h1:focus {
    outline: none;
}

button:disabled {
    cursor: not-allowed;
    filter: saturate(0.25);
    opacity: 0.45;
}

.arcade-page {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 24px 28px 30px;
}

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

.brand-block {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.brand-kicker,
.eyebrow,
.section-label {
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 9px;
    letter-spacing: 1.5px;
}

.brand-name {
    font-family: var(--pixel-font);
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.2;
    text-shadow: 4px 4px 0 #30233c;
}

.brand-name span {
    color: var(--red);
}

.header-actions {
    display: flex;
    gap: 8px;
}

.utility-button,
.pause-button {
    border: 1px solid var(--line);
    background: #14182b;
    color: var(--muted);
    padding: 10px 12px;
    font-family: var(--pixel-font);
    font-size: 8px;
    cursor: pointer;
}

.utility-button:hover,
.pause-button:hover:not(:disabled) {
    color: var(--cream);
    border-color: var(--yellow);
}

.fight-card {
    overflow: hidden;
    border: 2px solid #454c6d;
    background: var(--panel);
    box-shadow: 0 0 0 6px #0d1020, 0 0 0 7px #292e49, 0 24px 60px rgba(0, 0, 0, 0.45);
}

.scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 18px 24px;
    border-bottom: 2px solid var(--line);
    background: linear-gradient(180deg, #20253e, #171b30);
}

.fighter-hud {
    min-width: 0;
}

.hud-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.hud-label > span {
    font-family: var(--pixel-font);
    font-size: 14px;
}

.hud-label small {
    overflow: hidden;
    color: var(--muted);
    font-family: var(--pixel-font);
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rival-hud .hud-label {
    flex-direction: row-reverse;
}

.pixel-bar {
    overflow: hidden;
    border: 3px solid #454c68;
    background: #090b17;
    box-shadow: inset 0 0 0 2px #111426;
}

.health-bar {
    height: 19px;
}

.bar-fill {
    height: 100%;
    transition: width 120ms steps(5, end);
}

.player-health {
    background: repeating-linear-gradient(90deg, var(--green) 0 14px, #46bd79 14px 17px);
}

.rival-health {
    float: right;
    background: repeating-linear-gradient(90deg, var(--red) 0 14px, #c84152 14px 17px);
}

.health-critical {
    animation: healthCriticalPulse 0.45s infinite ease-in-out alternate;
}

@keyframes healthCriticalPulse {
    0% { filter: brightness(1) drop-shadow(0 0 2px rgba(237, 82, 97, 0.4)); }
    100% { filter: brightness(1.7) saturate(1.5) drop-shadow(0 0 8px #ed5261); }
}

.stamina-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: var(--muted);
    font-family: var(--pixel-font);
    font-size: 7px;
}

.stamina-bar {
    width: 55%;
    height: 9px;
    border-width: 1px;
}

.stamina {
    background: var(--blue);
}

.rival-status {
    margin-top: 8px;
    color: var(--muted);
    font-family: var(--pixel-font);
    font-size: 7px;
    text-align: right;
}

.round-clock {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 14px 7px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.round-clock > span {
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 8px;
}

.round-clock strong {
    margin: 5px 0 3px;
    font-family: var(--pixel-font);
    font-size: 33px;
    line-height: 1.2;
}

.round-clock small {
    color: var(--muted);
    font-family: var(--pixel-font);
    font-size: 7px;
}

.round-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

.round-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #171b2e;
    border: 1px solid #3c4465;
    box-shadow: inset 0 0 2px #090b17;
}

.round-dot.won {
    background: var(--yellow);
    border-color: #ffe899;
    box-shadow: 0 0 8px rgba(255, 214, 90, 0.8), inset 0 0 2px #fff;
}

.round-dot.lost {
    background: var(--red);
    border-color: #ff8e99;
    box-shadow: 0 0 8px rgba(237, 82, 97, 0.7);
}

.round-dots span {
    font-family: var(--pixel-font);
    font-size: 6px;
    color: var(--muted);
    margin: 0 2px;
}

.screen-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #090b1b;
}

.screen-frame::after {
    position: absolute;
    z-index: 5;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(5, 7, 17, 0.13) 0, rgba(5, 7, 17, 0.13) 1px, transparent 1px, transparent 4px);
    content: '';
    pointer-events: none;
}

.game-canvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: auto;
    touch-action: none;
}

.screen-overlay {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.menu-overlay {
    background: radial-gradient(circle at center, rgba(17, 20, 42, 0.64), rgba(7, 9, 23, 0.94));
}

.menu-content {
    width: 100%;
    padding: 20px;
    text-align: center;
}

.menu-content h1 {
    margin: 12px 0 5px;
    font-family: var(--pixel-font);
    font-size: clamp(32px, 5.1vw, 62px);
    line-height: 1.25;
    letter-spacing: -2px;
    text-shadow: 6px 6px 0 #3d233d;
}

.menu-content h1 em {
    color: var(--red);
    font-style: normal;
}

.menu-content > p {
    margin: 0 0 14px;
    color: #c3c9dc;
    font-size: 16px;
}

.versus-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: min(640px, 90%);
    margin: 0 auto 16px;
}

.versus-strip > b {
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 15px;
}

.versus-fighter {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 6px 14px 6px 6px;
    border: 1px solid #454b69;
    background: rgba(22, 25, 47, 0.90);
    text-align: left;
}

.versus-fighter img {
    width: 88px;
    height: 92px;
    object-fit: contain;
    image-rendering: pixelated;
    transform: scale(1.35);
}

.versus-fighter div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.versus-fighter small {
    color: var(--muted);
    font-family: var(--pixel-font);
    font-size: 6px;
}

.versus-fighter strong {
    margin: 6px 0 3px;
    font-family: var(--pixel-font);
    font-size: 10px;
    line-height: 1.5;
}

.versus-fighter span {
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 7px;
}

.arcade-button {
    min-width: 230px;
    padding: 15px 20px;
    border: 0;
    font-family: var(--pixel-font);
    font-size: 10px;
    line-height: 1.5;
    cursor: pointer;
    transition: transform 80ms, box-shadow 80ms;
}

.arcade-button span {
    margin-left: 12px;
}

.arcade-button.primary {
    background: var(--yellow);
    color: #251b29;
    box-shadow: 0 6px 0 #a65c42, 0 9px 20px rgba(0, 0, 0, 0.35);
}

.arcade-button.secondary {
    margin-top: 12px;
    border: 1px solid var(--line);
    background: #20253e;
    color: var(--cream);
    box-shadow: 0 4px 0 #0b0e1d;
}

.arcade-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.arcade-button:active {
    box-shadow: 0 2px 0 #7d4539;
    transform: translateY(4px);
}

.menu-hint {
    display: block;
    margin-top: 16px;
    color: #929cb8;
    font-size: 12px;
}

.result-overlay {
    background: rgba(7, 9, 22, 0.90);
    overflow-y: auto;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-panel {
    width: min(500px, 94%);
    max-height: calc(100% - 10px);
    overflow-y: auto;
    padding: 10px 16px;
    border: 2px solid var(--yellow);
    background: #171b31;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
    text-align: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.result-panel::-webkit-scrollbar {
    display: none;
}

.result-panel.compact {
    max-width: 400px;
}

.result-panel.danger {
    border-color: var(--red);
}

.result-panel.champion {
    width: min(520px, 95%);
    padding: 8px 16px;
}

.result-panel.champion h2 {
    margin: 2px 0 4px;
    font-size: clamp(14px, 2.2vw, 18px);
}

.result-panel.champion p {
    margin: 0 auto 3px;
    font-size: 10px;
    line-height: 1.25;
    max-width: 440px;
}

.result-panel h2 {
    margin: 3px 0 5px;
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: clamp(16px, 2.4vw, 22px);
    line-height: 1.2;
}

.result-panel.danger h2 {
    color: var(--red);
}

.result-panel p {
    margin: 0 auto 5px;
    color: #bec6da;
    font-size: 11px;
    line-height: 1.3;
    max-width: 420px;
}

.result-score {
    margin: 4px 0 6px;
    font-family: var(--pixel-font);
    font-size: 16px;
}

.result-score small {
    color: var(--muted);
    font-size: 9px;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.result-btn-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.result-panel .arcade-button {
    display: block;
    margin: 0 auto;
    padding: 7px 14px;
    font-size: 9px;
}

.result-panel .arcade-button.compact-btn {
    padding: 5px 10px;
    font-size: 8px;
    width: auto;
    min-width: 140px;
}

.result-panel .arcade-button.voice-replay-btn {
    margin: 0;
    padding: 5px 10px;
    font-size: 8px;
    background: #192036;
    border: 1px solid #3d4c75;
    color: #ffd65a;
    box-shadow: 0 3px 0 #0d1222;
}

.result-panel .arcade-button.voice-replay-btn:hover {
    background: #253152;
    border-color: #ffd65a;
    color: #ffffff;
}

.belt {
    width: 44px;
    height: 28px;
    margin: 3px auto;
    border: 3px solid var(--yellow);
    background: #8d493f;
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 11px;
    line-height: 22px;
    box-shadow: -20px 4px 0 -6px #8d493f, 20px 4px 0 -6px #8d493f;
}

/* ── VICTORY MARQUEE ("Para que usted se cuadre, OK?") ── */
.victory-marquee-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 38px;
    background: linear-gradient(180deg, #181024 0%, #0a0614 100%);
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 4px 18px rgba(255, 214, 90, 0.45), 0 0 35px rgba(255, 140, 0, 0.35);
    overflow: hidden;
    pointer-events: none;
    animation: marqueeDropIn 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes marqueeDropIn {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.marquee-bulb-strip {
    height: 4px;
    width: 100%;
    background: repeating-linear-gradient(
        90deg,
        #ffe76a 0px,
        #ffe76a 4px,
        #3b2605 4px,
        #3b2605 8px,
        #ffa500 8px,
        #ffa500 12px,
        #3b2605 12px,
        #3b2605 16px
    );
    background-size: 16px 4px;
    animation: bulbRun 0.4s steps(2, end) infinite;
}

@keyframes bulbRun {
    0% { background-position: 0 0; }
    100% { background-position: 16px 0; }
}

.marquee-track-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex: 1;
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    animation: marqueeSlide 14s linear infinite;
    gap: 32px;
}

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

.marquee-phrase {
    font-family: var(--pixel-font);
    font-size: 13px;
    letter-spacing: 2px;
    color: #fff6d6;
    text-shadow: 0 0 8px #ffd65a, 0 0 16px #ff8c00, 2px 2px 0 #000;
}

/* Victory Panel Marquee Sign */
.cuadre-marquee-sign {
    margin: 4px auto 6px;
    width: 100%;
    max-width: 400px;
    background: radial-gradient(circle at center, #231638 0%, #0d0818 100%);
    border: 2px solid var(--yellow);
    box-shadow: 0 0 12px rgba(255, 214, 90, 0.35), inset 0 0 8px rgba(255, 214, 90, 0.15);
    padding: 4px 8px;
    text-align: center;
    border-radius: 4px;
}

.cuadre-marquee-sign.champion {
    border-color: #ffd75a;
    box-shadow: 0 0 16px rgba(255, 215, 90, 0.5), inset 0 0 12px rgba(255, 215, 90, 0.25);
    background: radial-gradient(circle at center, #352110 0%, #150a04 100%);
}

.cuadre-phrase {
    margin: 4px 0;
    font-family: var(--pixel-font);
    font-size: clamp(10px, 1.8vw, 13px);
    line-height: 1.3;
    color: #ffe670;
    text-shadow: 0 0 10px #ffd65a, 0 0 20px #ff9900, 2px 2px 0 #000;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: cuadreGlow 1.2s ease-in-out infinite alternate;
}

@keyframes cuadreGlow {
    0% {
        text-shadow: 0 0 6px #ffd65a, 0 0 12px #ff9900, 2px 2px 0 #000;
        transform: scale(0.99);
    }
    100% {
        text-shadow: 0 0 14px #ffe484, 0 0 26px #ff8c00, 0 0 35px #ff5500, 2px 2px 0 #000;
        transform: scale(1.02);
    }
}

/* ── DEFEAT CUTSCENE (Escena de Derrota) ── */
.cutscene-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cutsceneFadeIn 0.35s ease-out forwards;
}

@keyframes cutsceneFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.cutscene-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 960px;
    max-height: 540px;
    background: #050508;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.cutscene-vignette {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.75) 90%);
}

.cutscene-scanlines {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.22) 0px,
        rgba(0, 0, 0, 0.22) 1px,
        transparent 1px,
        transparent 3px
    );
    opacity: 0.85;
}

.cutscene-header-strip {
    position: absolute;
    top: 14px;
    left: 18px;
    right: 18px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.cutscene-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(14, 18, 36, 0.92);
    border: 2px solid var(--yellow);
    box-shadow: 0 0 14px rgba(255, 214, 90, 0.4);
    font-family: var(--pixel-font);
    font-size: 9px;
    color: var(--yellow);
    letter-spacing: 1px;
}

.cutscene-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #ff3344;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3344;
}

.cutscene-badge .badge-dot.pulse {
    animation: badgePulse 0.8s ease-in-out infinite alternate;
}

@keyframes badgePulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px #ff2233; }
}

.cutscene-timer-pill {
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--pixel-font);
    font-size: 8px;
    color: #9aa8cc;
}

.cutscene-image-frame {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.intro-player-container video.intro-video-hidden {
    visibility: hidden;
}

.cutscene-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    animation: cutsceneSlowZoom 5s ease-out forwards;
}

@keyframes cutsceneSlowZoom {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.05); }
}

.cutscene-dialogue-bar {
    position: absolute;
    bottom: 52px;
    left: 20px;
    right: 20px;
    z-index: 10;
    padding: 10px 16px;
    background: rgba(10, 13, 28, 0.92);
    border: 2px solid #ffd65a;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.85), inset 0 0 12px rgba(255, 214, 90, 0.15);
    border-radius: 4px;
}

.dialogue-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.dialogue-speaker {
    font-family: var(--pixel-font);
    font-size: 8px;
    color: #ff5a6a;
    letter-spacing: 1px;
}

.audio-equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 12px;
}

.audio-equalizer .eq-bar {
    width: 3px;
    background: #ffd65a;
    border-radius: 1px;
    animation: eqBounce 0.45s ease-in-out infinite alternate;
}

.audio-equalizer .eq-bar:nth-child(1) { height: 40%; animation-delay: 0.05s; }
.audio-equalizer .eq-bar:nth-child(2) { height: 90%; animation-delay: 0.18s; }
.audio-equalizer .eq-bar:nth-child(3) { height: 65%; animation-delay: 0.12s; }
.audio-equalizer .eq-bar:nth-child(4) { height: 100%; animation-delay: 0.25s; }
.audio-equalizer .eq-bar:nth-child(5) { height: 50%; animation-delay: 0.08s; }

@keyframes eqBounce {
    0% { height: 25%; }
    100% { height: 100%; }
}

.dialogue-quote {
    font-family: var(--pixel-font);
    font-size: clamp(10px, 1.8vw, 13px);
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 1px 1px 0 #000;
}

.cutscene-action-bar {
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    z-index: 10;
}

.cutscene-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.cutscene-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd65a, #ff4455);
    box-shadow: 0 0 8px #ffd65a;
    transition: width 80ms linear;
}

.cutscene-btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cutscene-prompt {
    font-family: var(--pixel-font);
    font-size: 7px;
    color: #8c97b8;
    letter-spacing: 0.5px;
    animation: promptBlink 1.4s ease-in-out infinite alternate;
}

@keyframes promptBlink {
    0% { opacity: 0.5; }
    100% { opacity: 1; color: #ffd65a; }
}

.cutscene-continue-btn {
    min-width: 140px;
    padding: 8px 14px;
    font-size: 8px;
}

/* ── PROTA VICTORY SCENE & NOVEDADES LINK ── */
.prota-victory-overlay {
    position: absolute;
    inset: 0;
    z-index: 25;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cutsceneFadeIn 0.35s ease-out forwards;
}

.prota-victory-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(14, 18, 36, 0.95);
    border: 2px solid #ffd65a;
    box-shadow: 0 0 18px rgba(255, 214, 90, 0.6);
    font-family: var(--pixel-font);
    font-size: 10px;
    color: #ffd65a;
    letter-spacing: 1px;
}

.prota-dialogue-bar {
    bottom: 95px !important;
    border-color: #ffd65a !important;
    text-align: center;
}

.prota-action-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.novedades-promo-box {
    position: relative;
    margin: 4px 0 12px;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
}

.novedades-promo-box.in-panel {
    margin: 4px auto 6px;
    max-width: 420px;
}

.novedades-arcade-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 6px 14px;
    text-decoration: none;
    background: linear-gradient(135deg, #220e3d 0%, #0c2048 50%, #0e3d42 100%);
    border: 2px solid #ffd65a;
    border-radius: 6px;
    box-shadow: 0 0 14px rgba(255, 214, 90, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    animation: novedadesPulse 1.8s ease-in-out infinite alternate;
}

@keyframes novedadesPulse {
    0% {
        box-shadow: 0 0 16px rgba(255, 214, 90, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2);
        border-color: #ffd65a;
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 214, 90, 0.85), inset 0 0 20px rgba(0, 240, 255, 0.5);
        border-color: #00f0ff;
    }
}

.novedades-arcade-cta:hover {
    transform: scale(1.04);
    box-shadow: 0 0 38px rgba(255, 214, 90, 0.95), inset 0 0 28px rgba(0, 240, 255, 0.7);
}

.novedades-flair-left, .novedades-flair-right {
    font-size: 20px;
    color: #ffd65a;
    text-shadow: 0 0 10px #ffd65a;
    animation: flairBob 0.8s ease-in-out infinite alternate;
}

@keyframes flairBob {
    0% { transform: translateY(-3px) scale(1); }
    100% { transform: translateY(3px) scale(1.2); }
}

.novedades-cta-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.novedades-badge-pill {
    font-family: var(--pixel-font);
    font-size: 8px;
    padding: 2px 8px;
    background: #ff2244;
    color: #ffffff;
    border-radius: 3px;
    letter-spacing: 1px;
    box-shadow: 0 0 8px #ff2244;
    animation: badgeFlash 1.2s infinite;
}

@keyframes badgeFlash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(0.95); }
}

.novedades-cta-title {
    font-family: var(--pixel-font);
    font-size: clamp(11px, 1.8vw, 14px);
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 214, 90, 0.85), 2px 2px 0 #000;
    letter-spacing: 0.5px;
}

.novedades-cta-url {
    font-family: var(--pixel-font);
    font-size: 8px;
    color: #00f0ff;
    letter-spacing: 0.5px;
    word-break: break-all;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.novedades-sparkle {
    position: absolute;
    color: #ffd65a;
    font-size: 15px;
    pointer-events: none;
    text-shadow: 0 0 8px #ffd65a;
    animation: sparkleTwinkle 1.5s ease-in-out infinite alternate;
}
.novedades-sparkle.s1 { top: -8px; left: -8px; animation-delay: 0.1s; }
.novedades-sparkle.s2 { top: -8px; right: -8px; animation-delay: 0.5s; }
.novedades-sparkle.s3 { bottom: -8px; left: 6px; animation-delay: 0.9s; }
.novedades-sparkle.s4 { bottom: -8px; right: 6px; animation-delay: 1.3s; }

@keyframes sparkleTwinkle {
    0% { transform: scale(0.6) rotate(0deg); opacity: 0.3; }
    100% { transform: scale(1.3) rotate(90deg); opacity: 1; }
}

.cabinet-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 20px;
    border-top: 2px solid var(--line);
    background: #13172a;
    color: var(--muted);
    font-family: var(--pixel-font);
    font-size: 7px;
}

.cabinet-strip > span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-light {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--green);
    box-shadow: 0 0 9px var(--green);
}

.pause-button {
    padding: 7px 9px;
}

.control-deck {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    margin-top: 24px;
    padding: 20px 22px;
    border: 1px solid #2d3350;
    background: rgba(20, 24, 43, 0.85);
}

.control-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.control-heading > span {
    font-family: var(--pixel-font);
    font-size: 9px;
}

.control-heading small {
    color: var(--muted);
    font-size: 11px;
}

.attack-controls .control-heading {
    flex-direction: row-reverse;
}

.button-row {
    display: flex;
    gap: 9px;
}

.attack-controls .button-row {
    justify-content: flex-end;
}

.control-button {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border: 1px solid #424a6b;
    background: #232943;
    color: var(--cream);
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
}

.control-button kbd {
    display: grid;
    flex: 0 0 40px;
    height: 40px;
    place-items: center;
    border: 2px solid #6b7598;
    background: #303853;
    box-shadow: 0 3px 0 #0b0e1c;
    font-family: var(--pixel-font);
    font-size: 14px;
}

.control-button > span {
    font-family: var(--pixel-font);
    font-size: 6px;
    line-height: 1.7;
}

.control-button.punch {
    border-color: #743c50;
    background: #382238;
}

.control-button.punch kbd {
    border-color: #a94c5a;
    background: #753444;
}

.control-button.block {
    border-color: #615b45;
    background: #302d35;
}

.control-button.block kbd {
    border-color: #a89659;
    background: #5b5039;
}

.control-button.super {
    border-color: #43548e;
    background: linear-gradient(135deg, #161c38, #261f42);
}

.control-button.super kbd {
    border-color: #687ebf;
    background: #2f3b6c;
    color: #dbe4ff;
}

.control-button.super.ready {
    border-color: #ffe07a;
    background: linear-gradient(135deg, #2c2152, #5e431a);
    box-shadow: 0 0 16px rgba(255, 224, 122, 0.75), 0 0 28px rgba(160, 215, 255, 0.4);
    animation: moonReadyGlow 0.75s infinite alternate ease-in-out;
}

.control-button.super.ready kbd {
    border-color: #ffffff;
    background: #ffd75a;
    color: #1a0f00;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
}

.control-button.super.ready > span {
    color: #ffe794;
    text-shadow: 0 0 6px rgba(255, 224, 122, 0.85);
}

@keyframes moonReadyGlow {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.03); filter: brightness(1.28) drop-shadow(0 0 10px rgba(255, 224, 122, 0.9)); }
}

.control-button:active:not(:disabled) {
    transform: translateY(2px);
    filter: brightness(1.25);
}

.circuit-progress {
    min-width: 150px;
    text-align: center;
}

.circuit-progress .section-label {
    display: block;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 7px;
}

.circuit-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6e7691;
    text-align: left;
}

.circuit-step > b {
    font-family: var(--pixel-font);
    font-size: 16px;
}

.circuit-step > span {
    display: flex;
    flex-direction: column;
    font-family: var(--pixel-font);
    font-size: 8px;
}

.circuit-step small {
    margin-top: 4px;
    font-family: var(--body-font);
    font-size: 10px;
    font-weight: 600;
}

.circuit-step.active {
    color: var(--yellow);
}

.circuit-step.cleared {
    color: var(--green);
}

.circuit-line {
    width: 2px;
    height: 15px;
    margin: 4px 0 4px 11px;
    background: #3b425e;
}

.tips-strip {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 4px 0;
    color: #858fa9;
    font-size: 12px;
}

.tips-strip span {
    flex: 1;
}

.tips-strip b {
    margin-right: 7px;
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 8px;
}

.tips-strip strong {
    color: var(--red);
}

.loading-arcade {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    background: var(--ink);
    color: var(--cream);
    font-family: var(--pixel-font);
}

.loading-overlay {
    background: #080a14;
    z-index: 50;
}

.loading-overlay .loading-arcade {
    min-height: auto;
    background: transparent;
}

.loading-arcade strong {
    color: var(--yellow);
    font-size: 18px;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 0 #000;
}

.loading-arcade span {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.5px;
}

/* ── SPINNING VINYL RECORD LOADER ── */
.vinyl-turntable {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.75));
}

.vinyl-record {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #141722 0%, #06080d 100%);
    box-shadow: 0 0 0 2px #262c3e, inset 0 0 0 2px #000000;
    overflow: hidden;
    animation: spinVinyl 1.8s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spinVinyl {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vinyl-grooves {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px,
        transparent 2px,
        rgba(255, 255, 255, 0.04) 2px,
        rgba(255, 255, 255, 0.04) 3px,
        transparent 3px,
        transparent 5px,
        rgba(0, 0, 0, 0.45) 5px,
        rgba(0, 0, 0, 0.45) 6px
    );
    pointer-events: none;
}

.vinyl-sheen {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.16) 0deg,
        transparent 55deg,
        rgba(255, 255, 255, 0.13) 110deg,
        transparent 165deg,
        rgba(255, 255, 255, 0.16) 220deg,
        transparent 275deg,
        rgba(255, 255, 255, 0.13) 330deg,
        transparent 360deg
    );
    pointer-events: none;
    mix-blend-mode: screen;
}

.vinyl-label {
    position: relative;
    z-index: 3;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #ffe47a 0%, #e6a720 70%, #b87808 100%);
    box-shadow: 0 0 0 2px #754a02, inset 0 0 6px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2px;
    box-sizing: border-box;
}

.vinyl-producer {
    font-family: var(--pixel-font);
    font-size: 4px;
    color: #3b1e02;
    letter-spacing: 0.5px;
    font-weight: bold;
    transform: translateY(2px);
}

.vinyl-title {
    font-family: var(--pixel-font);
    font-size: 11px;
    color: #1a0f02;
    font-weight: 900;
    margin: 2px 0;
}

.vinyl-rpm {
    font-family: var(--pixel-font);
    font-size: 3.5px;
    color: #593102;
    letter-spacing: 0.5px;
    transform: translateY(-2px);
}

.vinyl-hole {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #05070c;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.3);
}

.turntable-tonearm {
    position: absolute;
    top: -6px;
    right: 2px;
    width: 38px;
    height: 110px;
    pointer-events: none;
    transform-origin: 28px 12px;
    transform: rotate(18deg);
    animation: armDrift 3.6s ease-in-out infinite alternate;
}

@keyframes armDrift {
    0% { transform: rotate(16deg); }
    100% { transform: rotate(21deg); }
}

.tonearm-base {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #ffd65a 30%, #a17812 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.tonearm-rod {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 3px;
    height: 80px;
    background: linear-gradient(to right, #cfd6e6, #8b95ac, #5a647d);
    border-radius: 1.5px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.tonearm-head {
    position: absolute;
    bottom: 8px;
    right: 7px;
    width: 9px;
    height: 16px;
    background: #ff3b4e;
    border: 1px solid #9e1423;
    border-radius: 2px;
    transform: rotate(12deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.vinyl-loading-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.vinyl-eq-strip {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 14px;
}

.vinyl-eq-strip i {
    width: 3px;
    background: var(--yellow);
    border-radius: 1px;
    animation: eqBounce 0.5s ease-in-out infinite alternate;
}

.vinyl-eq-strip i:nth-child(1) { height: 35%; animation-delay: 0.1s; }
.vinyl-eq-strip i:nth-child(2) { height: 85%; animation-delay: 0.25s; }
.vinyl-eq-strip i:nth-child(3) { height: 100%; animation-delay: 0.05s; }
.vinyl-eq-strip i:nth-child(4) { height: 60%; animation-delay: 0.35s; }
.vinyl-eq-strip i:nth-child(5) { height: 45%; animation-delay: 0.15s; }

.loading-gloves {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border: 6px solid var(--red);
    animation: loading-pulse 1s steps(2, end) infinite;
}

@keyframes loading-pulse {
    50% { transform: translateY(-8px); }
}

#blazor-error-ui {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 14px 24px;
    border-top: 3px solid var(--red);
    background: #351d31;
    color: var(--cream);
    text-align: center;
}

#blazor-error-ui .reload {
    margin-left: 15px;
    color: var(--yellow);
}

#blazor-error-ui .dismiss {
    position: absolute;
    right: 15px;
    cursor: pointer;
}

.fight-card:fullscreen {
    display: flex;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    border: 0;
    background: #090b18;
}

.fight-card:fullscreen .screen-frame {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
}

.fight-card:fullscreen .game-canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Fight Statistics ────────────────────────────────────────── */
.fight-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 12px;
    width: 100%;
    max-width: 380px;
    margin: 6px auto;
    padding: 6px 12px;
    border: 1px solid #2f3653;
    background: rgba(9, 11, 23, 0.88);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    padding: 1px 0;
}

.stat-row span {
    color: var(--muted);
}

.stat-row b {
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 9px;
}

/* ── High Score Entry & Table ────────────────────────────────── */
.highscore-entry {
    margin: 4px 0 6px;
    padding-top: 4px;
    border-top: 1px dashed #3a4263;
}

.hs-input-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.hs-input {
    width: 100px;
    padding: 3px 6px;
    border: 2px solid var(--yellow);
    background: #090b17;
    color: var(--cream);
    font-family: var(--pixel-font);
    font-size: 11px;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    outline: none;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}

.hs-input:focus {
    border-color: #fff;
    box-shadow: 0 0 8px var(--yellow), inset 0 0 6px rgba(0, 0, 0, 0.8);
}

.hs-save-btn {
    min-width: auto;
    padding: 4px 10px;
    font-size: 7px;
}

.hs-status {
    margin-top: 4px;
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 7px;
    line-height: 1.4;
    text-align: center;
}
    text-align: center;
}

.highscore-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 380px;
    max-height: 220px;
    overflow-y: auto;
    margin: 14px auto;
    padding: 8px 12px;
    border: 2px solid #2f3653;
    background: rgba(9, 11, 23, 0.92);
}

.highscore-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-bottom: 1px solid #1a1f33;
    font-family: var(--pixel-font);
    font-size: 8px;
}

.highscore-row.gold {
    color: #ffd65a;
    text-shadow: 0 0 6px rgba(255, 214, 90, 0.5);
}

.highscore-row.silver {
    color: #d1d9e6;
}

.highscore-row.bronze {
    color: #e69a4d;
}

.hs-rank {
    width: 32px;
    color: var(--muted);
    text-align: left;
}

.hs-name {
    flex: 1;
    letter-spacing: 2px;
    text-align: center;
}

.hs-score {
    color: var(--cream);
    letter-spacing: 1px;
}

.no-scores {
    padding: 16px 0;
    color: var(--muted);
    font-family: var(--pixel-font);
    font-size: 7px;
    text-align: center;
}

/* ── Controls Manual Modal ───────────────────────────────────── */
.controls-panel {
    max-width: 640px !important;
}

.controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 14px 0 16px;
    text-align: left;
}

.ctrl-section {
    padding: 10px 12px;
    border: 1px solid #2f3653;
    background: rgba(9, 11, 23, 0.7);
}

.ctrl-section h3 {
    margin: 0 0 8px;
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 8px;
    letter-spacing: 1px;
}

.ctrl-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 11px;
}

.ctrl-row kbd {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    border: 1px solid #5a6385;
    background: #252b42;
    color: var(--cream);
    font-family: var(--pixel-font);
    font-size: 9px;
    box-shadow: 0 2px 0 #0d101d;
}

.ctrl-row span {
    color: #d4daf0;
}

.tips-section {
    grid-column: 1 / -1;
    background: rgba(22, 27, 48, 0.7);
}

.tips-section p {
    margin: 4px 0;
    color: #cfd6ee;
    font-size: 11px;
    line-height: 1.5;
}

.tips-section strong {
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 7px;
}

@media (max-width: 1050px) {
    .control-deck {
        grid-template-columns: 1fr 1fr;
    }

    .circuit-progress {
        display: none;
    }

    .control-button > span {
        font-size: 7px;
    }
}

@media (max-width: 760px) {
    .arcade-page {
        padding: 16px 12px 24px;
    }

    .masthead {
        align-items: center;
    }

    .brand-kicker {
        font-size: 6px;
    }

    .utility-button {
        padding: 8px;
        font-size: 6px;
    }

    .utility-button:last-child {
        display: none;
    }

    .scoreboard {
        grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 10px;
    }

    .hud-label > span {
        font-size: 10px;
    }

    .hud-label small,
    .rival-status {
        display: none;
    }

    .round-clock {
        padding: 3px 6px;
    }

    .round-clock > span,
    .round-clock small {
        font-size: 6px;
    }

    .round-clock strong {
        font-size: 24px;
    }

    .stamina-row > span {
        display: none;
    }

    .stamina-bar {
        width: 65%;
    }

    .cabinet-title {
        display: none;
    }

    .control-deck {
        gap: 20px;
        padding: 16px 12px;
    }

    .control-heading small {
        display: none;
    }

    .control-button {
        justify-content: center;
        padding: 7px 5px;
    }

    .control-button kbd {
        flex-basis: 36px;
        height: 36px;
    }

    .control-button > span {
        display: none;
    }

    .tips-strip {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 560px) {
    .brand-name {
        font-size: 18px;
    }

    .brand-kicker {
        letter-spacing: 0;
    }

    .menu-content {
        padding: 8px 14px;
    }

    .menu-content .eyebrow {
        font-size: 6px;
    }

    .menu-content h1 {
        margin: 7px 0 12px;
        font-size: 27px;
        text-shadow: 3px 3px 0 #3d233d;
    }

    .menu-content > p,
    .versus-strip,
    .menu-hint {
        display: none;
    }

    .arcade-button {
        min-width: 200px;
        padding: 10px 12px;
        font-size: 7px;
    }

    .result-panel {
        padding: 14px;
    }

    .result-panel .eyebrow {
        font-size: 6px;
    }

    .result-panel h2 {
        margin: 8px 0;
        font-size: 20px;
    }

    .result-panel p,
    .belt {
        display: none;
    }

    .cuadre-marquee-sign {
        margin: 6px auto 10px;
        padding: 5px 8px;
    }

    .cuadre-phrase {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .victory-marquee-ribbon {
        height: 30px;
    }

    .marquee-phrase {
        font-size: 10px;
    }

    .result-score {
        margin: 8px 0 12px;
        font-size: 14px;
    }

    .result-panel .arcade-button.secondary {
        margin-top: 7px;
    }

    .control-deck {
        grid-template-columns: 1fr;
    }

    .attack-controls .button-row {
        justify-content: flex-start;
    }

    .attack-controls .control-heading {
        flex-direction: row;
    }

    .control-button > span {
        display: block;
        font-size: 6px;
    }

    .cabinet-strip {
        padding: 8px 10px;
        font-size: 6px;
    }

    .cutscene-header-strip {
        top: 8px;
        left: 10px;
        right: 10px;
    }

    .cutscene-badge {
        padding: 4px 8px;
        font-size: 7px;
    }

    .cutscene-timer-pill {
        display: none;
    }

    .cutscene-dialogue-bar {
        bottom: 38px;
        left: 10px;
        right: 10px;
        padding: 6px 10px;
    }

    .dialogue-speaker {
        font-size: 7px;
    }

    .dialogue-quote {
        font-size: 9px;
    }

    .cutscene-action-bar {
        bottom: 6px;
        left: 10px;
        right: 10px;
    }

    .cutscene-prompt {
        display: none;
    }

    .cutscene-continue-btn {
        min-width: 100px;
        padding: 6px 10px;
        font-size: 7px;
    }
}


/* ── Cinematic Intro Screen ────────────────────────────────── */
.intro-cinematic-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: radial-gradient(circle at 50% 40%, #151a36 0%, #080b18 70%, #03040a 100%);
    opacity: 1;
    transition: opacity 0.35s ease-out;
    box-sizing: border-box;
    cursor: default;
}

.intro-cinematic-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-cinematic-header {
    width: min(1080px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #32395a;
}

.intro-brand-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.intro-title {
    margin: 0;
    color: var(--cream);
    font-family: var(--pixel-font);
    font-size: clamp(10px, 1.4vw, 15px);
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 0 #1b2038;
}

.skip-intro-button {
    background: linear-gradient(180deg, #ed5261, #ab2333);
    color: #fff;
    border: 2px solid #ff929e;
    font-family: var(--pixel-font);
    font-size: clamp(8px, 1vw, 11px);
    padding: 10px 18px;
    cursor: pointer;
    box-shadow: 0 4px 0 #610d19, 0 0 15px rgba(237, 82, 97, 0.4);
    transition: transform 0.1s, filter 0.15s;
    white-space: nowrap;
}

.skip-intro-button:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.skip-intro-button:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #610d19;
}

.skip-kbd {
    color: #ffd65a;
    margin-left: 6px;
}

.intro-player-container {
    position: relative;
    width: min(1080px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    border: 3px solid #4f577c;
    box-shadow: 0 0 0 4px #0d1022, 0 0 0 7px #293050, 0 20px 60px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-player-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

/* CRT scanlines effect on top of video */
.intro-player-container::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0px, rgba(0, 0, 0, 0.18) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: multiply;
}

.intro-unmute-prompt {
    position: absolute;
    inset: 0;
    z-index: 25;
    background: rgba(5, 7, 18, 0.86);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    text-align: center;
    padding: 20px;
}

.insert-coin-blink {
    font-family: var(--pixel-font);
    font-size: clamp(20px, 3.2vw, 36px);
    color: var(--yellow);
    letter-spacing: 2px;
    text-shadow: 0 0 16px rgba(255, 214, 90, 0.7), 4px 4px 0 #6e4d0b;
    animation: insertCoinBlink 0.9s infinite steps(1);
}

@keyframes insertCoinBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.2; }
}

.start-intro-cta {
    font-size: clamp(14px, 2vw, 22px) !important;
    padding: 16px 42px !important;
    box-shadow: 0 6px 0 #a36504, 0 0 35px rgba(255, 204, 0, 0.7) !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

.start-intro-cta:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 0 #a36504, 0 0 45px rgba(255, 220, 50, 0.9) !important;
}

.unmute-tip {
    font-family: var(--pixel-font);
    font-size: 8px;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.intro-cinematic-footer {
    width: min(1080px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #32395a;
}

.intro-lore-hint {
    font-family: var(--pixel-font);
    font-size: clamp(7px, 0.9vw, 9px);
    color: var(--muted);
}

.skip-sub-button {
    background: none;
    border: none;
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: clamp(7px, 0.9vw, 9px);
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.1s;
}

.skip-sub-button:hover {
    opacity: 1;
    transform: translateX(2px);
    text-decoration: underline;
}

.menu-secondary-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .intro-cinematic-screen {
        padding: 12px 14px;
    }
    .intro-cinematic-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .intro-cinematic-footer {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }
    .skip-intro-button {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   VISTA EXCLUSIVA MÓVIL (BLOQUEO PC-ONLY)
   ========================================================================== */
.mobile-block-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: radial-gradient(circle at 50% 20%, #1a1e38 0%, #080913 85%);
    color: var(--cream);
    padding: 20px 16px;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    font-family: var(--body-font);
    box-sizing: border-box;
}

/* Activar en dispositivos móviles / pantallas estrechas o táctiles pequeñas */
@media (max-width: 860px), ((max-height: 550px) and (orientation: landscape) and (hover: none)) {
    .mobile-block-overlay {
        display: flex;
    }
    
    /* Ocultar el juego subyacente para ahorrar memoria/recursos en el móvil */
    #app {
        display: none !important;
    }
}

.mobile-block-card {
    background: linear-gradient(180deg, #181d33 0%, #101324 100%);
    border: 3px solid #ffcc33;
    box-shadow: 0 0 35px rgba(255, 204, 51, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    max-width: 440px;
    width: 100%;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.mobile-arcade-marquee {
    background: #090a14;
    border: 2px dashed #ffcc33;
    padding: 6px 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.marquee-blink {
    font-family: var(--pixel-font);
    font-size: 10px;
    color: #ffcc33;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 204, 51, 0.7);
    animation: arcade-blink 1.2s infinite ease-in-out;
}

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

.mobile-block-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pixel-pc-monitor {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pc-screen {
    width: 90px;
    height: 65px;
    background: #0c0f20;
    border: 4px solid #65bddd;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(101, 189, 221, 0.4), inset 0 0 10px rgba(101, 189, 221, 0.2);
    gap: 4px;
}

.pc-code {
    font-family: var(--pixel-font);
    font-size: 9px;
    color: #ffcc33;
}

.pc-kb-hint {
    font-family: var(--pixel-font);
    font-size: 7px;
    color: #65bddd;
    background: #181d33;
    padding: 2px 4px;
    border-radius: 2px;
}

.pc-neck {
    width: 14px;
    height: 10px;
    background: #39405f;
}

.pc-base {
    width: 50px;
    height: 6px;
    background: #65bddd;
    border-radius: 2px;
}

.mobile-phone-prohibited {
    position: relative;
    font-size: 38px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-body {
    filter: drop-shadow(0 0 10px rgba(237, 82, 97, 0.5));
}

.prohibited-cross {
    position: absolute;
    font-size: 32px;
    color: #ed5261;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 12px rgba(237, 82, 97, 0.9);
}

.mobile-block-title {
    font-family: var(--pixel-font);
    font-size: 13px;
    line-height: 1.5;
    color: #ffd65a;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000;
}

.mobile-block-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #ccd2e6;
    margin: 0 0 20px 0;
}

.mobile-instructions-box {
    background: #0d1020;
    border: 1px solid #282f4e;
    border-radius: 6px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    text-align: left;
}

.instruction-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    line-height: 1.4;
    color: #aeb8d8;
}

.badge-pc {
    font-family: var(--pixel-font);
    font-size: 8px;
    color: #55d68b;
    letter-spacing: 0.5px;
}

.mobile-copy-section {
    background: #12162a;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #1f2542;
}

.copy-subtext {
    font-size: 11px;
    color: #8c96b7;
    margin: 0 0 8px 0;
}

.copy-box {
    display: flex;
    gap: 6px;
}

.copy-box input {
    flex: 1;
    background: #090a15;
    border: 1px solid #323a60;
    color: #fff1ca;
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 4px;
    outline: none;
    font-family: monospace;
}

.copy-box button {
    background: #ffd65a;
    color: #0b0d1a;
    border: none;
    padding: 8px 12px;
    font-family: var(--pixel-font);
    font-size: 9px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.copy-box button:active {
    transform: scale(0.96);
    background: #e6be40;
}

.copy-feedback {
    display: none;
    font-family: var(--pixel-font);
    font-size: 9px;
    color: #55d68b;
    margin-top: 8px;
}

.mobile-block-footer {
    border-top: 1px solid #202644;
    padding-top: 12px;
    font-family: var(--pixel-font);
    font-size: 7px;
    color: #636e92;
    letter-spacing: 0.5px;
}
