/* ============================================================
   CROSSOVER X — arkade.css
   Retro-Futuristic Arcade Hall
   Fonts: Press Start 2P + Orbitron
   ============================================================ */

:root {
    --arc-bg:         #03050f;
    --arc-screen:     #000a12;
    --arc-cyan:       #00e5ff;
    --arc-cyan-dim:   rgba(0, 229, 255, 0.15);
    --arc-pink:       #ff0080;
    --arc-pink-dim:   rgba(255, 0, 128, 0.12);
    --arc-amber:      #ffaa00;
    --arc-green:      #39ff14;
    --arc-cabinet:    #0b0f1e;
    --arc-cabinet-hi: #10162a;
    --arc-border:     #1a2550;
    --arc-locked:     #08090f;
    --arc-mystery:    #0d0520;
}

/* ============================================================
   PAGE BASE
   ============================================================ */
.arc-page {
    position: relative;
    min-height: 100vh;
    background: var(--arc-bg);
    overflow-x: hidden;
    padding-bottom: 60px;
}

/* ============================================================
   SCANLINES — over entire page
   ============================================================ */
.arc-scanlines {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.18) 3px,
        rgba(0, 0, 0, 0.18) 4px
    );
}

/* ============================================================
   PIXEL PARTICLES CANVAS
   ============================================================ */
.arc-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ============================================================
   FLOOR GRID — perspective grid at bottom
   ============================================================ */
.arc-floor {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35vh;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 229, 255, 0.04) 100%
        );
    background-image:
        linear-gradient(rgba(0,229,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(400px) rotateX(70deg);
    transform-origin: bottom center;
}

/* ============================================================
   HERO
   ============================================================ */
.arc-hero {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: clamp(60px, 10vh, 100px) 20px clamp(30px, 5vh, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top:60px;
}

.arc-hero-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(9px, 1vw, 11px);
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(0, 229, 255, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 5px 16px;
    border-radius: 2px;
}

.arc-hero-title {
    margin: 0;
    line-height: 1;
}

.arc-title-line {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(36px, 8vw, 88px);
    color: var(--arc-cyan);
    text-shadow:
        0 0 20px var(--arc-cyan),
        0 0 40px rgba(0, 229, 255, 0.4),
        0 0 80px rgba(0, 229, 255, 0.15),
        3px 3px 0 rgba(0,0,0,0.8);
    display: block;
    position: relative;
    animation: arcTitlePulse 4s ease-in-out infinite;
}

.arc-title-line::before {
    content: attr(data-text);
    position: absolute;
    left: 3px;
    top: 0;
    color: var(--arc-pink);
    clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
    animation: arcGlitch 5s steps(1) infinite;
    opacity: 0.7;
    text-shadow: none;
}
.arc-title-line::after {
    content: attr(data-text);
    position: absolute;
    left: -3px;
    top: 0;
    color: var(--arc-cyan);
    clip-path: polygon(0 65%, 100% 65%, 100% 75%, 0 75%);
    animation: arcGlitch2 7s steps(1) infinite;
    opacity: 0.5;
    text-shadow: none;
}

@keyframes arcTitlePulse {
    0%, 90%, 100% { opacity: 1; }
    92%           { opacity: 0.85; }
    94%           { opacity: 1; }
    96%           { opacity: 0.9; }
}

@keyframes arcGlitch {
    0%, 88%, 100% { transform: translateX(0); opacity: 0; }
    89%  { transform: translateX(-4px); opacity: 0.7; }
    90%  { transform: translateX(4px);  opacity: 0.5; }
    91%  { transform: translateX(0);    opacity: 0; }
}

@keyframes arcGlitch2 {
    0%, 93%, 100% { transform: translateX(0); opacity: 0; }
    94%  { transform: translateX(3px);  opacity: 0.5; }
    95%  { transform: translateX(-2px); opacity: 0.3; }
    96%  { transform: translateX(0);    opacity: 0; }
}

.arc-hero-sub {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(8px, 1.2vw, 11px);
    color: rgba(255, 170, 0, 0.8);
    letter-spacing: 0.1em;
    animation: arcBlink 1.5s step-end infinite;
    margin: 0;
}

@keyframes arcBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.arc-credit-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 6px 18px;
    border-radius: 2px;
}

.arc-credit-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(0, 229, 255, 0.5);
}

