@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --radius: 0.75rem;
  --font-body: "Inter", system-ui, sans-serif;
  --font-heading: "Fraunces", "Inter", serif;
  --background: #1f1a16;
  --foreground: #f5f0e7;
  --card: #2a221d;
  --card-foreground: #f5f0e7;
  --primary: #d8b56a;
  --primary-foreground: #221a12;
  --muted: #2a231d;
  --muted-foreground: #c3b8a8;
  --border: rgba(245, 240, 231, 0.1);
  --ring: #d8b56a;
  --grad-gold: linear-gradient(135deg, #e4c982, #c79d43);
  --grad-noir: linear-gradient(160deg, #2a221d, #17120f);
  --shadow-gold: 0 20px 60px -30px rgba(216, 181, 106, 0.55);
  --shadow-panel: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
summary {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

::selection {
  background: rgba(216, 181, 106, 0.32);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 500;
}

p,
dl,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.1rem;
}

[hidden] {
  display: none !important;
}

.container-wide {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 18, 15, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  background: var(--grad-noir);
  box-shadow: inset 0 0 0 1px rgba(216, 181, 106, 0.4);
  color: var(--primary);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 70%;
  height: 70%;
}

.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-name .ink-primary {
  color: var(--primary);
}

.brand-tag {
  display: block;
  margin-top: 0.2rem;
  color: #a99d8b;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0;
  color: #cdbfae;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -6px;
  height: 1px;
  background: var(--primary);
  transition: left 220ms ease, right 220ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  left: 0;
  right: 0;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  border-radius: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 200ms ease, filter 200ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn-primary {
  color: var(--primary-foreground);
  background: var(--grad-gold);
  border: 1px solid #c79d43;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

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

.btn-ghost:hover {
  border-color: rgba(216, 181, 106, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--foreground);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: rgba(18, 14, 12, 0.96);
}

.mobile-nav-inner {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0 1rem;
}

.mobile-nav .nav-link {
  padding: 0.65rem 0;
}

.mobile-nav .btn-primary {
  margin-top: 0.5rem;
}

.hero-scene {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-noir);
  border-bottom: 1px solid var(--border);
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 181, 106, 0.12), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(216, 181, 106, 0.08), transparent 55%);
  pointer-events: none;
}

.page-section {
  padding: 5rem 0;
}

.display {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.display em {
  color: var(--primary);
  font-style: italic;
  font-weight: 400;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(216, 181, 106, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: var(--primary);
  background: rgba(216, 181, 106, 0.08);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-tag {
  background: none;
  border: 0;
  padding: 0;
}

.section-tag .bar {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--primary);
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  padding: 5rem 0 6rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.gold-frame {
  position: relative;
}

.gold-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(216, 181, 106, 0.55), transparent 50%, rgba(216, 181, 106, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-media img,
.featured-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  max-width: 42rem;
}

.hero-title {
  margin-top: 1.5rem;
  font-size: clamp(3rem, 5vw, 4.35rem);
}

.hero-copy p,
.section-copy,
.legal-intro,
.faq-body,
.card-text,
.review-body,
.game-description,
.game-side-note {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.hero-actions,
.section-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 31rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  display: block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.hero-stat-label {
  display: block;
  margin-top: 0.35rem;
  color: #a8a091;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
  background: rgba(23, 18, 15, 0.95);
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.legal-panel,
.review-card,
.game-tile,
.contact-card,
.contact-side,
.callout {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #2a221d, #1f1915);
  box-shadow: var(--shadow-panel);
}

.legal-panel,
.review-card,
.contact-card,
.contact-side,
.callout {
  padding: 1.5rem;
}

.panel {
  padding: 0;
}

.home-showcase {
  display: grid;
  gap: 1.25rem;
}

.featured-hero {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--grad-noir);
}

.featured-hero-img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  padding: 2rem;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.65));
}

.featured-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(216, 181, 106, 0.15), transparent 55%),
    linear-gradient(180deg, transparent 40%, rgba(10, 8, 6, 0.92) 100%);
  pointer-events: none;
}

.featured-hero-body {
  position: relative;
  padding: 1.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.75rem;
  color: #d5c8b7;
  font-size: 0.7rem;
  font-weight: 500;
}

.status-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(216, 181, 106, 0.2);
  flex: 0 0 auto;
}

.game-grid {
  display: grid;
  gap: 1.25rem;
}

.game-tile {
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 320ms ease;
}

