:root {
  --bg: #0f0b09;
  --panel: rgba(28, 20, 15, 0.9);
  --panel-strong: rgba(21, 15, 11, 0.96);
  --line: rgba(201, 157, 112, 0.26);
  --line-strong: rgba(201, 157, 112, 0.45);
  --text: #f7ede1;
  --text-soft: #cdb397;
  --accent: #cb8a4b;
  --accent-2: #aa6631;
  --ok: #85d39e;
  --radius-xl: 24px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 12% -15%, #4b3222 0%, #241911 34%, var(--bg) 74%);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
strong {
  font-family: "Sora", sans-serif;
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.bg-grid,
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

.bg-grid {
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(179, 143, 106, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 143, 106, 0.15) 1px, transparent 1px);
  background-size: 36px 36px;
}

.bg-glow {
  width: 720px;
  height: 720px;
  right: -240px;
  top: -80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(203, 138, 75, 0.22), rgba(203, 138, 75, 0));
  filter: blur(26px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  position: relative;
  z-index: 20;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(236, 191, 132, 0.52);
  background: linear-gradient(145deg, rgba(203, 138, 75, 0.32), rgba(153, 93, 52, 0.24));
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
}

.brand-kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d0ad84;
  font-weight: 700;
}

.top-nav {
  display: flex;
  gap: 8px;
}

.top-nav a {
  text-decoration: none;
  color: #ead5bc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(50, 36, 28, 0.86);
}

.top-nav a:hover {
  border-color: var(--line-strong);
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

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

.btn.primary {
  color: #fff7eb;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.btn.ghost {
  color: #f4e4cf;
  border: 1px solid var(--line);
  background: rgba(50, 36, 28, 0.88);
}

.page {
  display: grid;
  gap: 14px;
  padding-bottom: 22px;
}

.section,
.hero {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), var(--panel-strong));
  box-shadow: 0 24px 56px rgba(7, 5, 4, 0.54);
  padding: 16px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.kicker {
  margin: 0;
  color: #d4b089;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.hero h1 {
  margin-top: 8px;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.08;
}

.lead {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.5;
}

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

.chip-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-row span {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(64, 46, 35, 0.84);
  color: #eddbc6;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
}

.value-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.value-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(49, 35, 27, 0.86);
  padding: 12px;
}

.value-card p {
  margin: 7px 0 0;
  color: var(--text-soft);
  line-height: 1.48;
}

.scenario-tabs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scenario-tab {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(52, 37, 28, 0.88);
  color: #f1e0c9;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.scenario-tab.is-active {
  border-color: rgba(203, 138, 75, 0.62);
  background: rgba(203, 138, 75, 0.2);
  color: #fff1de;
}

.scenario-card {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(35, 25, 19, 0.9);
  padding: 13px;
}

.scenario-card p {
  margin: 7px 0 0;
  color: var(--text-soft);
}

.scenario-list {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 5px;
  color: #efdfca;
}

.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.board-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(35, 25, 19, 0.9);
  padding: 12px;
}

.board-card p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.counter-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.counter-grid div {
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(55, 39, 29, 0.84);
  padding: 8px;
  display: grid;
  gap: 5px;
}

.counter-grid span {
  font-size: 11px;
  color: #cfaf88;
}

.counter-grid strong {
  font-size: 28px;
}

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

.counter-grid.live-real strong {
  font-size: clamp(22px, 3.2vw, 34px);
}

.live-caption {
  margin-top: 8px;
  color: #c9ab85;
  font-size: 12px;
}

.promo-kicker {
  margin: 0;
  color: #d9b78f;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.promo-progress {
  margin-top: 10px;
  border-radius: 999px;
  height: 10px;
  background: rgba(87, 63, 46, 0.46);
  overflow: hidden;
}

.promo-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: width 300ms ease;
}

.promo-actions {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.promo-actions input {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(17, 13, 11, 0.94);
  color: #f8ebda;
  padding: 10px;
}

.promo-claim-status {
  margin: 0;
  border-radius: 10px;
  border: 1px solid rgba(200, 153, 108, 0.42);
  background: rgba(73, 52, 37, 0.46);
  color: #f2d9bd;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
}

.promo-hint {
  margin: 0;
  color: #c7a27b;
  font-size: 12px;
}

.inline-link {
  color: #f0c692;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.faq details {
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(50, 36, 28, 0.86);
  padding: 10px 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.cta {
  text-align: center;
}

.cta h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.cta .hero-actions {
  justify-content: center;
}

.footer {
  padding: 6px 0 24px;
  text-align: center;
  color: #b69573;
  font-size: 12px;
}

.footer-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-links a {
  color: #e5caab;
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 157, 112, 0.5);
}

.footer-links a:hover {
  color: #f4ddc1;
  border-bottom-color: rgba(201, 157, 112, 0.85);
}

.legal-wrap {
  display: grid;
  gap: 14px;
  padding-bottom: 24px;
}

.legal-nav {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(38, 27, 20, 0.9), rgba(23, 17, 12, 0.96));
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-nav a {
  text-decoration: none;
  color: #f0d7bc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(56, 40, 30, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.legal-nav a.is-active {
  border-color: var(--line-strong);
  background: rgba(203, 138, 75, 0.26);
}

.legal-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), var(--panel-strong));
  box-shadow: 0 24px 56px rgba(7, 5, 4, 0.54);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.legal-card h1 {
  font-size: clamp(26px, 4vw, 40px);
}

.legal-card h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.legal-meta {
  color: var(--text-soft);
  font-size: 13px;
}

.legal-card section {
  border-top: 1px solid rgba(201, 157, 112, 0.22);
  padding-top: 10px;
}

.legal-card p,
.legal-card li {
  color: #e8d1b4;
  line-height: 1.52;
}

.legal-card ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

@media (max-width: 980px) {
  .hero,
  .board,
  .value-grid,
  .counter-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
