/* Playfold · site.css — neon arcade, dark theme, mirrors Lexirush palette. */
:root {
  --bg: #04060c;
  --panel: rgba(10, 17, 31, .92);
  --panel-2: rgba(14, 23, 41, .94);
  --cyan: #35e6ff;
  --magenta: #ff2f8e;
  --violet: #8b5cff;
  --text: #eaf6ff;
  --muted: #9fb6cc;
  --dim: #7d97ae;
  --line: rgba(120, 180, 230, .18);
  --line-strong: rgba(53, 230, 255, .38);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  font-family: "Trebuchet MS", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body > main, body > footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
::selection { background: rgba(53, 230, 255, .28); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
main:focus, section:focus, article:focus { outline: none; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  background: var(--cyan); color: #032430; padding: 10px 16px;
  border-radius: 999px; font-weight: 900; font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* ambient background */
.bg {
  position: fixed; inset: -12%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(72% 44% at 50% 106%, rgba(255,47,142,.22), transparent 64%),
    radial-gradient(62% 40% at 2% 4%, rgba(53,230,255,.20), transparent 60%),
    radial-gradient(62% 42% at 104% 26%, rgba(139,92,255,.22), transparent 64%),
    linear-gradient(180deg,#070d1b 0%,#04070f 52%,#0b0611 100%);
}
.bg::after {
  content: ""; position: absolute; inset: 0; opacity: .38;
  background-image:
    linear-gradient(rgba(53,230,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(4, 7, 14, .82);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; letter-spacing: 1.5px; font-size: 17px; color: #eaf6ff;
}
.brand:hover .mark { filter: drop-shadow(0 0 7px rgba(53,230,255,.55)); }
.mark { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 800; letter-spacing: .9px; color: var(--muted); }
.nav-links a { position: relative; padding: 8px 0; white-space: nowrap; transition: color .16s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 8px rgba(53,230,255,.7); transition: right .18s ease;
}
.nav-links a:hover, .nav-links a.active { color: #dffaff; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-toggle { display: none; }

/* hero */
.hero { padding: 62px 0 26px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900;
  letter-spacing: 2.2px; color: #8fe0f2; text-transform: uppercase;
  background: rgba(53,230,255,.1); border: 1px solid rgba(53,230,255,.35);
  border-radius: 999px; padding: 7px 14px;
}
.hero h1 {
  margin-top: 20px; font-size: clamp(40px, 6vw, 66px); font-weight: 900;
  line-height: 1.04; letter-spacing: 1px;
  background: linear-gradient(92deg,#8df6ff,#4fa8ff 30%,#b78bff 62%,#ff5ba8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(53,230,255,.35));
}
.lead { margin-top: 18px; max-width: 560px; font-size: 16px; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 16px; margin-top: 22px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
.hero-chips span::before { content: "✓"; color: #3dd68a; font-weight: 900; margin-right: 7px; }

.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.hero-art-glow {
  position: absolute; width: 92%; height: 82%; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,255,.38), rgba(53,230,255,.18) 45%, transparent 72%);
  filter: blur(34px);
}
.hero-art-tile {
  position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5;
  border-radius: 28px; overflow: hidden; border: 1px solid rgba(53,230,255,.45);
  box-shadow: 0 0 0 6px rgba(53,230,255,.05), 0 24px 60px rgba(0,0,0,.6), 0 0 40px rgba(255,47,142,.16);
  background: #0b1424;
}
.hero-art-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art-tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,6,12,.05) 45%, rgba(4,6,12,.55));
  box-shadow: inset 0 0 50px rgba(53,230,255,.1);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 24px; font-weight: 900; font-size: 14px;
  letter-spacing: 1.1px; cursor: pointer; border: 1px solid transparent;
  transition: transform .14s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary {
  background: linear-gradient(180deg,#5df0ff,#0fa7dd); color: #032430;
  box-shadow: 0 0 22px rgba(53,230,255,.42), inset 0 0 2px rgba(255,255,255,.8);
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(53,230,255,.62); filter: brightness(1.06); }
.btn-ghost { background: rgba(10,16,28,.9); color: #bfe9ff; border-color: rgba(53,230,255,.4); }
.btn-ghost:hover { background: rgba(53,230,255,.1); box-shadow: 0 0 20px rgba(53,230,255,.18); }
.btn-outline { background: rgba(139,92,255,.08); color: #d9c6ff; border-color: rgba(139,92,255,.46); }
.btn-outline:hover { background: rgba(139,92,255,.18); box-shadow: 0 0 20px rgba(139,92,255,.2); }
.btn-small { padding: 10px 17px; font-size: 12px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* sections */
.section { padding: 58px 0; scroll-margin-top: 84px; }
.section-head { max-width: 720px; margin-bottom: 26px; }
.section-kicker {
  display: block; margin-bottom: 8px; font-size: 11px; font-weight: 900;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--cyan);
}
.section-head h2 { font-size: clamp(25px, 3vw, 32px); letter-spacing: 1.2px; color: #dff2ff; }
.section-head p { margin-top: 9px; color: var(--muted); max-width: 640px; }

/* cover image + fallback */
.cover {
  position: relative; overflow: hidden; background: #0b1424;
  border-bottom: 1px solid var(--line);
}
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover-initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 42px; font-weight: 900; letter-spacing: 5px; color: rgba(53,230,255,.85);
  text-shadow: 0 0 22px rgba(53,230,255,.6);
  background:
    radial-gradient(circle at 30% 20%, rgba(139,92,255,.3), transparent 52%),
    repeating-linear-gradient(135deg, rgba(255,47,142,.08) 0 2px, transparent 2px 12px);
  opacity: 0; transition: opacity .16s ease;
}
.cover.cover-fallback .cover-initials { opacity: 1; }
.cover.cover-fallback { border: 1px solid rgba(139,92,255,.25); }

/* featured game */
.featured-section { padding-top: 30px; }
.feature-card {
  display: grid; grid-template-columns: .9fr 1.1fr;
  background: linear-gradient(145deg, rgba(15,25,44,.96), rgba(8,12,22,.97));
  border: 1px solid rgba(120,180,230,.24); border-radius: 26px; overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,.48), 0 0 42px rgba(53,230,255,.1);
}
.feature-media {
  position: relative; min-height: 430px; padding: 22px;
  display: flex; align-items: center;
  border-right: 1px solid var(--line);
  background: radial-gradient(circle at 30% 25%, rgba(53,230,255,.12), transparent 58%);
}
.feature-media .cover { width: 100%; height: 100%; min-height: 380px; border-radius: 20px; border: 1px solid rgba(53,230,255,.25); }
.feature-media .cover-initials { font-size: 62px; }
.feature-body { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.feature-kicker { font-size: 11px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; color: #ff7ab8; }
.feature-body h3 {
  margin-top: 8px; font-size: clamp(32px, 4vw, 46px); line-height: 1.06; letter-spacing: 1px;
  background: linear-gradient(92deg,#eaf6ff,#8df6ff 45%,#d9b3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature-body .tagline { margin-top: 8px; font-size: 15px; font-weight: 800; letter-spacing: .8px; color: var(--cyan); }
.feature-body .desc { margin-top: 14px; font-size: 14.5px; color: #c3d5e6; max-width: 58ch; }
.feature-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.feature-note { margin-top: 14px; font-size: 12px; color: var(--dim); }
.no-feature { border: 1px dashed var(--line); border-radius: 20px; padding: 36px; text-align: center; color: var(--muted); }

/* status + chips */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase;
  color: #ffd76a; background: rgba(255,201,77,.12); border: 1px solid rgba(255,201,77,.4);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status.live { color: #6ef0b4; background: rgba(110,240,180,.1); border-color: rgba(110,240,180,.4); }
.status.upcoming { color: #c7a8ff; background: rgba(139,92,255,.12); border-color: rgba(139,92,255,.42); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip {
  font-size: 11px; font-weight: 800; letter-spacing: .6px; color: #9ad6ea;
  background: rgba(53,230,255,.08); border: 1px solid rgba(53,230,255,.3);
  border-radius: 999px; padding: 5px 10px;
}
.chip.platform { color: #cfbcff; background: rgba(139,92,255,.08); border-color: rgba(139,92,255,.3); }

/* filters */
.filters {
  display: grid; gap: 14px; padding: 18px 20px; margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(12,20,36,.9), rgba(7,11,20,.9));
  border: 1px solid var(--line); border-radius: 18px;
}
.filter-group { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.filter-label {
  min-width: 62px; padding-top: 8px; font-size: 10.5px; font-weight: 900;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim);
}
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--muted);
  border-radius: 999px; padding: 7px 13px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .5px; cursor: pointer; transition: all .16s ease;
}
.filter-btn:hover { color: #dffaff; border-color: var(--line-strong); }
.filter-btn[aria-pressed="true"] {
  color: #032430; background: linear-gradient(180deg,#5df0ff,#12a6d8);
  border-color: transparent; box-shadow: 0 0 16px rgba(53,230,255,.35);
}
.results-line { margin: 2px 0 16px; font-size: 12px; color: var(--dim); }

/* game grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.game-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(14,22,38,.94), rgba(7,11,20,.94));
  border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.42);
  transition: transform .14s ease, border-color .18s ease, box-shadow .18s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 0 24px rgba(53,230,255,.16), 0 12px 28px rgba(0,0,0,.5); }
.game-card .cover { height: 170px; flex: none; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-top h3 { font-size: 19px; letter-spacing: 1.1px; line-height: 1.2; }
.tagline { margin-top: 5px; font-size: 13px; font-weight: 800; letter-spacing: .6px; color: #8fe0f2; }
.desc { margin-top: 10px; font-size: 13.5px; color: #c3d5e6; }
.card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; flex-wrap: wrap; }
.card-actions .btn { padding: 10px 17px; font-size: 12px; letter-spacing: .9px; }
.coming-soon { font-size: 11px; font-weight: 900; letter-spacing: 1.1px; text-transform: uppercase; color: #ffd76a; align-self: center; }
.game-card.upcoming { border-style: dashed; opacity: .82; }
.empty-state {
  text-align: center; border: 1px dashed rgba(139,92,255,.4); border-radius: 20px;
  padding: 42px 20px; background: rgba(139,92,255,.05); color: var(--muted);
}
.empty-state h3 { color: #dff2ff; font-size: 18px; letter-spacing: 1px; }
.empty-state p { margin: 8px 0 18px; font-size: 13.5px; }

/* principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.principle {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(12,20,34,.9), rgba(6,10,18,.94));
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
}
.principle::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  opacity: .7;
}
.principle-icon {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 10px; color: var(--cyan); font-weight: 900;
  background: rgba(53,230,255,.1); border: 1px solid rgba(53,230,255,.32);
}
.principle h3 { font-size: 15px; letter-spacing: 1.1px; color: #dff2ff; }
.principle p { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* footer */
.footer { margin-top: 46px; border-top: 1px solid var(--line); padding: 34px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-note { margin-top: 8px; font-size: 12.5px; color: var(--dim); }
.footer-links { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; font-size: 13px; font-weight: 800; color: var(--muted); }
.footer-links a { transition: color .16s ease; }
.footer-links a:hover { color: #d9fbff; }
.copy { margin-top: 20px; font-size: 12px; color: #5b7086; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: rgba(9,15,27,.96); color: #dffaff; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 11px 20px; font-size: 13px; font-weight: 800;
  box-shadow: 0 0 24px rgba(53,230,255,.22); transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* document pages (privacy, terms) */
.doc-hero { padding: 56px 0 24px; max-width: 820px; }
.doc-hero h1 {
  font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: 1px;
  background: linear-gradient(92deg,#8df6ff,#b78bff 60%,#ff5ba8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.doc-card {
  max-width: 860px; margin-bottom: 40px; padding: 34px 38px;
  background: linear-gradient(180deg, rgba(13,21,38,.95), rgba(7,11,20,.96));
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0,0,0,.4);
}
.doc-card .lead { margin-top: 0; max-width: none; }
.doc-h2 { margin: 30px 0 10px; font-size: 18px; letter-spacing: 1px; color: #dff2ff; }
.doc-h2:first-of-type { margin-top: 18px; }
.doc-p, .doc-list { font-size: 14px; color: #c3d5e6; }
.doc-list { margin: 8px 0 0 20px; }
.doc-list li { margin: 9px 0; padding-left: 3px; }
.doc-list strong { color: #e6f6ff; }
.doc-card a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.doc-card a:hover { color: #dffaff; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { min-height: 320px; }
  .hero-art-tile { max-width: 360px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-media { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-media .cover { min-height: 280px; }
  .feature-body { padding: 30px 32px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .nav-inner { min-height: 62px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 36px; padding: 7px; border-radius: 10px;
    background: rgba(53,230,255,.08); border: 1px solid rgba(53,230,255,.3);
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--cyan); transition: transform .18s ease, opacity .18s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 4% 16px; background: rgba(4,7,14,.98);
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.45);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-links a { padding: 11px 4px; border-bottom: 1px solid rgba(120,180,230,.08); }
  .nav-links a::after { bottom: 6px; }
}

@media (max-width: 560px) {
  .hero { padding: 44px 0 18px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 15px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-chips { gap: 10px 14px; }
  .hero-art { min-height: 270px; }
  .hero-art-tile { max-width: 300px; border-radius: 22px; }
  .section { padding: 48px 0; }
  .feature-media { min-height: 260px; padding: 14px; }
  .feature-media .cover { min-height: 230px; border-radius: 16px; }
  .feature-body { padding: 24px 22px; }
  .feature-actions .btn { flex: 1 1 100%; }
  .filter-group { gap: 8px; }
  .filter-label { width: 100%; padding-top: 0; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card .cover { height: 150px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 14px 18px; }
  .doc-card { padding: 24px 22px; }
}

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