:root {
  --bg: #070d16;
  --bg-deep: #04070f;
  --cave: #12263b;
  --cave-soft: #1b3551;
  --wood-dark: #4d2c14;
  --wood-mid: #7a4820;
  --wood-light: #b9783f;
  --gold: #ffc84d;
  --gold-deep: #ff9d20;
  --gold-soft: #fff1c1;
  --paper: #fff2d3;
  --text: #fff7ea;
  --muted: #dfc596;
  --line: rgba(255, 223, 158, 0.18);
  --cyan: #44d7ff;
  --green: #78dc30;
  --red: #f45d32;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  --font-display: "Cooper Black", "Rockwell Extra Bold", "Georgia", serif;
  --font-body: "Trebuchet MS", "Verdana", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(68, 215, 255, 0.12), transparent 24%),
    radial-gradient(circle at 50% 35%, rgba(255, 200, 77, 0.18), transparent 34%),
    linear-gradient(180deg, #08101b 0%, #08111b 42%, #160c05 100%);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(transparent 0 96%, rgba(255, 255, 255, 0.22) 96% 100%),
    linear-gradient(90deg, transparent 0 96%, rgba(255, 255, 255, 0.12) 96% 100%);
  background-size: 100% 3px, 4px 100%;
  mix-blend-mode: screen;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  background: rgba(8, 14, 23, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 220, 148, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-coin {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  color: #6d3700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  background: radial-gradient(circle at 35% 30%, #fff7c5, #ffc84d 45%, #e57f12 100%);
  box-shadow:
    0 0 0 2px rgba(255, 218, 122, 0.18),
    0 0 24px rgba(255, 191, 72, 0.48);
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.site-nav {
  display: inline-flex;
  gap: 1.4rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 200, 77, 0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.button,
.header-cta,
.system-tab,
.modal-close {
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.header-cta:hover,
.system-tab:hover,
.modal-close:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.header-cta,
.button {
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
}

.header-cta,
.button-primary {
  color: #5a2c00;
  font-weight: 700;
  background: linear-gradient(180deg, #ffe89a, #ffb43c 46%, #ff8d18 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 24px rgba(255, 164, 39, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 226, 171, 0.08);
  border: 1px solid rgba(255, 209, 120, 0.26);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 6.6rem 0 2.2rem;
  overflow: clip;
}

.hero-backdrop,
.hero-glow,
.hero-rays {
  position: absolute;
  inset: 0;
}

.hero-glow {
  filter: blur(44px);
}

.hero-glow-a {
  inset: 8% auto auto 58%;
  width: min(32vw, 420px);
  height: min(32vw, 420px);
  background: radial-gradient(circle, rgba(68, 215, 255, 0.22), transparent 70%);
}

.hero-glow-b {
  inset: auto auto 0 4%;
  width: min(38vw, 500px);
  height: min(38vw, 500px);
  background: radial-gradient(circle, rgba(255, 180, 56, 0.18), transparent 74%);
}

.hero-rays {
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 198, 77, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 56%);
}

.hero-layout,
.section,
.site-footer {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.82fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
}

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

.eyebrow,
.section-kicker,
.board-kicker,
.stage-kicker,
.policy-tag,
.form-kicker,
.reward-kicker {
  margin: 0 0 0.9rem;
  color: #ffd37a;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 4.85rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-text {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-media-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.hero-media-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 245, 219, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(132, 79, 40, 0.32), rgba(56, 29, 12, 0.72));
  border: 1px solid rgba(255, 219, 154, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.hero-media-card::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(255, 245, 219, 0.08);
  border-radius: 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.hero-media-card img {
  display: block;
  width: 100%;
  height: 8rem;
  object-fit: cover;
  object-position: top center;
}

.hero-media-card figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 3;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: #fff7e6;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(9, 14, 22, 0.7);
  backdrop-filter: blur(6px);
}

.hero-facts span,
.system-stats span,
.reward-copy span,
.throughput-pill span {
  display: block;
  color: rgba(255, 234, 195, 0.76);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-facts strong,
.system-stats strong,
.throughput-pill strong,
.reward-copy strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1rem;
}

.hero-stage {
  display: flex;
  justify-content: center;
}

.phone-shell {
  position: relative;
  width: min(100%, 372px);
  min-height: 39.5rem;
  padding: 0.95rem 0.85rem 0.85rem;
  border-radius: 2.2rem;
  background:
    linear-gradient(180deg, rgba(255, 241, 193, 0.12), transparent 22%),
    linear-gradient(180deg, #20344f 0%, #162538 18%, #2a180b 18.1%, #3b2412 100%);
  border: 2px solid rgba(255, 218, 122, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 251, 227, 0.08),
    var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: floatStage 5.6s ease-in-out infinite;
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(255, 237, 204, 0.08);
  pointer-events: none;
}

.phone-gallery-surface {
  position: relative;
  min-height: 37.7rem;
  height: 100%;
  overflow: hidden;
  border-radius: 1.7rem;
  background: linear-gradient(180deg, #121b27, #0a1018);
}

.phone-gallery-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 208, 96, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%);
  pointer-events: none;
  z-index: 2;
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-shot figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 4;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #fff7e6;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(8, 12, 18, 0.68);
  backdrop-filter: blur(6px);
}

.phone-shot-main {
  position: relative;
  height: 100%;
}

.phone-shot-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.12), transparent 20%, transparent 74%, rgba(7, 11, 18, 0.46)),
    linear-gradient(90deg, rgba(7, 11, 18, 0.12), transparent 20%, transparent 80%, rgba(7, 11, 18, 0.12));
  pointer-events: none;
}

.phone-shot-main img {
  object-position: top center;
}

.phone-shot-inset {
  position: absolute;
  right: 0.9rem;
  bottom: 1rem;
  z-index: 3;
  width: 42%;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 2px solid rgba(255, 220, 149, 0.24);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 220, 149, 0.08);
  transform: rotate(7deg);
}

.phone-shot-inset img {
  aspect-ratio: 9 / 18;
  object-position: top center;
}

.phone-shot-inset figcaption {
  left: 0.7rem;
  bottom: 0.7rem;
}

.phone-float-chip {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.8rem;
  border-radius: 1rem;
  color: #fff7e8;
  background: rgba(8, 12, 18, 0.64);
  border: 1px solid rgba(255, 224, 159, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.phone-float-chip span {
  color: rgba(255, 234, 195, 0.74);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.phone-float-chip strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

.phone-float-chip-a {
  top: 0.9rem;
  left: 0.9rem;
  max-width: 62%;
}

.phone-float-chip-b {
  left: 0.9rem;
  bottom: 5.4rem;
}

.phone-float-chip-c {
  top: 5.4rem;
  right: 0.9rem;
}

.phone-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.btc-bar,
.gem-pill,
.throughput-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
}

.btc-bar {
  flex: 1;
  min-height: 3.3rem;
  padding: 0.45rem 0.8rem 0.45rem 0.45rem;
  color: #fff6d2;
  background: linear-gradient(180deg, #55240f, #37170b);
  border: 3px solid #c58b23;
  box-shadow:
    inset 0 0 0 2px rgba(255, 202, 93, 0.12),
    0 0 30px rgba(255, 183, 61, 0.12);
}

.btc-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  flex: none;
  color: #6d3600;
  font-family: var(--font-display);
  font-size: 1.05rem;
  background: radial-gradient(circle at 35% 30%, #fff8c9, #ffca53 50%, #df7e18 100%);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.42);
}

.btc-bar strong {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 2.4vw, 1.3rem);
  letter-spacing: 0.05em;
}

.gem-pill {
  min-width: 5.8rem;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  background: rgba(5, 9, 16, 0.72);
}

.gem-icon {
  width: 1rem;
  height: 1rem;
  background: linear-gradient(180deg, #7ef0ff, #17b7ff);
  clip-path: polygon(50% 0%, 100% 34%, 78% 100%, 22% 100%, 0% 34%);
  filter: drop-shadow(0 0 12px rgba(68, 215, 255, 0.42));
}

.tool-rail {
  position: absolute;
  top: 5.9rem;
  left: 0.85rem;
  z-index: 3;
  display: grid;
  gap: 0.55rem;
}

.tool-rail span {
  display: grid;
  place-items: center;
  width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.35rem 0.15rem;
  text-align: center;
  color: #f6e7bf;
  font-size: 0.65rem;
  line-height: 1.1;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(238, 245, 250, 0.24), rgba(139, 163, 181, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.mine-scene {
  position: relative;
  margin-top: 0.8rem;
  height: 19.8rem;
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 50% 12%, rgba(138, 213, 255, 0.22), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(255, 198, 77, 0.14), transparent 24%),
    linear-gradient(180deg, #1b2e45 0%, #12263b 38%, #0f1a29 100%);
  overflow: hidden;
}

.mine-scene::before,
.mine-scene::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  width: 9rem;
  height: 10rem;
  background: linear-gradient(180deg, #23374f, #101e31);
  filter: brightness(0.8);
}

.mine-scene::before {
  left: -1rem;
  clip-path: polygon(0 100%, 18% 26%, 44% 8%, 62% 28%, 100% 0, 100% 100%);
}

.mine-scene::after {
  right: -1rem;
  clip-path: polygon(0 0, 38% 24%, 56% 2%, 82% 18%, 100% 100%, 0 100%);
}

.tunnel-mouth {
  position: absolute;
  inset: 1.2rem 22% auto;
  height: 12rem;
  border-radius: 0 0 999px 999px;
  background:
    radial-gradient(circle at 50% 68%, rgba(131, 219, 255, 0.22), transparent 26%),
    linear-gradient(180deg, rgba(11, 23, 38, 0.25), rgba(6, 11, 19, 0.95));
  clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
}

.rail-lines {
  position: absolute;
  inset: auto 12% 9.2rem;
  height: 9rem;
  transform: perspective(540px) rotateX(64deg);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 221, 170, 0) 0 16%,
      rgba(112, 81, 49, 0.95) 16% 18.5%,
      rgba(255, 221, 170, 0) 18.5% 48%,
      rgba(112, 81, 49, 0.95) 48% 50.5%,
      rgba(255, 221, 170, 0) 50.5% 100%
    ),
    repeating-linear-gradient(
      180deg,
      rgba(76, 49, 23, 0.96) 0 8px,
      rgba(76, 49, 23, 0) 8px 20px
    );
  opacity: 0.85;
}

.gold-core {
  position: absolute;
  left: 50%;
  bottom: 3.8rem;
  width: 16rem;
  height: 12rem;
  transform: translateX(-50%);
  background:
    linear-gradient(145deg, #fff7bc 0%, #ffc33b 28%, #ffab1f 54%, #d67b0f 100%);
  clip-path: polygon(15% 92%, 0 48%, 18% 16%, 44% 0, 68% 7%, 90% 22%, 100% 50%, 82% 91%, 58% 100%, 37% 96%);
  filter: drop-shadow(0 0 26px rgba(255, 201, 88, 0.38));
}

.gold-core::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.48), transparent 34%),
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.45), transparent 20%);
  clip-path: inherit;
}

.shine {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: radial-gradient(circle, #fff9e0 0%, rgba(255, 255, 255, 0) 72%);
  animation: starBlink 2.3s ease-in-out infinite;
}

.shine-a {
  top: 1.5rem;
  left: 4rem;
}

.shine-b {
  right: 4.4rem;
  top: 4rem;
  animation-delay: 0.4s;
}

.shine-c {
  bottom: 1.6rem;
  left: 7rem;
  animation-delay: 0.8s;
}

.worker {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  color: #5a2f0e;
  font-family: var(--font-display);
  font-size: 1rem;
  background: linear-gradient(180deg, #ffe3a9, #ffb548);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 18px rgba(0, 0, 0, 0.24);
  animation: workerBob 2.6s ease-in-out infinite;
}

.worker::after {
  content: "";
  position: absolute;
  width: 1.1rem;
  height: 0.26rem;
  background: #9a6330;
  border-radius: 999px;
  transform: rotate(-32deg) translateX(1.15rem);
}

.worker::before {
  content: "";
  position: absolute;
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 0.14rem;
  background: linear-gradient(180deg, #dbe6ef, #8aa0b2);
  transform: rotate(-34deg) translateX(1.55rem) translateY(-0.08rem);
}

.worker-a {
  left: 3.6rem;
  bottom: 7rem;
}

.worker-b {
  left: 7.3rem;
  bottom: 12rem;
  animation-delay: 0.2s;
}

.worker-c {
  left: 10.7rem;
  bottom: 5.8rem;
  animation-delay: 0.4s;
}

.worker-d {
  right: 9rem;
  bottom: 12.4rem;
  animation-delay: 0.6s;
}

.worker-e {
  right: 5.2rem;
  bottom: 7.1rem;
  animation-delay: 0.8s;
}

.worker-f {
  right: 2.4rem;
  bottom: 10.1rem;
  animation-delay: 1s;
}

.coin-pop {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  color: #7a3f09;
  font-family: var(--font-display);
  font-size: 0.7rem;
  background: linear-gradient(180deg, #fff0a4, #ffc84d 55%, #ef8f14);
  box-shadow: 0 0 16px rgba(255, 195, 74, 0.42);
  animation: coinRise 2.8s ease-in-out infinite;
}

.coin-pop-a {
  left: 4rem;
  bottom: 10.2rem;
}

.coin-pop-b {
  left: 11rem;
  bottom: 14rem;
  animation-delay: 0.5s;
}

.coin-pop-c {
  right: 7.2rem;
  bottom: 13rem;
  animation-delay: 0.9s;
}

.coin-pop-d {
  right: 3rem;
  bottom: 9.5rem;
  animation-delay: 1.4s;
}

.throughput-pill {
  position: relative;
  z-index: 2;
  justify-content: center;
  margin: 0.75rem auto 0;
  width: min(92%, 17rem);
  padding: 0.7rem 0.9rem;
  color: #fff7e4;
  background: linear-gradient(180deg, #c18340, #8d5220);
  border: 2px solid rgba(99, 53, 18, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 195, 0.4),
    0 14px 24px rgba(0, 0, 0, 0.2);
}

.crew-board {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.7rem;
  padding: 0.55rem 0.1rem 0.1rem;
}

.recruit-slot,
.crew-card {
  min-height: 5.1rem;
  padding: 0.55rem 0.38rem;
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, #f7dda3, #efc977 44%, #dbab54 100%);
  border: 2px solid rgba(84, 43, 12, 0.3);
  color: #5e3517;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 224, 0.5),
    0 10px 18px rgba(0, 0, 0, 0.16);
}

.recruit-slot {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(82, 46, 18, 0.12) 0 10px, rgba(82, 46, 18, 0.04) 10px 20px),
    linear-gradient(180deg, #6a401e, #4a2912);
  border: 2px dashed rgba(255, 224, 149, 0.35);
  color: #f3c25c;
}

.recruit-slot small,
.crew-card small {
  display: block;
  font-size: 0.6rem;
}

.recruit-slot strong,
.crew-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
}

.crew-rate {
  display: inline-flex;
  padding: 0.16rem 0.34rem;
  border-radius: 999px;
  font-size: 0.52rem;
  color: #f8ffe7;
  background: linear-gradient(180deg, #64d146, #32a62e);
}

.crew-card-featured {
  outline: 2px solid rgba(255, 183, 47, 0.42);
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.7rem;
  padding: 0.65rem 0.2rem 0 0.2rem;
  border-top: 2px solid rgba(67, 34, 13, 0.52);
}

.bottom-nav span {
  text-align: center;
  color: rgba(255, 243, 214, 0.88);
  font-size: 0.66rem;
  font-weight: 700;
}

.bottom-nav .active {
  color: #ffd46d;
}

.section {
  padding: 6.5rem 0;
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2.4rem;
}

.section-head h2,
.system-copy h3,
.policy-panel h3,
.faq-item h3,
.support-form h3,
.reward-dialog h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-layout,
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 2rem;
  align-items: start;
}

.about-copy > p,
.system-text,
.faq-item p,
.policy-panel li,
.support-feedback,
.reward-note,
.board-note {
  color: var(--muted);
  line-height: 1.8;
}

.about-rail {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.about-rail article,
.info-board,
.system-stage,
.policy-panel,
.support-form {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 234, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(140, 85, 42, 0.26), rgba(69, 34, 14, 0.56));
  border: 1px solid rgba(255, 219, 154, 0.14);
  box-shadow: var(--shadow);
}

.about-rail article::before,
.info-board::before,
.system-stage::before,
.policy-panel::before,
.support-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 237, 201, 0.06);
  pointer-events: none;
}

.about-rail article h3,
.info-board h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.about-rail article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.board-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0 0 1.4rem;
  list-style: none;
}

.board-list li {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.systems-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.4rem;
}

.system-tabs {
  display: grid;
  gap: 0.8rem;
}

.system-tab {
  padding: 1rem 1rem;
  text-align: left;
  color: var(--muted);
  background: rgba(255, 239, 202, 0.04);
  border: 1px solid rgba(255, 220, 149, 0.12);
}

.system-tab.is-active {
  color: #5e2d00;
  background: linear-gradient(180deg, #ffe89e, #ffbc47 50%, #ff9720 100%);
}

.system-stage {
  min-height: 34rem;
}

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

.system-copy h3 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
}

.system-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.system-points {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.system-points li {
  position: relative;
  padding-left: 1rem;
  color: #f7e7c7;
  line-height: 1.7;
}

.system-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 1px;
  background: rgba(255, 200, 77, 0.92);
}

.system-preview {
  margin-top: 1.8rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 235, 194, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(27, 43, 64, 0.84), rgba(29, 16, 9, 0.82));
  border: 1px solid rgba(255, 220, 149, 0.12);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 228, 170, 0.12);
}

