:root {
  color-scheme: dark;
  --bg: #090b16;
  --bg-soft: #0f1323;
  --card: rgba(20, 24, 43, .88);
  --card-solid: #14182b;
  --card-hover: #1a2036;
  --text: #f5f7ff;
  --muted: #9ca6bd;
  --faint: #69748d;
  --line: rgba(151, 164, 199, .16);
  --teal: #4ecdc4;
  --teal-dark: #0b766f;
  --purple: #a78bfa;
  --yellow: #ffd93d;
  --green: #54df9b;
  --danger: #ff8c98;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-gz-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fc;
  --bg-soft: #eef2f8;
  --card: rgba(255, 255, 255, .92);
  --card-solid: #fff;
  --card-hover: #f5fbfa;
  --text: #172033;
  --muted: #536079;
  --faint: #6c7890;
  --line: rgba(48, 64, 95, .15);
  --teal: #168f86;
  --teal-dark: #08736b;
  --purple: #7653cf;
  --yellow: #9b6a00;
  --green: #147a4b;
  --danger: #b42335;
  --shadow: 0 24px 70px rgba(32, 48, 77, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--teal); color: #062522; padding: 10px 18px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.site-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1120px; min-height: 68px; padding: 0 24px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 1.05rem; font-weight: 850; letter-spacing: -.02em; }
.brand span { font-size: 1.35rem; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 14px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav-links a:hover { color: var(--text); background: var(--card-solid); }
.nav-links a.active { color: var(--teal); background: color-mix(in srgb, var(--teal) 11%, transparent); }
main { overflow: hidden; }
.hero { position: relative; max-width: 900px; margin: 0 auto; padding: 88px 24px 54px; text-align: center; }
.hero-glow { position: absolute; z-index: -1; width: 700px; height: 480px; left: 50%; top: -130px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(78, 205, 196, .13), rgba(139, 92, 246, .08) 40%, transparent 70%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: .72rem; font-weight: 850; letter-spacing: .15em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px color-mix(in srgb, var(--teal) 12%, transparent); }
.hero h1 { margin: 20px 0 22px; font-size: clamp(2.65rem, 8vw, 5.6rem); line-height: .99; letter-spacing: -.065em; font-weight: 900; text-wrap: balance; }
.hero h1 span { background: linear-gradient(100deg, var(--teal), #82e6da 45%, var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero > p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.18rem); line-height: 1.75; text-wrap: pretty; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 12px; padding: 11px 21px; text-decoration: none; font-size: .92rem; font-weight: 800; cursor: pointer; transition: transform .18s, background .18s, border-color .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .58; cursor: wait; transform: none; }
.button-primary { background: var(--teal); color: #052e2a; box-shadow: 0 8px 28px color-mix(in srgb, var(--teal) 20%, transparent); }
.button-primary:hover { box-shadow: 0 12px 34px color-mix(in srgb, var(--teal) 28%, transparent); }
.button-secondary { color: var(--text); background: var(--card-solid); border-color: var(--line); }
.button-secondary:hover { border-color: color-mix(in srgb, var(--teal) 48%, transparent); }
.trust-list { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 22px 0 0; color: var(--faint); font-size: .77rem; }
.trust-list li::first-letter { color: var(--teal); }
.hero-stats { margin: 52px auto 0; padding: 21px 24px; max-width: 660px; display: flex; justify-content: space-around; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.hero-stats > div:not(.stat-divider) { display: flex; flex-direction: column; gap: 1px; }
.hero-stats strong { font-size: 1.45rem; letter-spacing: -.04em; }
.hero-stats span { color: var(--faint); font-size: .72rem; }
.stat-divider { width: 1px; height: 30px; background: var(--line); }
.form-card { scroll-margin-top: 88px; max-width: 960px; margin: 10px auto 86px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
.heading-icon { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--purple) 13%, transparent); font-size: 1.3rem; }
h2 { margin: 0; font-size: clamp(1.55rem, 4vw, 2rem); letter-spacing: -.035em; line-height: 1.25; }
.section-heading p, .wall-header p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.field { min-width: 0; }
.field-game { grid-column: 1; }
.field-details { grid-column: 1 / -1; }
.field label, .label-row { display: block; margin-bottom: 7px; color: var(--text); font-size: .82rem; font-weight: 750; }
.label-row { display: flex; justify-content: space-between; gap: 16px; }
.label-row label { margin: 0; }
.label-row > span { color: var(--faint); font-size: .72rem; font-weight: 500; }
.optional { margin-left: 5px; color: var(--faint); font-size: .7rem; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-soft); color: var(--text); outline: none; transition: border-color .18s, box-shadow .18s; }
.field input, .field select { min-height: 46px; padding: 10px 13px; }
.field textarea { min-height: 112px; padding: 12px 13px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); opacity: .8; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 13%, transparent); }
.field small { display: block; margin-top: 6px; color: var(--faint); font-size: .7rem; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.posting-note { max-width: 540px; margin: 0; color: var(--faint); font-size: .72rem; line-height: 1.6; }
.posting-note a { color: var(--muted); }
.submit-button { flex-shrink: 0; min-width: 170px; border: 0; }
.form-status { margin-top: 20px; padding: 13px 15px; border-radius: 11px; font-size: .85rem; }
.form-status.success { color: var(--green); background: color-mix(in srgb, var(--green) 9%, transparent); border: 1px solid color-mix(in srgb, var(--green) 25%, transparent); }
.form-status.error { color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 22%, transparent); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-wrap { margin-top: 20px; }
.wall-section { max-width: 1120px; margin: 0 auto; padding: 0 24px 86px; scroll-margin-top: 88px; }
.wall-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.sort-control { flex-shrink: 0; display: flex; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; }
.sort-control button { min-height: 36px; padding: 6px 13px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 750; }
.sort-control button.selected { background: var(--card-solid); color: var(--teal); box-shadow: 0 2px 8px rgba(0, 0, 0, .14); }
.wish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wish-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 17px; transition: transform .18s, border-color .18s, background .18s; }
.wish-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--teal) 34%, transparent); background: var(--card-hover); }
.wish-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.category-chip, .added-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: .66rem; font-weight: 800; }
.category-chip { color: var(--purple); background: color-mix(in srgb, var(--purple) 10%, transparent); }
.added-chip { color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); }
.wish-card h3 { margin: 0; font-size: 1.16rem; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.wish-details { margin: 10px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.wish-author { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--faint); font-size: .72rem; }
.author-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: color-mix(in srgb, var(--teal) 9%, transparent); }
.wish-author .author-name { max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-weight: 650; }
.wish-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.vote-button { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: .74rem; font-weight: 750; }
.vote-button:hover { border-color: #e77ca9; color: #e77ca9; }
.vote-button.voted { color: #e77ca9; border-color: color-mix(in srgb, #e77ca9 40%, transparent); background: color-mix(in srgb, #e77ca9 8%, transparent); cursor: default; }
.vote-button:disabled { opacity: .65; }
.vote-heart { font-size: 1rem; line-height: 1; }
.vote-count { min-width: 1ch; font-variant-numeric: tabular-nums; }
.play-link { display: inline-flex; align-items: center; min-height: 40px; color: var(--green); font-size: .75rem; font-weight: 800; text-decoration: none; }
.play-link:hover { text-decoration: underline; }
.wall-message { min-height: 240px; display: grid; place-content: center; justify-items: center; text-align: center; padding: 36px; border: 1px dashed var(--line); border-radius: 17px; color: var(--muted); }
.wall-message .message-icon { margin-bottom: 10px; font-size: 2.3rem; }
.wall-message h3 { margin: 0 0 6px; color: var(--text); }
.wall-message p { max-width: 420px; margin: 4px 0 16px; font-size: .87rem; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--teal); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.load-more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.how-it-works { max-width: 1120px; margin: 0 auto; padding: 0 24px 90px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; text-align: left; }
.steps article { position: relative; padding: 25px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 17px; }
.step-number { position: absolute; right: 20px; top: 15px; color: var(--line); font-size: 1.7rem; font-weight: 900; }
.step-icon { margin-bottom: 14px; font-size: 1.65rem; }
.steps h3 { margin: 0 0 7px; font-size: 1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
footer { max-width: 1120px; margin: 0 auto; padding: 34px 24px 42px; border-top: 1px solid var(--line); text-align: center; }
footer .brand { justify-content: center; }
footer p { margin: 8px 0 18px; color: var(--faint); font-size: .78rem; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
footer nav a { color: var(--muted); font-size: .76rem; text-decoration: none; }
footer nav a:hover { color: var(--teal); }
footer small { color: var(--faint); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; text-align: center; }
.noscript { position: fixed; left: 16px; right: 16px; bottom: 16px; padding: 16px; background: #fff1b8; color: #332800; border-radius: 12px; text-align: center; z-index: 100; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (min-width: 1000px) {
  .form-card { margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .hero { padding-top: 62px; }
  .form-card { margin: 10px 20px 68px; padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-game, .field-details { grid-column: 1; }
  .wish-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .wall-header { align-items: flex-start; flex-direction: column; }
  .hero-stats { gap: 12px; padding: 18px 12px; }
  .hero-stats strong { font-size: 1.2rem; }
  .hero-stats span { font-size: .64rem; }
}
@media (max-width: 520px) {
  .nav-inner { min-height: 60px; padding: 0 16px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 9px; font-size: .76rem; }
  .nav-links a:nth-child(2) { display: none; }
  .brand { font-size: .9rem; }
  .hero { padding: 48px 20px 40px; }
  .hero h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .trust-list { gap: 8px 14px; }
  .form-card { margin-left: 14px; margin-right: 14px; padding: 20px; border-radius: 18px; }
  .section-heading { gap: 10px; }
  .heading-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .form-footer { align-items: stretch; flex-direction: column; gap: 16px; }
  .submit-button { width: 100%; }
  .wall-section, .how-it-works { padding-left: 16px; padding-right: 16px; }
  .sort-control { width: 100%; }
  .sort-control button { flex: 1; min-height: 42px; }
  .wish-card { padding: 19px; }
  .wish-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