.game-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 181, 106, 0.55);
}

.game-tile-media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(216, 181, 106, 0.2), transparent 60%),
    linear-gradient(180deg, #332924, #211915);
  border-bottom: 1px solid var(--border);
}

.game-tile-media img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-tile:hover .game-tile-media img {
  transform: scale(1.06);
}

.game-tile-body {
  padding: 1rem 1.1rem 1.2rem;
}

.game-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.arrow-badge {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--primary);
}

.game-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

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

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.game-side .game-side-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.game-side .thumb {
  width: 4rem;
  height: 4rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  object-fit: contain;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
}

.game-side-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
}

.game-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.game-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--foreground);
  font-size: 0.93rem;
}

.game-features li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(216, 181, 106, 0.12);
  flex: 0 0 auto;
}

.game-frame-wrap {
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow-panel);
}

.game-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.game-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-grid {
  display: grid;
  gap: 1.5rem;
}

.detail-meta {
  display: grid;
  gap: 1.25rem;
}

.detail-label {
  color: #a99d8b;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.detail-value {
  margin-top: 0.35rem;
  color: var(--foreground);
  font-weight: 600;
}

.faq-list {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0.2rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--foreground);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--primary);
  border: 1px solid rgba(216, 181, 106, 0.4);
  transition: transform 260ms ease;
  font-size: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 0.2rem 1.4rem;
  max-width: 68ch;
  font-size: 0.94rem;
}

.review-card {
  height: 100%;
  position: relative;
}

.review-card .quote-mark {
  color: rgba(216, 181, 106, 0.7);
  font-size: 1.3rem;
  line-height: 1;
}

.review-title {
  margin-top: 0.9rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.35;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar-ring {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--primary-foreground);
  font-family: var(--font-heading);
  font-weight: 700;
  background: var(--grad-gold);
}

.stars {
  display: flex;
  gap: 0.15rem;
  color: var(--primary);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.6rem;
  background: rgba(216, 181, 106, 0.12);
  border: 1px solid rgba(216, 181, 106, 0.4);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  flex: 0 0 auto;
}

.principle {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.principle h3 {
  font-size: 1.1rem;
}

.principle p {
  margin-top: 0.5rem;
}

.callout {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.callout::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 12rem;
  background: radial-gradient(circle, rgba(216, 181, 106, 0.12), transparent 65%);
  pointer-events: none;
}

.footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: rgba(42, 34, 29, 0.62);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

.footer-heading {
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.footer-list {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.footer-note {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.7;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 181, 106, 0.4), transparent);
}

.footer-copy {
  padding: 1.5rem 0 2rem;
  color: #a99d8b;
  font-size: 0.75rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--primary);
  flex: 0 0 auto;
}

.contact-side {
  display: grid;
  gap: 1.5rem;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--foreground);
  line-height: 1.6;
}

.contact-line .contact-line-icon {
  margin-top: 0.2rem;
  color: var(--primary);
  flex: 0 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #cdbfae;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--primary);
}

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

@media (min-width: 768px) {
  .hero-grid {
    padding: 6rem 0 7rem;
  }

  .hero-badge {
    display: inline-flex;
  }

  .page-section {
    padding: 5.5rem 0;
  }

  .hero-title {
    font-size: 3.8rem;
  }

  .grid-md-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-md-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-md-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .game-layout {
    grid-template-columns: 1fr 320px;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: center;
  }

  .site-nav {
    display: flex;
  }

  .grid-lg-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-lg-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .page-header {
    grid-template-columns: 1.3fr 1fr;
    display: grid;
  }

  .detail-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 1200px) {
  .menu-button {
    display: none;
  }

  .desktop-only {
    display: flex;
  }
}

@media (max-width: 1199px) {
  .site-nav,
  .site-actions .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .container-wide,
  .container-narrow {
    width: min(100% - 1.25rem, 1240px);
  }

  .page-section {
    padding: 4rem 0;
  }

  .hero-grid {
    gap: 2rem;
    padding: 3.75rem 0 4.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .page-header {
    flex-direction: column;
    align-items: start;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-md-2,
  .grid-md-3,
  .grid-md-4,
  .grid-lg-3,
  .grid-lg-4 {
    grid-template-columns: 1fr;
  }

  .review-footer,
  .site-header-inner {
    flex-wrap: wrap;
  }

  .site-brand {
    flex: 1 1 auto;
  }

  .site-actions {
    margin-left: auto;
  }
}
