:root {
  color-scheme: dark;
  --background: #080d0a;
  --panel: #151b18;
  --panel-raised: #1a211d;
  --text: #f4f7f4;
  --muted: #a6b0aa;
  --line: #303a34;
  --accent: #bfff00;
  --accent-soft: #d8ff65;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  flex-direction: column;
  background:
    radial-gradient(circle at 10% 0%, rgba(94, 142, 38, .14), transparent 34rem),
    linear-gradient(rgba(191, 255, 0, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 255, 0, .025) 1px, transparent 1px),
    var(--background);
  background-size: auto, 48px 48px, 48px 48px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 4px; }
.visuallyHidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.skipLink { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 14px; background: var(--accent); color: #071006; transform: translateY(-180%); }
.skipLink:focus { transform: translateY(0); }

.siteHeader {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(191, 255, 0, .15);
  background: rgba(7, 12, 9, .9);
}
.siteAccountButton { flex: 0 0 auto; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }
.siteAccountButton:hover, .siteAccountButton:focus-visible { border-color: var(--accent); color: var(--accent-soft); }
.siteAccountButton.accountWarning { border-color: rgba(216,255,101,.55); color: var(--accent-soft); }
.siteAccountOverlay { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4,7,5,.86); }
.siteAccountOverlay.hidden { display: none; }
.siteAccountPanel { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.siteAccountPanel h2 { font-family: inherit; font-size: 1.65rem; }
.accountHeading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.accountClose { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.siteAccountStatus { margin: 20px 0; padding: 15px; border: 1px solid #42664e; border-radius: 11px; background: #132019; }
.siteAccountStatus.guest { border-color: #765f31; background: #241e12; }
.siteAccountStatus.accountConflict { border-color: #765f31; background: #241e12; }
.siteAccountStatus p { margin: 5px 0 0; color: var(--muted); }
.siteAccountAction { width: 100%; margin-top: 12px; padding: 12px 16px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: #071006; font: inherit; font-weight: 850; cursor: pointer; }
.siteAccountAction.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.accountDecision > p { margin: 0 0 4px; color: var(--text); font-weight: 750; }
.accountDecisionNote { margin: 14px 0 0; color: var(--muted); font-size: .85rem; }
.accountStack { display: grid; gap: 12px; }
.accountStack label { display: grid; gap: 6px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.accountStack input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #0d1310; color: var(--text); }
.accountDivider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.accountDivider::before, .accountDivider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.switchAccount { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.switchAccount summary { color: var(--accent-soft); font-weight: 750; cursor: pointer; }
.switchAccount > p { color: var(--muted); }
.accountCheck { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; }
.accountCheck input { width: 18px; height: 18px; margin: 2px 0 0; }
.siteAccountError { padding: 10px; border: 1px solid #7a4545; border-radius: 9px; background: #2b1717; color: #f3b0b0; }
.compactHeader { position: sticky; z-index: 5; top: 0; backdrop-filter: blur(18px); }
.siteName { color: var(--text); font-weight: 850; letter-spacing: .02em; text-decoration: none; }
nav { display: flex; gap: 6px; }
nav a, .footerLinks a { padding: 9px 12px; color: var(--muted); font-weight: 700; text-decoration: none; }
nav a:hover, nav a[aria-current="page"], .footerLinks a:hover { color: var(--accent-soft); }
.environmentBanner { margin: 0; padding: 8px 20px; border-bottom: 1px solid rgba(191, 255, 0, .35); background: #26330b; color: var(--accent-soft); font-size: .8rem; font-weight: 850; letter-spacing: .12em; text-align: center; text-transform: uppercase; }

main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; flex: 1; }
main:focus { outline: none; }
.brandHero { padding: clamp(46px, 7vw, 82px) 0 clamp(38px, 5vw, 58px); text-align: center; }
.brandHero img { display: block; width: min(620px, 88%); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 36px rgba(105, 160, 34, .2)); }
.brandHero p { margin: 18px auto 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.eyebrow, .productType { margin: 0 0 8px; color: var(--accent-soft); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.05; }

.categoryChoices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: clamp(58px, 8vw, 96px); }
.choiceCard, .productCard { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(26, 33, 29, .96), rgba(15, 22, 18, .94)); box-shadow: 0 22px 60px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .025); }
.choiceCard { display: flex; min-height: 285px; padding: clamp(26px, 4vw, 42px); flex-direction: column; }
.choiceCard:first-child { border-color: rgba(191, 255, 0, .26); }
.choiceCard h2 { font-size: clamp(2rem, 4vw, 3rem); }
.choiceCard > p:not(.eyebrow) { max-width: 440px; margin: 14px 0 28px; color: var(--muted); font-size: 1.05rem; }
.choiceCard .button { margin-top: auto; }

.catalogPage { padding: clamp(52px, 7vw, 84px) 0 clamp(64px, 9vw, 110px); }
.catalogPage > h1, .legalPage h1 { font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: -.045em; }
.pageIntro { max-width: 680px; margin: 16px 0 42px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.catalogGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 22px; }
.productCard { display: flex; min-height: 390px; padding: clamp(24px, 3vw, 34px); flex-direction: column; justify-content: space-between; gap: 28px; }
.productCard.featured { border-color: rgba(191, 255, 0, .26); }
.productCard h2 { font-family: inherit; font-size: clamp(1.65rem, 2.8vw, 2.2rem); line-height: 1.15; }
.productCard p:not(.productType):not(.status) { margin: 14px 0 0; color: var(--muted); font-size: 1rem; }
.status { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--accent-soft); font-weight: 700; }
.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px var(--accent); }
.button { display: inline-flex; width: 100%; justify-content: center; padding: 14px 20px; border: 1px solid var(--accent); border-radius: 11px; background: var(--accent); color: #071006; font-weight: 850; text-decoration: none; transition: transform .16s ease, filter .16s ease; }
.button.secondary { background: transparent; color: var(--accent-soft); }
.button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.button.disabled { border-color: var(--line); background: rgba(8, 13, 10, .65); color: var(--muted); cursor: not-allowed; }
.button.disabled:hover { filter: none; transform: none; }
.mutedStatus { color: var(--muted); }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px clamp(20px, 5vw, 72px); border-top: 1px solid rgba(191, 255, 0, .15); color: var(--muted); }
footer p { margin: 8px 0; }
.footerLinks { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.legalPage { max-width: 850px; padding: clamp(56px, 8vw, 100px) 0; }
.legalPage h2 { margin-top: 42px; font-size: clamp(1.5rem, 4vw, 2.25rem); }
.legalPage p { color: var(--muted); }
.legalPage a { color: var(--accent-soft); }
.backLink { display: inline-block; margin-bottom: 26px; color: var(--accent-soft); font-weight: 750; text-decoration: none; }

/* Splash page */
.splashPage main { width: 100%; max-width: none; }
.headerBrand { display: inline-flex; align-items: center; }
.headerBrand img { width: min(250px, 48vw); height: auto; }
.splashHero, .sectionBlock, .aboutStrip { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.splashHero { position: relative; display: grid; min-height: min(790px, calc(100vh - 64px)); place-items: center; align-content: center; gap: 40px; padding: 82px 0 96px; overflow: hidden; text-align: center; }
.heroGlow { position: absolute; z-index: -1; width: 700px; height: 700px; right: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(191,255,0,.12), rgba(77,114,30,.035) 45%, transparent 70%); }
.heroBrand { position: relative; display: block; width: min(760px, 86vw); height: auto; filter: drop-shadow(0 20px 44px rgba(105,160,34,.22)); }
.heroCopy { position: relative; display: grid; max-width: 800px; justify-items: center; }
.splashHero h1 { font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -.06em; line-height: .86; }
.splashHero h1 span { color: var(--accent); font-style: italic; }
.heroLead { max-width: 610px; margin: 24px auto 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.22rem); }
.heroLead span { display: block; }
.textLink, .catalogLink { color: var(--accent-soft); font-weight: 800; text-decoration: none; }
.textLink span, .catalogLink span { display: inline-block; margin-left: 6px; transition: transform .16s ease; }
.textLink:hover span, .catalogLink:hover span { transform: translateX(4px); }
.catalogGateway { display: grid; width: min(100% - 48px, 1240px); margin: 0 auto; padding: clamp(34px, 4vw, 48px) 0; grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.35fr); align-items: center; gap: clamp(48px, 8vw, 110px); border-top: 1px solid rgba(191,255,0,.2); border-bottom: 1px solid rgba(191,255,0,.2); scroll-margin-top: 80px; }
.catalogGateway .eyebrow { margin-bottom: 5px; }
.catalogGateway h2 { font-family: inherit; font-size: clamp(1.7rem, 2.6vw, 2.35rem); letter-spacing: -.025em; }
.catalogGateway h2 a { color: var(--text); text-decoration: none; transition: color .16s ease; }
.catalogGateway h2 a span { display: inline-block; margin-left: 8px; color: var(--accent); transition: transform .16s ease; }
.catalogGateway h2 a:hover, .catalogGateway h2 a:focus-visible { color: var(--accent-soft); }
.catalogGateway h2 a:hover span, .catalogGateway h2 a:focus-visible span { transform: translateX(4px); }
.gatewaySummary { margin: 0; color: var(--accent-soft); font-size: .88rem; font-weight: 750; letter-spacing: .075em; line-height: 1.7; white-space: nowrap; text-transform: uppercase; }
.catalogGateway .catalogLink { margin: 0; white-space: nowrap; font-size: 1rem; }
.sectionBlock { padding: clamp(88px, 10vw, 148px) 0; border-top: 1px solid rgba(191,255,0,.15); scroll-margin-top: 80px; }
.sectionHeading { display: grid; grid-template-columns: 1fr minmax(300px, 520px); align-items: end; gap: 52px; margin-bottom: 50px; }
.sectionHeading h2, .aboutStrip h2 { font-size: clamp(3.6rem, 7vw, 6.8rem); letter-spacing: -.055em; }
.sectionHeading > p { margin: 0; color: var(--muted); font-size: 1.12rem; }
.featureGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.featureCard { position: relative; display: flex; min-height: 470px; padding: 34px; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(150deg, rgba(28,36,31,.98), rgba(12,18,14,.96)); }
.featureCard::after { position: absolute; content: ""; width: 220px; height: 220px; right: -100px; bottom: -110px; border: 1px solid rgba(191,255,0,.13); border-radius: 50%; }
.featurePrimary { border-color: rgba(191,255,0,.4); }
.featureNumber { color: rgba(216,255,101,.28); font-family: Georgia, serif; font-size: 2.5rem; font-style: italic; }
.featureCopy h3, .gameCopy h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; }
.featureCopy > p:not(.productType), .gameCopy > p:not(.productType) { color: var(--muted); }
.featureFooter { display: grid; gap: 18px; }
.button.compact { width: auto; min-width: 160px; align-self: flex-start; padding: 11px 18px; }
.futureCard { border-style: dashed; }
.catalogLink { display: inline-block; margin-top: 28px; }
.gamesSection { padding-bottom: clamp(110px, 12vw, 180px); }
.gameSpotlight { display: grid; min-height: 490px; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid rgba(191,255,0,.28); border-radius: 24px; background: #101713; }
.gameArt { position: relative; min-height: 430px; overflow: hidden; background: radial-gradient(circle at 60% 40%, rgba(191,255,0,.14), transparent 35%), linear-gradient(145deg, #18241b, #070b08); }
.gameArt::before { position: absolute; content: ""; inset: 12%; border: 1px solid rgba(216,255,101,.24); transform: perspective(500px) rotateX(58deg) rotateZ(-30deg); background: repeating-linear-gradient(0deg, transparent 0 42px, rgba(191,255,0,.12) 43px 44px), repeating-linear-gradient(90deg, transparent 0 42px, rgba(191,255,0,.12) 43px 44px); }
.battleLine { position: absolute; z-index: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform-origin: left; }
.lineOne { width: 58%; top: 34%; left: 15%; transform: rotate(27deg); }
.lineTwo { width: 50%; top: 67%; left: 31%; transform: rotate(-25deg); }
.battleToken { position: absolute; z-index: 2; width: 34px; height: 34px; border: 2px solid var(--accent); border-radius: 50%; background: #101713; box-shadow: 0 0 28px rgba(191,255,0,.36); }
.tokenOne { top: 25%; left: 24%; }.tokenTwo { top: 53%; left: 60%; }.tokenThree { top: 67%; left: 34%; }
.gameCopy { display: flex; padding: clamp(34px, 5vw, 70px); flex-direction: column; justify-content: center; }
.gameCopy > p:not(.productType) { font-size: 1.08rem; }
.gameActions { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.aboutStrip { padding: clamp(90px, 12vw, 170px) 0; border-top: 1px solid rgba(191,255,0,.15); text-align: center; scroll-margin-top: 80px; }
.aboutStrip > p:not(.eyebrow) { max-width: 760px; margin: 28px auto; color: var(--muted); font-size: 1.16rem; }
.aboutPage { display: grid; align-items: center; }
.aboutPage .aboutStrip { border-top: 0; }
.aboutPage .aboutStrip h1 { font-size: clamp(3.6rem, 7vw, 6.8rem); letter-spacing: -.055em; }
.footerBrand { color: var(--text); font-family: Georgia, serif; font-size: 1.2rem; font-weight: 800; text-decoration: none; }

@media (max-width: 720px) {
  .siteHeader { align-items: stretch; flex-direction: column; gap: 4px; }
  .compactHeader:not(:has(.siteName)) { align-items: stretch; }
  .siteName { text-align: center; }
  nav { width: 100%; }
  .siteAccountButton { width: 100%; }
  nav a { flex: 1; padding-inline: 6px; text-align: center; border: 1px solid var(--line); border-radius: 9px; }
  main { width: min(100% - 28px, 1120px); }
  .brandHero { padding: 42px 0 34px; }
  .categoryChoices { grid-template-columns: 1fr; }
  .choiceCard { min-height: 250px; }
  .catalogGrid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
  .footerLinks { justify-content: flex-start; }
  .footerLinks a { padding-left: 0; padding-right: 18px; }
  .splashHero, .sectionBlock, .catalogGateway, .aboutStrip { width: min(100% - 28px, 1240px); }
  .splashHero { min-height: auto; padding: 64px 0 80px; }
  .splashHero h1 { font-size: clamp(2.8rem, 15vw, 5rem); }
  .heroBrand { width: min(620px, 94vw); }
  .catalogGateway { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .gatewaySummary { white-space: normal; }
  .gameActions { align-items: stretch; flex-direction: column; }
  .button.compact { width: 100%; }
  .sectionHeading, .featureGrid, .gameSpotlight { grid-template-columns: 1fr; }
  .sectionHeading { gap: 20px; }
  .featureCard { min-height: 390px; }
  .gameArt { min-height: 320px; }
  .aboutStrip br { display: none; }
}

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