:root {
    color-scheme: dark;

    --void: #020208;
    --void-2: #050611;
    --panel: rgba(7, 10, 23, .84);
    --panel-heavy: rgba(4, 6, 16, .95);
    --panel-soft: rgba(16, 20, 42, .62);

    --green: #74ff42;
    --green-hot: #26ff75;
    --cyan: #41e9ff;
    --blue: #4778ff;
    --purple: #9b4dff;
    --pink: #ff3de2;
    --magenta: #ff45ad;
    --yellow: #ffe958;
    --red: #ff486a;

    --text: #f7f8ff;
    --muted: #9aa1bc;
    --dim: #646b86;

    --line: rgba(123, 92, 255, .25);
    --line-bright: rgba(103, 255, 122, .48);
    --line-cyan: rgba(65, 233, 255, .40);

    --radius-xl: 30px;
    --radius-lg: 20px;
    --radius-md: 13px;

    --shadow:
        0 32px 90px rgba(0, 0, 0, .55),
        0 0 38px rgba(125, 65, 255, .08),
        inset 0 1px rgba(255, 255, 255, .035);

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--void);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(91, 48, 255, .28),
            transparent 35%
        ),
        radial-gradient(
            circle at 6% 30%,
            rgba(255, 43, 221, .15),
            transparent 30%
        ),
        radial-gradient(
            circle at 94% 38%,
            rgba(40, 224, 255, .13),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #020208 0%,
            #05040e 42%,
            #020208 100%
        );
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(
            rgba(102, 73, 255, .10) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(102, 73, 255, .10) 1px,
            transparent 1px
        );
    background-size: 54px 54px;
    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 94%
        );
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    background:
        radial-gradient(
            circle at center,
            transparent 36%,
            rgba(0, 0, 0, .78) 100%
        );
}

button,
input,
select {
    font: inherit;
}

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

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    color: #020607;
    background: var(--green);
}

#neonCanvas {
    position: fixed;
    inset: 0;
    z-index: -6;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.noise,
.scanlines,
.cursor-aura {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.noise {
    z-index: 1000;
    opacity: .036;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 190 190' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.scanlines {
    z-index: 999;
    opacity: .045;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 3px,
            rgba(255, 255, 255, .11) 4px
        );
}

.cursor-aura {
    z-index: -2;
    width: 620px;
    height: 620px;
    margin: -310px 0 0 -310px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(116, 255, 66, .10),
            rgba(155, 77, 255, .055) 36%,
            transparent 70%
        );
    filter: blur(18px);
}

.shell {
    width: min(1640px, calc(100% - 24px));
    margin: 0 auto;
    padding: 12px 0 80px;
}

.topbar {
    position: sticky;
    top: 7px;
    z-index: 100;
    min-height: 72px;
    padding: 9px 12px;
    border: 1px solid rgba(123, 82, 255, .22);
    border-radius: 18px;
    display: grid;
    grid-template-columns: minmax(235px, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    background:
        linear-gradient(
            180deg,
            rgba(5, 8, 19, .94),
            rgba(2, 4, 12, .91)
        );
    backdrop-filter: blur(28px) saturate(1.35);
    box-shadow:
        0 22px 75px rgba(0, 0, 0, .48),
        0 0 36px rgba(133, 64, 255, .08),
        inset 0 1px rgba(255, 255, 255, .04);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    flex: 0 0 auto;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: -2px;
    border: 1px solid rgba(81, 255, 100, .52);
    border-radius: 13px;
    transform: rotate(7deg);
    box-shadow:
        0 0 25px rgba(73, 255, 98, .25),
        inset 0 0 20px rgba(73, 255, 98, .08);
}

.brand-mark img {
    position: relative;
    z-index: 2;
    width: 39px;
    height: 39px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 16px rgba(77, 255, 101, .38));
}

.brand-title {
    display: block;
    font-family:
        "Arial Black",
        Inter,
        sans-serif;
    font-size: 17px;
    font-weight: 1000;
    letter-spacing: -.04em;
}

.brand-subtitle {
    display: block;
    margin-top: 1px;
    color: var(--cyan);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav a {
    position: relative;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    color: #9ca3ba;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
    transition: .18s ease;
}

.nav a:hover {
    color: white;
    background: rgba(255, 255, 255, .025);
}

.nav a.active {
    color: var(--green);
    border-color: rgba(88, 255, 104, .42);
    background:
        linear-gradient(
            180deg,
            rgba(46, 255, 94, .08),
            rgba(46, 255, 94, .025)
        );
    box-shadow:
        0 0 22px rgba(57, 255, 99, .13),
        inset 0 0 18px rgba(57, 255, 99, .035);
}

.wallet-button {
    min-width: 158px;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid rgba(98, 255, 91, .66);
    border-radius: 9px;
    color: var(--green);
    background:
        linear-gradient(
            180deg,
            rgba(47, 255, 90, .09),
            rgba(18, 69, 31, .06)
        );
    box-shadow:
        0 0 24px rgba(62, 255, 90, .16),
        inset 0 0 17px rgba(62, 255, 90, .035);
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    min-height: 730px;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 65, 255, .33);
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
    gap: 34px;
    align-items: center;
    padding: clamp(35px, 5vw, 76px);
    background:
        linear-gradient(
            90deg,
            rgba(2, 4, 13, .95) 0%,
            rgba(7, 4, 22, .80) 48%,
            rgba(3, 9, 19, .79) 100%
        ),
        radial-gradient(
            circle at 24% 35%,
            rgba(255, 50, 221, .21),
            transparent 34%
        ),
        radial-gradient(
            circle at 82% 45%,
            rgba(51, 221, 255, .17),
            transparent 35%
        );
    box-shadow:
        0 45px 130px rgba(0, 0, 0, .62),
        0 0 60px rgba(125, 45, 255, .12),
        inset 0 1px rgba(255, 255, 255, .04);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .65;
    background:
        linear-gradient(
            115deg,
            transparent 22%,
            rgba(255, 44, 218, .12) 42%,
            transparent 58%
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 90px,
            rgba(103, 44, 255, .06) 91px
        );
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    opacity: .42;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(55, 225, 255, .22),
            rgba(255, 40, 220, .22),
            transparent
        );
    clip-path:
        polygon(
            0 100%,
            18% 65%,
            28% 75%,
            43% 28%,
            58% 70%,
            77% 45%,
            100% 100%
        );
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 3;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.hero-kicker::before {
    content: "";
    width: 32px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--cyan)
        );
    box-shadow: 0 0 12px var(--cyan);
}

