/* ============================================================
   Neon Harbour. Loads last and owns the look of every page.
   A harbour at night: near-black water, one magenta light and
   its reflection, hairline structure, geometric display type
   (Outfit) with small mono labels. Depth comes from glow and
   blur, never from grey boxes.
   ============================================================ */
:root {
  --display: 'Outfit', 'Inter', system-ui, sans-serif !important;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'Inter', system-ui, sans-serif; /* no monospace anywhere: labels are Inter */
  --nh: #ff3ea5; --nh-2: #7b61ff; --nh-ink: #1a0212;
  --ink: #f4f1f8; --ink-2: rgba(244,241,248,.62); --ink-3: rgba(244,241,248,.4);
  --hair: rgba(255,255,255,.08); --hair-2: rgba(255,255,255,.14);
  --glass: rgba(10,5,16,.62);
  --ease: cubic-bezier(.16,1,.3,1);
  --topbar-h: 68px; --wrap: 1280px; --gutter: clamp(20px, 4vw, 48px);
  --r-card: 22px;
}
html { scroll-behavior: smooth; }
body { background: #050308; color: var(--ink); font-family: var(--body); font-size: 15px; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 88% -10%, rgba(255,62,165,.22), transparent 60%), radial-gradient(700px 420px at 8% 110%, rgba(123,97,255,.14), transparent 60%); }
.app { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 99px; }
::selection { background: rgba(255,62,165,.35); }
body.modal-open { overflow: hidden; }


/* ---------- type helpers ---------- */
.eyebrow, .kicker, .chip, .card-tag, .nosign, .feature-top > span:first-child, .tabs button, .feed .head, .label, .crumbs, .foot-col h4, .foot-badges, .foot-base, .auth-tabs button, .cookies-opts label span, .pb-sub, .rate, .fine, .b-ic, .acc-ic {
  font-family: var(--body); text-transform: none; letter-spacing: .01em; font-size: 12.5px; font-weight: 500; }
.eyebrow, .kicker { font-size: 11px; font-weight: 600; }
h1, h2, h3 { font-family: var(--display) !important; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-transform: none !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--nh); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--nh); box-shadow: 0 0 0 0 rgba(255,62,165,.6); animation: nh-pulse 2.4s var(--ease) infinite; }
@keyframes nh-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,62,165,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,62,165,0); } 100% { box-shadow: 0 0 0 0 rgba(255,62,165,0); } }
.kicker { color: var(--nh); display: block; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--hair-2); background: rgba(255,255,255,.04); color: rgba(255,255,255,.85); font-size: 12px; }
.muted { color: var(--ink-2); } .strong { color: #fff; font-weight: 600; }

/* ---------- buttons ---------- */
.btn { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0; border-radius: 99px !important; border: 1px solid transparent; min-height: 46px; padding: 0 22px; gap: 10px; transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .2s, border-color .2s, color .2s; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--nh) !important; color: var(--nh-ink) !important; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 12px 40px -8px rgba(255,62,165,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 20px 50px -8px rgba(255,62,165,.7); background: var(--nh) !important; }
.btn-ghost { background: rgba(255,255,255,.04) !important; color: #fff !important; border-color: var(--hair-2); }
.btn-ghost:hover { border-color: rgba(255,62,165,.6); background: rgba(255,62,165,.08) !important; }
.btn-ghost.danger:hover { border-color: #ff6b6b; color: #ff6b6b !important; background: rgba(255,107,107,.08) !important; }
.btn-outline { background: transparent !important; color: #fff !important; border-color: rgba(255,62,165,.6); min-height: 50px; padding: 0 34px; }
.btn-outline:hover { background: rgba(255,62,165,.1) !important; box-shadow: 0 0 30px rgba(255,62,165,.25); }
.play-ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--nh-ink); color: var(--nh); }
.linkbtn { color: var(--ink-2); font-size: 13px; } .linkbtn:hover { color: #fff; }

/* ---------- top bar ---------- */
body .topbar { position: sticky; top: 0; z-index: 70; height: var(--topbar-h); min-height: var(--topbar-h); display: flex; align-items: center; gap: 28px; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  background: var(--glass) !important; -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 0 !important; border-bottom: 1px solid var(--hair) !important; }
.logo { gap: 12px; } body .logo svg { display: none; } .logo-img { display: block; width: 42px; height: 42px; filter: drop-shadow(0 0 8px rgba(255,62,165,.55)); }
body .logo-wm { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: #fff; max-width: none; }
body .brand-nav { display: flex; gap: 4px; margin: 0 auto; }
body .brand-nav a { position: relative; display: inline-flex; align-items: center; padding: 10px 14px; color: rgba(244,241,248,.6); font-family: var(--body); font-size: 14px; font-weight: 500; border-radius: 0 !important; background: transparent !important; transition: color .2s var(--ease); }
body .brand-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--nh); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
body .brand-nav a:hover, body .brand-nav a.active { color: #fff; } body .brand-nav a.active::after, body .brand-nav a:hover::after { transform: scaleX(1); }
.walletgrp { display: flex; align-items: center; gap: 10px; margin-left: auto; }
body .balchip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--hair-2); background: rgba(255,255,255,.03); color: #fff; font-family: var(--display); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s; }
body .balchip:hover { border-color: rgba(255,62,165,.6); background: rgba(255,62,165,.08); }
.bal-inner { display: inline-flex; align-items: center; gap: 8px; } .bal-inner svg { color: var(--nh); }
body .btn-wallet { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 99px !important; background: var(--nh) !important; color: var(--nh-ink) !important; font-family: var(--display); font-weight: 600; font-size: 14px; border: 0; transition: box-shadow .3s var(--ease), transform .2s var(--ease); }
body .btn-wallet:hover { box-shadow: 0 0 32px rgba(255,62,165,.45); transform: translateY(-1px); }
.avatar-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--nh-ink); color: var(--nh); font-size: 12px; }
.navtoggle { display: none; border: 1px solid var(--hair); border-radius: 99px; padding: 8px 14px; font-family: var(--body); font-size: 11px; gap: 8px; align-items: center; }

/* ---------- page frame ---------- */
#main, body .main, body.layout-top .main { flex: 1; min-width: 0; width: auto; max-width: none; margin: 0 !important; padding: 0; display: flex; flex-direction: column; gap: 88px; box-sizing: border-box; }
#main > * { width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; }
#main > :last-child:not(.sitefoot) { margin-bottom: 96px; } #main > .sitefoot { margin-top: 96px; }
.app { display: flex; flex-direction: column; } body .shell { display: flex; align-items: flex-start; width: 100%; flex: 1; min-height: 0; } body .shell > .main { flex: 1 1 0; min-width: 0; width: auto; }
.main > * { min-width: 0; }
.doc { gap: 40px; max-width: 980px; }
.crumbs { display: flex; gap: 12px; color: var(--ink-3); padding-top: 28px; font-size: 13.5px; } .crumbs a:hover { color: #fff; }
.page-head h1 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 14px; }
.page-head p { color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 62ch; margin: 0 0 8px; }
.prose h1 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 20px; }
.prose h2 { font-size: 22px; font-weight: 500; margin: 40px 0 12px; }
.prose p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; max-width: 72ch; }
.prose input { width: 100%; margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--hair-2); background: rgba(255,255,255,.03); color: #fff; font-family: var(--body); font-size: 12px; }
.callout { border: 1px solid rgba(255,62,165,.4); background: rgba(255,62,165,.06); border-radius: 16px; padding: 18px 22px; color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-top: 28px; } .callout b { color: #fff; }
.h-sec { font-size: 28px; font-weight: 500; margin-bottom: 10px; }

/* ---------- hero: one panel, headline left, illustration right ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: clamp(460px, 52vw, 640px); margin-top: 24px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #1a0a2e 0%, #0d0516 60%, #07030c 100%); border: 1px solid var(--hair-2); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 30px 120px -60px rgba(255,62,165,.5); }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,4,18,.96) 0%, rgba(10,4,18,.85) 32%, rgba(10,4,18,.35) 55%, rgba(10,4,18,0) 75%), linear-gradient(180deg, rgba(10,4,18,.1), rgba(10,4,18,.55)); }
.hero-art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 50%, rgba(255,62,165,.18), transparent 70%); mix-blend-mode: screen; pointer-events: none; }
.chip-float { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9bd3, var(--nh) 55%, #8a0f55); box-shadow: 0 16px 40px -10px rgba(0,0,0,.8), 0 0 30px rgba(255,62,165,.5), inset 0 0 0 4px rgba(255,255,255,.12), inset 0 0 0 9px rgba(0,0,0,.25); animation: nh-float 7s ease-in-out infinite; opacity: .9; }
.f1 { width: 54px; height: 54px; left: 46%; top: 12%; } .f2 { width: 34px; height: 34px; left: 58%; bottom: 14%; animation-delay: -2.5s; background: radial-gradient(circle at 35% 30%, #c8b8ff, var(--nh-2) 55%, #2d1a80); box-shadow: 0 16px 40px -10px rgba(0,0,0,.8), 0 0 30px rgba(123,97,255,.5), inset 0 0 0 3px rgba(255,255,255,.12), inset 0 0 0 7px rgba(0,0,0,.25); } .f3 { width: 26px; height: 26px; right: 8%; top: 18%; animation-delay: -4s; }
@keyframes nh-float { 50% { translate: 0 -12px; } }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 620px; padding: clamp(36px, 5vw, 72px) clamp(28px, 4.5vw, 64px); }
.hero-copy .eyebrow { text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 500; color: #fff; }
.hero-copy .eyebrow::before { display: none; }
.hero h1 { font-size: clamp(38px, 4.9vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 14px 0 36px; color: #fff; text-shadow: 0 0 24px rgba(255,62,165,.55), 0 2px 0 rgba(255,62,165,.35), 0 20px 60px rgba(0,0,0,.6); }
.hero-cta { min-height: 60px; padding: 0 34px; font-size: 17px; }
.hero-copy > * { animation: nh-rise .7s var(--ease) both; } .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
@keyframes nh-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.play-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nh-ink); color: var(--nh); }

/* ---------- category strip ---------- */
.cats { margin-top: -28px; }
.cat-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-tile { position: relative; scroll-snap-align: start; aspect-ratio: 16/9; border-radius: var(--r-card); border: 1px solid var(--hair); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background: linear-gradient(135deg, #17092a, #0b0512); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.cat-tile:hover { transform: translateY(-4px); border-color: rgba(255,62,165,.55); box-shadow: 0 18px 50px -18px rgba(255,62,165,.45); }
.cat-art { position: absolute; inset: 0; left: 40%; opacity: .9; } .cat-art > .art { position: absolute; inset: 0; display: grid; place-items: center; } .cat-art > .art > * { scale: .7; } .cat-art > .art svg { scale: 1; }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,3,8,.9) 30%, transparent 75%); }
.cat-tile b, .cat-tile small { position: relative; z-index: 1; } .cat-tile b { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; } .cat-tile small { color: var(--ink-3); font-size: 12.5px; margin-top: 4px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; } .dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.2); transition: width .3s var(--ease), background .3s; } .dots button.on { width: 40px; background: var(--nh); }

