:root {
  color-scheme: dark;
  --bg: #070b13;
  --bg-soft: #0d1320;
  --surface: rgba(18, 26, 41, 0.82);
  --surface-solid: #111a2a;
  --surface-light: #182235;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #aeb8c9;
  --coral: #ff7a66;
  --coral-bright: #ff9a7f;
  --amber: #ffd166;
  --mint: #83f3ca;
  --blue: #80bfff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-sm: 16px;
  --content: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 122, 102, 0.12), transparent 30rem),
    radial-gradient(circle at 95% 20%, rgba(131, 243, 202, 0.07), transparent 36rem),
    var(--bg);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.25;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: #081019;
  background: var(--mint);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--content);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 19, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  min-height: 74px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-word {
  font-size: 1.08rem;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 6px;
}

.nav-links a {
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  color: #111722;
  background: var(--amber);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 900;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hero {
  position: relative;
  min-height: min(770px, calc(100vh - 74px));
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: -74px 0 0;
  background-image:
    linear-gradient(90deg, #070b13 6%, rgba(7, 11, 19, 0.91) 29%, rgba(7, 11, 19, 0.28) 67%, rgba(7, 11, 19, 0.16)),
    linear-gradient(0deg, #070b13 0%, transparent 32%),
    url("/assets/hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.95);
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(130deg, rgba(255, 122, 102, 0.08), transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: min(770px, calc(100vh - 74px));
  padding: 84px 0 100px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  content: "";
  background: currentColor;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 9.5vw, 7.7rem);
  line-height: 0.84;
  letter-spacing: -0.08em;
}

.accent {
  color: var(--coral);
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 30px;
  color: #d5dbe6;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 0.94rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #17120f;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  box-shadow: 0 14px 36px rgba(255, 122, 102, 0.2);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.hero-facts li {
  padding: 8px 12px;
  color: #dbe2ed;
  background: rgba(11, 17, 27, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(131, 243, 202, 0.12);
}

.section {
  padding: 112px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 38px;
  gap: 30px;
}

.section-head > div {
  max-width: 700px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-desc {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(145deg, rgba(24, 34, 53, 0.88), rgba(12, 18, 30, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.card::after {
  position: absolute;
  top: -60px;
  right: -70px;
  width: 140px;
  height: 140px;
  content: "";
  background: radial-gradient(circle, rgba(255, 122, 102, 0.14), transparent 67%);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: #0c151a;
  background: var(--mint);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 950;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 70px;
}

.point-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.point-core {
  display: grid;
  place-items: center;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at 38% 32%, #fff4bf, var(--amber) 23%, #f7975f 70%, #bd554f);
  border: 15px solid rgba(255, 255, 255, 0.09);
  border-radius: 42%;
  box-shadow: 0 36px 90px rgba(255, 122, 102, 0.24);
  transform: rotate(8deg);
}

.point-core span {
  color: #271a15;
  font-size: 4.8rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  transform: rotate(-8deg);
}

.orbit-label {
  position: absolute;
  padding: 10px 14px;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 850;
}

.orbit-label:nth-child(2) {
  top: 50px;
  left: 18px;
}

.orbit-label:nth-child(3) {
  top: 120px;
  right: 0;
}

.orbit-label:nth-child(4) {
  bottom: 54px;
  left: 42px;
}

.list-check {
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
  color: #d8dfe9;
}

.list-check li::before {
  position: absolute;
  top: 0.38em;
  left: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #07130f;
  content: "✓";
  background: var(--mint);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 950;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 209, 102, 0.2), transparent 20rem),
    radial-gradient(circle at 85% 80%, rgba(131, 243, 202, 0.12), transparent 22rem),
    #121b2a;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.06em;
}

.cta-panel p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.cta-panel .button-row {
  justify-content: center;
}

.page-hero {
  padding: 88px 0 58px;
}

.page-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.page-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  padding: 28px;
  gap: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-index {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: #16110e;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  border-radius: 19px;
  font-weight: 950;
}

.step h2 {
  margin: 3px 0 8px;
  font-size: 1.32rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.notice {
  padding: 18px 20px;
  color: #dbe8ee;
  background: rgba(128, 191, 255, 0.08);
  border: 1px solid rgba(128, 191, 255, 0.22);
  border-radius: 15px;
}

.download-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 38px 0 18px;
  gap: 18px;
}

.download-toolbar h2 {
  margin: 0;
  font-size: 1.65rem;
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 88px;
  padding: 18px 20px;
  gap: 18px;
  background: rgba(18, 26, 41, 0.68);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.download-item:hover {
  background: rgba(24, 34, 53, 0.86);
  border-color: rgba(255, 122, 102, 0.32);
  transform: translateY(-1px);
}

.download-main {
  min-width: 0;
}

.download-name {
  margin-bottom: 3px;
  font-weight: 900;
}

.download-file {
  overflow: hidden;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.77rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.file-size {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.download-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #121822;
  background: var(--amber);
  border-radius: 13px;
}

.download-button img {
  width: 20px;
  height: 20px;
}

.hash {
  margin-top: 8px;
  color: #718096;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  word-break: break-all;
}

.wiki-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 42px;
}

.wiki-nav {
  position: sticky;
  top: 98px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.wiki-nav-title {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wiki-nav a {
  display: block;
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 750;
}

.wiki-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.wiki-content {
  min-width: 0;
}

.wiki-section {
  margin-bottom: 78px;
  scroll-margin-top: 100px;
}

.wiki-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
}

.wiki-section > p {
  color: var(--muted);
}

.earn-grid,
.command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-tile {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.info-tile strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.03rem;
}

.info-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.command {
  padding: 20px;
  background: #0d1421;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.command code {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1rem;
  font-weight: 800;
}

.command p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.shop-tools {
  display: flex;
  margin-bottom: 18px;
  gap: 12px;
}

.search {
  width: min(100%, 420px);
  min-height: 48px;
  padding: 10px 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}

.search:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 122, 102, 0.1);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product {
  padding: 22px;
  background: linear-gradient(145deg, rgba(24, 34, 53, 0.88), rgba(12, 18, 30, 0.96));
  border: 1px solid var(--line);
  border-radius: 19px;
}

.product[hidden] {
  display: none;
}

.product-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 14px;
}

.product h3 {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.price {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: #1a1409;
  background: var(--amber);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 950;
}

.free-badge {
  display: inline-block;
  margin: -4px 0 14px;
  padding: 5px 9px;
  color: var(--mint);
  background: rgba(131, 243, 202, 0.08);
  border: 1px solid rgba(131, 243, 202, 0.22);
  border-radius: 9px;
  font-size: 0.74rem;
  font-weight: 900;
}

.product ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 0.88rem;
}

.support-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.support-copy {
  padding: clamp(34px, 7vw, 72px);
}

.support-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.055em;
}

.support-copy > p {
  color: var(--muted);
}

.support-rate {
  margin: 30px 0;
  color: var(--amber);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.support-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  background:
    radial-gradient(circle, rgba(255, 209, 102, 0.28), transparent 38%),
    linear-gradient(145deg, rgba(255, 122, 102, 0.16), rgba(131, 243, 202, 0.05));
}

.support-coin {
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  color: #29190b;
  background: radial-gradient(circle at 38% 30%, #fff8ca, var(--amber) 35%, #e8894f);
  border: 12px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(255, 209, 102, 0.22);
  font-size: 4.5rem;
  font-weight: 950;
}

.footer {
  padding: 48px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  margin: 0;
  color: #7d899b;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(380px, calc(100vw - 40px));
  padding: 14px 17px;
  color: var(--text);
  background: #182235;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    background: rgba(13, 19, 32, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 12px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .point-orbit {
    order: 2;
  }

  .wiki-layout {
    grid-template-columns: 1fr;
  }

  .wiki-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 4px;
  }

  .wiki-nav-title {
    display: none;
  }

  .wiki-nav a {
    flex: 0 0 auto;
  }

  .support-card {
    grid-template-columns: 1fr;
  }

  .support-visual {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  :root {
    --content: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 720px;
  }

  .hero-art {
    background-image:
      linear-gradient(0deg, #070b13 3%, rgba(7, 11, 19, 0.24) 45%, rgba(7, 11, 19, 0.18)),
      linear-gradient(90deg, rgba(7, 11, 19, 0.9), rgba(7, 11, 19, 0.35)),
      url("/assets/hero.png");
    background-position: 63% center;
  }

  .hero-inner {
    align-items: end;
    min-height: 720px;
    padding: 80px 0 70px;
  }

  h1 {
    font-size: clamp(3.4rem, 20vw, 5.4rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .download-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .download-item {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 16px;
  }

  .file-size {
    display: none;
  }

  .hash {
    display: none;
  }

  .earn-grid,
  .command-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .point-orbit {
    min-height: 380px;
    transform: scale(0.88);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