.hero-script {
    display: block;
    margin-top: 17px;
    color: white;
    font-family:
        "Segoe Print",
        "Comic Sans MS",
        cursive;
    font-size: clamp(25px, 3vw, 43px);
    font-style: italic;
    font-weight: 900;
    transform: rotate(-4deg);
    text-shadow:
        0 0 8px white,
        0 0 20px var(--cyan);
}

.hero h1 {
    margin: -5px 0 0;
    color: transparent;
    font-family:
        Impact,
        "Arial Black",
        sans-serif;
    font-size: clamp(86px, 11vw, 176px);
    line-height: .75;
    letter-spacing: -.045em;
    transform: skewX(-8deg);
    text-transform: uppercase;
    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #ffb9fa 12%,
            #ff3de2 39%,
            #ab47ff 65%,
            #4b2cff 100%
        );
    background-clip: text;
    -webkit-background-clip: text;
    filter:
        drop-shadow(0 0 10px rgba(255, 61, 226, .85))
        drop-shadow(0 0 35px rgba(255, 61, 226, .48));
}

.hero-tagline {
    margin: 22px 0 0;
    color: white;
    font-size: clamp(18px, 2vw, 27px);
    font-weight: 1000;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.hero-subline {
    margin: 10px 0 0;
    color: #bfc4d5;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 27px;
}

.neon-button {
    min-height: 51px;
    padding: 0 22px;
    border: 1px solid;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .055em;
    text-transform: uppercase;
    transition: .18s ease;
}

.neon-button:hover {
    transform: translateY(-2px);
}

.neon-button.green {
    border-color: rgba(101, 255, 78, .85);
    color: var(--green);
    background: rgba(79, 255, 67, .055);
    box-shadow:
        0 0 25px rgba(72, 255, 76, .19),
        inset 0 0 18px rgba(72, 255, 76, .04);
}

.neon-button.purple {
    border-color: rgba(190, 76, 255, .70);
    color: #e4bcff;
    background: rgba(165, 60, 255, .055);
    box-shadow:
        0 0 25px rgba(165, 60, 255, .16),
        inset 0 0 18px rgba(165, 60, 255, .04);
}

.hero-visual {
    min-height: 560px;
    display: grid;
    place-items: center;
    perspective: 1300px;
}

.token-machine {
    position: relative;
    width: min(100%, 500px);
    height: 540px;
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
    transition: transform .18s ease-out;
}

.token-halo {
    position: absolute;
    width: 390px;
    height: 390px;
    border: 2px solid rgba(84, 228, 255, .34);
    border-radius: 50%;
    box-shadow:
        0 0 30px rgba(83, 226, 255, .16),
        inset 0 0 25px rgba(83, 226, 255, .08);
    animation: rotateHalo 17s linear infinite;
}

.token-halo.two {
    width: 330px;
    height: 330px;
    border-color: rgba(255, 51, 226, .34);
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 21s;
}

.token-halo.three {
    width: 280px;
    height: 280px;
    border-color: rgba(110, 255, 77, .32);
    animation-duration: 27s;
}

.token-orb {
    position: relative;
    z-index: 4;
    width: 235px;
    height: 235px;
    border: 2px solid rgba(255, 255, 255, .68);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at 30% 22%,
            rgba(255, 255, 255, .87),
            rgba(54, 224, 255, .32) 25%,
            rgba(183, 63, 255, .30) 51%,
            rgba(255, 45, 218, .20) 68%,
            rgba(10, 10, 35, .78) 100%
        );
    box-shadow:
        0 0 40px rgba(57, 225, 255, .40),
        0 0 90px rgba(255, 48, 221, .27),
        inset -25px -25px 55px rgba(101, 44, 255, .28),
        inset 18px 12px 35px rgba(255, 255, 255, .44);
    animation: floatOrb 4.5s ease-in-out infinite;
}

.token-orb::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
}

.token-orb img {
    width: 142px;
    height: 142px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 19px rgba(104, 255, 70, .65));
}

.token-plinth {
    position: absolute;
    bottom: 36px;
    width: 350px;
    height: 85px;
    border: 1px solid rgba(101, 224, 255, .38);
    border-radius: 50%;
    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, .37),
            rgba(65, 230, 255, .28) 35%,
            rgba(255, 50, 221, .21) 63%,
            transparent 72%
        );
    box-shadow:
        0 0 35px rgba(57, 225, 255, .24),
        0 0 85px rgba(255, 48, 221, .14),
        inset 0 8px 26px rgba(255, 255, 255, .17);
}

.machine-tag {
    position: absolute;
    right: 3px;
    top: 33px;
    padding: 13px 15px;
    border: 1px solid rgba(76, 226, 255, .30);
    border-radius: 12px;
    background: rgba(7, 10, 26, .70);
    backdrop-filter: blur(16px);
    box-shadow:
        0 0 25px rgba(69, 225, 255, .09),
        inset 0 1px rgba(255, 255, 255, .04);
}

.machine-tag span {
    display: block;
    color: var(--dim);
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.machine-tag strong {
    display: block;
    margin-top: 5px;
    color: var(--cyan);
    font-size: 12px;
}

.arcade-stats {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: -40px;
    border: 1px solid rgba(128, 73, 255, .30);
    border-radius: 18px;
    background:
        linear-gradient(
            180deg,
            rgba(7, 10, 27, .88),
            rgba(4, 6, 17, .92)
        );
    backdrop-filter: blur(20px);
    box-shadow:
        0 30px 85px rgba(0, 0, 0, .45),
        0 0 32px rgba(122, 67, 255, .08),
        inset 0 1px rgba(255, 255, 255, .035);
}

.arcade-stat {
    min-height: 91px;
    padding: 17px;
    border-right: 1px solid rgba(130, 72, 255, .15);
    display: flex;
    gap: 10px;
    align-items: center;
}

.arcade-stat:last-child {
    border-right: 0;
}

.stat-symbol {
    color: var(--cyan);
    font-size: 21px;
    text-shadow: 0 0 16px currentColor;
}

.arcade-stat:nth-child(1) .stat-symbol,
.arcade-stat:nth-child(5) .stat-symbol {
    color: var(--green);
}

.arcade-stat:nth-child(3) .stat-symbol {
    color: var(--purple);
}

.arcade-stat:nth-child(4) .stat-symbol {
    color: var(--pink);
}

.arcade-stat strong {
    display: block;
    font-size: 19px;
    letter-spacing: -.03em;
}

.arcade-stat span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.section {
    margin-top: 36px;
}

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

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 1000;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.section-title::before {
    content: "ϟ";
    color: var(--green);
    text-shadow:
        0 0 10px var(--green);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.game-card {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(120, 74, 255, .36);
    border-radius: 14px;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(118, 51, 255, .13),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            rgba(10, 13, 32, .90),
            rgba(4, 7, 18, .96)
        );
    box-shadow:
        0 22px 55px rgba(0, 0, 0, .33),
        inset 0 1px rgba(255, 255, 255, .035);
    transform-style: preserve-3d;
    transition: .2s ease;
}

.game-card:hover {
    border-color: rgba(84, 236, 255, .52);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, .48),
        0 0 28px rgba(74, 220, 255, .10);
}