.preview-top strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  color: #4f2a00;
  font-size: 0.74rem;
  font-weight: 700;
  background: linear-gradient(180deg, #fff1c7, #ffcd63 54%, #ef9122 100%);
}

.preview-grid,
.preview-store-grid,
.preview-reward-grid,
.preview-task-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

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

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

.preview-card,
.preview-store-card,
.preview-day,
.preview-task,
.preview-hero-card {
  min-height: 7rem;
  padding: 0.85rem;
  border-radius: 1rem;
  color: #582d0b;
  background:
    linear-gradient(180deg, #fff2cb, #f7d78b 54%, #e8b65b 100%);
  border: 2px solid rgba(88, 45, 11, 0.2);
}

.preview-card strong,
.preview-store-card strong,
.preview-day strong,
.preview-task strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.preview-card small,
.preview-store-card small,
.preview-day small,
.preview-task small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
}

.preview-store-card .off-tag {
  display: inline-flex;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  color: #fff6ef;
  background: linear-gradient(180deg, #ff8353, #e4431d);
  font-size: 0.62rem;
}

.preview-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.preview-task .task-copy {
  flex: 1;
}

.task-bar {
  position: relative;
  height: 0.62rem;
  margin-top: 0.55rem;
  background: rgba(93, 50, 18, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.task-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #63dc43, #2cb629);
}

.task-claim {
  flex: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: #fffbee;
  font-size: 0.74rem;
  font-weight: 700;
  background: linear-gradient(180deg, #7fe655, #42ba2d);
}

.preview-day {
  text-align: center;
}

.preview-day em {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 1.4rem;
}

.preview-store-card b {
  display: block;
  margin-top: 0.65rem;
  font-size: 1.2rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.policy-panel h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.policy-panel ul {
  display: grid;
  gap: 0.9rem;
  padding-left: 1.1rem;
  margin: 0;
}

.policy-link {
  display: inline-flex;
  margin-top: 1.25rem;
  color: #ffd881;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  text-transform: none;
  font-family: var(--font-display);
}

.support-form {
  display: grid;
  gap: 1rem;
}

.support-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(255, 247, 224, 0.06);
  border: 1px solid rgba(255, 224, 149, 0.14);
  outline: none;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: rgba(255, 198, 77, 0.44);
}

.support-form textarea {
  resize: vertical;
}

.support-feedback {
  margin-top: 1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 2.6rem;
  border-top: 1px solid rgba(255, 228, 170, 0.08);
}

.site-footer strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

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

.site-footer nav {
  display: inline-flex;
  gap: 1.2rem;
  color: var(--muted);
}

.reward-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(5, 8, 14, 0.76);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.reward-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.reward-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 212, 89, 0.26), transparent 24%),
    linear-gradient(180deg, rgba(255, 246, 214, 0.1), transparent 18%),
    linear-gradient(180deg, #75431d 0%, #4c2b14 100%);
  border: 2px solid rgba(255, 211, 122, 0.22);
  box-shadow: var(--shadow);
}

.reward-dialog::before {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(255, 243, 214, 0.08);
  pointer-events: none;
}

.reward-dialog h3 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.55rem 0.9rem;
  color: #fff8e7;
  background: rgba(255, 255, 255, 0.08);
}

