/* =====================================================================
   THE CLUB - home page structure
   Same room as the table: deep violet felt, pink neon, hard-edged
   panels, Bungee marquee type and Manrope for everything you read.
   Loaded before theme.css, which supplies the final tokens and skin.
   ===================================================================== */

:root {
    --max: 1240px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shell-pad: clamp(16px, 4vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* The game shell is fixed, but the collection is a scrolling page. theme.css
   also carries fixed-shell rules, so make this page's intent explicit and
   specific: the document and body stay in normal flow on every screen. */
html.home-page,
html.home-page body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: auto;
}
html.home-page body { min-height: 100dvh; }
body {
    min-height: 100dvh;
    font-family: var(--font-ui);
    color: var(--arc-text);
    background:
        radial-gradient(70% 55% at 82% -6%, rgba(201, 163, 92, .2), transparent 62%),
        radial-gradient(50% 40% at 4% 4%, rgba(157, 181, 168, .1), transparent 60%),
        radial-gradient(70% 60% at 50% 112%, rgba(122, 32, 150, .22), transparent 62%),
        linear-gradient(180deg, #160d29 0%, var(--void) 60%);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(201, 163, 92, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 163, 92, .045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(80% 65% at 50% 0%, #000, transparent 76%);
    -webkit-mask-image: radial-gradient(80% 65% at 50% 0%, #000, transparent 76%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--pink); color: #1b1209; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 12px 16px; border-radius: 8px;
    background: var(--lime); color: #1b1209;
    font: 700 13px/1 var(--font-ui);
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

.shell {
    position: relative; z-index: 1;
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 0 var(--shell-pad);
}

/* ---------------------------------------------------------------- header */
.site-header {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 20px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark-mark {
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 2px solid #1a0b24;
    background: var(--pink);
    color: #1a0b16;
    font: 400 18px/1 var(--font-display);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.wordmark-text { display: flex; flex-direction: column; gap: 3px; }
.wordmark-text b {
    font: 400 clamp(15px, 1.8vw, 19px)/1 var(--font-display);
    letter-spacing: .01em;
    color: var(--cream);
    text-transform: uppercase;
}
.wordmark-text small {
    font: 600 10.5px/1 var(--font-ui);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--arc-mute);
}
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.site-nav a {
    font: 600 12px/1 var(--font-ui);
    letter-spacing: .06em;
    color: var(--arc-dim);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .18s, border-color .18s;
}
.site-nav a:hover { color: var(--cream); border-color: var(--pink); }
.site-nav .nav-play {
    padding: 11px 18px;
    border-radius: 8px;
    border: 2px solid #1b1209;
    background: var(--lime);
    color: #1b1209;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .7);
    transition: transform .15s, box-shadow .15s, background .15s;
}
.site-nav .nav-play:hover {
    color: #1b1209;
    background: #ddff7d;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .75);
}

/* ---------------------------------------------------------------- hero */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(40px, 7vh, 82px) 0 clamp(36px, 6vh, 64px);
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1.5px solid rgba(201, 163, 92, .4);
    background: rgba(201, 163, 92, .08);
    font: 700 10px/1 var(--font-ui);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--pink-soft);
}
.eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--pink); box-shadow: 0 0 10px var(--pink);
}
.hero h1 {
    margin: 18px 0 16px;
    font: 400 clamp(38px, 6.2vw, 76px)/.98 var(--font-display);
    letter-spacing: -.005em;
    text-transform: uppercase;
    color: var(--cream);
    text-shadow: 4px 4px 0 rgba(0, 0, 0, .55);
}
.hero h1 em {
    display: block;
    font-style: normal;
    color: var(--pink);
    text-shadow: 4px 4px 0 #3a1f24, 0 0 36px rgba(201, 163, 92, .3);
}
.lede {
    max-width: 54ch;
    font: 500 clamp(14px, 1.5vw, 16px)/1.65 var(--font-ui);
    color: var(--arc-dim);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 10px;
    border: 2px solid transparent;
    font: 800 12px/1 var(--font-ui);
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn-primary {
    background: var(--lime);
    border-color: #1b1209;
    color: #1b1209;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .75), 0 0 26px rgba(214, 174, 98, .18);
}
.btn-primary:hover { transform: translate(-1px, -2px); box-shadow: 5px 6px 0 rgba(0, 0, 0, .78), 0 0 32px rgba(214, 174, 98, .28); }
.btn-primary::after { content: "→"; font-size: 15px; }
.btn-ghost {
    border-color: var(--stroke-2);
    background: rgba(255, 255, 255, .03);
    color: var(--arc-text);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .55);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--cream); background: rgba(201, 163, 92, .07); }