.game-card.live {
    border-color: rgba(79, 255, 82, .52);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, .33),
        0 0 26px rgba(72, 255, 77, .11),
        inset 0 1px rgba(255, 255, 255, .035);
}

.game-number {
    display: inline-flex;
    padding: 4px 7px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: var(--green);
    font-size: 8px;
    font-weight: 950;
}

.game-art {
    position: relative;
    height: 108px;
    margin-top: 12px;
    display: grid;
    place-items: center;
}

.game-art::before {
    content: "";
    position: absolute;
    width: 93px;
    height: 93px;
    border: 1px solid rgba(73, 224, 255, .33);
    border-radius: 50%;
    box-shadow:
        0 0 24px rgba(74, 220, 255, .12),
        inset 0 0 20px rgba(74, 220, 255, .05);
}

.game-card:nth-child(2) .game-art::before,
.game-card:nth-child(5) .game-art::before {
    border-color: rgba(255, 61, 225, .38);
    box-shadow:
        0 0 24px rgba(255, 61, 225, .13);
}

.game-card:nth-child(3) .game-art::before {
    border-color: rgba(95, 255, 83, .38);
    box-shadow:
        0 0 24px rgba(95, 255, 83, .13);
}

.game-symbol {
    position: relative;
    z-index: 2;
    color: var(--cyan);
    font-size: 43px;
    font-weight: 1000;
    text-shadow:
        0 0 12px currentColor,
        0 0 26px currentColor;
}

.game-card:nth-child(1) .game-symbol,
.game-card:nth-child(3) .game-symbol {
    color: var(--green);
}

.game-card:nth-child(2) .game-symbol,
.game-card:nth-child(5) .game-symbol {
    color: var(--pink);
}

.game-card h3 {
    margin: 11px 0 0;
    color: white;
    font-size: 20px;
    font-style: italic;
    line-height: .95;
    text-transform: uppercase;
}

.game-card.live h3 {
    color: var(--green);
    text-shadow: 0 0 13px rgba(80, 255, 85, .31);
}

.game-card:nth-child(2) h3,
.game-card:nth-child(5) h3 {
    color: #ff6de9;
}

.game-card p {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
    text-transform: uppercase;
}

.game-action {
    position: absolute;
    left: 18px;
    bottom: 17px;
    min-height: 33px;
    padding: 0 12px;
    border: 1px solid rgba(83, 255, 80, .37);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    color: var(--green);
    background: rgba(69, 255, 70, .035);
    font-size: 8px;
    font-weight: 950;
    text-transform: uppercase;
}

.page-hero {
    position: relative;
    min-height: 430px;
    margin-top: 12px;
    overflow: hidden;
    padding: clamp(32px, 5vw, 68px);
    border: 1px solid rgba(128, 68, 255, .32);
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: 1fr minmax(320px, .62fr);
    gap: 30px;
    align-items: center;
    background:
        radial-gradient(
            circle at 88% 42%,
            rgba(92, 219, 255, .16),
            transparent 34%
        ),
        radial-gradient(
            circle at 14% 65%,
            rgba(255, 50, 220, .17),
            transparent 38%
        ),
        linear-gradient(
            115deg,
            rgba(3, 5, 16, .96),
            rgba(8, 5, 25, .89)
        );
    box-shadow: var(--shadow);
}

.page-kicker {
    color: var(--green);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 13px 0 0;
    font-family:
        Impact,
        "Arial Black",
        sans-serif;
    font-size: clamp(58px, 7vw, 105px);
    font-style: italic;
    line-height: .82;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.page-hero h1 span {
    display: block;
    color: var(--green);
    text-shadow:
        0 0 16px rgba(80, 255, 85, .47);
}

.page-hero p {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    text-transform: uppercase;
}

.page-orb {
    position: relative;
    min-height: 285px;
    display: grid;
    place-items: center;
}

.page-orb-core {
    position: relative;
    width: 190px;
    height: 190px;
    border: 2px solid rgba(71, 227, 255, .44);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--pink);
    background:
        radial-gradient(
            circle,
            rgba(255, 67, 226, .16),
            rgba(93, 53, 255, .16) 45%,
            rgba(5, 7, 19, .85) 72%
        );
    box-shadow:
        0 0 34px rgba(65, 225, 255, .18),
        0 0 80px rgba(255, 54, 222, .12),
        inset 0 0 35px rgba(154, 70, 255, .10);
    font-size: 68px;
    font-weight: 1000;
    text-shadow:
        0 0 14px currentColor,
        0 0 30px currentColor;
    animation: floatOrb 4.2s ease-in-out infinite;
}

.page-orb-core::before,
.page-orb-core::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.page-orb-core::before {
    inset: -40px;
    border: 1px solid rgba(146, 69, 255, .27);
}

.page-orb-core::after {
    inset: -72px;
    border: 1px dashed rgba(70, 224, 255, .19);
    animation: rotateHalo 18s linear infinite;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 13px;
    margin-top: 13px;
}

.panel {
    overflow: hidden;
    border: 1px solid rgba(125, 70, 255, .29);
    border-radius: 15px;
    background:
        linear-gradient(
            180deg,
            rgba(7, 10, 25, .89),
            rgba(3, 5, 15, .95)
        );
    box-shadow:
        0 27px 75px rgba(0, 0, 0, .42),
        inset 0 1px rgba(255, 255, 255, .03);
}

.panel-head {
    min-height: 69px;
    padding: 15px 17px;
    border-bottom: 1px solid rgba(126, 67, 255, .19);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
}