.arc-credit-value {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    color: var(--arc-amber);
    text-shadow: 0 0 8px var(--arc-amber);
}

/* ============================================================
   ARCADE HALL — Cabinet Grid
   ============================================================ */
.arc-hall {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 32px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 48px) 60px;
    align-items: end;
}

@media (max-width: 1100px) {
    .arc-hall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .arc-hall { grid-template-columns: 1fr; max-width: 380px; }
}

/* ============================================================
   CABINET BASE
   ============================================================ */
.arc-cabinet {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
    outline: none;
}

.arc-cabinet:focus-visible {
    outline: 2px solid var(--arc-cyan);
    outline-offset: 4px;
    border-radius: 4px;
}

.arc-cabinet--active:hover,
.arc-cabinet--active:focus {
    transform: translateY(-6px) scale(1.02);
    filter: brightness(1.15);
}

.arc-cabinet-top {
    background: linear-gradient(135deg, #0e1830 0%, #1a2550 100%);
    border: 2px solid var(--arc-border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 4px;
    overflow: hidden;
    position: relative;
}

.arc-cabinet--active .arc-cabinet-top {
    background: linear-gradient(135deg, #001428 0%, #002840 100%);
    border-color: var(--arc-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.arc-cabinet--mystery .arc-cabinet-top {
    background: linear-gradient(135deg, #1a0030 0%, #2a0050 100%);
    border-color: rgba(180, 0, 255, 0.5);
    box-shadow: 0 0 12px rgba(180, 0, 255, 0.25);
}

.arc-marquee {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: arcMarquee 8s linear infinite;
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(7px, 1vw, 9px);
    color: var(--arc-cyan);
    text-shadow: 0 0 8px var(--arc-cyan);
}

.arc-marquee--dark {
    color: rgba(255,255,255,0.2);
    text-shadow: none;
    animation: none;
}

.arc-marquee--mystery {
    color: rgba(180, 0, 255, 0.7);
    text-shadow: 0 0 8px rgba(180, 0, 255, 0.5);
}

@keyframes arcMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.arc-screen-wrap {
    position: relative;
    background: #000;
    border-left: 2px solid var(--arc-border);
    border-right: 2px solid var(--arc-border);
}

.arc-cabinet--active .arc-screen-wrap {
    border-color: var(--arc-cyan);
    box-shadow: -2px 0 8px rgba(0,229,255,0.2), 2px 0 8px rgba(0,229,255,0.2);
}

.arc-cabinet--mystery .arc-screen-wrap {
    border-color: rgba(180, 0, 255, 0.4);
}

.arc-screen {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--arc-screen);
}

.arc-screen-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.arc-screen-scanlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.3) 2px,
        rgba(0, 0, 0, 0.3) 3px
    );
    z-index: 5;
}

.arc-screen-glare {
    position: absolute;
    top: 8%;
    left: 8%;
    width: 35%;
    height: 25%;
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 50%;
    z-index: 6;
}

.arc-cabinet-body {
    background: var(--arc-cabinet);
    border: 2px solid var(--arc-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: clamp(10px, 1.5vw, 16px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arc-cabinet--active .arc-cabinet-body {
    background: var(--arc-cabinet-hi);
    border-color: var(--arc-cyan);
    box-shadow: 0 4px 16px rgba(0,229,255,0.15);
}

.arc-cabinet--mystery .arc-cabinet-body {
    background: var(--arc-mystery);
    border-color: rgba(180, 0, 255, 0.4);
}

.arc-controls-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.arc-controls-row--dark {
    border-bottom-color: rgba(255,255,255,0.05);
}

.arc-joystick {
    width: 28px;
    height: 28px;
    background: radial-gradient(circle at 35% 35%, #2a3a5a, #0a1020);
    border: 2px solid var(--arc-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    flex-shrink: 0;
    position: relative;
}

.arc-joystick--dark {
    border-color: rgba(255,255,255,0.15);
    box-shadow: none;
}

.arc-joystick-ball {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 35% 35%, var(--arc-cyan), #0080aa);
    border-radius: 50%;
    box-shadow: 0 0 4px var(--arc-cyan);
}

.arc-joystick--dark .arc-joystick-ball {
    background: rgba(255,255,255,0.15);
    box-shadow: none;
}

.arc-btns {
    display: flex;
    gap: 6px;
}

.arc-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.4);
}

.arc-btn--red  { background: #cc2200; box-shadow: 0 0 6px rgba(200,50,0,0.6); }
.arc-btn--blue { background: #0044cc; box-shadow: 0 0 6px rgba(0,80,200,0.6); }
.arc-btn--dark { background: rgba(255,255,255,0.08); box-shadow: none; }

.arc-cabinet-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.arc-hiscore {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.arc-hi-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(0, 229, 255, 0.5);
}

.arc-hi-val {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(8px, 1.2vw, 11px);
    color: var(--arc-amber);
    text-shadow: 0 0 6px rgba(255, 170, 0, 0.5);
}

.arc-genre-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 229, 255, 0.6);
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 3px 7px;
    border-radius: 2px;
}

.arc-genre-tag--dark {
    color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}

.arc-genre-tag--mystery {
    color: rgba(180, 0, 255, 0.6);
    background: rgba(180, 0, 255, 0.06);
    border-color: rgba(180, 0, 255, 0.2);
}

/* ============================================================
   INSERT COIN BUTTON
   ============================================================ */
.arc-coin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 3px;
    padding: 10px 8px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    animation: arcCoinPulse 2.5s ease-in-out infinite;
}

.arc-coin-btn:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--arc-cyan);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
    animation: none;
}

@keyframes arcCoinPulse {
    0%, 100% { border-color: rgba(0, 229, 255, 0.35); }
    50%       { border-color: rgba(0, 229, 255, 0.7);
                box-shadow: 0 0 10px rgba(0, 229, 255, 0.2); }
}

.arc-coin-icon { font-size: 14px; }

.arc-coin-text {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(6px, 0.8vw, 8px);
    color: var(--arc-cyan);
    letter-spacing: 0.06em;
}

.arc-coin-btn--locked {
    animation: none;
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    cursor: default;
}

.arc-coin-btn--locked .arc-coin-icon { opacity: 0.3; }
.arc-coin-btn--locked .arc-coin-text {
    color: rgba(255,255,255,0.2);
    font-size: clamp(5px, 0.7vw, 7px);
}

.arc-coin-btn--mystery {
    animation: none;
    border-color: rgba(180, 0, 255, 0.25);
    background: rgba(180, 0, 255, 0.05);
    cursor: default;
}
.arc-coin-btn--mystery .arc-coin-text { color: rgba(180, 0, 255, 0.4); }

/* ============================================================
   CABINET GLOW RING
   ============================================================ */
.arc-cabinet-glow {
    position: absolute;
    inset: -4px;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0;
    box-shadow:
        0 0 20px rgba(0, 229, 255, 0.4),
        0 0 60px rgba(0, 229, 255, 0.15),
        inset 0 0 20px rgba(0, 229, 255, 0.05);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.arc-cabinet--active:hover .arc-cabinet-glow,
.arc-cabinet--active:focus .arc-cabinet-glow,
.arc-cabinet--active.selected .arc-cabinet-glow {
    opacity: 1;
}

.arc-cabinet-glow--mystery {
    box-shadow:
        0 0 20px rgba(180, 0, 255, 0.4),
        0 0 60px rgba(180, 0, 255, 0.15);
}

/* ============================================================
   PREVIEW SCREEN — THE SMUGGLER Runner
   ============================================================ */
.arc-preview-runner {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #000810 60%, #001428 100%);
    overflow: hidden;
}

.arc-runner-ground {
    position: absolute;
    bottom: 28%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--arc-green);
    box-shadow: 0 0 6px var(--arc-green);
}

.arc-runner-char {
    position: absolute;
    bottom: calc(28% + 2px);
    left: 22%;
    width: 14px;
    height: 18px;
    background: var(--arc-amber);
    box-shadow:
        0px -8px 0 4px var(--arc-amber),
        4px -4px 0 0 rgba(0,0,0,0.4);
    animation: arcRunnerBob 0.35s steps(2) infinite;
}

@keyframes arcRunnerBob {
    0%   { transform: translateY(0) scaleX(1); }
    50%  { transform: translateY(-3px) scaleX(1); }
    100% { transform: translateY(0) scaleX(1); }
}

.arc-runner-obstacle {
    position: absolute;
    bottom: calc(28% + 2px);
    width: 12px;
    height: 14px;
    background: var(--arc-pink);
    box-shadow: 0 0 4px var(--arc-pink);
}

.obs-1 {
    left: 80%;
    animation: arcObstacleRun 2.8s linear infinite;
}

.obs-2 {
    left: 140%;
    animation: arcObstacleRun 2.8s linear infinite 1.4s;
}

@keyframes arcObstacleRun {
    from { left: 110%; }
    to   { left: -20%; }
}

.arc-preview-title {
    position: absolute;
    top: 12%;
    left: 0;
    right: 0;
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(6px, 1.2vw, 8px);
    color: var(--arc-amber);
    text-shadow: 0 0 8px var(--arc-amber);
    text-align: center;
    z-index: 4;
    animation: arcPreviewPulse 3s ease-in-out infinite;
}

.arc-preview-sub {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(5px, 0.8vw, 7px);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(0, 229, 255, 0.5);
    text-align: center;
    z-index: 4;
}

@keyframes arcPreviewPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}

/* ============================================================
   PREVIEW SCREEN — VAULT SNAKE (neu, rein CSS, kein Bild nötig)
   ============================================================ */
.arc-preview-snake {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #050a10 60%, #08121a 100%);
    overflow: hidden;
}

.arc-snake-seg {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    top: 40%;
    background: rgb(0, 90, 120);
    animation: arcSnakeMove 3.4s linear infinite;
}

.arc-snake-head {
    background: var(--arc-cyan);
    box-shadow: 0 0 6px var(--arc-cyan);
}

.arc-snake-seg:nth-child(1) { animation-delay: 0s; }
.arc-snake-seg:nth-child(2) { animation-delay: -0.16s; background: rgb(0,170,200); }
.arc-snake-seg:nth-child(3) { animation-delay: -0.32s; background: rgb(0,130,160); }
.arc-snake-seg:nth-child(4) { animation-delay: -0.48s; background: rgb(0,100,130); }
.arc-snake-seg:nth-child(5) { animation-delay: -0.64s; background: rgb(0,70,100); }

@keyframes arcSnakeMove {
    0%   { left: -12px; top: 35%; }
    22%  { left: 26%;   top: 62%; }
    45%  { left: 52%;   top: 30%; }
    68%  { left: 78%;   top: 58%; }
    100% { left: 118%;  top: 40%; }
}

.arc-snake-food {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff2244;
    box-shadow: 0 0 6px #ff2244;
    top: 25%;
    left: 68%;
    animation: arcFoodPulse 1.3s ease-in-out infinite;
}

@keyframes arcFoodPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.35); }
}

