:root {
  --gold: #e8c547;
  --gold-bright: #ffd76a;
  --gold-deep: #b45309;
  --felt: #0a3d2e;
  --felt-mid: #12261c;
  --felt-deep: #071410;
  --ink: #05080a;
  --panel: rgba(10, 18, 14, 0.78);
  --cream: #f5ebd0;
  --muted: #b7c3b4;
  --line: rgba(232, 197, 71, 0.28);
  --danger: #c62828;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 1.25rem;
  --header-h: 4.4rem;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--ink);
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}

p {
  margin: 0;
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(5, 8, 10, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 18px rgba(232, 197, 71, 0.25);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.45rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 0 4.6rem;
  background:
    linear-gradient(180deg, rgba(5, 8, 10, 0.35), rgba(5, 8, 10, 0.88)),
    url("Assets/felt-midnight.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
}

.hero-content {
  flex: 1 1 340px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

.hero-content h1 {
  margin: 0 0 1rem;
}

.hero-title-lockup {
  display: block;
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}

.hero-content p {
  font-size: 1.05rem;
  max-width: 34rem;
  color: #d7d2c3;
}

.hero-content p strong {
  color: var(--cream);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 0.9rem;
}

.hero-note {
  font-size: 0.84rem;
}

.hero-visual {
  flex: 0 1 380px;
  width: 100%;
  max-width: 380px;
}

.hero-portrait {
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-portrait img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 70%;
}

/* Sections */

.section {
  padding: 4.2rem 0;
  position: relative;
}

.section-alt {
  background:
    radial-gradient(circle at 10% 0%, rgba(10, 61, 46, 0.55), transparent 46%),
    #08110e;
}

.section-header {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.55rem;
}

.section-header p {
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1rem;
}

.gold-rule {
  width: 4.2rem;
  height: 2px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Flagship */

.flagship {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 1.6rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(232, 197, 71, 0.08), transparent 40%),
    rgba(8, 16, 12, 0.9);
  box-shadow: var(--shadow);
}

.flagship-icon {
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.flagship-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flagship-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.flagship-copy h3 {
  font-size: 1.55rem;
  margin: 0.35rem 0 0.7rem;
}

.flagship-copy p {
  max-width: 40rem;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 1.3rem;
}

.icon-row img {
  width: 64px;
  height: 64px;
  max-width: 64px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #000;
}

.feature-pills,
.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.feature-pills {
  margin-bottom: 1.2rem;
}

/* Games */

.games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.game-card {
  position: relative;
  overflow: hidden;
  flex: 1 1 calc(50% - 0.65rem);
  max-width: calc(50% - 0.65rem);
  min-height: 280px;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.game-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 10, 0.18) 0%,
    rgba(5, 8, 10, 0.55) 42%,
    rgba(5, 8, 10, 0.92) 100%
  );
}

.game-card-inner {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.3rem 1.2rem;
}

.game-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
}

.game-icon {
  width: 72px;
  height: 72px;
  max-width: 72px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #000;
  flex-shrink: 0;
}

.game-wordmark {
  max-height: 46px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

.game-card h3 {
  font-size: 1.18rem;
}

.game-card p {
  font-size: 0.92rem;
  color: #d4d0c4;
}

.game-features {
  margin: 0.7rem 0 0.85rem;
  padding-left: 1.05rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.game-features li + li {
  margin-top: 0.12rem;
}

.game-meta {
  margin-bottom: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(232, 197, 71, 0.14);
  color: var(--gold-bright);
  border: 1px solid var(--line);
}

.badge-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.1);
}

.badge-soon {
  background: rgba(198, 40, 40, 0.18);
  color: #ffb4b4;
  border-color: rgba(198, 40, 40, 0.4);
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-card.soon::before {
  content: "Coming soon";
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
}

/* Hub features */

.perk-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.perk {
  flex: 1 1 200px;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: rgba(10, 22, 16, 0.7);
}

.perk-icon {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.perk h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.perk p {
  font-size: 0.86rem;
}

/* Support */

.support-content {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.support-email a {
  display: inline-block;
  margin: 0.85rem 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.support-email a:hover {
  text-decoration: underline;
}

.support-note {
  font-size: 0.88rem;
}

.compare {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.compare-card {
  flex: 1 1 280px;
  padding: 1.2rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(8, 16, 12, 0.75);
  text-align: left;
}

.compare-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.compare-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.compare-card li + li {
  margin-top: 0.25rem;
}

/* Footer */

.site-footer {
  background: #030605;
  color: var(--muted);
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-bottom: 1.8rem;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-brand {
  width: 168px;
  height: auto;
  margin-bottom: 0.75rem;
}

.footer-column h3,
.footer-column h4 {
  color: var(--cream);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-column p {
  font-size: 0.86rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(232, 197, 71, 0.16);
  padding: 0.9rem 0 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, #ffe08a, var(--gold) 38%, #b8860b);
  color: #1a1204;
  box-shadow: 0 10px 24px rgba(184, 134, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(184, 134, 11, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-store {
  background: #111;
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-store:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn[aria-disabled="true"] {
  opacity: 0.7;
  pointer-events: none;
}

/* Legal pages */

.legal-page {
  padding: 3rem 0 3.8rem;
  background:
    radial-gradient(circle at top, rgba(10, 61, 46, 0.35), transparent 42%),
    var(--ink);
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(8, 16, 12, 0.92);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.legal-inner h1 {
  font-size: 1.85rem;
  margin-bottom: 0.25rem;
}

.legal-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.legal-inner h2 {
  font-size: 1.08rem;
  margin: 1.5rem 0 0.4rem;
  color: var(--gold-bright);
}

.legal-inner p {
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}

.legal-inner ul,
.legal-inner ol {
  margin: 0.35rem 0 0.9rem 1.1rem;
  padding-left: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.legal-inner li + li {
  margin-top: 0.18rem;
}

.legal-inner a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-inner code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
}

.legal-footer-note {
  font-size: 0.8rem;
  color: #8d978a;
  margin-top: 1.25rem;
}

.legal-back-link {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.steps-box {
  margin: 1.25rem 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: rgba(232, 197, 71, 0.08);
  border: 1px solid var(--line);
}

.steps-box h2 {
  margin-top: 0;
  color: var(--gold-bright);
}

/* Responsive */

@media (max-width: 800px) {
  .hero {
    padding: 2.6rem 0 3.2rem;
  }

  .hero-visual {
    order: -1;
    margin: 0 auto;
    max-width: 320px;
  }

  .hero-portrait img {
    height: 360px;
  }

  .flagship-icon {
    width: 140px;
    height: 140px;
    flex-basis: 140px;
  }

  .game-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5, 8, 10, 0.97);
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, padding 0.2s ease;
  }

  .nav-list.is-open {
    max-height: 280px;
    padding: 0.65rem 1.25rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand-tagline {
    display: none;
  }

  .hero-title-lockup {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