.panel-label {
    color: var(--green);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.panel-head h2,
.panel-head h3 {
    margin: 5px 0 0;
    font-size: 19px;
    font-style: italic;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.tab-row {
    display: flex;
    gap: 7px;
    padding: 12px 15px 0;
}

.tab {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--muted);
    background: transparent;
    font-size: 8px;
    font-weight: 950;
    text-transform: uppercase;
}

.tab.active {
    border-color: rgba(81, 255, 77, .38);
    color: var(--green);
    background: rgba(71, 255, 71, .035);
}

.match-list {
    padding: 8px 12px 12px;
}

.match-row {
    min-height: 61px;
    display: grid;
    grid-template-columns:
        minmax(105px, .8fr)
        minmax(115px, 1fr)
        minmax(80px, .55fr)
        minmax(85px, .55fr)
        auto;
    gap: 11px;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(125, 69, 255, .12);
}

.match-row:last-child {
    border-bottom: 0;
}

.match-row strong {
    display: block;
    font-size: 11px;
}

.match-row span {
    display: block;
    margin-top: 3px;
    color: var(--dim);
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.waiting {
    color: var(--yellow);
    font-size: 8px;
    font-weight: 950;
    text-transform: uppercase;
}

.waiting::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
}

.join-button {
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(82, 255, 78, .52);
    border-radius: 5px;
    color: var(--green);
    background: rgba(76, 255, 76, .035);
    font-size: 8px;
    font-weight: 950;
    text-transform: uppercase;
}

.info-list {
    padding: 10px;
}

.info-row {
    min-height: 60px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(124, 68, 255, .12);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.info-row:last-child {
    border-bottom: 0;
}

.info-icon {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(82, 255, 79, .34);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 9px;
    font-weight: 1000;
}

.info-copy strong {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
}

.info-copy span {
    display: block;
    margin-top: 3px;
    color: var(--dim);
    font-size: 7px;
    text-transform: uppercase;
}

.info-value {
    color: var(--cyan);
    font-size: 9px;
    font-weight: 950;
}

.table-shell {
    margin-top: 13px;
    overflow-x: auto;
    border: 1px solid rgba(127, 68, 255, .30);
    border-radius: 15px;
    background:
        linear-gradient(
            180deg,
            rgba(7, 10, 25, .90),
            rgba(3, 5, 15, .96)
        );
    box-shadow: var(--shadow);
}

.table-toolbar {
    min-height: 65px;
    padding: 13px 15px;
    border-bottom: 1px solid rgba(126, 67, 255, .18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 17px;
    border-bottom: 1px solid rgba(125, 69, 255, .11);
    text-align: left;
}

th {
    color: var(--dim);
    font-size: 7px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

td {
    color: #c8ccdc;
    font-size: 10px;
    font-weight: 800;
}

.rank-number {
    color: var(--green);
    font-weight: 1000;
}

.result {
    display: inline-flex;
    padding: 4px 8px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 7px;
    font-weight: 950;
    text-transform: uppercase;
}

.result.win {
    border-color: rgba(76, 255, 81, .48);
    color: var(--green);
}

.result.loss {
    border-color: rgba(255, 67, 105, .52);
    color: var(--red);
}

.result.refund {
    border-color: rgba(180, 79, 255, .55);
    color: #d391ff;
}

.empty-state {
    min-height: 280px;
    padding: 40px 20px;
    display: grid;
    place-items: center;
    text-align: center;
}

.empty-state strong {
    display: block;
    color: white;
    font-size: 22px;
    font-style: italic;
    text-transform: uppercase;
}

.empty-state p {
    max-width: 500px;
    margin: 10px auto 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
    text-transform: uppercase;
}

.notice {
    margin-top: 13px;
    padding: 12px 15px;
    border: 1px solid rgba(84, 232, 255, .18);
    border-radius: 9px;
    color: #90dce8;
    background: rgba(35, 184, 211, .035);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .06em;
    line-height: 1.6;
    text-transform: uppercase;
}

.footer {
    margin-top: 48px;
    padding-top: 18px;
    border-top: 1px solid rgba(123, 67, 255, .17);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--dim);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .65s ease,
        transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes floatOrb {
    50% {
        transform: translateY(-11px) scale(1.025);
    }
}

@media (max-width: 1180px) {
    .nav {
        display: none;
    }

    .topbar {
        grid-template-columns: 1fr auto;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 520px;
    }

    .arcade-stats {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 13px;
    }

    .arcade-stat:nth-child(3) {
        border-right: 0;
    }

    .arcade-stat:nth-child(n+4) {
        border-top: 1px solid rgba(130, 72, 255, .15);
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 840px) {
    .dashboard-grid,
    .page-hero {
        grid-template-columns: 1fr;
    }

    .match-row {
        grid-template-columns: 1fr auto;
    }

    .match-row > div:nth-child(2),
    .match-row > div:nth-child(3),
    .match-row > div:nth-child(4) {
        display: none;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .shell {
        width: calc(100% - 12px);
        padding-top: 6px;
    }

    .topbar {
        top: 4px;
        min-height: 62px;
        border-radius: 13px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-mark img {
        width: 33px;
        height: 33px;
    }

    .brand-title {
        font-size: 14px;
    }

    .brand-subtitle {
        font-size: 7px;
    }

    .wallet-button {
        min-width: 0;
        min-height: 39px;
        padding: 0 11px;
        font-size: 8px;
    }

    .hero {
        min-height: 0;
        padding: 30px 19px 38px;
        border-radius: 19px;
    }

    .hero h1 {
        font-size: clamp(82px, 27vw, 126px);
    }

    .hero-script {
        font-size: 25px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 450px;
    }

    .token-machine {
        height: 440px;
    }

    .token-orb {
        width: 180px;
        height: 180px;
    }

    .token-orb img {
        width: 105px;
        height: 105px;
    }

    .token-halo {
        width: 290px;
        height: 290px;
    }

    .token-halo.two {
        width: 245px;
        height: 245px;
    }

    .token-halo.three {
        width: 205px;
        height: 205px;
    }

    .token-plinth {
        width: 270px;
    }

    .arcade-stats {
        grid-template-columns: 1fr 1fr;
    }

    .arcade-stat {
        border-top: 1px solid rgba(130, 72, 255, .15);
    }

    .arcade-stat:nth-child(odd) {
        border-right: 1px solid rgba(130, 72, 255, .15);
    }

    .arcade-stat:nth-child(even) {
        border-right: 0;
    }

    .arcade-stat:last-child {
        grid-column: 1 / -1;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 280px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
    }

    .cursor-aura {
        display: none;
    }
}

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

/* =========================================================
   ORIGINAL ZKFUCKS ARCADE ARTWORK INTEGRATION
   ========================================================= */

:root {
    --arcade-green: #45ff75;
    --arcade-lime: #9cff4b;
    --arcade-cyan: #36eaff;
    --arcade-violet: #a54dff;
    --arcade-pink: #ff42ca;
    --arcade-black: #010704;
}

/*
 * Main environment
 */

.hero {
    min-height: min(850px, calc(100vh - 95px));
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    padding: clamp(28px, 5vw, 78px);
    background:
        linear-gradient(
            90deg,
            rgba(1, 5, 3, .96) 0%,
            rgba(1, 7, 4, .72) 35%,
            rgba(1, 5, 3, .18) 68%,
            rgba(1, 4, 3, .36) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 4, 2, .97) 0%,
            rgba(0, 4, 2, .10) 48%,
            rgba(0, 4, 2, .36) 100%
        ),
        url("/arcade/assets/art/arcade.png")
        center center / cover no-repeat;
}

.hero::before {
    background:
        linear-gradient(
            105deg,
            transparent 20%,
            rgba(69, 255, 117, .08) 42%,
            transparent 63%
        );
    animation: artLightSweep 8s ease-in-out infinite;
}

.hero::after {
    height: 26%;
    clip-path: none;
    opacity: .26;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, .95),
            transparent
        );
}

.hero-copy {
    width: min(690px, 100%);
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid rgba(70, 255, 118, .28);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(1, 9, 5, .88),
            rgba(2, 10, 7, .66)
        );
    backdrop-filter: blur(15px) saturate(1.2);
    box-shadow:
        0 32px 90px rgba(0, 0, 0, .55),
        0 0 36px rgba(67, 255, 111, .08),
        inset 0 1px rgba(255, 255, 255, .04);
}

.hero-visual {
    display: none;
}

.hero-script {
    color: #eafff0;
    text-shadow:
        0 0 8px rgba(255, 255, 255, .75),
        0 0 18px rgba(68, 255, 114, .65);
}

.hero h1 {
    color: transparent;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #bdffd0 16%,
            #43ff76 45%,
            #00ad43 72%,
            #006b2a 100%
        );
    background-clip: text;
    -webkit-background-clip: text;
    filter:
        drop-shadow(0 0 8px rgba(62, 255, 107, .75))
        drop-shadow(0 0 28px rgba(62, 255, 107, .36));
}

.hero-tagline {
    max-width: 600px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}

.hero-subline {
    color: #c3d5c9;
}

/*
 * Stronger readability
 */

.panel,
.table-shell,
.arcade-stats {
    background:
        linear-gradient(
            180deg,
            rgba(3, 11, 7, .96),
            rgba(1, 6, 4, .98)
        );
    border-color: rgba(68, 255, 113, .19);
}

.panel-head {
    background:
        linear-gradient(
            90deg,
            rgba(34, 255, 94, .055),
            transparent
        );
}

.match-row:hover,
.info-row:hover {
    background: rgba(61, 255, 109, .035);
}

/*
 * Artwork-driven game releases
 */

.games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-card {
    min-height: clamp(390px, 37vw, 590px);
    padding: 0;
    border-color: rgba(79, 255, 120, .25);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.game-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .99) 0%,
            rgba(0, 5, 3, .86) 20%,
            rgba(0, 5, 3, .23) 52%,
            rgba(0, 5, 3, .08) 100%
        );
}