/* ============================================================
   LOCKED SCREEN
   ============================================================ */
.arc-screen-locked {
    background: linear-gradient(to bottom, #050510, #08080f);
}

.arc-lock-icon {
    font-size: clamp(18px, 3vw, 26px);
    opacity: 0.3;
    margin-bottom: 6px;
}

.arc-lock-text {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(7px, 1.2vw, 9px);
    color: rgba(255,255,255,0.25);
    text-align: center;
    line-height: 1.8;
}

.arc-lock-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.12);
    margin-top: 8px;
}

/* ============================================================
   MYSTERY SCREEN
   ============================================================ */
.arc-screen-mystery {
    background: linear-gradient(to bottom, #0d0520, #05010f);
}

.arc-mystery-question {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(28px, 5vw, 40px);
    color: rgba(180, 0, 255, 0.4);
    text-shadow: 0 0 20px rgba(180, 0, 255, 0.3);
    animation: arcMysteryPulse 2s ease-in-out infinite;
}

.arc-mystery-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(180, 0, 255, 0.3);
    margin-top: 6px;
}

@keyframes arcMysteryPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 0.7; transform: scale(1.05); }
}

/* ============================================================
   SELECTED STATE — Keyboard Navigation
   ============================================================ */
.arc-cabinet.selected {
    transform: translateY(-8px) scale(1.03);
}