/* ---------- sections and rows ---------- */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.row-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; }
.row-more { color: var(--ink-2); font-size: 14px; font-family: var(--body); font-weight: 500; padding-bottom: 8px; transition: color .2s; } .row-more:hover { color: var(--nh); }
.more-line { display: flex; align-items: center; gap: 24px; margin-top: 36px; } .more-line::before, .more-line::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,62,165,.5)); } .more-line::after { background: linear-gradient(90deg, rgba(255,62,165,.5), transparent); }

/* ---------- tiles ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.games .card.hide { display: none; }
.card { display: block; }
.card-art { position: relative; aspect-ratio: 3/4; border-radius: var(--r-card) !important; border: 1px solid var(--hair) !important; background: #0d0713; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(0,0,0,.8); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease) !important; }
.card:hover .card-art { transform: translateY(-6px); border-color: rgba(255,62,165,.55) !important; box-shadow: 0 24px 50px -16px rgba(0,0,0,.9), 0 18px 60px -18px rgba(255,62,165,.45); }
.card-art::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(70% 50% at 50% 30%, rgba(255,255,255,.06), transparent 70%); }
body .card-tag { position: absolute; z-index: 3; top: 12px; left: 12px; padding: 5px 10px; border-radius: 99px; font-size: 11.5px; background: rgba(5,3,8,.55) !important; border: 1px solid var(--hair); color: rgba(255,255,255,.8) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: inline-flex; }
.card-name { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 48px 16px 16px; background: linear-gradient(180deg, transparent, rgba(5,3,8,.95)) !important; text-align: left; }
.card-name b { display: block; font-family: var(--display) !important; font-size: 18px !important; font-weight: 600 !important; letter-spacing: -.02em !important; text-transform: none !important; color: #fff; text-shadow: none; }
.nosign { display: block; margin-top: 4px; color: var(--nh) !important; font-size: 12px; font-weight: 500; }
.fav { position: absolute; z-index: 4; top: 10px; right: 10px; left: auto; bottom: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,3,8,.6); border: 1px solid var(--hair); color: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 1; transform: none; transition: background .2s, border-color .2s, transform .2s; }
.fav:hover { transform: scale(1.08); border-color: var(--hair-2); } .fav.on { background: var(--nh); border-color: var(--nh); color: var(--nh-ink); } .fav.on svg { fill: currentColor; }
.card-art .playpop { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s; } .card:hover .card-art .playpop { opacity: 1; }
.card-art .playpop i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--nh) !important; color: var(--nh-ink); box-shadow: 0 0 30px rgba(255,62,165,.6); transform: scale(.8); transition: transform .25s var(--ease); } .card:hover .card-art .playpop i { transform: scale(1); }
.card:focus-visible { outline: none; } .card:focus-visible .card-art { outline: 2px solid var(--nh); outline-offset: 4px; }
.nomatch { border: 1px dashed var(--hair-2); border-radius: var(--r-card); padding: 48px; text-align: center; color: var(--ink-2); } .nomatch b { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; color: #fff; margin-bottom: 6px; }

/* ---------- new games feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding: 28px; border-radius: 28px; border: 1px solid var(--hair); background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); transition: border-color .3s, box-shadow .3s, transform .35s var(--ease); }
.feature-card:hover { border-color: rgba(255,62,165,.45); box-shadow: 0 30px 70px -30px rgba(255,62,165,.4); transform: translateY(-3px); }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.feature-copy h3 { font-size: clamp(26px, 2.6vw, 34px); } .feature-copy p { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; margin: 0; flex: 1; }
.feature-art-box { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 1px solid var(--hair); background: linear-gradient(165deg, #1b0c2a, #07030c); } .feature-art-box > .art { position: absolute; inset: 0; display: grid; place-items: center; } .feature-art-box > .art > * { scale: 1.1; } .feature-art-box > .art svg { scale: 1; }

/* ---------- join the fun ---------- */
.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: 56px; border-radius: 32px; border: 1px solid var(--hair); position: relative; overflow: hidden; background: linear-gradient(100deg, rgba(255,62,165,.14), rgba(123,97,255,.06) 55%, transparent); }
.join::before { content: ''; position: absolute; left: -10%; top: -60%; width: 40%; height: 220%; background: radial-gradient(closest-side, rgba(255,62,165,.25), transparent); pointer-events: none; }
.join-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; } .join-copy h2 { font-size: clamp(34px, 4vw, 54px); max-width: 12ch; }
.benefits { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.benefit { padding: 22px; border-radius: 20px; border: 1px solid var(--hair); background: rgba(5,3,8,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.b-ic { display: block; color: var(--nh); margin-bottom: 18px; } .benefit h3 { font-size: 19px; margin-bottom: 8px; } .benefit p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- how it works ---------- */
.how { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px 0; }
.how h2 { font-size: clamp(32px, 4.2vw, 56px); max-width: 16ch; } .how p { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; max-width: 58ch; margin: 0; }
.pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 12px 0 0; }
.pills li { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--hair-2); font-family: var(--body); font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.85); }
.pills li::before { content: '✓'; color: var(--nh); margin-right: 10px; }