.game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(
            110deg,
            transparent 25%,
            rgba(255, 255, 255, .08) 47%,
            transparent 65%
        );
    transform: translateX(-110%);
    transition: transform .8s ease;
}

.game-card:hover::after {
    transform: translateX(110%);
}

.game-card:nth-child(1) {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .04)
        ),
        url("/arcade/assets/art/trivia.png");
}

.game-card:nth-child(2) {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .04)
        ),
        url("/arcade/assets/art/rps.png");
}

.game-card:nth-child(3) {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .04)
        ),
        url("/arcade/assets/art/dice-duel.png");
}

.game-card:nth-child(4) {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .04)
        ),
        url("/arcade/assets/art/battleship.png");
}

.game-card:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 350px;
    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(81, 255, 123, .13),
            transparent 37%
        ),
        linear-gradient(
            145deg,
            rgba(2, 14, 8, .98),
            rgba(1, 6, 4, .98)
        );
}

.game-number {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 3;
    background: rgba(0, 7, 4, .78);
    backdrop-filter: blur(10px);
}

.game-art {
    display: none;
}

.game-card h3 {
    position: absolute;
    left: 21px;
    right: 21px;
    bottom: 89px;
    z-index: 3;
    margin: 0;
    font-size: clamp(26px, 3vw, 45px);
    color: white;
    text-shadow:
        0 3px 14px black,
        0 0 18px rgba(69, 255, 115, .35);
}

.game-card p {
    position: absolute;
    left: 21px;
    right: 145px;
    bottom: 50px;
    z-index: 3;
    margin: 0;
    color: #bdd1c3;
    text-shadow: 0 2px 8px black;
}

.game-action {
    left: auto;
    right: 20px;
    bottom: 20px;
    z-index: 4;
    min-height: 38px;
    padding: 0 15px;
    background: rgba(0, 12, 6, .82);
    backdrop-filter: blur(10px);
}

/*
 * Route-specific cinematic environments
 */

body[data-arcade-page="lobby"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .95),
            rgba(0, 5, 3, .27)
        ),
        url("/arcade/assets/art/arcade.png")
        center 54% / cover no-repeat;
}

body[data-arcade-page="trivia"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .95),
            rgba(0, 5, 3, .19)
        ),
        url("/arcade/assets/art/trivia.png")
        center center / cover no-repeat;
}

body[data-arcade-page="profile"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .94),
            rgba(0, 5, 3, .14)
        ),
        url("/arcade/assets/art/player-profile.png")
        center 38% / cover no-repeat;
}

body[data-arcade-page="leaderboard"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .42)
        ),
        url("/arcade/assets/art/arcade.png")
        center 70% / cover no-repeat;
}

body[data-arcade-page="history"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .97),
            rgba(0, 5, 3, .39)
        ),
        url("/arcade/assets/art/battleship.png")
        center 47% / cover no-repeat;
}