.arc-cabinet.selected .arc-cabinet-glow { opacity: 1; }

/* ============================================================
   KEYBOARD HINT
   ============================================================ */
.arc-keyboard-hint {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    opacity: 0.5;
    transition: opacity 0.5s;
    margin-bottom: 260px;
}

.arc-keyboard-hint.hidden { opacity: 0; }

.arc-key {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: rgba(0, 229, 255, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 4px 8px;
    border-radius: 3px;
    background: rgba(0, 229, 255, 0.05);
}

.arc-hint-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.25);
}

.arc-key-spacer { width: 20px; }

@media (max-width: 768px) {
    .arc-keyboard-hint { display: none; }
}

/* ============================================================
   MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
    .arc-hero { padding-top: 50px; }

    .arc-title-line {
        font-size: clamp(32px, 12vw, 56px);
    }

    .arc-hall {
        padding: 0 16px 40px;
        gap: 20px;
    }

    .arc-cabinet { max-width: 360px; margin: 0 auto; }

    .arc-marquee {
        font-size: 7px;
    }

    .arc-coin-btn { padding: 12px; }
    .arc-coin-text { font-size: 7px; }
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
.arc-cabinet {
    opacity: 0;
    transform: translateY(40px);
}

.arc-cabinet.arc-in {
    animation: arcCabinetIn 0.6s ease forwards;
}

@keyframes arcCabinetIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   DECKLIST DOWNLOAD SECTION
   Separate from arkade.css — append to bottom of arkade.css
============================================================ */