/* ---------- accordion ---------- */
.accordion { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.accordion details { border-bottom: 1px solid var(--hair); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; transition: color .2s; }
.accordion summary::-webkit-details-marker { display: none; } .accordion summary:hover { color: var(--nh); }
.acc-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair-2); display: grid; place-items: center; position: relative; transition: transform .3s var(--ease), border-color .3s; }
.acc-ic::before, .acc-ic::after { content: ''; position: absolute; background: #fff; width: 12px; height: 1px; } .acc-ic::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
details[open] .acc-ic { border-color: var(--nh); transform: rotate(180deg); } details[open] .acc-ic::after { transform: rotate(0); }
.accordion p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; margin: -8px 0 26px; max-width: 70ch; }

/* ---------- games page ---------- */
.bigsearch { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 4px; border-bottom: 1px solid var(--hair-2); transition: border-color .25s; margin-top: -48px; }
.bigsearch:focus-within { border-bottom-color: var(--nh); } .bigsearch svg { color: rgba(255,255,255,.4); flex: none; }
.bigsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font-family: var(--display); font-size: 22px; } .bigsearch input::placeholder { color: rgba(255,255,255,.3); } .bigsearch input::-webkit-search-cancel-button { display: none; }
.bigsearch kbd { border: 1px solid var(--hair-2); border-radius: 6px; padding: 3px 8px; color: rgba(255,255,255,.5); font-family: var(--mono); font-size: 11px; } .bigsearch:focus-within kbd { display: none; } .bigsearch .x { width: 32px; height: 32px; border-radius: 50%; font-size: 20px; color: var(--ink-2); } .bigsearch .x:hover { color: #fff; background: rgba(255,255,255,.06); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-top: -60px; } .tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; flex: none; padding: 14px 14px 12px; font-size: 14px; color: rgba(244,241,248,.5); transition: color .2s; } .tabs button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: var(--nh); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.tabs button:hover, .tabs button.on { color: #fff; } .tabs button.on::after { transform: scaleX(1); }
.games-page .games, .favourites-page .games { margin-top: -48px; }

/* ---------- play page ---------- */
.play-main, #main.play-main { max-width: none !important; padding: 0 !important; gap: 0; } #main.play-main > * { max-width: none; padding: 0; height: calc(100vh - var(--topbar-h)); display: grid; grid-template-rows: 1fr auto; }
.play-stage { min-height: 0; padding: 16px var(--gutter) 0; }
#frame { width: 100%; height: 100%; border: 1px solid var(--hair-2); border-radius: 24px; background: #0a0510; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 40px 120px -50px rgba(255,62,165,.45); }
.play-bar { display: flex; align-items: center; gap: 18px; padding: 14px var(--gutter) 18px; }
.pb-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--hair-2); color: rgba(255,255,255,.8); font-family: var(--display); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.pb-btn:hover { border-color: rgba(255,62,165,.6); background: rgba(255,62,165,.08); color: #fff; } .pb-btn svg { opacity: .8; } #play-back svg { transform: rotate(180deg); }
.pb-title { display: flex; align-items: center; gap: 12px; margin: 0 auto; } .pb-title b { font-family: var(--display); font-size: 18px; font-weight: 600; } .pb-sub { color: var(--ink-3); }
.pb-actions { display: flex; gap: 8px; }

/* ---------- pricing ---------- */
.rate { color: var(--nh); font-size: 12px; margin: 0 0 16px; display: block; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; }
.pack { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; border: 1px solid var(--hair); background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); transition: border-color .3s, transform .35s var(--ease), box-shadow .3s; }
.pack:hover { border-color: rgba(255,62,165,.45); transform: translateY(-3px); box-shadow: 0 30px 70px -30px rgba(255,62,165,.4); }
.pack-coins { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -.03em; } .pack-coins small { font-size: 14px; color: var(--ink-3); font-family: var(--body); font-weight: 500; margin-left: 6px; }
.pack p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 0; flex: 1; }
.pack-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--hair); } .price { font-family: var(--display); font-size: 20px; font-weight: 600; }
.fine { color: var(--ink-3); font-size: 11.5px; }

