:root {
    --arcade-bg: #040611;
    --arcade-surface: rgba(7, 9, 24, .68);
    --arcade-surface-strong: rgba(7, 10, 26, .78);
    --arcade-border: rgba(255, 255, 255, .14);
    --arcade-cyan: #52fff3;
    --arcade-pink: #ff3fd1;
    --arcade-magenta: #ff00ff;
    --arcade-green: #84ff9b;
    --arcade-text: #ffffff;
    --arcade-muted: rgba(255, 255, 255, .72);
    --arcade-radius: 18px;
    --arcade-ease: cubic-bezier(.16, 1, .3, 1);
    --arcade-shadow: 0 24px 70px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255,255,255,.12);
    --arcade-glow: 0 0 34px rgba(255, 0, 255, .18), 0 0 26px rgba(82, 255, 243, .1);
}

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

html {
    min-height: 100%;
    background: var(--arcade-bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 0, 255, .16), transparent 30rem),
        radial-gradient(circle at 84% 54%, rgba(82, 255, 243, .1), transparent 34rem),
        linear-gradient(180deg, #060714 0%, var(--arcade-bg) 52%, #070617 100%);
    overflow-x: hidden;
    overflow-y: auto;
    font-family: sans-serif;
    color: var(--arcade-text);
}

body.vm-focus-active {
    overflow: hidden;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* ===================== */
/* OPENING SHUTTERS */
/* ===================== */

#arcade-opening {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none; /* belangrijk */
}

.shutter-grid {
    display: flex;
    height: 100dvh;
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.segment {
    /* Keep segment heights controlled by JS. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 50%;

    background: linear-gradient(145deg, #0f2c66, #08132c);
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(2px);

    transition: transform 1.8s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}



/* ===================== */
/* ARCADE NAVIGATION */
/* ===================== */

.arcade-nav {
    position: fixed;
    top: clamp(18px, 3vw, 30px);
    right: clamp(18px, 4vw, 40px);
    z-index: 72;
}

/* ========== HAMBURGER ========== */

.hamburger {
    position: relative;
    width: 34px;
    height: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger div {
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 4px;
    transition: transform .34s var(--arcade-ease), opacity .34s var(--arcade-ease), box-shadow .34s var(--arcade-ease);
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* Hamburger hover glow */
.hamburger:hover div {
    box-shadow: 0 0 12px var(--arcade-magenta);
}

/* Open animatie */
.hamburger.open div:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.open div:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open div:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


/* ========== DROPDOWN MENU ========== */

#nav-menu {
    position: absolute;
    right: 0;
    top: 55px;
    list-style: none;
    min-width: 200px;
    padding: 18px;
    border-radius: 16px;

    background: rgba(15, 20, 45, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow:
        0 0 20px rgba(255,0,255,0.2),
        0 10px 40px rgba(0,0,0,0.6);

    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: opacity .35s var(--arcade-ease), transform .35s var(--arcade-ease);
}

/* Open state */
#nav-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#nav-menu li {
    margin-bottom: 12px;
}

#nav-menu li:last-child {
    margin-bottom: 0;
}

/* ========== LINKS ========== */

#nav-menu a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 500;
    transition: background .24s var(--arcade-ease), color .24s var(--arcade-ease), transform .24s var(--arcade-ease);
}

/* Home hover */
#nav-menu a:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(-2px);
}


/* ===================== */
/* ARCADE LOGOUT BUTTON */
/* ===================== */

#logout-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 12px 16px;

    border-radius: 14px;
    border: 1px solid rgba(255, 0, 100, 0.6);

    background: linear-gradient(
        180deg,
        #ff2a6d,
        #d6004f
    );

    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;

    box-shadow:
        0 0 12px rgba(255,0,120,0.6),
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -2px 6px rgba(0,0,0,0.4);

    transition: all 0.25s cubic-bezier(.22,1,.36,1);
    overflow: hidden;
}