.arc-decks {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 80px auto 0;
    padding: 0 clamp(16px, 3vw, 48px) 80px;
}

.arc-decks-header {
    margin-bottom: 48px;
    text-align: center;
}

.arc-decks-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(9px, 1vw, 11px);
    font-weight: 700;
    letter-spacing: 0.4em;
    color: rgba(57, 255, 20, 0.6);
    border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 5px 16px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 16px;
}

.arc-decks-title {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(16px, 3vw, 26px);
    color: var(--arc-cyan);
    text-shadow:
        0 0 16px rgba(0,229,255,0.5),
        2px 2px 0 rgba(0,0,0,0.8);
    margin: 0 0 12px;
    letter-spacing: 0.04em;
}

.arc-decks-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(9px, 1.1vw, 12px);
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.15em;
    margin: 0;
}

.arc-decks-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--arc-cyan), transparent);
    margin: 24px auto 0;
    opacity: 0.4;
}

.arc-decks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(16px, 2vw, 28px);
}

.arc-deck-card {
    background: var(--arc-cabinet);
    border: 1px solid var(--arc-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.arc-deck-card.arc-deck-visible {
    opacity: 1;
    transform: translateY(0);
}

.arc-deck-card:hover {
    border-color: var(--arc-cyan);
    box-shadow:
        0 0 20px rgba(0,229,255,0.12),
        0 8px 24px rgba(0,0,0,0.4);
}

.arc-deck-card:nth-child(2) { transition-delay: 0.08s; }
.arc-deck-card:nth-child(3) { transition-delay: 0.16s; }
.arc-deck-card:nth-child(4) { transition-delay: 0.24s; }
.arc-deck-card:nth-child(5) { transition-delay: 0.32s; }

.arc-deck-preview {
    position: relative;
    overflow: hidden;
    background: var(--arc-screen);
    cursor: pointer;
}

.arc-deck-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.arc-deck-card:hover .arc-deck-img {
    transform: scale(1.04);
    filter: brightness(0.75);
}

.arc-deck-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    background: rgba(0,0,0,0.35);
}

.arc-deck-card:hover .arc-deck-overlay { opacity: 1; }

.arc-deck-preview-btn {
    background: rgba(0,229,255,0.1);
    border: 1px solid var(--arc-cyan);
    color: var(--arc-cyan);
    font-family: 'Press Start 2P', monospace;
    font-size: 7px;
    letter-spacing: 0.1em;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 0 12px rgba(0,229,255,0.25);
}
.arc-deck-preview-btn:hover {
    background: rgba(0,229,255,0.2);
}

.arc-deck-screen-corner {
    position: absolute;
    top: 0; left: 0;
    width: 12px; height: 12px;
    border-top: 2px solid rgba(0,229,255,0.5);
    border-left: 2px solid rgba(0,229,255,0.5);
    pointer-events: none;
}

.arc-deck-preview::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg, transparent 0px, transparent 3px,
        rgba(0,0,0,0.12) 3px, rgba(0,0,0,0.12) 4px
    );
    z-index: 2;
}