/* ---------- forms, modals, cookies ---------- */
.field { display: grid; gap: 8px; } .field span { font-family: var(--body); font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--hair-2); background: rgba(255,255,255,.03); color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--nh); box-shadow: 0 0 0 4px rgba(255,62,165,.15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.5; } .check input { margin-top: 3px; accent-color: var(--nh); } .check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: #ff6b6b; font-size: 13.5px; margin: 0; } .form-ok { color: var(--nh); font-size: 14px; margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(5,3,8,.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: nh-fade .25s var(--ease); }
@keyframes nh-fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(460px, 100%); padding: 36px; border-radius: 28px; border: 1px solid var(--hair-2); background: #0c0613; box-shadow: 0 40px 120px -30px rgba(255,62,165,.4), 0 30px 80px -20px #000; display: grid; gap: 16px; animation: nh-rise .5s var(--ease); }
.modal-card h2 { font-size: 28px; } .auth-sub { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin: 0; } .auth-foot { color: var(--ink-3); font-size: 12px; margin: 0; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair); font-size: 20px; color: var(--ink-2); } .modal-x:hover { color: #fff; background: rgba(255,255,255,.06); }
.auth-tabs { display: flex; width: 100%; gap: 4px; padding: 4px; border-radius: 99px; border: 1px solid var(--hair); background: rgba(255,255,255,.03); }
.auth-tabs button { flex: 1; padding: 10px 14px; border-radius: 99px; color: var(--ink-2); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .2s var(--ease), color .2s var(--ease); }
.auth-tabs button.on { background: #fff; color: #000; font-weight: 600; }
#auth-form { display: grid; gap: 14px; }
.cookies { position: fixed; z-index: 80; left: 20px; bottom: 20px; width: min(440px, calc(100vw - 40px)); padding: 24px; border-radius: 24px; border: 1px solid var(--hair-2); background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 30px 80px -20px #000; display: grid; gap: 18px; animation: nh-rise .6s var(--ease); }
.cookies h2 { font-size: 18px; margin-bottom: 6px; } .cookies p { color: var(--ink-2); font-size: 13px; line-height: 1.6; margin: 0; } .cookies p b { color: #fff; }
.cookies-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; } .cookies-opts label { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); } .cookies-opts input { accent-color: var(--nh); }
.cookies-actions { display: flex; flex-wrap: wrap; gap: 8px; } .cookies-actions .btn { min-height: 40px; padding: 0 16px; font-size: 13px; }

/* ---------- account and support ---------- */
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--hair); border-radius: var(--r-card); overflow: hidden; }
.stat { padding: 26px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 8px; } .stat:last-child { border-right: 0; }
.stat .label { color: var(--ink-3); font-size: 13px; } .stat b { font-family: var(--display); font-size: 32px; font-weight: 500; letter-spacing: -.03em; } .stat small { color: var(--ink-3); font-size: 12px; } .stat .btn { margin-top: auto; align-self: flex-start; min-height: 40px; padding: 0 16px; font-size: 13px; }
.bar { height: 4px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 8px; } .bar i { display: block; height: 100%; width: 0; background: var(--nh); box-shadow: 0 0 12px var(--nh); transition: width .8s var(--ease); }
.feed { display: grid; } .feed .head, .feed .row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 12px; padding: 16px 12px; border-bottom: 1px solid var(--hair); align-items: center; } .feed .head { color: var(--ink-3); } .feed .row { color: var(--ink-2); transition: background .2s; } .feed .row:hover { background: rgba(255,255,255,.03); }
.feed .gamecol { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display); font-weight: 500; font-size: 15px; } .feed .dotmark { width: 7px; height: 7px; border-radius: 50%; } .feed .dotmark.w { background: var(--nh); box-shadow: 0 0 10px var(--nh); } .feed .dotmark.l { background: rgba(255,255,255,.25); }
.feed .num { font-variant-numeric: tabular-nums; } .feed .mult.w, .feed .payout.good { color: var(--nh); } .feed .when { color: var(--ink-3); font-size: 12.5px; }
.feed-empty { border: 1px dashed var(--hair-2); border-radius: var(--r-card); padding: 40px; text-align: center; color: var(--ink-2); }
.action-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid var(--hair); } .action-row:last-child { border-bottom: 1px solid var(--hair); } .action-row b { font-family: var(--display); font-size: 17px; font-weight: 500; } .action-row p { color: var(--ink-2); font-size: 14px; margin: 4px 0 0; }
.support-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.support-grid h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 18px; } .lead { color: var(--ink); font-size: 17px; line-height: 1.6; } .support-grid .muted { font-size: 14.5px; line-height: 1.6; } .support-grid a { color: var(--nh); }
.form-card { display: grid; gap: 16px; padding: 28px; border-radius: 28px; border: 1px solid var(--hair); background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }

/* ---------- toast ---------- */
.toast { border-radius: 99px !important; border: 1px solid var(--hair-2) !important; background: var(--glass) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); padding: 12px 22px !important; font-family: var(--display); font-weight: 500; }
.toast.win { border-color: rgba(255,62,165,.6) !important; color: #fff !important; box-shadow: 0 0 40px rgba(255,62,165,.3); } .toast.info { color: #fff; }
.bigwin { border-radius: 28px !important; border: 1px solid rgba(255,62,165,.5) !important; background: var(--glass) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 120px rgba(255,62,165,.35); } .bigwin b { color: #fff; font-family: var(--display); }
.brand-status { display: none; }

/* ---------- footer ---------- */
.sitefoot { margin-top: auto; border-top: 1px solid var(--hair); padding: 64px var(--gutter) 0; background: transparent !important; }
.foot-wrap { max-width: var(--wrap); margin: 0 auto; }
.foot-legal { max-width: 760px; } .foot-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: #fff; } .foot-logo img { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(255,62,165,.5)); } .foot-tag { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 14px; } .foot-legal p { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin: 0 0 18px; }
.foot-badges { display: flex; gap: 14px; align-items: center; color: var(--ink-3); } .age { display: inline-grid; place-items: center; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--hair-2); color: #fff; font-family: var(--display); font-size: 12px; font-weight: 600; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 40px; padding: 48px 0; margin-top: 40px; border-top: 1px solid var(--hair); }
.foot-col h4 { color: var(--ink-3); margin: 0 0 18px; } .foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; } .foot-link { color: rgba(244,241,248,.75); font-size: 14px; padding: 5px 0; transition: color .2s; } .foot-link:hover { color: var(--nh); }
.foot-contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 13.5px; } .foot-contact dt { color: var(--ink-3); font-size: 12px; padding-top: 2px; } .foot-contact dd { margin: 0; color: rgba(244,241,248,.75); }
.foot-base { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 40px; border-top: 1px solid var(--hair); color: var(--ink-3); }

