:root {
  --surface-deep: #0a1612;
  --surface-mid: #122620;
  --surface-raised: #1a3329;
  --surface-light: #f0f5f2;
  --jade: #1f6f5b;
  --jade-bright: #3d9a82;
  --jade-glow: rgba(61, 154, 130, 0.35);
  --lacquer: #a61c2e;
  --lacquer-deep: #7a1220;
  --gold: #d4af37;
  --gold-soft: #f0d878;
  --text-on-dark: #e8f0ec;
  --text-muted-dark: #8aa99a;
  --text-primary: #0f1a16;
  --text-muted: #4a6358;
  --border-jade: rgba(61, 154, 130, 0.28);
  --shadow-panel: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 24px rgba(15, 26, 22, 0.08);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --header-height: 64px;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "Syne", "IBM Plex Sans", system-ui, sans-serif;
  --max-width: 1140px;
  --rail-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--surface-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--jade);
}

a:hover {
  color: var(--lacquer);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--surface-raised);
  color: var(--text-on-dark);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header — compact dark bar with inline CTA */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 22, 18, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-jade);
}

.header-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text-on-dark);
  min-width: 0;
}

.brand-mark img {
  width: auto;
  height: 36px;
  max-width: min(120px, 38vw);
  object-fit: contain;
}

.brand-mark span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-jade);
  border-radius: var(--radius-sm);
  background: var(--surface-mid);
  color: var(--text-on-dark);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  padding: 0.35rem 1.25rem 0.85rem;
  background: rgba(10, 22, 18, 0.98);
  border-bottom: 1px solid var(--border-jade);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 0.7rem 0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-cta {
  display: none;
  margin-left: auto;
}

.header-age {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: var(--radius-sm);
  background: var(--lacquer);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Hero — demo-first, artwork bleed left */
.arcade-hero {
  position: relative;
  background: var(--surface-deep);
  color: var(--text-on-dark);
  overflow: hidden;
}

.arcade-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 22, 18, 0.15) 0%, rgba(10, 22, 18, 0.88) 52%, rgba(10, 22, 18, 0.97) 100%),
    radial-gradient(circle at 20% 80%, var(--jade-glow), transparent 45%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 0;
  min-height: clamp(420px, 72vh, 560px);
}

.hero-art {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.hero-art img {
  position: absolute;
  left: -8%;
  bottom: 0;
  width: min(62vw, 520px);
  max-height: 95%;
  object-fit: contain;
  object-position: left bottom;
  opacity: 0.92;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.hero-panel {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  margin-left: auto;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.arcade-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.2vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-answer {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  color: var(--text-muted-dark);
}

.hero-answer strong {
  color: var(--text-on-dark);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--surface-deep);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.28);
}

.btn--outline {
  background: transparent;
  border-color: var(--jade-bright);
  color: var(--text-on-dark);
}

.btn--lacquer {
  background: var(--lacquer);
  color: #fff;
  box-shadow: 0 8px 22px rgba(166, 28, 46, 0.32);
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted-dark);
  max-width: 32rem;
}

/* Spec rail — horizontal ticker under hero */
.spec-rail-wrap {
  background: var(--surface-mid);
  border-top: 1px solid var(--border-jade);
  border-bottom: 1px solid var(--border-jade);
}

.spec-rail {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.spec-cell {
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--border-jade);
  border-bottom: 1px solid var(--border-jade);
  text-align: center;
}

.spec-cell:nth-child(2n) {
  border-right: none;
}

.spec-cell dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

.spec-cell dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-soft);
}

/* Sections */
.page-section {
  padding: 2.75rem 1.25rem;
}

.page-section--dark {
  background: var(--surface-deep);
  color: var(--text-on-dark);
}

.page-section--raised {
  background: #fff;
}

.page-section--tint {
  background: linear-gradient(180deg, #e8f2ed 0%, var(--surface-light) 100%);
}

.section-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jade);
}

.page-section--dark .section-tag {
  color: var(--jade-bright);
}

.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--text-muted);
}

.page-section--dark .section-intro {
  color: var(--text-muted-dark);
}

/* Demo block */
.demo-grid {
  display: grid;
  gap: 1.5rem;
}

.demo-copy p {
  margin: 0 0 1rem;
}

.demo-copy h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.demo-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.demo-points li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
}

.demo-points li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--jade);
  font-size: 0.55rem;
  top: 0.45rem;
}

.page-section--dark .demo-points li::before {
  color: var(--gold);
}

/* Tabuleiro — image + facts side by side */
.board-layout {
  display: grid;
  gap: 1.5rem;
}