.arc-deck-preview--empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: default;
}

.arc-deck-empty-icon {
    font-size: 28px;
    opacity: 0.2;
}

.arc-deck-empty-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 7px;
    color: rgba(255,255,255,0.15);
    text-align: center;
    line-height: 2;
    letter-spacing: 0.06em;
}

.arc-deck-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.arc-deck-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,229,255,0.6);
    background: rgba(0,229,255,0.05);
    border: 1px solid rgba(0,229,255,0.15);
    padding: 3px 7px;
    display: inline-block;
    border-radius: 2px;
    align-self: flex-start;
}

.arc-deck-tag--dim {
    color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.06);
}

.arc-deck-name {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(7px, 0.9vw, 9px);
    color: #fff;
    letter-spacing: 0.03em;
    margin: 0;
    line-height: 1.7;
}

.arc-deck-name--dim { color: rgba(255,255,255,0.15); }

.arc-deck-desc {
    font-family: 'Orbitron', sans-serif;
    font-size: 8px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin: 0;
}

.arc-deck-dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px 14px;
    background: rgba(57,255,20,0.06);
    border: 1px solid rgba(57,255,20,0.3);
    color: var(--arc-green);
    font-family: 'Press Start 2P', monospace;
    font-size: 7px;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.arc-deck-dl-btn:hover {
    background: rgba(57,255,20,0.14);
    border-color: var(--arc-green);
    box-shadow: 0 0 12px rgba(57,255,20,0.2);
}
.arc-deck-dl-icon { font-size: 12px; }

.arc-deck-dl-btn--disabled {
    color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.06);
    cursor: default;
    pointer-events: none;
}

.arc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999990;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(6px);
}
.arc-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.arc-lightbox-inner {
    position: relative;
    max-width: min(560px, 92vw);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--arc-cabinet);
    border: 1px solid var(--arc-cyan);
    box-shadow:
        0 0 40px rgba(0,229,255,0.2),
        0 24px 64px rgba(0,0,0,0.7);
    padding: 20px;
}

.arc-lightbox-close {
    position: absolute;
    top: 10px; right: 12px;
    background: none;
    border: none;
    color: rgba(0,229,255,0.6);
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}
.arc-lightbox-close:hover { color: var(--arc-pink); }

.arc-lightbox-img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
    border: 1px solid rgba(0,229,255,0.15);
}

.arc-lightbox-dl {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: rgba(57,255,20,0.08);
    border: 1px solid rgba(57,255,20,0.35);
    color: var(--arc-green);
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, box-shadow 0.2s;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}
.arc-lightbox-dl:hover {
    background: rgba(57,255,20,0.16);
    box-shadow: 0 0 16px rgba(57,255,20,0.2);
}

@media (max-width: 768px) {
    .arc-decks {
        padding: 0 16px 60px;
        margin-top: 60px;
    }
    .arc-decks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
@media (max-width: 400px) {
    .arc-decks-grid { grid-template-columns: 1fr; }
}