/* Hover lift + stronger neon */
#logout-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(255,0,120,0.9),
        0 8px 20px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Click press */
#logout-btn:active {
    transform: translateY(1px);
    box-shadow:
        0 0 10px rgba(255,0,120,0.6),
        inset 0 3px 6px rgba(0,0,0,0.6);
}

/* Light sweep effect */
#logout-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );

    transition: all 0.6s ease;
}

#logout-btn:hover::before {
    left: 120%;
}

/* Subtle neon pulse */
@keyframes logoutPulse {
    0%, 100% {
        box-shadow:
            0 0 12px rgba(255,0,120,0.6),
            inset 0 1px 0 rgba(255,255,255,0.4),
            inset 0 -2px 6px rgba(0,0,0,0.4);
    }
    50% {
        box-shadow:
            0 0 18px rgba(255,0,120,0.9),
            inset 0 1px 0 rgba(255,255,255,0.5),
            inset 0 -2px 6px rgba(0,0,0,0.4);
    }
}

#logout-btn {
    animation: logoutPulse 3s infinite ease-in-out;
}




/* ===================== */
/* ARCADE WORLD */
/* ===================== */

#arcade-world {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
    overflow: visible;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 0, 255, .14), transparent 32rem),
        radial-gradient(circle at 82% 44%, rgba(0, 255, 255, .1), transparent 36rem),
        linear-gradient(180deg, #070817 0%, var(--arcade-bg) 46%, #070617 100%);
}


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

.arcade-hero {
    position: relative;
    min-height: clamp(680px, 100svh, 980px);
    width: 100%;
    overflow: clip;
}

/* Background image */
.hero-background {
    position: absolute;
    inset: 0;
    background: url("pics/arcadeIntroBG.png") center bottom / cover no-repeat;
    z-index: 0;
    will-change: transform;
    transition: transform 120ms linear;
}

.arcade-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(4, 6, 17, .08), rgba(4, 6, 17, .28) 58%, var(--arcade-bg) 100%),
        radial-gradient(circle at 48% 78%, rgba(255, 0, 255, .16), transparent 30%);
}

/* ================= LED ================= */

.hero-led-wrapper {
    position: absolute;
    top: 70px;
    left: 100px;
    z-index: 3;
}

/* Ophangstangen */
.led-hanger {
    position: absolute;
    width: 4px;
    height: 70px;
    background: linear-gradient(to bottom, #777, #444);
}

.led-hanger.left {
    left: 25px;
    top: -70px;
}

.led-hanger.right {
    right: 25px;
    top: -70px;
}

/* LED Bar */
.led-bar {
    width: 420px;
    height: 18px;
    border-radius: 50px;
    background: linear-gradient(
        90deg,
        #ff00ff,
        #ff66ff,
        #ff0066
    );
    box-shadow:
        0 0 15px #ff00ff,
        0 0 40px #ff00ff,
        0 0 80px rgba(255,0,255,0.5);
    position: relative;
    animation: ledFlicker 6s infinite;
}

.led-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.4),
        transparent 60%
    );
}

/* Licht spill */
.led-glow {
    position: absolute;
    top: 18px;
    left: -40px;
    width: 500px;
    height: 240px;
    background: radial-gradient(
        ellipse at top,
        rgba(255,0,255,0.45),
        transparent 70%
    );
    filter: blur(60px);
    pointer-events: none;
}

/* Subtiele flicker */
@keyframes ledFlicker {
    0%, 97%, 100% { opacity: 1; }
    98% { opacity: 0.85; }
    99% { opacity: 0.95; }
}

/* ================= CONTENT LAYOUT ================= */

.hero-content {
    position: relative;
    z-index: 2;
    min-height: clamp(680px, 100svh, 980px);
    display: grid;
    grid-template-columns: minmax(280px, 440px) minmax(260px, 520px);
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding: clamp(104px, 12vh, 140px) min(8vw, 120px) clamp(96px, 14vh, 150px);
}