.board-visual {
  position: relative;
  margin: 0;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  border: 1px solid var(--border-jade);
  overflow: hidden;
  min-height: 220px;
}

.board-visual img.bg-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.18;
}

.board-stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
}

.board-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(10, 22, 18, 0.72);
  border: 1px solid var(--border-jade);
}

.board-stat span {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

.board-stat strong {
  font-family: var(--font-display);
  color: var(--gold-soft);
}

.board-prose h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.board-prose p {
  margin: 0 0 0.85rem;
}

/* Bonus timeline */
.bonus-track {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.5rem;
  list-style: none;
  border-left: 2px solid var(--jade);
}

.bonus-step {
  position: relative;
  padding: 0 0 1.75rem 1.25rem;
}

.bonus-step::before {
  content: "";
  position: absolute;
  left: -1.62rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.bonus-step:last-child {
  padding-bottom: 0;
}

.bonus-step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.bonus-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.page-section--tint .bonus-step p {
  color: var(--text-muted);
}

.timeline-cta {
  margin-top: 1.5rem;
}

/* RTP meters */
.numbers-panel {
  display: grid;
  gap: 1.25rem;
}

.meter-block {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  border: 1px solid var(--border-jade);
}

.meter-block h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.meter-bar-wrap {
  margin: 0.5rem 0 0.35rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jade), var(--jade-bright));
}

.meter-bar--gold {
  background: linear-gradient(90deg, var(--lacquer), var(--gold));
}

.meter-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

.meter-block p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted-dark);
}

.numbers-aside {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(31, 111, 91, 0.12);
  border: 1px dashed var(--border-jade);
}

.numbers-aside p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted-dark);
}

.rg-line {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

/* Jogabilidade checklist */
.control-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.control-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(31, 111, 91, 0.15);
  box-shadow: var(--shadow-soft);
}

.control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface-mid);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.control-item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
}

.control-item span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Mobile split */
.mobile-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.mobile-visual {
  margin: 0;
  display: flex;
  justify-content: center;
}

.mobile-visual img {
  width: min(100%, 220px);
  border-radius: var(--radius-xl);
  border: 3px solid var(--jade);
  box-shadow: var(--shadow-panel);
}

.platform-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  border: 1px solid var(--border-jade);
  color: var(--text-on-dark);
  font-size: 0.92rem;
}

.platform-row em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-soft);
  min-width: 4.5rem;
}

/* FAQ groups */
.faq-groups {
  display: grid;
  gap: 2rem;
}

.faq-group h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--jade);
  letter-spacing: 0.02em;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 26, 22, 0.1);
}

.faq-item summary {
  padding: 0.85rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--jade);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Play banner */
.play-banner {
  padding: 2rem 1.25rem;
  background: linear-gradient(135deg, var(--lacquer-deep), var(--lacquer));
  color: #fff;
  text-align: center;
}

.play-banner-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.play-banner h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.play-banner p {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

.play-banner .btn--gold {
  min-width: 200px;
}

/* Footer — text-only, no logo repeat */
.site-footer {
  padding: 2rem 1.25rem 2.5rem;
  background: var(--surface-deep);
  color: var(--text-muted-dark);
  border-top: 1px solid var(--border-jade);
}

.footer-shell {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--lacquer);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--text-muted-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--gold-soft);
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 48rem;
}

/* Responsive */
@media (min-width: 640px) {
  .spec-rail {
    grid-template-columns: repeat(4, 1fr);
  }

  .spec-cell {
    border-bottom: none;
  }

  .spec-cell:not(:last-child) {
    border-right: 1px solid var(--border-jade);
  }

  .spec-cell:nth-child(2n) {
    border-right: 1px solid var(--border-jade);
  }

  .spec-cell:nth-child(4n) {
    border-right: none;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
    padding: 0;
    background: transparent;
    border: none;
    margin-left: auto;
  }

  .site-nav a {
    padding: 0.35rem 0;
    border: none;
    font-size: 0.85rem;
    color: var(--text-muted-dark);
  }

  .site-nav a:hover {
    color: var(--gold-soft);
  }

  .header-cta {
    display: inline-flex;
  }

  .header-age {
    display: inline-flex;
  }

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

  .hero-panel {
    padding: 3rem 1.25rem 2.5rem;
    max-width: 38rem;
  }

  .demo-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .board-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .numbers-panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .mobile-split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hero-art img {
    left: 0;
    width: min(48vw, 560px);
  }

  .hero-panel {
    padding-right: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
