:root {
  --bg: #0b0c0d;
  --bg-2: #121416;
  --panel: rgba(255,255,255,.035);
  --panel-strong: rgba(255,255,255,.055);
  --text: #f2eee7;
  --muted: #aaa39a;
  --muted-2: #7f7a73;
  --gold: #b88a3b;
  --gold-bright: #d0a451;
  --ember: #bb5f25;
  --line: rgba(255,255,255,.10);
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 50% -10%, rgba(184,138,59,.09), transparent 30rem),
    linear-gradient(180deg, #111315 0%, #0b0c0d 38%, #090a0b 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

a {
  color: inherit;
}

button, input, textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(11,12,13,.87);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184,138,59,.5);
  transform: rotate(45deg);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.03rem;
}

.brand-mark span {
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #d4d0ca;
  text-decoration: none;
  font-size: .86rem;
  letter-spacing: .05em;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-bright);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 3px;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 86px 0 82px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.kicker,
.section-kicker {
  margin: 0 0 17px;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: .23em;
  font-weight: 700;
  font-size: .72rem;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(4.6rem, 9.5vw, 8.8rem);
  line-height: .87;
}

.hero h1 .gold {
  color: var(--gold-bright);
  font-style: italic;
}

.hero-subtitle {
  margin: 30px 0 0;
  max-width: 680px;
  color: #d7d2ca;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.52;
}

.hero-tagline {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(184,138,59,.52);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #c19343, #9a6d29);
  color: #111;
  border-color: #c99a4c;
}

.btn-secondary {
  background: rgba(255,255,255,.025);
  color: var(--text);
}

.hero-emblem {
  position: relative;
  max-width: 530px;
  margin-left: auto;
}

.hero-emblem::before {
  content: "";
  position: absolute;
  inset: 13% 11%;
  border-radius: 50%;
  background: rgba(184,138,59,.13);
  filter: blur(70px);
  z-index: -1;
}

.hero-emblem img {
  width: 100%;
  border: 1px solid rgba(255,255,255,.055);
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1;
}

.section-intro {
  margin: 22px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.03rem;
}

.about-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}

.about-copy p {
  margin: 0 0 18px;
  color: #c8c3bb;
  font-size: 1.04rem;
}

.about-copy .closing {
  margin-top: 26px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.about-copy .closing strong {
  color: var(--gold-bright);
  font-weight: 500;
}

.games-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    radial-gradient(circle at 90% 0%, rgba(184,138,59,.11), transparent 48%);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184,138,59,.46);
}

.game-number {
  font-family: var(--serif);
  font-size: 4.6rem;
  color: rgba(255,255,255,.055);
  line-height: 1;
}

.game-status {
  margin-top: auto;
  color: var(--gold-bright);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.game-card h3 {
  margin: 9px 0 7px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
}

.game-type {
  color: var(--muted-2);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-desc {
  color: var(--muted);
  margin: 18px 0 0;
  font-size: .91rem;
}

.card-link {
  margin-top: 24px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.values-grid {
  margin-top: 43px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value {
  padding: 34px 30px 38px;
  background: #0d0f10;
}

.value-index {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
}

.value h3 {
  margin: 20px 0 10px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.cta {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border: 1px solid rgba(184,138,59,.26);
  background:
    linear-gradient(90deg, rgba(184,138,59,.065), rgba(255,255,255,.018));
}

.cta-box h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
}

.cta-box p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 38px;
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-tagline,
.footer-copy {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: .78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.page-hero {
  padding: 92px 0 70px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: .92;
}

.page-hero p {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.page-content {
  padding: 0 0 100px;
}

.game-list {
  display: grid;
  gap: 24px;
}

.game-feature {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.game-feature .badge {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(184,138,59,.15), transparent 60%),
    #0d0f10;
  font-family: var(--serif);
  color: rgba(255,255,255,.17);
  font-size: 4rem;
}

.game-feature h2 {
  margin: 2px 0 7px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.game-feature p {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--muted);
}

.status-line {
  color: var(--gold-bright);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 56px 0 14px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.prose p {
  color: #c6c1ba;
}

.contact-panel {
  max-width: 780px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
}

.contact-panel p {
  color: var(--muted);
}

.notice {
  margin-top: 26px;
  padding: 17px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(184,138,59,.055);
  color: #cbc4b9;
  font-size: .92rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    max-width: 560px;
    margin: 12px auto 0;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-box,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .game-feature {
    grid-template-columns: 1fr;
  }

  .game-feature .badge {
    min-height: 130px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #101214;
    border: 1px solid var(--line);
    box-shadow: 0 16px 45px rgba(0,0,0,.45);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 11px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    padding: 66px 0;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.2rem);
  }

  .section {
    padding: 70px 0;
  }

  .cta-box {
    padding: 30px 24px;
  }

  .game-card {
    min-height: 320px;
  }
}

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