.reward-showcase {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin: 1.8rem 0 1.2rem;
  padding: 2.2rem 1rem 1.2rem;
}

.reward-glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 84, 0.42), transparent 68%);
  filter: blur(10px);
}

.reward-miner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  color: #643007;
  font-family: var(--font-display);
  font-size: 2rem;
  background: linear-gradient(180deg, #fff1bc, #ffbd49 55%, #f28e1a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 14px 24px rgba(0, 0, 0, 0.28);
}

.reward-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.reward-copy small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.reward-note {
  margin: 0 0 1.2rem;
}

.has-motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.has-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.gift-claimed .phone-shell {
  box-shadow:
    inset 0 0 0 1px rgba(255, 251, 227, 0.08),
    0 0 0 1px rgba(255, 208, 96, 0.28),
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 40px rgba(255, 192, 67, 0.18);
}

@keyframes floatStage {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes coinRise {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.95;
  }

  50% {
    transform: translateY(-18px) scale(1.05);
    opacity: 1;
  }
}

@keyframes workerBob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes starBlink {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .about-layout,
  .systems-layout,
  .policy-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

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

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.95rem 1rem;
  }

  .site-nav {
    display: none;
  }

  .hero-layout,
  .section,
  .site-footer {
    width: min(100% - 1.4rem, 1220px);
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 13vw, 3.9rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-facts,
  .system-stats,
  .preview-grid,
  .preview-store-grid,
  .preview-reward-grid,
  .crew-board,
  .bottom-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media-card img {
    height: 9rem;
  }

  .phone-gallery-surface {
    min-height: 34rem;
  }

  .phone-shot-inset {
    width: 38%;
  }

  .preview-task {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .hero-facts,
  .system-stats {
    grid-template-columns: 1fr;
  }

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

  .phone-shell {
    min-height: 36rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .phone-gallery-surface {
    min-height: 33rem;
  }

  .mine-scene {
    height: 18rem;
  }

  .tool-rail {
    top: 5.4rem;
    left: 0.8rem;
  }

  .tool-rail span {
    width: 2.6rem;
    min-height: 2.6rem;
    font-size: 0.64rem;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