.page-hero {
    min-height: 560px;
    align-items: end;
}

.page-hero > div:first-child {
    width: min(680px, 100%);
    padding: 25px;
    border: 1px solid rgba(72, 255, 117, .21);
    border-radius: 15px;
    background: rgba(0, 7, 4, .78);
    backdrop-filter: blur(13px);
    box-shadow:
        0 26px 75px rgba(0, 0, 0, .54);
}

.page-orb {
    display: none;
}

.page-hero p {
    color: #c0d2c6;
    text-shadow: 0 2px 9px black;
}

/*
 * Cinematic framed image strip
 */

.arcade-gallery {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 13px;
    margin-top: 36px;
}

.arcade-gallery-main,
.arcade-gallery-stack > article {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(70, 255, 114, .22);
    border-radius: 15px;
    background-position: center;
    background-size: cover;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .43),
        inset 0 1px rgba(255, 255, 255, .03);
}

.arcade-gallery-main {
    min-height: 520px;
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .94),
            transparent 56%
        ),
        url("/arcade/assets/art/player-profile.png");
}

.arcade-gallery-stack {
    display: grid;
    gap: 13px;
}

.arcade-gallery-stack > article {
    min-height: 253px;
}

.arcade-gallery-stack > article:first-child {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .92),
            transparent
        ),
        url("/arcade/assets/art/rps.png");
}

.arcade-gallery-stack > article:last-child {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .92),
            transparent
        ),
        url("/arcade/assets/art/dice-duel.png");
}

.gallery-label {
    position: absolute;
    left: 19px;
    right: 19px;
    bottom: 18px;
}

.gallery-label span {
    color: var(--green);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.gallery-label strong {
    display: block;
    margin-top: 5px;
    font-size: 22px;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: 0 2px 12px black;
}

@keyframes artLightSweep {
    0%,
    62% {
        transform: translateX(-105%);
    }

    100% {
        transform: translateX(105%);
    }
}

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card:nth-child(5) {
        grid-column: auto;
    }

    .arcade-gallery {
        grid-template-columns: 1fr;
    }

    .arcade-gallery-main {
        min-height: 440px;
    }

    .arcade-gallery-stack {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: 690px;
        background-position: 57% center;
        align-items: end;
    }

    .hero-copy {
        padding: 19px;
    }

    .hero h1 {
        font-size: clamp(68px, 23vw, 104px);
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 410px;
    }

    .game-card p {
        right: 21px;
        bottom: 59px;
    }

    .game-action {
        left: 20px;
        right: auto;
        bottom: 15px;
    }

    .page-hero {
        min-height: 500px;
        padding: 18px;
    }

    .page-hero > div:first-child {
        padding: 18px;
    }

    .arcade-gallery-stack {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   HERO CONTROL BOX — ILLUSIVE NEON GRID
   ========================================================= */

.hero-copy {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Deep internal atmosphere */
.hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 18% 25%,
            rgba(57, 255, 112, .14),
            transparent 38%
        ),
        radial-gradient(
            circle at 88% 78%,
            rgba(42, 225, 255, .12),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(1, 13, 7, .90),
            rgba(1, 6, 4, .80)
        );
}

/* Perspective arcade grid */
.hero-copy::after {
    content: "";
    position: absolute;
    z-index: -2;
    left: -20%;
    right: -20%;
    bottom: -52%;
    height: 94%;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(69, 255, 117, .25) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(57, 228, 255, .22) 1px,
            transparent 1px
        );

    background-size: 42px 28px;

    transform:
        perspective(460px)
        rotateX(63deg)
        translateY(0);

    transform-origin: center top;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .92),
            rgba(0, 0, 0, .72) 48%,
            transparent 100%
        );

    filter:
        drop-shadow(0 0 6px rgba(58, 255, 111, .45));

    animation:
        arcadeGridMove 4.8s linear infinite;
}

/* Neon horizon behind the CTA buttons */
.hero-actions {
    position: relative;
    z-index: 4;
    padding: 20px 18px 17px;
    margin-left: -18px;
    margin-right: -18px;
    border-top: 1px solid rgba(61, 255, 112, .18);
    border-bottom: 1px solid rgba(45, 226, 255, .12);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(39, 255, 104, .055) 20%,
            rgba(42, 224, 255, .06) 52%,
            rgba(255, 52, 216, .04) 78%,
            transparent
        );

    box-shadow:
        inset 0 12px 24px rgba(39, 255, 105, .025),
        inset 0 -12px 24px rgba(42, 221, 255, .025);
}

.hero-actions::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 8%;
    right: 8%;
    top: -1px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--arcade-cyan),
            var(--arcade-green),
            transparent
        );

    box-shadow:
        0 0 11px rgba(49, 232, 255, .70),
        0 0 24px rgba(64, 255, 112, .40);

    animation:
        neonHorizonPulse 2.8s ease-in-out infinite;
}

.hero-actions::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 4px 9px;
    border-radius: 12px;
    pointer-events: none;

    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 25px,
            rgba(68, 255, 114, .055) 26px,
            transparent 27px
        );

    opacity: .68;
}

/* Premium button treatment */
.hero-actions .neon-button,
.hero-actions .button {
    position: relative;
    overflow: hidden;
    min-height: 53px;
    backdrop-filter: blur(12px);
}

.hero-actions .neon-button::before,
.hero-actions .button::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            transparent 18%,
            rgba(255, 255, 255, .28) 45%,
            transparent 67%
        );

    transform: translateX(-140%);
    transition: transform .62s ease;
}

.hero-actions .neon-button:hover::before,
.hero-actions .button:hover::before {
    transform: translateX(140%);
}

.hero-actions .green,
.hero-actions .primary {
    box-shadow:
        0 0 12px rgba(63, 255, 108, .32),
        0 0 32px rgba(63, 255, 108, .15),
        inset 0 0 20px rgba(62, 255, 108, .055);
}

.hero-actions .purple,
.hero-actions .secondary {
    box-shadow:
        0 0 12px rgba(68, 221, 255, .24),
        0 0 30px rgba(136, 76, 255, .14),
        inset 0 0 20px rgba(68, 222, 255, .045);
}

/* Small glowing arcade nodes */
.hero-copy .hero-kicker,
.hero-copy .hero-script,
.hero-copy h1,
.hero-copy .hero-tagline,
.hero-copy .hero-subline {
    position: relative;
    z-index: 3;
}

