:root {
  color-scheme: dark;
  --bg: #17130d;
  --bg-soft: #211a11;
  --panel: #2a2116;
  --panel-strong: #342819;
  --text: #fff7e8;
  --muted: #d4c2a3;
  --subtle: #a79270;
  --line: rgba(255, 247, 232, 0.14);
  --accent: #f2b84b;
  --accent-strong: #ffd36b;
  --accent-dark: #563c12;
  --green: #89d185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 184, 75, 0.18), transparent 32rem),
    linear-gradient(135deg, #17130d 0%, #20170e 54%, #110f0b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 8px;
}

.nav,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(33, 26, 17, 0.72);
  backdrop-filter: blur(16px);
}

.logo,
.nav-links,
.footer-links,
.hero-actions,
.hero-metadata,
.game-tags,
.play-link {
  display: flex;
  align-items: center;
}

.logo {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 18px;
  height: 18px;
  border-radius: 45% 55% 48% 52%;
  background: linear-gradient(135deg, var(--accent-strong), #ba7b24);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.16);
}

.nav-links,
.footer-links {
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.footer-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  padding: 78px 0 46px;
}

.hero-text,
.hero-sidecard,
.game-card,
.principle-card,
.support-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(52, 40, 25, 0.9), rgba(33, 26, 17, 0.9));
  box-shadow: var(--shadow);
}

.hero-text {
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn-primary {
  gap: 10px;
  color: #241600;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 12px 28px rgba(242, 184, 75, 0.22);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-primary:hover,
.btn-ghost:hover,
.game-card:hover {
  transform: translateY(-2px);
}

.btn-ghost:hover,
.game-card:hover {
  border-color: rgba(255, 211, 107, 0.42);
}

.trust-line {
  margin-top: 18px;
  color: var(--subtle);
  font-size: 0.96rem;
}

.hero-sidecard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  min-height: 360px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.updates-carousel {
  overflow: hidden;
}

.updates-carousel-track {
  position: relative;
  flex: 1;
  min-height: 300px;
}

.updates-slide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 300px;
}

.updates-slide[hidden] {
  display: none;
}

.updates-slide.is-active {
  animation: update-slide-in 260ms ease-out;
}

@keyframes update-slide-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coming-soon {
  align-self: stretch;
  padding: 16px;
  border: 1px solid rgba(255, 211, 107, 0.18);
  border-radius: calc(var(--radius-md) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 211, 107, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(13, 11, 8, 0.22);
}

.coming-soon-header,
.coming-soon-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.coming-soon-header {
  margin-bottom: 12px;
}

.coming-soon-kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.coming-soon-header > span {
  color: var(--subtle);
  font-size: 0.74rem;
  font-weight: 800;
}

.coming-soon-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coming-soon-list li {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.88rem;
  font-weight: 800;
}

.coming-soon-item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.coming-soon-name {
  min-width: 0;
}

.coming-soon-type {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(137, 209, 133, 0.2);
  border-radius: 999px;
  color: #bde7b9;
  background: rgba(137, 209, 133, 0.08);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.coming-soon-type-game {
  border-color: rgba(137, 209, 133, 0.24);
  color: #bde7b9;
  background: rgba(137, 209, 133, 0.08);
}

.coming-soon-type-expansion {
  border-color: rgba(181, 139, 255, 0.28);
  color: #d7c4ff;
  background: rgba(181, 139, 255, 0.1);
}

.coming-soon-type-site {
  border-color: rgba(109, 185, 255, 0.28);
  color: #b9dcff;
  background: rgba(109, 185, 255, 0.1);
}

.coming-soon-stage {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(255, 211, 107, 0.2);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(255, 211, 107, 0.08);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-sidecard-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(137, 209, 133, 0.12);
}

.status-dot-blue {
  background: #6db9ff;
  box-shadow: 0 0 0 7px rgba(109, 185, 255, 0.12);
}

.status-dot-gold {
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(255, 211, 107, 0.13);
}

.hero-sidecard p,
.section-header p,
.principle-card p,
.support-section p,
.game-desc {
  color: var(--muted);
}

.hero-metadata,
.game-tags {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-metadata span,
.game-tags span,
.pill,
.game-tag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-metadata span,
.game-tags span,
.pill {
  padding: 7px 10px;
}

.update-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.update-highlight-list span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 211, 107, 0.16);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.8rem;
  font-weight: 800;
}

.updates-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.updates-carousel-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.updates-carousel-button:hover,
.updates-carousel-button:focus-visible {
  border-color: rgba(255, 211, 107, 0.42);
  background: rgba(255, 211, 107, 0.08);
  transform: translateY(-1px);
}

.updates-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.updates-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.updates-carousel-dots button.is-active {
  width: 24px;
  border-color: rgba(255, 211, 107, 0.72);
  background: var(--accent);
}

.games-section,
.why-section,
.sponsor-section,
.support-section {
  padding: 42px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-header p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 12px;
}

.section-header-centered {
  display: block;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-header-centered h2,
.section-header-centered p {
  margin-inline: auto;
}

.games-grid,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.browse-all {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.game-card,
.principle-card {
  border-radius: var(--radius-md);
}

.game-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.game-tier-1 {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(18, 18, 24, 0.72);
  box-shadow: none;
}

.game-tier-1 .game-title,
.game-tier-1 .game-desc,
.game-tier-1 .game-tags,
.game-tier-1 .play-link {
  opacity: 0.88;
}

.game-tier-2 {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(27, 28, 36, 0.86), rgba(18, 18, 24, 0.8));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.game-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.game-card-disabled {
  box-shadow: none;
  opacity: 0.82;
}

.game-card-locked {
  border-color: rgba(125, 177, 255, 0.36);
  background: linear-gradient(180deg, rgba(40, 43, 58, 0.92), rgba(27, 27, 36, 0.9));
}

.game-card-locked .game-tag,
.game-card-early-access .game-tag {
  color: #9fc4ff;
  border-color: rgba(125, 177, 255, 0.36);
  background: rgba(80, 119, 184, 0.14);
}

.game-card-early-access {
  border-color: rgba(168, 123, 255, 0.34);
}

.game-card-early-access .game-tag {
  color: #c7adff;
  border-color: rgba(168, 123, 255, 0.34);
  background: rgba(117, 75, 184, 0.14);
}

.game-access-note {
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid rgba(125, 177, 255, 0.22);
  border-radius: 14px;
  color: #bdd5ff;
  background: rgba(80, 119, 184, 0.1);
  font-size: 0.88rem;
  line-height: 1.45;
}

.game-access-note[hidden] {
  display: none;
}

.game-tier-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 245, 226, 0.5);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.game-tier-badge-2 {
  color: rgba(184, 212, 255, 0.78);
  border-color: rgba(125, 177, 255, 0.2);
  background: rgba(80, 119, 184, 0.08);
}

.game-tier-badge-3 {
  color: #ffe2a3;
  border-color: rgba(255, 211, 107, 0.68);
  background: linear-gradient(135deg, rgba(255, 211, 107, 0.3), rgba(255, 140, 102, 0.16));
  box-shadow: 0 0 30px rgba(255, 211, 107, 0.16);
}

.game-tier-badge-4 {
  color: #f8e9ff;
  border-color: rgba(230, 170, 255, 0.55);
  background: linear-gradient(135deg, rgba(230, 170, 255, 0.24), rgba(125, 177, 255, 0.14));
  box-shadow: 0 0 28px rgba(230, 170, 255, 0.12);
}

.game-tier-3 {
  position: relative;
  border-color: rgba(255, 211, 107, 0.46);
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 211, 107, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(45, 39, 27, 0.96), rgba(24, 22, 24, 0.9));
  box-shadow: 0 22px 58px rgba(18, 13, 5, 0.42), 0 0 0 1px rgba(255, 211, 107, 0.12);
}

.game-tier-3::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 211, 107, 0.16), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(255, 140, 102, 0.12), transparent 34%);
}

