:root {
  color-scheme: dark;
  --bg: #0d131d;
  --bg-soft: #111a26;
  --surface: #172231;
  --surface-hover: #1d2b3b;
  --line: #2a394a;
  --text: #f2f5f7;
  --muted: #a9b6c3;
  --soft: #788a9d;
  --lime: #bbf76d;
  --lime-dark: #17301d;
  --orange: #f6b774;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.5; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: var(--lime); color: #0b1510; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 100; top: -80px; left: 18px; padding: 10px 14px; background: var(--lime); color: #0d131d; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(163, 190, 211, .13); background: rgba(13, 19, 29, .95); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.08; }
.brand strong { display: block; font-size: 16px; letter-spacing: -.025em; }
.brand small { display: block; margin-top: 4px; color: var(--soft); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.brand-icon { position: relative; display: grid; width: 38px; height: 38px; grid-template: repeat(2, 1fr) / repeat(2, 1fr); gap: 3px; padding: 7px; background: var(--lime); border-radius: 11px; box-shadow: 0 0 34px rgba(187, 247, 109, .16); transform: rotate(-6deg); }
.brand-icon span { border-radius: 2px; background: #16301f; }
.brand-icon span:nth-child(2), .brand-icon span:nth-child(3) { opacity: .48; }
.header-inner nav { display: flex; gap: 29px; align-items: center; }
.header-inner nav a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.header-inner nav a:hover { color: var(--lime); }

.hero { position: relative; overflow: hidden; min-height: 552px; border-bottom: 1px solid rgba(163, 190, 211, .1); background: radial-gradient(circle at 82% 35%, rgba(141, 242, 122, .09), transparent 31%), radial-gradient(circle at 7% 90%, rgba(52, 95, 133, .18), transparent 32%), #0d131d; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .24; background-image: linear-gradient(rgba(155, 190, 205, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(155, 190, 205, .1) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent 35%, black 100%); }
.hero-inner { min-height: 552px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr); align-items: center; gap: 54px; position: relative; z-index: 1; }
.hero-copy { padding-block: 76px 83px; }
.eyebrow, .section-kicker { color: var(--lime); font-weight: 800; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 23px; white-space: nowrap; }
.pulse { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(187, 247, 109, .11), 0 0 16px rgba(187, 247, 109, .8); }
.eyebrow-divider { color: #526175; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(56px, 5.9vw, 88px); font-weight: 800; letter-spacing: -.075em; }
h1 em { color: var(--lime); font-style: normal; }
.hero-lede { max-width: 610px; margin-bottom: 30px; color: #c3cdd7; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.67; }
.hero-lede a { color: #e2f7cb; text-decoration: underline; text-decoration-color: rgba(187, 247, 109, .45); text-underline-offset: 4px; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #101b12; background: var(--lime); box-shadow: 0 10px 30px rgba(187, 247, 109, .12); }
.button-primary:hover { background: #d0ff91; }
.button-secondary { color: #dfe8e8; border-color: var(--line); background: #18212d; }
.button-secondary:hover { border-color: #617b80; background: #202d39; }
.hero-footnote { margin: 20px 0 0; color: #8999aa; font-size: 12px; }
.hero-visual { position: relative; height: 416px; min-width: 0; }
.visual-orbit { position: absolute; border: 1px solid rgba(179, 226, 185, .17); border-radius: 50%; transform: rotate(-21deg); }
.orbit-one { inset: 14px 8% 2px 5%; }
.orbit-two { inset: 54px 16% 43px 16%; }
.visual-orbit::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 24px var(--lime); top: 21%; right: 5%; }
.visual-tile { position: absolute; width: 280px; height: 67px; display: flex; align-items: center; gap: 17px; padding-inline: 18px; border: 1px solid #395060; border-radius: 13px; color: #eaf1f1; font-size: 14px; font-weight: 700; background: linear-gradient(120deg, rgba(34, 53, 64, .98), rgba(20, 31, 43, .95)); box-shadow: 0 18px 30px rgba(0, 0, 0, .2); }
.visual-tile span { color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.visual-tile b { margin-left: auto; color: var(--lime); font-size: 18px; font-weight: 400; }
.tile-one { top: 47px; right: 12px; transform: rotate(6deg); }
.tile-two { top: 158px; left: 0; transform: rotate(-7deg); }
.tile-three { top: 273px; right: 30px; transform: rotate(5deg); }
.visual-counter { position: absolute; left: 42%; top: 35%; width: 124px; height: 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(187, 247, 109, .39); border-radius: 50%; color: var(--lime); font-size: 44px; font-weight: 800; letter-spacing: -.07em; background: rgba(19, 34, 29, .92); box-shadow: 0 0 50px rgba(187, 247, 109, .1); }
.visual-counter span { color: #b6cbb3; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.source-bar { border-bottom: 1px solid var(--line); background: #111b25; }
.source-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.source-inner > div { display: flex; align-items: center; gap: 13px; min-width: 0; font-size: 12px; }
.source-symbol { color: var(--lime); font-size: 21px; }
.source-inner strong { flex: 0 0 auto; color: #e5eeee; }
.source-inner div span:last-child { color: var(--muted); }
.source-inner > a { flex: 0 0 auto; color: var(--lime); font-size: 12px; font-weight: 700; text-decoration: none; }
.source-inner > a:hover { text-decoration: underline; text-underline-offset: 4px; }

.section { padding-block: 86px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-kicker { margin-bottom: 15px; }
h2 { margin-bottom: 17px; font-size: clamp(33px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.055em; }
.section-heading p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.entry-total { flex: 0 0 auto; margin-bottom: 3px; padding: 8px 12px; color: var(--lime); border: 1px solid rgba(187, 247, 109, .23); border-radius: 7px; background: rgba(187, 247, 109, .06); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.search-field { position: relative; flex: 1 1 280px; min-width: 210px; }
.search-field > span[aria-hidden] { position: absolute; left: 16px; top: 50%; transform: translateY(-55%); color: var(--soft); font-size: 26px; line-height: 1; }
.search-field input { width: 100%; height: 44px; padding: 9px 14px 9px 44px; color: var(--text); border: 1px solid #354454; border-radius: 8px; outline: 0; background: #172231; font-size: 13px; }
.search-field input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(187, 247, 109, .12); }
.search-field input::placeholder { color: #8292a2; }
.filter-list { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.filter { min-height: 37px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; color: var(--muted); border: 1px solid transparent; border-radius: 7px; background: transparent; font-size: 11px; font-weight: 750; white-space: nowrap; }
.filter:hover { color: var(--text); background: #253344; }
.filter.is-active { color: #142318; background: var(--lime); }
.filter span { opacity: .65; }
.result-count { margin: 20px 0 12px; color: #8fa0af; font-size: 12px; }
.game-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.game-card { min-height: 77px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 136px 130px; align-items: center; column-gap: 14px; padding: 13px 16px 13px 21px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.game-card:hover { border-color: #4a6a62; background: var(--surface-hover); transform: translateX(2px); }
.game-card[hidden] { display: none; }
.game-card { scroll-margin-top: 24px; }
.game-card:target { border-color: var(--lime); background: #20322c; }
.game-number { align-self: start; padding-top: 8px; color: #74899c; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.game-main { min-width: 0; }
.game-main h3 { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 0 0 5px; font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.game-main > p { overflow: hidden; margin: 0; color: #91a5b8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.game-main .game-caveat { margin-top: 7px; color: #d2c6ad; white-space: normal; font-size: 11px; line-height: 1.5; }
.game-main .game-guide { margin-top: 8px; white-space: normal; font-size: 11px; }
.game-guide a { color: #dff6c4; text-underline-offset: 3px; }
.game-tag { justify-self: start; padding: 6px 9px; color: #9eafbe; border: 1px solid #334658; border-radius: 6px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.inline-note { padding: 4px 6px; color: #e7cda0; border-radius: 4px; background: #3b352b; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.inline-note.note-warn { color: #ffc6a8; background: #432b2a; }
.inline-note.note-muted { color: #bdc9d3; background: #304150; }
.game-link { justify-self: stretch; min-height: 37px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 12px; color: var(--lime); border: 1px solid rgba(187, 247, 109, .37); border-radius: 7px; background: rgba(187, 247, 109, .06); font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.game-link:hover { color: #162515; background: var(--lime); }
.game-link-muted { color: #cbd6db; border-color: #4b5d68; background: rgba(114, 135, 143, .06); }
.game-link-muted:hover { color: #101a20; background: #d9e1df; }
.empty-state { margin-top: 10px; padding: 45px 20px; text-align: center; border: 1px dashed #3d5060; border-radius: 12px; background: #141e2b; }
.empty-state strong { font-size: 17px; }
.empty-state p { margin: 7px 0 16px; color: var(--muted); font-size: 13px; }
.empty-state button { color: var(--lime); border: 0; background: none; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

.guides-section { border-top: 1px solid var(--line); background: #101923; }
.all-guides { flex: 0 0 auto; margin-bottom: 4px; color: var(--lime); font-size: 12px; font-weight: 800; text-decoration: none; }
.all-guides:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card { min-height: 282px; display: flex; flex-direction: column; padding: 27px; border: 1px solid #344554; border-radius: 14px; background: linear-gradient(145deg, #1a2935, #16222f); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.guide-card:hover { border-color: rgba(187, 247, 109, .55); transform: translateY(-3px); }
.guide-card > span { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.guide-card h3 { margin: 28px 0 12px; font-size: 22px; line-height: 1.24; letter-spacing: -.04em; }
.guide-card p { margin-bottom: 25px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.guide-card strong { margin-top: auto; color: var(--lime); font-size: 12px; }

.notes-section { border-block: 1px solid var(--line); background: #111b26; }
.notes-grid { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 110px; }
.notes-grid > div:first-child > p:last-child { max-width: 340px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.note-stack { display: grid; gap: 12px; }
.note-stack article { display: flex; gap: 20px; padding: 23px 25px; border: 1px solid var(--line); border-radius: 12px; background: #182432; }
.note-index { flex: 0 0 auto; color: var(--lime); font-size: 11px; font-weight: 800; }
.note-stack h3 { margin-bottom: 8px; font-size: 16px; letter-spacing: -.025em; }
.note-stack p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.about-grid { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 110px; }
.about-copy p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.about-copy a { color: #dff6c4; text-decoration-color: rgba(187, 247, 109, .5); text-underline-offset: 4px; }
.about-actions { display: flex; gap: 26px; margin-top: 24px; }
.about-actions a { color: var(--lime); font-size: 13px; font-weight: 750; text-decoration: none; }
.about-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-section { border-top: 1px solid var(--line); background: #101923; }
.faq-grid { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 80px; }
.faq-intro > p:last-of-type { color: var(--muted); font-size: 14px; line-height: 1.7; }
.faq-intro > a { color: var(--lime); font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.faq-list { display: grid; gap: 10px; align-content: start; }
.faq-list details { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); overflow: hidden; }
.faq-list summary { position: relative; padding: 20px 46px 20px 22px; font-size: 15px; line-height: 1.5; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 18px; right: 20px; color: var(--lime); font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--lime); }
.faq-list summary:focus-visible { outline-offset: -4px; border-radius: 11px; }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq-answer a { color: #dff6c4; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); background: #0b111a; }
.footer-inner { min-height: 93px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-block: 24px; }
.footer-brand { font-weight: 800; letter-spacing: -.025em; }
.footer-dot { color: var(--lime); }
.footer-inner > span:nth-child(2) { color: #7d8e9e; font-size: 11px; }
.footer-inner a { color: var(--muted); font-size: 11px; font-weight: 700; text-decoration: none; }
.footer-inner a:hover { color: var(--lime); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-links a { min-height: 30px; display: inline-flex; align-items: center; }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; }
  .hero-visual { transform: scale(.78); transform-origin: center right; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .search-field { flex-basis: auto; }
  .notes-grid, .about-grid { gap: 54px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .hero-inner { display: block; min-height: 0; }
  .hero-copy { padding-block: 70px 75px; }
  .hero-visual { display: none; }
  .hero::after { mask-image: none; opacity: .08; }
  .source-inner { padding-block: 18px; }
  .source-inner > div { align-items: start; flex-wrap: wrap; gap: 4px 10px; }
  .source-inner div span:last-child { flex-basis: calc(100% - 37px); margin-left: 27px; }
  .section { padding-block: 65px; }
  .notes-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 25px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 230px; }
  .notes-grid > div:first-child > p:last-child { max-width: 580px; }
  .game-card { grid-template-columns: 38px minmax(0, 1fr) 118px; }
  .game-tag { display: none; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 32px, 1180px); }
  .header-inner { min-height: 70px; gap: 10px; }
  .header-inner nav { gap: 8px; }
  .header-inner nav a { font-size: 11px; }
  .header-inner nav a:last-child { display: none; }
  .brand { gap: 8px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 8px; }
  .brand-icon { width: 31px; height: 31px; padding: 6px; }
  .hero-copy { padding-block: 64px 68px; }
  h1 { font-size: clamp(45px, 11vw, 65px); }
  .eyebrow { gap: 8px; font-size: 9px; letter-spacing: .12em; white-space: normal; }
  .hero-lede { font-size: 15px; }
  .button { width: 100%; }
  .source-inner > a { font-size: 11px; }
  .source-inner > div { max-width: 63%; }
  .source-inner strong { white-space: normal; }
  .source-inner div span:last-child { display: none; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .entry-total { margin: 0; }
  .toolbar { padding: 9px; }
  .filter-list { gap: 3px; }
  .filter { padding-inline: 8px; font-size: 10px; }
  .game-card { grid-template-columns: 28px minmax(0, 1fr); gap: 6px 8px; padding: 16px; }
  .game-number { padding-top: 3px; }
  .game-main h3 { font-size: 14px; }
  .game-link { grid-column: 2; justify-self: start; margin-top: 7px; min-width: 110px; }
  .note-stack article { padding: 19px; }
  .footer-inner { align-items: start; flex-direction: column; justify-content: center; padding-block: 24px; gap: 5px; }
}

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