@keyframes arcadeGridMove {
    from {
        background-position:
            0 0,
            0 0;
    }

    to {
        background-position:
            0 28px,
            42px 0;
    }
}

@keyframes neonHorizonPulse {
    0%,
    100% {
        opacity: .55;
        transform: scaleX(.90);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (max-width: 620px) {
    .hero-actions {
        padding: 17px 13px 14px;
        margin-left: -13px;
        margin-right: -13px;
    }

    .hero-copy::after {
        bottom: -39%;
        height: 74%;
        background-size: 34px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy::after,
    .hero-actions::before {
        animation: none !important;
    }
}

/* Four-production grid after removing Studio Originals */
.games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-card:nth-child(5) {
    display: none !important;
}

@media (min-width: 1350px) {
    .games-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .game-card {
        min-height: 480px;
    }
}

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ARCADE LAB — LOBBY FIRST-VIEW REFINEMENT
   ========================================================= */

/*
 * Keep the artwork, but make the Lobby operational immediately.
 */
body[data-arcade-page="lobby"] .page-hero {
    min-height: 410px;
    margin-bottom: 12px;
    padding: clamp(22px, 3vw, 42px);
    background-position: center 47%;
}

body[data-arcade-page="lobby"] .page-hero > div:first-child {
    width: min(600px, 100%);
    padding: 21px 23px;
}

body[data-arcade-page="lobby"] .page-hero h1 {
    font-size: clamp(51px, 6vw, 84px);
}

body[data-arcade-page="lobby"] .page-hero p {
    max-width: 570px;
    margin-top: 14px;
    line-height: 1.55;
}

/*
 * Lobby chain bar sits tightly below the navigation.
 */
body[data-arcade-page="lobby"] .chain-status-bar {
    margin-top: 10px;
    margin-bottom: 10px;
}

/*
 * Pull real matchmaking above unnecessary decorative spacing.
 */
body[data-arcade-page="lobby"] .dashboard-grid {
    margin-top: 10px;
}

body[data-arcade-page="lobby"] main > .section:first-of-type {
    margin-top: 14px;
}

/*
 * Keep Create Match and tabs prominent.
 */
body[data-arcade-page="lobby"] .dashboard-grid > .panel:first-child {
    min-height: 370px;
}

body[data-arcade-page="lobby"] .dashboard-grid > .panel:first-child .panel-head {
    position: sticky;
    top: 92px;
    z-index: 7;
    background:
        linear-gradient(
            180deg,
            rgba(3, 13, 8, .98),
            rgba(2, 8, 5, .95)
        );
    backdrop-filter: blur(18px);
}

body[data-arcade-page="lobby"] .tab-row {
    position: relative;
    z-index: 5;
    margin-top: 0;
    background: rgba(1, 7, 4, .73);
}

/*
 * Match list gets a sensible viewport without hiding controls.
 */
body[data-arcade-page="lobby"] .match-list {
    min-height: 220px;
    max-height: 470px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color:
        rgba(78, 255, 105, .35)
        rgba(255, 255, 255, .025);
}

body[data-arcade-page="lobby"] .match-list::-webkit-scrollbar {
    width: 7px;
}

body[data-arcade-page="lobby"] .match-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .018);
}

body[data-arcade-page="lobby"] .match-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(78, 255, 105, .28);
}

/*
 * Restore full desktop navigation for wide screens.
 */
@media (min-width: 1181px) {
    .topbar {
        grid-template-columns:
            minmax(220px, .9fr)
            auto
            minmax(155px, .45fr);
    }

    .nav {
        display: flex !important;
    }

    .nav a {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 9px;
    }
}

/*
 * Better intermediate navigation behavior.
 */
@media (min-width: 940px) and (max-width: 1180px) {
    .topbar {
        grid-template-columns: minmax(205px, 1fr) auto;
    }

    .nav {
        display: none;
    }
}

/*
 * On mobile, crop the hero deliberately rather than making it enormous.
 */
@media (max-width: 620px) {
    body[data-arcade-page="lobby"] .page-hero {
        min-height: 355px;
        padding: 16px;
        background-position: 57% center;
    }

    body[data-arcade-page="lobby"] .page-hero > div:first-child {
        padding: 17px;
    }

    body[data-arcade-page="lobby"] .page-hero h1 {
        font-size: clamp(47px, 16vw, 69px);
    }

    body[data-arcade-page="lobby"] .page-hero p {
        font-size: 9px;
    }

    body[data-arcade-page="lobby"] .dashboard-grid {
        margin-top: 8px;
    }

    body[data-arcade-page="lobby"] .dashboard-grid > .panel:first-child .panel-head {
        position: static;
    }

    body[data-arcade-page="lobby"] .match-list {
        max-height: none;
    }
}

/* =========================================================
   ARCADE LAB — PERFORMANCE AND ASSET DELIVERY
   ========================================================= */

/*
 * WebP artwork replaces the heavier PNG backgrounds.
 * PNG originals remain on disk as rollback/fallback assets.
 */

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(1, 5, 3, .96) 0%,
            rgba(1, 7, 4, .72) 35%,
            rgba(1, 5, 3, .18) 68%,
            rgba(1, 4, 3, .36) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 4, 2, .97) 0%,
            rgba(0, 4, 2, .10) 48%,
            rgba(0, 4, 2, .36) 100%
        ),
        url("/arcade/assets/art/arcade.webp")
        center center / cover no-repeat;
}

.game-card:nth-child(1) {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .04)
        ),
        url("/arcade/assets/art/trivia.webp");
}

.game-card:nth-child(2) {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .04)
        ),
        url("/arcade/assets/art/rps.webp");
}

.game-card:nth-child(3) {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .04)
        ),
        url("/arcade/assets/art/dice-duel.webp");
}

.game-card:nth-child(4) {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .04)
        ),
        url("/arcade/assets/art/battleship.webp");
}

body[data-arcade-page="lobby"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .95),
            rgba(0, 5, 3, .27)
        ),
        url("/arcade/assets/art/arcade.webp")
        center 54% / cover no-repeat;
}

body[data-arcade-page="trivia"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .95),
            rgba(0, 5, 3, .19)
        ),
        url("/arcade/assets/art/trivia.webp")
        center center / cover no-repeat;
}

body[data-arcade-page="profile"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .94),
            rgba(0, 5, 3, .14)
        ),
        url("/arcade/assets/art/player-profile.webp")
        center 38% / cover no-repeat;
}