.game-tier-3 > * {
  position: relative;
}

.game-tier-4 {
  position: relative;
  border-color: rgba(230, 170, 255, 0.42);
  box-shadow: 0 20px 58px rgba(18, 10, 28, 0.38), 0 0 0 1px rgba(230, 170, 255, 0.1);
}

.game-tier-4::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 24% 0%, rgba(230, 170, 255, 0.16), transparent 40%);
}

.game-tier-4 > * {
  position: relative;
}

.game-tag {
  padding: 6px 9px;
  color: var(--accent-strong);
  border-color: rgba(255, 211, 107, 0.24);
}

.game-title {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.game-desc {
  font-size: 0.98rem;
}

.play-link {
  justify-content: space-between;
  gap: 8px;
  margin-top: 22px;
  color: var(--accent-strong);
  font-weight: 800;
}

.play-link-disabled {
  color: var(--subtle);
}

.principle-card {
  padding: 22px;
  background: rgba(42, 33, 22, 0.72);
  box-shadow: none;
}

.principle-card p {
  margin-top: 10px;
}

.sponsor-section {
  padding-bottom: 8px;
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 211, 107, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.14), rgba(52, 40, 25, 0.84)),
    rgba(42, 33, 22, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, border-color 160ms ease;
}

.sponsor-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 107, 0.48);
}

.sponsor-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.sponsor-card p {
  max-width: 620px;
  margin-top: 8px;
  color: var(--muted);
}

.sponsor-link {
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  color: #241600;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  font-size: 0.86rem;
  font-weight: 800;
}

.support-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin: 28px 0 52px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.support-section h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 34px;
  color: var(--subtle);
  font-size: 0.94rem;
}

:focus-visible {
  outline: 3px solid rgba(255, 211, 107, 0.72);
  outline-offset: 3px;
}

.legal-page {
  padding: 58px 0 36px;
}

.legal-hero,
.legal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(52, 40, 25, 0.9), rgba(33, 26, 17, 0.9));
  box-shadow: var(--shadow);
}

.legal-hero {
  padding: clamp(28px, 5vw, 54px);
  margin-bottom: 18px;
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.legal-updated {
  color: var(--subtle) !important;
  font-size: 0.92rem !important;
}

.legal-content {
  padding: clamp(24px, 4vw, 42px);
}

.legal-content h2 {
  margin-top: 30px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  max-width: 850px;
  margin-top: 10px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav,
  .site-footer,
  .section-header,
  .sponsor-card,
  .support-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .support-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-sidecard {
    min-height: auto;
  }

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

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 20px, var(--max-width));
  }

  .nav-links,
  .footer-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .hero-text,
  .hero-sidecard,
  .support-section {
    padding: 22px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }
}