.hero-left {
    max-width: 440px;
    position: relative;
    z-index: 6;
}

/* ================= TITLE ================= */

.arcade-title {
    font-size: clamp(58px, 7vw, 98px);
    font-weight: 900;
    color: white;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    margin-bottom: 44px;
    text-shadow:
        0 0 15px var(--arcade-magenta),
        0 0 30px var(--arcade-magenta),
        0 0 60px rgba(255,0,255,0.6);
}
.arcade-title span:last-child {
    color: #ff66ff;
}

/* ================= GLASS CARD ================= */

.glass-card {
  width: min(380px, 100%);
  padding: 30px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  color: white;
  transition:
    width .55s cubic-bezier(.16,1,.3,1),
    padding .55s cubic-bezier(.16,1,.3,1),
    transform .55s cubic-bezier(.16,1,.3,1),
    background .55s cubic-bezier(.16,1,.3,1),
    border-color .55s cubic-bezier(.16,1,.3,1),
    box-shadow .55s cubic-bezier(.16,1,.3,1);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}

/* ================= PLAYER INFO ================= */

.player-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.hero-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.hero-name {
    font-size: 22px;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    transition: opacity .35s ease, max-height .45s ease, transform .45s ease, margin .45s ease;
}

.hero-stats strong {
    font-size: 18px;
}

/* XP BAR */

.xp-bar {
    height: 8px;
    background: rgba(0,0,0,0.4);
    border-radius: 6px;
    overflow: hidden;
    transition: opacity .35s ease, max-height .45s ease, transform .45s ease;
}

.xp-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
}

/* ================= BUCKY ================= */

.hero-right {
    position: relative;
    margin-right: 0;
    z-index: 4;
    justify-self: end;
}

.bucky-hero {
    width: min(450px, 34vw);
    transform: translateY(70px);
    filter: drop-shadow(0 25px 45px rgba(0,0,0,0.6));
}

body.arcade-profile-pinned .player-hero-card {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 78;
    width: 212px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(7, 10, 26, .64);
    border-color: rgba(0, 255, 255, .28);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, .45),
        0 0 24px rgba(255, 0, 255, .2),
        inset 0 1px 0 rgba(255, 255, 255, .14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translate3d(0, 0, 0);
}

body.arcade-profile-pinned .player-hero-card:hover {
    width: min(350px, calc(100vw - 48px));
    padding: 20px;
    border-color: rgba(255, 0, 255, .44);
}

body.arcade-profile-pinned .player-hero-card .player-header {
    margin-bottom: 0;
}

body.arcade-profile-pinned .player-hero-card:hover .player-header {
    margin-bottom: 18px;
}

body.arcade-profile-pinned .player-hero-card .hero-avatar {
    width: 42px;
    height: 42px;
}

body.arcade-profile-pinned .player-hero-card:hover .hero-avatar {
    width: 54px;
    height: 54px;
}

body.arcade-profile-pinned .player-hero-card .hero-name {
    max-width: 116px;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.arcade-profile-pinned .player-hero-card:hover .hero-name {
    max-width: 220px;
    font-size: 20px;
}

body.arcade-profile-pinned .player-hero-card .hero-stats,
body.arcade-profile-pinned .player-hero-card .xp-bar {
    max-height: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-8px);
}

body.arcade-profile-pinned .player-hero-card:hover .hero-stats {
    max-height: 70px;
    margin-bottom: 18px;
    opacity: 1;
    transform: translateY(0);
}

body.arcade-profile-pinned .player-hero-card:hover .xp-bar {
    max-height: 8px;
    opacity: 1;
    transform: translateY(0);
}

