:root {
  --bg: #000;
  --card: #12181c;
  --card-2: #0d1216;
  --line: rgba(50, 205, 50, 0.22);
  --green: #32cd32;
  --green-2: #2bb92b;
  --lime: #b6ff3c;
  --ink: #0d1b2a;
  --text: #ffffff;
  --muted: #a8b3ab;
  --bar: 76px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 480px at 50% 120px, rgba(50, 205, 50, 0.14), transparent 62%),
    #000;
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: calc(var(--bar) + 18px);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(50, 205, 50, 0.045) 0 1px,
    transparent 1px 32px
  );
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 78%, transparent);
  z-index: 0;
}
img { max-width: 100%; height: auto; display: block; }
button, a { font-family: inherit; }
button { cursor: pointer; }
.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid #142016;
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand { display: flex; align-items: center; margin-right: auto; min-width: 0; max-width: calc(100% - 56px); }
.brand img { width: 168px; max-width: 100%; height: auto; }
.site-nav { display: none; gap: 22px; }
.site-nav a {
  color: #d7e2d8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-nav a:hover { color: var(--lime); }
.header-download,
.btn,
.mix,
.download-bar-btn {
  border: 0;
  color: var(--ink);
  background: linear-gradient(145deg, var(--green), var(--green-2));
  font-weight: 800;
  letter-spacing: 0.04em;
}
.header-download {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
}
.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid var(--green);
  background: #050805;
  color: var(--lime);
  display: grid;
  gap: 5px;
  place-content: center;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--lime);
}

.ticker {
  position: relative;
  z-index: 1;
  height: 86px;
  margin-top: 14px;
  overflow: hidden;
}
.live {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--green);
  color: #062006;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px 0 4px 0;
  box-shadow: 0 0 8px rgba(50, 205, 50, 0.55);
}
.ticker-window {
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 54px;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 120s linear infinite;
  will-change: transform;
}
.tick {
  display: flex;
  align-items: center;
  flex: none;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 0 12px;
  padding: 8px 14px;
  min-width: 180px;
  min-height: 50px;
}
.tick img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.tick strong { display: block; color: #00ff00; font-size: 12px; white-space: nowrap; }
.tick span { color: #ccc; font-size: 12px; white-space: nowrap; }
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero { text-align: center; padding: 22px 0 4px; }
.kicker {
  margin: 0 0 10px;
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 13px;
  line-height: 1.4;
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero-sub {
  max-width: 680px;
  margin: 14px auto 0;
  color: #d5ddd6;
  font-size: 16px;
  line-height: 1.45;
}
.hero-cta { margin-top: 22px; }
.btn {
  min-width: 220px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
}
.btn:hover, .mix:hover, .header-download:hover, .download-bar-btn:hover { filter: brightness(1.06); }
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
}
.stats span {
  border: 1px solid var(--line);
  background: rgba(18, 24, 28, 0.8);
  border-radius: 999px;
  padding: 8px 14px;
  color: #d7efe0;
  font-size: 13px;
  font-weight: 700;
}
.mascot {
  width: min(300px, 78%);
  margin: 18px auto 0;
  filter: drop-shadow(0 18px 40px rgba(50, 205, 50, 0.25));
}

.section { padding: 28px 0; }
.section h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.03em;
}
.section-lead {
  margin: 0 auto 22px;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  line-height: 1.5;
}

.os-grid, .coin-grid, .steps {
  display: grid;
  gap: 14px;
}
.os-card, .coin, .step {
  background: linear-gradient(180deg, #182026, #10161a);
  border: 1px solid #24302a;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.os-card {
  padding: 26px 18px 16px;
  text-align: center;
}
.os-icon { width: 54px; height: 54px; margin: 0 auto 14px; object-fit: contain; }
.os-card h3 { margin: 0 0 16px; font-size: 16px; letter-spacing: 0.04em; }
.os-card .btn { width: 100%; min-width: 0; }
.os-meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8d998f;
  font-size: 13px;
}
.sig {
  border: 0;
  background: none;
  color: var(--lime);
  font-weight: 700;
  padding: 0;
}

.shot {
  margin: 8px auto 0;
  width: min(920px, 100%);
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 792 / 528;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid #2a3a2c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(50, 205, 50, 0.08);
}

.steps { grid-template-columns: 1fr; }
.step { padding: 20px; }
.step b {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); line-height: 1.45; }

.coin-grid { grid-template-columns: 1fr 1fr; }
.coin {
  position: relative;
  overflow: hidden;
  padding: 22px 12px 16px;
  text-align: center;
}
.ribbon {
  position: absolute;
  top: 12px;
  left: -34px;
  transform: rotate(-42deg);
  background: var(--green);
  color: #062006;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 36px;
}
.coin img { width: 64px; height: 64px; object-fit: contain; margin: 8px auto 10px; }
.coin h3 { margin: 0 0 12px; font-size: 14px; letter-spacing: 0.03em; }
.info {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #3d5a40;
  background: transparent;
  color: #9dff73;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.mix {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  font-size: 13px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid #142016;
  padding: 22px 16px 8px;
  text-align: center;
  color: #8b968d;
  font-size: 13px;
}
.site-footer p { margin: 0 0 6px; }

.download-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  background: #10161a;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.download-bar img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.download-bar-info { flex: 1; min-width: 0; }
.download-bar-info strong { display: block; font-size: 14px; }
.download-bar-info span { color: var(--muted); font-size: 12px; }
.download-bar-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
}
.download-bar-close, .modal-close, .menu-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c9d4cc;
  font-size: 22px;
  line-height: 1;
}

.menu, .modal { position: fixed; inset: 0; z-index: 50; }
.menu[hidden], .modal[hidden] { display: none; }
.menu-backdrop, .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}
.menu-panel, .modal-dialog {
  position: relative;
  background: #10161a;
  border: 1px solid #2a4030;
  border-radius: 18px;
}
.menu-panel {
  width: min(360px, calc(100% - 28px));
  margin: 80px auto 0;
  padding: 18px;
}
.menu-panel header, .modal-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-panel h2, .modal-dialog h2 { margin: 0; font-size: 18px; }
.menu-panel nav { display: grid; gap: 8px; margin-top: 14px; }
.menu-panel a, .menu-download {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: #182026;
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
}
.menu-download { width: 100%; border: 0; color: var(--ink); background: linear-gradient(145deg, var(--green), var(--green-2)); }

.modal-dialog {
  width: min(420px, calc(100% - 28px));
  margin: 18vh auto 0;
  padding: 18px 18px 20px;
}
.modal-dialog img { width: 56px; height: 56px; margin: 8px auto; object-fit: contain; }
.modal-dialog dl { margin: 8px 0 16px; }
.modal-dialog div.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #223028;
  font-size: 14px;
}
.modal-dialog .label { color: var(--muted); }
.modal-note { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0 0 16px; }
.modal-dialog .btn { width: 100%; }

@media (max-width: 719px) {
  .header-download { display: none; }
}
@media (min-width: 720px) {
  .site-nav { display: flex; }
  .menu-btn { display: none; }
  .os-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .coin-grid { grid-template-columns: repeat(3, 1fr); }
  .brand { max-width: none; }
  .brand img { width: 230px; }
  .header-inner { min-height: 72px; }
  .kicker { font-size: 14px; letter-spacing: 0.08em; }
  .hero { padding: 36px 0 10px; }
  .hero-sub { font-size: 18px; }
  .mascot { width: min(460px, 92%); margin-top: 28px; }
}
@media (min-width: 1020px) {
  .os-grid { grid-template-columns: repeat(3, 1fr); }
  .coin-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