/* ---------- loader ---------- */
.luck { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; gap: 22px; background: #050308; transition: opacity .5s var(--ease), visibility .5s; }
.luck.off { opacity: 0; visibility: hidden; }
.luck-ticker { display: grid; gap: 10px; width: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.luck-ticker > div { overflow: hidden; } .luck-ticker span { display: inline-flex; gap: 14px; white-space: nowrap; animation: nh-ticker 1.6s linear infinite; }
.luck-ticker > div:nth-child(2) span { animation-duration: 2.2s; animation-direction: reverse; } .luck-ticker > div:nth-child(3) span { animation-duration: 1.9s; }
.luck-ticker i { font-style: normal; font-family: var(--display); font-size: 22px; color: rgba(255,255,255,.35); } .luck-ticker i:nth-child(5n) { color: var(--nh); }
@keyframes nh-ticker { to { transform: translateX(-50%); } }
.luck p { text-align: center; margin: 0; font-family: var(--body); font-size: 11px; color: var(--ink-2); }
.skip:focus { background: var(--nh); color: var(--nh-ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  
  .main { gap: 72px; } .features { grid-template-columns: 1fr; } .join { grid-template-columns: 1fr; padding: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .support-grid { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 850px) {
  .navtoggle { display: inline-flex; margin-left: 8px; }
  body .brand-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: 12px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--hair-2); }
  body.nav-open .brand-nav { display: flex; } body .brand-nav a { padding: 16px 12px; }
  .btn-wallet span:last-child { display: none; } .btn-wallet { padding: 0 12px; }
}
@media (max-width: 700px) {
  .hero { min-height: 0; border-radius: 22px; } .hero-art img { object-position: 78% 50%; } .hero-copy { max-width: none; padding: 40px 22px 32px; } .hero h1 { font-size: clamp(32px, 9vw, 44px); } .hero-art::before { background: linear-gradient(180deg, rgba(10,4,18,.35), rgba(10,4,18,.92) 70%); } .cat-strip { grid-auto-columns: 75%; } .games { grid-template-columns: repeat(2, 1fr); gap: 12px; } .card-name b { font-size: 15px !important; }
  .feature-card { grid-template-columns: 1fr; } .feature-art-box { order: -1; aspect-ratio: 16/10; } .benefits { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--hair); }
  .play-bar { flex-wrap: wrap; } .pb-title { order: -1; width: 100%; margin: 0; } .foot-grid { grid-template-columns: 1fr; } .cookies-opts { grid-template-columns: 1fr; } .modal-card { padding: 28px 22px; }
  .row-head h2 { font-size: 28px; } .join { padding: 28px 22px; } .accordion summary { font-size: 17px; }
}

/* ---------- sidebar (unused: top navigation only) ---------- */
.rail-nav, .burger, .scrim { display: none !important; }
:root { --rail: 256px; }
body .rail-nav, body.layout-top .rail-nav { position: sticky; top: var(--topbar-h); align-self: flex-start; height: calc(100vh - var(--topbar-h)); width: var(--rail); flex: none; z-index: 60; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; padding: 14px 12px 12px; gap: 6px;
  background: rgba(8,4,13,.7); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-right: 1px solid var(--hair); scrollbar-width: thin; transition: width .2s var(--ease); }
.rail-search { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; margin: 0 0 8px; border-radius: 12px; border: 1px solid var(--hair-2); background: rgba(255,255,255,.03); color: var(--ink-2); font-size: 14px; transition: border-color .2s, color .2s; }
.rail-search:hover { border-color: rgba(255,62,165,.6); color: #fff; } .rail-search svg { flex: none; }
body .nav-group { padding: 6px 0; border: 0 !important; } .nav-group + .nav-group { border-top: 1px solid var(--hair) !important; padding-top: 12px; }
body .nav-head { display: block; padding: 4px 12px 8px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
body .nav-item { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ink-2); font-size: 14px; font-weight: 500; width: 100%; text-align: left; transition: background .15s, color .15s; position: relative; }
body .nav-item svg { flex: none; width: 17px; height: 17px; opacity: .8; } body .nav-item > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .nav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
body .nav-item.on { background: rgba(255,62,165,.12); color: #fff; } body .nav-item.on svg { color: var(--nh); opacity: 1; }
body .nav-item.on::before { content: ''; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--nh); box-shadow: 0 0 10px var(--nh); }
body .badge { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--ink-2); font-style: normal; }
body .badge.glow { background: var(--nh); color: var(--nh-ink); box-shadow: 0 0 12px rgba(255,62,165,.6); }
.rail-foot { margin-top: auto; padding-top: 12px; display: grid; gap: 8px; }
body .rail-note { display: flex; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--hair); font-size: 12px; color: var(--ink-3); line-height: 1.5; } body .rail-note b { display: block; color: #fff; margin-bottom: 2px; } .dot-green { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--nh); box-shadow: 0 0 10px var(--nh); margin-top: 5px; }
body .collapse { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-radius: 10px; color: var(--ink-3); font-size: 13px; width: 100%; } body .collapse:hover { background: rgba(255,255,255,.05); color: #fff; } body .collapse svg { transition: transform .2s; }
body.rail-tight { --rail: 72px; } body.rail-tight .rail-nav { padding: 14px 10px; } body.rail-tight .rail-search span, body.rail-tight .nav-head, body.rail-tight .nav-item > span, body.rail-tight .badge, body.rail-tight .rail-note, body.rail-tight .collapse span { display: none; }
body.rail-tight .rail-search, body.rail-tight .nav-item, body.rail-tight .collapse { justify-content: center; padding: 0; } body.rail-tight .collapse svg { transform: rotate(180deg); } body.rail-tight .nav-item.on::before { left: -10px; }
body .burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair); flex-direction: column; justify-content: center; align-items: center; gap: 4px; margin-right: 4px; } body .burger span { display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 2px; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(5,3,8,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 1150px) {
  body .burger { display: flex; } body .rail-nav, body.rail-tight .rail-nav { position: fixed; left: 0; top: var(--topbar-h); width: 280px; padding: 14px 12px 12px; transform: translateX(-100%); transition: transform .3s var(--ease); background: rgba(8,4,13,.96); }
  body.rail-open .rail-nav, body.rail-open.rail-tight .rail-nav { transform: translateX(0); } body.rail-tight .rail-search span, body.rail-tight .nav-head, body.rail-tight .nav-item > span, body.rail-tight .badge, body.rail-tight .rail-note { display: revert; } body.rail-tight .nav-item { justify-content: flex-start; padding: 0 12px; } body .collapse { display: none; }
}

/* ---------- promo cards ---------- */
.promos { display: grid; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 14px; margin-top: -44px; position: relative; z-index: 2; }
.promo { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--hair-2); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -30px #000; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; min-height: 92px; }
.promo:hover { transform: translateY(-3px); border-color: rgba(255,62,165,.5); box-shadow: 0 30px 60px -30px rgba(255,62,165,.35); }
.promo > div { flex: 1; min-width: 0; } .promo b { display: block; font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -.01em; } .promo p { margin: 3px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.promo-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: rgba(255,255,255,.06); }
.promo-daily { background: linear-gradient(135deg, rgba(255,62,165,.22), rgba(255,62,165,.06)); border-color: rgba(255,62,165,.4); } .promo-daily .promo-ic { background: var(--nh); color: var(--nh-ink); box-shadow: 0 0 24px rgba(255,62,165,.5); }
.promo-friends { background: linear-gradient(135deg, rgba(123,97,255,.22), rgba(123,97,255,.05)); } .promo-friends .promo-ic { background: rgba(123,97,255,.4); }
.promo-level { background: linear-gradient(135deg, rgba(61,220,151,.16), rgba(61,220,151,.03)); } .promo-level .promo-ic { background: rgba(61,220,151,.3); }
.promo-account { background: linear-gradient(135deg, rgba(255,200,87,.16), rgba(255,200,87,.03)); } .promo-account .promo-ic { background: rgba(255,200,87,.3); }
.promo .btn { min-height: 40px; padding: 0 18px; font-size: 14px; flex: none; }
.countdown { margin-top: 6px; font-family: var(--display); font-size: 15px; color: #fff; } .countdown time { font-variant-numeric: tabular-nums; color: var(--nh); font-weight: 600; }

/* ---------- latest wins ---------- */
.feedtabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; border: 1px solid var(--hair); background: rgba(255,255,255,.03); margin-bottom: 18px; }
.feedtabs button { padding: 8px 16px; border-radius: 99px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; transition: background .2s, color .2s; } .feedtabs button.on { background: var(--nh); color: var(--nh-ink); }
.wins .feed { border: 1px solid var(--hair); border-radius: var(--r-card); overflow: hidden; }
.wins .feed .head, .wins .feed .row { grid-template-columns: 1.8fr 1.2fr 1fr 1fr 1fr 1fr; padding: 14px 18px; }
.wins .feed .head { background: rgba(255,255,255,.03); font-size: 12px; } .wins .feed .row:last-child { border-bottom: 0; }
.wins .mult { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 8px; background: rgba(255,62,165,.14); color: var(--nh); font-weight: 600; font-size: 13px; width: max-content; }
.wins .payout { font-family: var(--display); font-weight: 600; font-size: 15px; }
@media (max-width: 1000px) { .promos { grid-template-columns: 1fr 1fr; margin-top: -24px; } .promo-daily { grid-column: 1 / -1; } }
@media (max-width: 700px) { .promos { grid-template-columns: 1fr; } .wins .feed .head, .wins .feed .row { grid-template-columns: 1.6fr 1fr 1fr; } .wins .feed .when, .wins .feed .stakecol, .wins .feed .row > span:nth-child(2), .wins .feed .head > span:nth-child(2) { display: none; } }

/* ---------- generated game previews ---------- */
.card-art .art-img, .feature-art-box .art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card-art .art-img { transform: scale(1.02); transition: transform .5s var(--ease); } .card:hover .card-art .art-img { transform: scale(1.06); }
.cat-art .art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .95; }

/* ============================================================
   Pass 5: wide games page, visual footer, modal art, and a full
   responsive layer. Later rules win, so this block overrides.
   ============================================================ */
html { -webkit-text-size-adjust: 100%; }
body.wide { --wrap: 1480px; }

/* ---------- games page ---------- */
.games-head { padding-top: 0; }
.games-head .crumbs { padding-top: 24px; margin-bottom: 18px; }
.games-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.games-head h1 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 8px; }
.games-head p { color: var(--ink-2); font-size: 15.5px; margin: 0; max-width: 60ch; }
.games-head p span { color: #fff; font-weight: 600; }
.games-head .trust { margin: 0 0 6px; }
.toolbar { position: sticky; top: var(--topbar-h); z-index: 30; display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 12px 20px; align-items: center; margin-top: -56px !important; padding-top: 12px; padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(5,3,8,.98), rgba(5,3,8,.92)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.toolbar .bigsearch { height: 46px; margin: 0; padding: 0 14px; border: 1px solid var(--hair-2); border-radius: 12px; background: rgba(255,255,255,.03); gap: 10px; }
.toolbar .bigsearch:focus-within { border-color: var(--nh); box-shadow: 0 0 0 4px rgba(255,62,165,.14); }
.toolbar .bigsearch input { font-family: var(--body); font-size: 15px; }
.chips { margin: 0 !important; padding: 0; gap: 6px; }
.chips button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px !important; border-radius: 99px; border: 1px solid var(--hair); background: rgba(255,255,255,.03) !important; color: var(--ink-2) !important; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.chips button::after { display: none; }
.chips button svg { width: 14px; height: 14px; opacity: .7; }
.chips button em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--ink-2); }
.chips button:hover { border-color: var(--hair-2); color: #fff !important; }
.chips button.on { background: var(--nh) !important; border-color: var(--nh); color: var(--nh-ink) !important; }
.chips button.on em { background: rgba(0,0,0,.18); color: var(--nh-ink); } .chips button.on svg { opacity: 1; }
.games-grid { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)) !important; gap: 16px !important; margin-top: -48px !important; }
.games-page .nomatch { margin-top: -48px; }