body[data-arcade-page="leaderboard"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .96),
            rgba(0, 5, 3, .42)
        ),
        url("/arcade/assets/art/arcade.webp")
        center 70% / cover no-repeat;
}

body[data-arcade-page="history"] .page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 3, .97),
            rgba(0, 5, 3, .39)
        ),
        url("/arcade/assets/art/battleship.webp")
        center 47% / cover no-repeat;
}

.arcade-gallery-main {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .94),
            transparent 56%
        ),
        url("/arcade/assets/art/player-profile.webp");
}

.arcade-gallery-stack > article:first-child {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .92),
            transparent
        ),
        url("/arcade/assets/art/rps.webp");
}

.arcade-gallery-stack > article:last-child {
    background-image:
        linear-gradient(
            0deg,
            rgba(0, 5, 3, .92),
            transparent
        ),
        url("/arcade/assets/art/dice-duel.webp");
}

/*
 * Let the browser skip off-screen section rendering until needed.
 */
.game-card,
.arcade-gallery,
.dashboard-grid,
.table-shell,
.section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

/*
 * Keep the first screen immediate.
 */
.hero,
.page-hero,
.topbar,
.chain-status-bar {
    content-visibility: visible;
}

/*
 * Hide cosmetic canvas effects until JavaScript explicitly enables them.
 */
#neonCanvas {
    opacity: 0;
    transition: opacity .5s ease;
}

body.arcade-effects-ready #neonCanvas {
    opacity: 1;
}

/*
 * Reduce GPU work on low-power and touch devices.
 */
@media (hover: none), (pointer: coarse) {
    .cursor-aura {
        display: none !important;
    }

    .game-card {
        transform: none !important;
    }

    .scanlines {
        opacity: .022;
    }
}

@media (max-width: 700px) {
    .noise {
        display: none;
    }

    #neonCanvas {
        display: none;
    }

    .hero::before,
    .hero-copy::after {
        animation-duration: 9s;
    }
}

/* =========================================================
   ARCADE EXACT LOGO — NO WRAPPER BOX
   Only affects the exact $FUCKS header logo.
   ========================================================= */

img[data-arcade-exact-logo="true"],
header img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"] {
    display: block !important;

    width: clamp(220px, 20vw, 340px) !important;
    height: auto !important;

    max-width: none !important;
    max-height: 125px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: left center !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    backdrop-filter: none !important;

    transform: none !important;

    filter:
        drop-shadow(
            0 0 14px
            rgba(93, 255, 95, 0.25)
        )
        !important;
}

/*
 * This is the small tilted box that was surrounding the logo.
 * It is marked by arcade-logo-only.js.
 */
[data-arcade-logo-clean-wrapper="true"] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;

    border-radius: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;

    clip-path: none !important;
    transform: none !important;

    overflow: visible !important;
}

/* Remove decorative pseudo-elements belonging to that box. */
[data-arcade-logo-clean-wrapper="true"]::before,
[data-arcade-logo-clean-wrapper="true"]::after {
    content: none !important;
    display: none !important;

    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/*
 * Keep the normal brand text beside the logo.
 * This does not change the overall header container.
 */
[data-arcade-logo-brand-container="true"] {
    display: flex !important;
    align-items: center !important;
    gap: clamp(18px, 2vw, 30px) !important;

    transform: none !important;
}

/*
 * A direct parent fallback for browsers before the JavaScript
 * marker is applied. This is restricted to the exact image URL.
 */
header a:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
),
header div:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
),
header span:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
) {
    width: auto !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
    backdrop-filter: none !important;

    clip-path: none !important;
    transform: none !important;

    overflow: visible !important;
}

header a:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)::before,
header a:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)::after,
header div:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)::before,
header div:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)::after,
header span:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)::before,
header span:has(
    > img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 800px) {
    img[data-arcade-exact-logo="true"],
    header img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"] {
        width: clamp(170px, 44vw, 240px) !important;
        max-height: 95px !important;
    }

    [data-arcade-logo-brand-container="true"] {
        gap: 14px !important;
    }
}

/* =========================================================
   ARCADE HEADER — TIGHTER TITLE BAR
   Only affects the header containing the exact Arcade logo.
   ========================================================= */

header:has(
    img[data-arcade-exact-logo="true"]
),
header:has(
    img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
) {
    min-height: 0 !important;
    height: auto !important;

    margin: 0 0 10px !important;
    padding: 8px 14px !important;

    align-items: center !important;

    border-radius: 18px !important;

    gap: 14px !important;
}

/*
 * Tighten only the direct header layout.
 * This keeps the logo, title and wallet button vertically centered.
 */
header:has(
    img[data-arcade-exact-logo="true"]
) > *,
header:has(
    img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
) > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Tighten the brand section without changing its contents. */
header:has(
    img[data-arcade-exact-logo="true"]
)
[data-arcade-logo-brand-container="true"],
header:has(
    img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)
[data-arcade-logo-brand-container="true"] {
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 16px !important;

    align-items: center !important;
}

/*
 * Keep the exact logo large, but reduce excess vertical space
 * caused by its former maximum-height allowance.
 */
header img[data-arcade-exact-logo="true"],
header img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"] {
    max-height: 92px !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Tighten the zkFUCKS / ARCADE title group beside the logo. */
header:has(
    img[data-arcade-exact-logo="true"]
)
[data-arcade-logo-brand-container="true"]
h1,
header:has(
    img[data-arcade-exact-logo="true"]
)
[data-arcade-logo-brand-container="true"]
h2,
header:has(
    img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)
[data-arcade-logo-brand-container="true"]
h1,
header:has(
    img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)
[data-arcade-logo-brand-container="true"]
h2 {
    margin: 0 !important;
    line-height: 1 !important;
}

/* Keep the wallet button compact inside this header only. */
header:has(
    img[data-arcade-exact-logo="true"]
)
button,
header:has(
    img[data-arcade-exact-logo="true"]
)
.wallet-button,
header:has(
    img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)
button,
header:has(
    img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
)
.wallet-button {
    min-height: 48px !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

@media (max-width: 800px) {
    header:has(
        img[data-arcade-exact-logo="true"]
    ),
    header:has(
        img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"]
    ) {
        margin-bottom: 8px !important;
        padding: 7px 10px !important;

        border-radius: 14px !important;
        gap: 10px !important;
    }

    header img[data-arcade-exact-logo="true"],
    header img[src="https://zkaiteam.b-cdn.net/zk/%24fucks.png"] {
        max-height: 76px !important;
    }
}
