:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5f6677;
  --paper: #fffaf1;
  --panel: #ffffff;
  --line: rgba(23, 32, 51, 0.12);
  --teal: #0f9f9a;
  --green: #2e8f4f;
  --crimson: #cc3f4b;
  --gold: #e0a425;
  --violet: #5b4b8a;
  --shadow: 0 24px 70px rgba(31, 25, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf1 0%, #f3f7f2 40%, #fff7eb 100%);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 12px 40px rgba(31, 25, 15, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--crimson));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(204, 63, 75, 0.3);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  opacity: 0.76;
  font-size: 0.74rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .main-nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.main-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: currentColor;
  font-size: 0.92rem;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .main-nav a:hover {
  background: rgba(15, 159, 154, 0.1);
}

.header-action {
  justify-self: end;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15, 159, 154, 0.26);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(18px, 6vw, 80px) 84px;
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(1.18) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 38, 0.84) 0%, rgba(16, 24, 38, 0.48) 44%, rgba(16, 24, 38, 0.1) 100%),
    linear-gradient(180deg, rgba(16, 24, 38, 0.3) 0%, rgba(16, 24, 38, 0.18) 48%, rgba(16, 24, 38, 0.76) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--crimson);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf6e;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  max-width: 900px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.primary-action,
.secondary-action,
.notify-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary-action {
  padding: 14px 22px;
  color: #1e1720;
  background: #ffcf6e;
}

.secondary-action {
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
}

.live-panel {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 52px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.live-panel div {
  padding: 18px 20px;
  background: rgba(13, 21, 35, 0.6);
}

.live-panel span,
.live-panel strong {
  display: block;
}

.live-panel span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
}

.live-panel strong {
  font-size: 1.35rem;
}

.section {
  padding: 96px clamp(18px, 6vw, 80px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.reward-copy p,
.timeline p,
.faq-list p,
.download-section p {
  color: var(--muted);
  line-height: 1.72;
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(2, minmax(220px, 0.9fr));
  gap: 18px;
}

.game-card {
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(31, 25, 15, 0.08);
}

.game-card p,
.game-card li {
  color: var(--muted);
  line-height: 1.65;
}

.game-card ul {
  padding-left: 18px;
  margin: 22px 0 0;
}

.featured-card {
  display: grid;
  grid-template-rows: 1fr auto auto;
  color: #fff;
  background: linear-gradient(135deg, #284a56, #19313f);
}

.featured-card p {
  color: rgba(255, 255, 255, 0.78);
}

.board-art {
  position: relative;
  min-height: 210px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 10px solid #a55b34;
  border-radius: 8px;
  background: #f3c382;
  box-shadow: inset 0 0 0 2px rgba(39, 25, 12, 0.2);
}

.board-art .point {
  position: relative;
  float: left;
  width: calc(100% / 6);
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 50% 72%);
}

.board-art .point.dark {
  background: #7f3540;
}

.board-art .point.light {
  background: #f9dfac;
}

.board-art .bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 8px);
  width: 16px;
  background: rgba(82, 38, 21, 0.78);
}

.checker {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.48), 0 8px 16px rgba(29, 18, 8, 0.2);
}

.checker.one,
.checker.three {
  background: #f8fbf8;
}

.checker.two,
.checker.four {
  background: #202a33;
}

.checker.one { left: 26px; bottom: 28px; }
.checker.two { left: 78px; bottom: 28px; }
.checker.three { right: 74px; top: 28px; }
.checker.four { right: 24px; top: 28px; }

.feature-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 40px;
  align-items: start;
  color: #fff;
  background: #19313f;
}

.feature-copy {
  position: sticky;
  top: 120px;
}

.feature-copy .eyebrow {
  color: #79d6bf;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.feature-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.68;
}

.feature-number {
  display: inline-block;
  margin-bottom: 22px;
  color: #ffcf6e;
  font-weight: 900;
}

.reward-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.reward-showcase {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 159, 154, 0.18), rgba(204, 63, 75, 0.12)),
    #fff;
  box-shadow: var(--shadow);
}

.reward-icon,
.currency {
  position: absolute;
  filter: drop-shadow(0 14px 20px rgba(31, 25, 15, 0.18));
}

.reward-icon.checkin {
  width: 96px;
  top: 36px;
  left: 42px;
}

.reward-icon.rank {
  width: 92px;
  top: 72px;
  right: 64px;
}

.reward-icon.task {
  width: 108px;
  right: 42px;
  bottom: 68px;
}

.currency.gold {
  width: 210px;
  left: 48px;
  bottom: 52px;
}

.currency.diamond {
  width: 236px;
  top: 164px;
  left: 50%;
  transform: translateX(-42%);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat-row div {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row strong {
  color: var(--teal);
  font-size: 1.5rem;
}

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

.roadmap-section {
  background: #f4f0e7;
}

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

.timeline article {
  padding: 26px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(31, 25, 15, 0.08);
}

.timeline span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--crimson);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

summary {
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  margin: 0 clamp(18px, 6vw, 80px) 90px;
  padding: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #233a4a, #2e8f4f);
  box-shadow: var(--shadow);
}

.download-section .eyebrow {
  color: #ffcf6e;
}

.download-section p {
  color: rgba(255, 255, 255, 0.78);
}

.notify-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

.notify-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.notify-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
}

.notify-form input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.notify-form button {
  padding: 0 20px;
  color: #1d1720;
  background: #ffcf6e;
}

.form-note {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: #fffaf1;
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer a {
  align-self: center;
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .game-grid,
  .feature-band,
  .reward-layout,
  .download-section {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    position: static;
  }

  .live-panel {
    left: clamp(18px, 6vw, 80px);
    right: clamp(18px, 6vw, 80px);
    bottom: 26px;
  }

  .hero {
    min-height: 980px;
    align-items: start;
    padding-top: 140px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-action {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 890px;
    padding: 116px 18px 220px;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }

  .live-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 18px;
  }

  .game-card {
    min-height: 0;
    padding: 24px;
  }

  .reward-showcase {
    min-height: 360px;
  }

  .currency.gold {
    width: 160px;
  }

  .currency.diamond {
    width: 180px;
  }

  .stat-row,
  .timeline,
  .notify-form div {
    grid-template-columns: 1fr;
  }

  .download-section {
    margin: 0 18px 70px;
    padding: 26px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 16px;
  }
}