.arcade-scroll {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    padding: clamp(64px, 9vw, 112px) min(6vw, 90px) clamp(96px, 12vw, 150px);
    background:
        linear-gradient(180deg, var(--arcade-bg) 0%, #08071a 34%, #050611 72%, #070617 100%),
        radial-gradient(circle at 16% 16%, rgba(255, 0, 255, .14), transparent 32rem),
        radial-gradient(circle at 86% 48%, rgba(0, 255, 255, .12), transparent 38rem);
}

.arcade-scroll::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, transparent, black 12%, black 88%, transparent);
}

.arcade-scroll::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 24%, rgba(255, 63, 209, .1), transparent 42rem),
        radial-gradient(ellipse at 48% 62%, rgba(82, 255, 243, .08), transparent 46rem);
    filter: blur(2px);
}

.arcade-intro-band,
.arcade-vm-section,
.arcade-coming-soon {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
}

.arcade-intro-band {
    display: grid;
    align-content: center;
    gap: clamp(18px, 3vw, 28px);
    padding: clamp(28px, 5vw, 54px) 0 clamp(88px, 12vw, 150px);
}

.arcade-section-kicker,
.panel-scan-code,
.arcade-coming-soon span {
    color: #52fff3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.arcade-intro-band h2 {
    max-width: 760px;
    color: white;
    font-size: clamp(34px, 5vw, 68px);
    line-height: .95;
    text-shadow: 0 0 36px rgba(255, 0, 255, .34);
}

.arcade-machine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
    margin-top: 18px;
}

.arcade-machine-card,
.vm-feature-panel,
.arcade-coming-soon > div {
    border: 1px solid rgba(255, 255, 255, .14);
    background:
        linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.025)),
        rgba(7, 9, 24, .68);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        transform .34s var(--arcade-ease),
        border-color .34s var(--arcade-ease),
        box-shadow .34s var(--arcade-ease),
        background .34s var(--arcade-ease);
}

.arcade-machine-card {
    min-height: 164px;
    padding: clamp(18px, 2.4vw, 24px);
    border-radius: var(--arcade-radius);
    color: white;
    overflow: hidden;
}

.arcade-machine-card:hover,
.arcade-coming-soon > div:hover {
    transform: translateY(-5px);
    border-color: rgba(82, 255, 243, .32);
    box-shadow: var(--arcade-shadow), var(--arcade-glow);
}

.arcade-machine-card span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #52fff3;
    border: 1px solid rgba(82, 255, 243, .32);
    background: rgba(82, 255, 243, .08);
}

.arcade-machine-card strong {
    display: block;
    margin-bottom: 9px;
    font-size: 20px;
}

.arcade-machine-card p,
.panel-lede {
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.arcade-machine-card.is-live {
    border-color: rgba(255, 0, 255, .42);
    box-shadow: 0 26px 74px rgba(0, 0, 0, .42), 0 0 34px rgba(255, 0, 255, .18);
}

.arcade-vm-section {
    display: grid;
    grid-template-columns: minmax(290px, 420px) minmax(0, 1fr);
    align-items: center;
    gap: min(5vw, 70px);
    padding: clamp(58px, 8vw, 96px) 0 clamp(90px, 11vw, 140px);
}

.arcade-vm-section::before {
    content: "";
    position: absolute;
    inset: 4% -5% 1%;
    z-index: -1;
    border-radius: 34px;
    background:
        radial-gradient(circle at 70% 45%, rgba(82, 255, 243, .16), transparent 32%),
        radial-gradient(circle at 20% 55%, rgba(255, 0, 255, .14), transparent 30%);
    filter: blur(8px);
}

.vm-feature-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 22px;
    color: white;
}

.vm-feature-panel:hover {
    border-color: rgba(255, 63, 209, .36);
    box-shadow: var(--arcade-shadow), 0 0 38px rgba(255, 63, 209, .16);
}

.vm-feature-panel::before {
    content: "";
    position: absolute;
    left: -20%;
    top: 0;
    width: 55%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #52fff3, transparent);
    animation: panelTrace 7s ease-in-out infinite;
}

