:root {
  color-scheme: dark;
  --bg: #0d0f14;
  --bg-soft: #131720;
  --panel: #171b25;
  --panel-strong: #1f2532;
  --line: #2d3443;
  --line-soft: #222938;
  --text: #f4f0e8;
  --muted: #b7ad9d;
  --subtle: #827a70;
  --gold: #e8b85a;
  --gold-strong: #ffd074;
  --pink: #d95f9f;
  --teal: #78d5c8;
  --danger: #ff7777;
  --ok: #8ee6a3;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 8%, rgba(217, 95, 159, 0.16), transparent 32rem),
    radial-gradient(circle at 78% 6%, rgba(120, 213, 200, 0.12), transparent 28rem),
    linear-gradient(180deg, #10131a 0%, #0d0f14 44%, #11131a 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.site {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(13, 15, 20, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 184, 90, 0.5);
  background: linear-gradient(145deg, rgba(232, 184, 90, 0.2), rgba(217, 95, 159, 0.12));
  box-shadow: inset 0 0 18px rgba(255, 208, 116, 0.16);
}

.mark svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.button,
.ghost-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(232, 184, 90, 0.56);
  background: linear-gradient(180deg, rgba(255, 208, 116, 0.18), rgba(232, 184, 90, 0.1));
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.ghost-button {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 70px 0 42px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.assurance div {
  min-height: 72px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.assurance strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-strong);
  font-size: 13px;
}

.assurance span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-art {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(140deg, rgba(232, 184, 90, 0.16), transparent 40%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(232, 184, 90, 0.28);
}

.store-sigil {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.98;
}

.store-sigil svg {
  width: min(70%, 330px);
  height: auto;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.45));
}

.artifact-row {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.artifact {
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(13, 15, 20, 0.72);
  padding: 12px;
}

.artifact b {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.artifact span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: 54px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section h2,
.page h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-lede,
.page-lede {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.package {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  padding: 18px;
}

.package.featured {
  border-color: rgba(232, 184, 90, 0.64);
  background: linear-gradient(180deg, rgba(232, 184, 90, 0.1), rgba(255, 255, 255, 0.02));
}

.package h3 {
  margin: 0;
  font-size: 24px;
}

.price {
  margin: 14px 0 8px;
  font-size: 34px;
  font-weight: 850;
  color: var(--gold-strong);
}

.package p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.package ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.42;
}

.package li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  background: var(--teal);
}

.package .button {
  width: 100%;
  margin-top: auto;
}

.coins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coin {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.coin strong {
  display: block;
  font-size: 22px;
}

.coin span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rule,
.policy-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 20px;
}

.rule h3,
.policy-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.rule p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.65;
}

.page {
  padding: 64px 0;
}

.policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

.policy-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.side-list {
  display: grid;
  gap: 12px;
}

.notice {
  border: 1px solid rgba(255, 119, 119, 0.38);
  background: rgba(255, 119, 119, 0.08);
}

.notice h2,
.notice strong {
  color: #ffb2b2;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0 42px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-art {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .site {
    width: min(100% - 22px, 1180px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 42px;
  }

  .assurance,
  .packages,
  .coins,
  .rules {
    grid-template-columns: 1fr;
  }

  .artifact-row {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 520px;
  }

  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