.hero-host {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 7px;
    border-radius: 999px;
    border: 1.5px solid var(--stroke);
    background: rgba(12, 8, 22, .6);
    font: 500 12px/1.3 var(--font-ui);
    color: var(--arc-dim);
}
.hero-host b { color: var(--cream); }
.hero-host-avatar {
    --aa-size: 34px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #1a0f2b, 0 0 0 3.5px var(--pink);
}
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.hero-note span {
    display: inline-flex; align-items: center; gap: 7px;
    font: 700 10px/1 var(--font-ui);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--arc-mute);
}
.hero-note i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.fan { position: relative; width: min(100%, 420px); height: 340px; }
.fan::before {
    content: "";
    position: absolute; inset: 8% 4%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(201, 163, 92, .28), transparent 70%);
    filter: blur(22px);
}
.fan-card {
    position: absolute; top: 50%; left: 50%;
    width: clamp(120px, 15vw, 176px);
    aspect-ratio: 5 / 7;
    border-radius: 14px;
    border: 2px solid #17100c;
    background: linear-gradient(165deg, #fffdf7, #efe2c8);
    box-shadow: 0 22px 38px rgba(0, 0, 0, .5), inset 0 0 0 5px rgba(255, 255, 255, .55);
    transform-origin: 50% 92%;
}
.fan-card.back {
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 8px),
        radial-gradient(circle at 50% 50%, #ff5c98 0 26%, #a01048 27% 28%, #3a0a2c 29%);
    box-shadow: 0 22px 38px rgba(0, 0, 0, .55), inset 0 0 0 5px rgba(255, 255, 255, .12);
}
.fan-card.c1 { transform: translate(-50%, -50%) rotate(-15deg) translateY(8px); }
.fan-card.c2 { transform: translate(-50%, -50%) rotate(-6deg) translateY(-4px); color: #c81f45; }
.fan-card.c3 { transform: translate(-50%, -50%) rotate(7deg) translateY(2px); color: #221526; }
.fan-corner {
    position: absolute; display: flex; flex-direction: column; align-items: center; gap: 1px;
    font: 400 clamp(17px, 2.2vw, 24px)/1 var(--font-display);
}
.fan-corner i { font-style: normal; font-size: .8em; }
.fan-corner.tl { top: 12px; left: 12px; }
.fan-corner.br { bottom: 12px; right: 12px; transform: rotate(180deg); }
.fan-pip {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: clamp(56px, 8vw, 82px);
    opacity: .9;
}
.fan-badge {
    position: absolute; top: 8%; right: 2%;
    display: grid; place-items: center; gap: 1px;
    width: 86px; height: 86px;
    border-radius: 50%;
    border: 2px solid #1b1209;
    background: var(--lime);
    color: #1b1209;
    transform: rotate(8deg);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .7), 0 0 28px rgba(214, 174, 98, .25);
}
.fan-badge b { font: 400 30px/.9 var(--font-display); }
.fan-badge span { font: 800 8.5px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; }
.hero-caption {
    position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%);
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--stroke-2);
    background: rgba(10, 6, 18, .85);
    font: 700 9.5px/1 var(--font-ui);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--arc-dim);
    white-space: nowrap;
}