/* ---------- visual footer ---------- */
.sitefoot, #main > .sitefoot { position: relative; margin-top: 120px !important; padding: 0 !important; border-top: 0 !important; overflow: hidden; isolation: isolate; max-width: none; }
.foot-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.foot-glow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .22; filter: saturate(1.2) blur(2px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, rgba(0,0,0,.6)); mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, rgba(0,0,0,.6)); }
.foot-glow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #050308 0%, rgba(5,3,8,.55) 30%, rgba(5,3,8,.85) 100%); }
.foot-horizon { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,62,165,.7) 30%, rgba(123,97,255,.6) 70%, transparent); box-shadow: 0 0 24px rgba(255,62,165,.55); }
.foot-wrap { max-width: var(--wrap); margin: 0 auto; padding: 72px var(--gutter) 0; }
.foot-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.foot-brandcol .foot-logo { margin-bottom: 20px; font-size: 26px; } .foot-brandcol .foot-logo img { width: 56px; height: 56px; filter: drop-shadow(0 0 14px rgba(255,62,165,.6)); }
.foot-brandcol .foot-tag { font-size: 22px; margin: 0 0 12px; }
.foot-legal-text { color: var(--ink-2); font-size: 13.5px; line-height: 1.7; margin: 0 0 18px; max-width: 52ch; }
.foot-trust { margin: 0; gap: 8px 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-col h4 { color: #fff !important; font-family: var(--display); font-size: 15px; font-weight: 600; margin: 0 0 14px !important; }
.foot-link { color: rgba(244,241,248,.62) !important; font-size: 14px; padding: 4px 0 !important; }
.foot-link:hover { color: var(--nh) !important; }
.foot-contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.foot-contact-row div { display: grid; gap: 3px; } .foot-contact-row span { color: var(--ink-3); font-size: 12px; } .foot-contact-row b { font-weight: 500; color: rgba(244,241,248,.85); font-size: 14px; }
.foot-base { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 36px !important; border: 0 !important; color: var(--ink-3); font-size: 13.5px; }

/* ---------- auth modal art ---------- */
.auth-card { padding: 0 !important; overflow: hidden; gap: 0 !important; }
.auth-card > :not(.auth-art):not(.modal-x) { margin: 0 32px; }
.auth-card .auth-tabs { margin-top: 22px; } .auth-card h2 { margin: 18px 32px 6px; } .auth-card .auth-sub { margin-bottom: 18px; } .auth-card .auth-foot { margin: 16px 32px 28px; }
.auth-art { position: relative; height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, #1e0b33, #0a0412 70%); border-bottom: 1px solid var(--hair); overflow: hidden; }
.auth-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 100%, rgba(255,62,165,.35), transparent 70%); }
.auth-art img { position: relative; width: 72px; height: 72px; filter: drop-shadow(0 0 18px rgba(255,62,165,.7)); animation: nh-float 6s ease-in-out infinite; }
.auth-art i { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,62,165,.5), transparent); }
.auth-art i:nth-child(2) { bottom: 26px; } .auth-art i:nth-child(3) { bottom: 18px; opacity: .6; } .auth-art i:nth-child(4) { bottom: 11px; opacity: .3; }
.modal-x { z-index: 2; background: rgba(5,3,8,.5); }

