:root {
  --bg: #171410;
  --ink: #f6f1e8;
  --muted: rgba(246, 241, 232, 0.78);
  --line: rgba(246, 241, 232, 0.16);
  --rule: rgba(246, 241, 232, 0.55);
  --header: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.4;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  min-height: var(--header);
  padding: 0.75rem 1.5rem;
  background: #f6f1e8;
  border-bottom: 1px solid rgba(23, 20, 16, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header .logo img {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1.25rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1c1916;
}

.site-nav a:hover,
.site-nav a:focus-visible { opacity: 0.7; }

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}

.intro {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 0;
}

.intro-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--rule);
}

.intro-heading .mark {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  flex: none;
}

.intro h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 750;
}

.intro p {
  margin: 0.45rem 0 0;
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.intro a { color: var(--ink); }

.games {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  display: grid;
  gap: 2.5rem;
}

.game {
  display: grid;
  gap: 1rem;
}

.game + .game {
  border-top: 2px solid var(--ink);
  padding-top: 2.5rem;
}

.banner {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #0e0c0a;
}

.game-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.game-body img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex: none;
}

.game h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.game h2 a {
  color: inherit;
  text-decoration: none;
}

.game h2 a:hover,
.game h2 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.game p {
  margin: 0.3rem 0 0;
  max-width: 40rem;
  color: var(--muted);
}

.game-copy {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex: none;
}

.play,
.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.play {
  background: #f6f1e8;
  color: #171410;
  border: 1px solid #62b84a;
}

.play:hover,
.play:focus-visible {
  background: #fff;
  border-color: #4ea338;
}

.store {
  background: #e6d5b8;
  color: #171410;
  border: 1px solid #62b84a;
}

.store:hover,
.store:focus-visible {
  background: #f3e8d4;
  border-color: #4ea338;
}

.store:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.soon-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--rule);
  font-weight: 700;
}

.band {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 2px solid var(--rule);
}

.intro + .band { border-top: none; }

.band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.band p, .band li {
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.band a { color: var(--ink); }

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li + li { margin-top: 0.6rem; }

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.9fr;
  gap: 2.5rem 3rem;
  padding: 4.5rem 6vw 3.5rem;
  background: #12100e;
  border-top: 1px solid var(--line);
}

.footer-brand .logo img {
  height: 58px;
  width: auto;
  background: #f6f1e8;
  border-radius: 8px;
}

.footer-social {
  margin: 1rem 0 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.footer-social img {
  height: 24px;
  width: auto;
  display: block;
}

.footer-social a:hover,
.footer-social a:focus-visible { opacity: 0.7; }

.footer-copy {
  margin: 1.5rem 0 0;
  font-size: 0.98rem;
}

.footer-role {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-col h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 750;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li { margin-top: 0.75rem; }

.footer-col a {
  color: var(--ink);
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible { opacity: 0.7; }

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.sheet {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.sheet h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.sheet > p {
  max-width: 40rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.sheet .banner { margin-bottom: 1.25rem; }

.sheet .actions { margin-top: 1.25rem; }

.crumb {
  margin: 0 0 1rem;
  font-weight: 700;
}

.crumb a,
.play-note a,
.section-link { color: var(--ink); }

.section-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
}

.play-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

.learn {
  max-width: 40rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 2px solid var(--rule);
}

.learn h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.learn h3 {
  margin: 1.6rem 0 0.35rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.learn p {
  margin: 0;
  max-width: none;
  font-size: 1.05rem;
  color: var(--muted);
}

.learn a { color: var(--ink); }

.home-games,
.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.home-games a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.home-games li:last-child a { border-bottom: 1px solid var(--line); }

.home-games img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: none;
}

.home-games strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.home-games span { color: var(--muted); }

.contact-list li + li { margin-top: 0.75rem; }

.contact-social {
  margin: 1.5rem 0 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-social a {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.contact-social img {
  height: 28px;
  width: auto;
  display: block;
}

.contact-social a:hover,
.contact-social a:focus-visible { opacity: 0.7; }

.page h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.page p, .page li { font-size: 1.05rem; color: var(--muted); }
.page a { color: var(--ink); }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; padding: 0.75rem 1rem; }
  .site-nav { width: 100%; justify-content: flex-start; gap: 0.7rem 1rem; }
  .intro { padding-top: 2.5rem; }
  .game-body { flex-direction: column; }
  .actions { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2.5rem; }
}