/* ---------------------------------------------------------------- collection */
.collection { padding: clamp(40px, 6vh, 70px) 0 clamp(30px, 5vh, 56px); border-top: 1px solid rgba(255,255,255,.07); }
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
    margin-bottom: 26px;
}
.section-head h2 {
    margin-top: 14px;
    font: 400 clamp(26px, 4vw, 40px)/1 var(--font-display);
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--cream);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, .5);
}
.section-head > p {
    max-width: 46ch;
    font: 500 13px/1.6 var(--font-ui);
    color: var(--arc-mute);
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 22px);
}
.game-tile {
    position: relative;
    display: flex; flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid var(--stroke);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .04), transparent 60%),
        linear-gradient(180deg, #19112d, #110b20);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .55);
    transition: transform .18s var(--ease), border-color .18s, box-shadow .18s;
}
.game-tile.is-live {
    border-color: rgba(201, 163, 92, .55);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .6), 0 0 34px rgba(201, 163, 92, .12);
}
a.game-tile:hover, a.game-tile:focus-visible {
    transform: translateY(-4px);
    border-color: var(--pink);
    box-shadow: 4px 8px 0 rgba(0, 0, 0, .6), 0 0 40px rgba(201, 163, 92, .22);
}
.game-tile.is-soon { opacity: .82; }
.game-tile.is-soon:hover { opacity: 1; border-color: var(--stroke-2); transform: none; }
.tile-visual {
    position: relative;
    display: grid; place-items: center;
    height: clamp(150px, 17vw, 190px);
    overflow: hidden;
    border-bottom: 1.5px solid rgba(255, 255, 255, .07);
    background:
        radial-gradient(60% 60% at 50% 45%, rgba(201, 163, 92, .16), transparent 70%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 10px),
        #150e26;
}
.tile-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 9px;
    border-radius: 5px;
    border: 1.5px solid #1b1209;
    font: 800 8.5px/1 var(--font-ui);
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
}
.tile-badge.live { background: var(--lime); color: #1b1209; }
.tile-badge.soon { background: #2a2018; color: var(--arc-dim); border-color: var(--stroke-2); }
.tile-fan { position: relative; width: 150px; height: 116px; }
.tile-card {
    position: absolute; top: 50%; left: 50%;
    display: block;
    width: 68px; height: 96px;
    border-radius: 7px;
    border: 1.5px solid #17100c;
    background: linear-gradient(165deg, #fffdf7, #efe2c8);
    color: #221526;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .45);
}
.tile-card.red { color: #c81f45; }
.tile-card.back {
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 6px),
        radial-gradient(circle at 50% 50%, #ff5c98 0 26%, #a01048 27% 28%, #3a0a2c 29%);
}
.tile-card.ghost {
    background: rgba(255, 255, 255, .04);
    border-style: dashed;
    border-color: var(--stroke-2);
    box-shadow: none;
    color: var(--arc-mute);
}
.tile-card.a { transform: translate(-50%, -50%) rotate(-12deg) translate(-18px, 4px); }
.tile-card.b { transform: translate(-50%, -50%) rotate(0deg) translateY(-6px); z-index: 2; }
.tile-card.c { transform: translate(-50%, -50%) rotate(11deg) translate(18px, 4px); }
.tc-rank, .tc-suit {
    position: absolute; top: 6px; left: 7px;
    font: 400 15px/1 var(--font-display);
}
.tc-suit { top: 22px; font-size: 10px; }
.tc-pip {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 30px; opacity: .92;
}
.tile-more-mark {
    display: grid; place-items: center;
    width: 74px; height: 74px; border-radius: 50%;
    border: 2px dashed var(--stroke-2);
    font: 400 30px/1 var(--font-display);
    color: var(--arc-mute);
}
.tile-content { display: flex; flex-direction: column; gap: 9px; padding: 16px 17px 17px; flex: 1; }
.tile-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tile-title-row h3 {
    font: 400 clamp(18px, 2vw, 22px)/1 var(--font-display);
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--cream);
}
.tile-players {
    font: 700 9px/1 var(--font-ui);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--arc-mute);
    white-space: nowrap;
}
.tile-content p { font: 500 12.5px/1.55 var(--font-ui); color: var(--arc-dim); flex: 1; }
.tile-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 11px;
    border-top: 1px dashed rgba(255, 255, 255, .1);
    font: 700 9.5px/1 var(--font-ui);
    letter-spacing: .06em;
    color: var(--arc-mute);
}
.tile-go { display: inline-flex; align-items: center; gap: 6px; color: var(--pink-soft); }
.tile-go i { font-style: normal; }
.is-live .tile-go { color: var(--lime); }
.is-soon .tile-go { color: var(--arc-mute); }

/* ---------------------------------------------------------------- about */
.about {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(40px, 6vh, 74px) 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
}
.about h2 {
    margin-top: 14px;
    font: 400 clamp(26px, 3.6vw, 38px)/1.06 var(--font-display);
    text-transform: uppercase;
    color: var(--cream);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, .5);
}
.about-copy { font: 500 13.5px/1.7 var(--font-ui); color: var(--arc-dim); margin-bottom: 12px; max-width: 60ch; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.about-list > div {
    padding: 12px 13px;
    border-radius: 10px;
    border: 1.5px solid var(--stroke);
    background: rgba(0, 0, 0, .22);
}
.about-list b {
    display: block; margin-bottom: 5px;
    font: 400 12px/1 var(--font-display);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--lime);
}
.about-list span { font: 500 11.5px/1.5 var(--font-ui); color: var(--arc-mute); }