@keyframes panelTrace {
    50% { left: 66%; opacity: .75; }
}

.vm-feature-panel h2 {
    margin: 14px 0 16px;
    font-size: clamp(36px, 4vw, 58px);
    line-height: .95;
    text-shadow: 0 0 26px rgba(82, 255, 243, .28);
}

.panel-briefing {
    display: grid;
    gap: 10px;
    margin: 26px 0;
}

.panel-briefing span {
    position: relative;
    padding: 12px 14px 12px 34px;
    border: 1px solid rgba(82, 255, 243, .18);
    border-radius: 12px;
    background: rgba(0, 0, 0, .24);
    color: rgba(255, 255, 255, .86);
    font-weight: 700;
}

.panel-briefing span::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3fd1;
    box-shadow: 0 0 14px rgba(255, 63, 209, .7);
    transform: translateY(-50%);
}

.panel-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.panel-status-row strong {
    color: #84ff9b;
    font-size: 12px;
    letter-spacing: 1.7px;
}

.panel-status-row em {
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-style: normal;
}

.arcade-vm-stage {
    position: relative;
    min-width: 0;
    width: 100%;
}

.arcade-vm-stage::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: -28px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,.58);
    filter: blur(18px);
}

.arcade-coming-soon {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
    padding: clamp(24px, 4vw, 44px) 0 20px;
}

.arcade-coming-soon > div {
    min-height: 120px;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: clamp(18px, 2.4vw, 24px);
    border-radius: var(--arcade-radius);
    color: white;
}

.arcade-coming-soon strong {
    font-size: 22px;
}

@media (max-width: 1280px) {
    .hero-content {
        grid-template-columns: minmax(260px, 390px) minmax(220px, 420px);
        padding: 108px 48px 96px;
    }
}

@media (max-width: 980px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    #arcade-world {
        overflow: visible;
    }

    .arcade-hero {
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-content: start;
        justify-items: center;
        padding: 124px 24px 70px;
    }

    .hero-left {
        max-width: 560px;
        justify-self: start;
    }

    .arcade-title {
        margin-bottom: 24px;
    }

    .hero-right {
        display: none;
    }

    .arcade-scroll {
        padding: 70px 22px 90px;
    }

    .arcade-machine-grid,
    .arcade-vm-section,
    .arcade-coming-soon {
        grid-template-columns: 1fr;
    }

    .arcade-vm-section {
        min-height: auto;
        padding: 70px 0 90px;
    }

    body.arcade-profile-pinned .player-hero-card {
        top: 18px;
        left: 18px;
        width: 190px;
    }
}

@media (max-width: 767px) {
    .arcade-nav {
        top: 18px;
        right: 18px;
    }

    body.arcade-profile-pinned .player-hero-card {
        position: fixed;
        top: 18px;
        left: 14px;
        width: min(182px, calc(100vw - 88px));
        padding: 12px;
        transform: translate3d(0, 0, 0);
    }

    body.arcade-profile-pinned .player-hero-card .player-header {
        margin-bottom: 0;
    }

    body.arcade-profile-pinned .player-hero-card .hero-stats,
    body.arcade-profile-pinned .player-hero-card .xp-bar {
        max-height: 0;
        margin: 0;
        opacity: 0;
        transform: translateY(-8px);
    }

    body.arcade-profile-pinned .player-hero-card:hover {
        width: min(320px, calc(100vw - 28px));
        padding: 18px;
    }

    body.arcade-profile-pinned .player-hero-card:hover .player-header {
        margin-bottom: 16px;
    }

    body.arcade-profile-pinned .player-hero-card:hover .hero-stats {
        max-height: 70px;
        margin-bottom: 16px;
        opacity: 1;
        transform: translateY(0);
    }

    body.arcade-profile-pinned .player-hero-card:hover .xp-bar {
        max-height: 8px;
        opacity: 1;
        transform: translateY(0);
    }
}

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