/* ---------- responsive layer ---------- */
@media (max-width: 1150px) {
  .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(4, 1fr); }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important; }
}
@media (max-width: 900px) {
  .toolbar { grid-template-columns: 1fr; gap: 10px; }
  .toolbar .tabs { overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) !important; padding: 0 var(--gutter) 2px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); } .foot-contact-row { grid-template-columns: 1fr; gap: 12px; }
  .hero { min-height: 0; grid-template-rows: auto; }
  .hero-art { position: relative; height: clamp(220px, 46vw, 360px); } .hero-art img { object-position: 60% 30%; }
  .hero-art::before { background: linear-gradient(180deg, rgba(10,4,18,0) 40%, rgba(10,4,18,.95) 100%); }
  .hero-copy { max-width: none; padding: 8px 24px 32px; margin-top: -40px; }
  .hero h1 { font-size: clamp(30px, 6.4vw, 46px); margin: 10px 0 24px; }
  .promos { grid-template-columns: 1fr 1fr; margin-top: 8px; } .promo-daily { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --topbar-h: 60px; --gutter: 16px; }
  body .topbar { gap: 10px; padding: 0 12px 0 14px; }
  body .logo-wm { font-size: 17px; } .logo-img { width: 32px !important; height: 32px !important; }
  .walletgrp { gap: 6px; } body .balchip { height: 36px; padding: 0 12px; font-size: 13.5px; } body .btn-wallet { height: 36px; padding: 0 14px; font-size: 13px; }
  .navtoggle { padding: 0; width: 36px; height: 36px; justify-content: center; } .navtoggle span { display: none; }
  #main { gap: 56px; }
  .promos { grid-template-columns: 1fr; gap: 10px; } .promo { padding: 14px 16px; min-height: 0; }
  .cat-strip { grid-auto-columns: 68%; gap: 10px; } .cat-tile b { font-size: 20px; }
  .games, .games-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .card-art { border-radius: 16px !important; } .card-name { padding: 36px 12px 12px; } .card-name b { font-size: 15px !important; } .nosign { font-size: 10.5px; } body .card-tag { top: 8px; left: 8px; font-size: 10.5px; } .fav { top: 8px; right: 8px; width: 30px; height: 30px; }
  .row-head { margin-bottom: 16px; } .row-head h2 { font-size: 26px; } .more-line { margin-top: 24px; }
  .features { gap: 12px; } .feature-card { padding: 18px; gap: 16px; } .feature-copy h3 { font-size: 24px; } .feature-art-box { aspect-ratio: 16 / 9; }
  .join { padding: 26px 20px; border-radius: 22px; gap: 24px; } .join-copy h2 { font-size: 30px; } .benefits { grid-template-columns: 1fr 1fr; gap: 10px; } .benefit { padding: 16px; } .benefit h3 { font-size: 16px; } .benefit p { font-size: 13px; }
  .how h2 { font-size: 30px; } .how p { font-size: 15px; } .pills li { padding: 8px 12px; font-size: 12.5px; }
  .accordion summary { font-size: 16px; padding: 18px 0; } .accordion p { font-size: 14.5px; }
  .feedtabs { display: flex; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .games-head h1 { font-size: 34px; } .games-head .trust { display: none; } .toolbar { top: var(--topbar-h); margin-top: -32px !important; }
  .chips button { height: 34px; padding: 0 12px !important; font-size: 13px; }
  .page-head h1 { font-size: 34px; } .prose h1 { font-size: 32px; } .prose h2 { font-size: 19px; } .doc { gap: 28px; }
  .stats-grid { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--hair); } .stat:last-child { border-bottom: 0; } .stat b { font-size: 26px; }
  .account-head { flex-direction: column; align-items: flex-start; }
  .packs { grid-template-columns: 1fr; } .support-grid h1 { font-size: 34px; } .form-card { padding: 20px; }
  .feed .head, .feed .row { grid-template-columns: 1.6fr 1fr 1fr; padding: 12px 10px; } .feed .when, .feed .stakecol { display: none; }
  .action-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .play-main { height: auto; min-height: calc(100vh - var(--topbar-h)); } .play-stage { padding: 10px 10px 0; height: min(78vh, 640px); } #frame { border-radius: 16px; } .play-bar { padding: 10px 10px 14px; gap: 8px; } .pb-btn span { display: none; } .pb-btn { padding: 0 12px; } #play-back span { display: inline; } .pb-title b { font-size: 16px; } .pb-sub { display: none; }
  .modal { padding: 0; align-items: end; } .modal-card { width: 100%; max-height: 92vh; overflow-y: auto; border-radius: 24px 24px 0 0; animation: nh-sheet .45s var(--ease); } .auth-card > :not(.auth-art):not(.modal-x) { margin: 0 20px; } .auth-card h2 { margin: 16px 20px 6px; font-size: 24px; } .auth-card .auth-foot { margin: 14px 20px 24px; } .auth-art { height: 120px; }
  .cookies { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px; border-radius: 18px; } .cookies-actions .btn { flex: 1; justify-content: center; }
  .foot-wrap { padding-top: 48px; } .foot-cols { grid-template-columns: 1fr 1fr; gap: 18px; } .foot-brandcol .foot-tag { font-size: 19px; } .foot-base { flex-direction: column; align-items: flex-start; gap: 10px; }
  .toast { left: 16px; right: 16px; transform: none; width: auto; justify-content: center; } .toast.show { transform: none; }
  .luck-ticker { width: 220px; }
}
@keyframes nh-sheet { from { transform: translateY(40px); opacity: 0; } }
@media (hover: none) { .card-art .playpop { display: none; } .card:hover .card-art { transform: none; } }

/* trust rows (hero, games head, footer) */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; }
.trust li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--nh); margin-right: 10px; box-shadow: 0 0 8px var(--nh); }
.trust li b { color: #fff; font-weight: 600; margin-right: 4px; }

/* hero copy refinements */
.hero h1 { max-width: 13ch; margin-bottom: 18px; }
.hero h1 .hl { display: block; background: linear-gradient(92deg, #ff3ea5, #ff8ad0 55%, #b39cff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.hero-sub { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 40ch; margin: 0 0 30px; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@media (max-width: 640px) { .hero-sub { font-size: 15px; margin-bottom: 22px; } }

/* Auth toggle: fill the card between its side margins. width:100% plus
   the 32px margins pushed it past the right edge. */
.auth-card .auth-tabs { display: flex; width: auto; align-self: stretch; justify-self: stretch; box-sizing: border-box; }
.auth-card .auth-tabs button { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auth-card h2 { margin-top: 24px; }
.auth-card .auth-sub { margin-bottom: 22px; }
/* The card's generic "margin: 0 32px" on every child outranks the spacing
   rules above (three classes vs two), zeroing every vertical margin. These
   match or beat it and only set top/bottom, so the side margins stay. */
.auth-card > .auth-tabs:not(.modal-x) { margin-top: 24px; }
.auth-card > #auth-title { margin-top: 24px; margin-bottom: 8px; }
.auth-card > .auth-sub:not(.modal-x) { margin-bottom: 22px; }
.auth-card > .auth-foot:not(.modal-x) { margin-top: 16px; margin-bottom: 28px; }
@media (max-width: 640px) {
  .auth-card > .auth-tabs:not(.modal-x) { margin-top: 18px; }
  .auth-card > #auth-title { margin-top: 18px; }
  .auth-card > .auth-foot:not(.modal-x) { margin-bottom: max(24px, env(safe-area-inset-bottom)); }
}

/* Header sign-in button: never wrap "Sign in" onto two lines on phones. */
body .topbar .btn-wallet { white-space: nowrap; flex-shrink: 0; }
body .topbar .balchip { white-space: nowrap; }
/* Open mobile menu: solid panel. The translucent glass let hero text show
   through the links wherever backdrop blur is weak or unsupported. */
body.nav-open .brand-nav { background: #0c0613 !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 24px 40px -12px rgba(0,0,0,.7); }
body.nav-open .brand-nav a { border-bottom: 1px solid var(--hair); }
body.nav-open .brand-nav a:last-child { border-bottom: 0; }

/* Cookie banner: solid panel (the glass let page text read through it) and
   buttons that never wrap mid-label. On phones "Accept all" takes its own
   full-width row and the other two share the row beneath. */
body .cookies { background: #0c0613 !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
body .cookies-actions .btn { white-space: nowrap; }
@media (max-width: 640px) {
  body .cookies-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
  body .cookies-actions [data-cookies="all"] { order: -1; flex-basis: 100%; }
}