/* ---------------------------------------------------------------- footer */
.site-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font: 600 11px/1.5 var(--font-ui);
    color: var(--arc-mute);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--arc-dim); border-bottom: 1.5px solid transparent; }
.footer-links a:hover { color: var(--cream); border-color: var(--pink); }

/* appearance animations, kept optional */
@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { animation: rise-in .6s var(--ease) both; }
    .hero-copy > *:nth-child(2) { animation-delay: .05s; }
    .hero-copy > *:nth-child(3) { animation-delay: .1s; }
    .hero-copy > *:nth-child(4) { animation-delay: .15s; }
    .hero-copy > *:nth-child(5) { animation-delay: .2s; }
    .hero-copy > *:nth-child(6) { animation-delay: .25s; }
    .hero-art { animation: rise-in .7s .12s var(--ease) both; }
    .fan { animation: fan-sway 8s ease-in-out infinite; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fan-sway {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(-1.2deg) translateY(-6px); }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
    .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; }
    .hero-art { min-height: 300px; order: -1; }
    .fan { height: 300px; }
    .hero h1 { font-size: clamp(36px, 8vw, 60px); }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
    .site-header { flex-wrap: wrap; gap: 12px; padding: 16px 0 14px; }
    .wordmark-text small { display: none; }
    .site-nav { gap: 14px; width: 100%; justify-content: space-between; }
    .site-nav a:not(.nav-play) { font-size: 11px; }
    .nav-play { padding: 10px 14px; font-size: 11px; }
    .hero { padding: 22px 0 30px; }
    .hero-art { min-height: 260px; }
    .fan { height: 260px; }
    .fan-card { width: 118px; }
    .fan-badge { width: 68px; height: 68px; right: 0; }
    .fan-badge b { font-size: 24px; }
    .fan-badge span { font-size: 7px; }
    .hero h1 { font-size: clamp(32px, 10vw, 46px); }
    .lede { font-size: 13.5px; }
    .hero-actions .btn { flex: 1 1 auto; padding: 0 16px; font-size: 11px; }
    .hero-note { gap: 8px 12px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .game-grid { grid-template-columns: 1fr; }
    .tile-visual { height: 168px; }
    .about-list { grid-template-columns: 1fr; }
    .site-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}
