@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  --bg: #05070a;
  --surface: #0b0f14;
  --surface-high: #121a22;
  --line: #1b2531;
  --line-soft: #131b24;
  --text: #f2f9fd;
  --text-dim: #b3c6d6;
  --text-faint: #8ba0b2;
  --accent: #7fe3ff;
  --accent-bright: #b7f0ff;
  --accent-deep: #2bb6e0;
  --accent-2: #64f0b4;
  --accent-glow: rgba(127, 227, 255, 0.16);
  --accent-line: rgba(127, 227, 255, 0.35);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1px;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
}

.top .mark {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.top .name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.top nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}

.hero {
  position: relative;
  text-align: center;
  padding: 56px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -50% auto;
  height: 460px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(127, 227, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.hero .mark {
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 0 26px var(--accent-glow));
}

h1 {
  margin-top: 18px;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.05;
}

h1 .tick {
  color: var(--accent);
}

.tagline {
  margin-top: 12px;
  font-size: 20px;
  color: var(--accent-2);
  font-weight: 600;
}

.sub {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--text-dim);
}

.get {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04252f;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 40px rgba(127, 227, 255, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.download:hover {
  color: #04252f;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 46px rgba(127, 227, 255, 0.28);
}

.download svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.meta {
  font-size: 13px;
  color: var(--text-faint);
}

.meta code {
  font-size: 12px;
  color: var(--text-dim);
  word-break: break-all;
}

section {
  padding: 44px 0;
  border-top: 1px solid var(--line-soft);
}

h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: var(--text-dim);
}

ol.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 12px;
}

ol.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  color: var(--text-dim);
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.spots {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spots li {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 700;
}

.support {
  text-align: center;
}

.donate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-weight: 700;
  transition: background 0.12s ease, color 0.12s ease;
}

.donate:hover {
  background: var(--accent-glow);
  text-decoration: none;
}

footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-faint);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

footer nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
}

.page {
  padding: 30px 0 60px;
}

.page h1 {
  font-size: 30px;
  margin-bottom: 18px;
}

.page h2 {
  margin-top: 30px;
}

.page p,
.page li {
  color: var(--text-dim);
  margin-bottom: 12px;
}

.page ul {
  padding-left: 22px;
}

@media (max-width: 620px) {
  h1 {
    font-size: 38px;
  }

  .hero .mark {
    width: 104px;
    height: 104px;
  }

  .top nav {
    display: none;
  }
}

.shot {
  max-width: 680px;
  margin: 44px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(127, 227, 255, 0.04);
  overflow: hidden;
  text-align: left;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-high);
  border-bottom: 1px solid var(--line-soft);
}

.shot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.shot-name {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.shot-name b {
  color: var(--accent);
}

.shot-tabs {
  margin-left: auto;
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
  font-style: normal;
}

.shot-tabs button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.shot-tabs button:hover {
  color: var(--text-dim);
}

.shot-tabs button.on {
  color: var(--accent);
}

.shot-tabs button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.shot-stage {
  position: relative;
  height: 190px;
  cursor: pointer;
  background:
    radial-gradient(70% 90% at 50% 30%, rgba(127, 227, 255, 0.07), transparent 70%),
    linear-gradient(180deg, #05080c, #010306);
  border-bottom: 1px solid var(--line-soft);
}

.shot-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.shot-track {
  position: relative;
  height: 46px;
  margin: 16px 16px 0;
  cursor: pointer;
  touch-action: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, #0e161e, #0a1016);
}

.shot-band {
  position: absolute;
  left: 26%;
  width: 34%;
  top: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(127, 227, 255, 0.16), rgba(100, 240, 180, 0.16)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 6px, transparent 6px 12px);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent-2);
}

.shot-band::before,
.shot-band::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 11px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 12px var(--accent-glow);
}

.shot-band::before {
  left: -11px;
}

.shot-band::after {
  right: -11px;
  background: linear-gradient(180deg, var(--accent-2), #1fbf85);
}

.shot-head {
  position: absolute;
  left: 46%;
  top: -3px;
  bottom: -3px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #d3ffe6, #3ddc84 60%, rgba(61, 220, 132, 0.25));
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.55);
}

.shot-head::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -3px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: #d3ffe6;
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.55);
}

.shot-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.shot-field {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.shot-field b {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.shot-grip {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 24px;
  margin-left: -12px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  cursor: ew-resize;
  touch-action: none;
}

.shot-grip:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.shot-hint {
  margin-left: 4px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-faint);
}

.shot-go {
  margin-left: auto;
  padding: 9px 20px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04252f;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.shot-note {
  padding: 0 16px 16px;
  font-size: 12px;
  color: var(--text-dim);
}

.second-title {
  margin-top: 44px;
}

.shot-list {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
}

.shot-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text-dim);
}

.shot-list li:last-child {
  border-bottom: 0;
}

.shot-cell.is-dim,
.shot-num {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 12px;
}

.shot-stat {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
}

.shot-stat.is-good {
  border-color: var(--accent-line);
  color: var(--accent-2);
}

.shot-meter {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}

.shot-fill {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.shot-num {
  min-width: 34px;
  text-align: right;
}

.shot-label {
  padding: 14px 20px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.shot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 20px 4px;
}

.shot-chips button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-high);
  color: var(--text-dim);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.shot-chips button:hover {
  border-color: var(--accent-line);
}

.shot-chips button.on {
  border-color: var(--accent);
  color: var(--text);
}

.shot-colors button::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--one), var(--two));
}

.shot[data-theme="ice"] {
  --accent: #7fe3ff;
  --accent-deep: #2bb6e0;
  --accent-2: #64f0b4;
  --accent-glow: rgba(127, 227, 255, 0.16);
  --accent-line: rgba(127, 227, 255, 0.35);
}

.shot[data-theme="violet"] {
  --accent: #b98cff;
  --accent-deep: #7b45e0;
  --accent-2: #ff92dc;
  --accent-glow: rgba(185, 140, 255, 0.16);
  --accent-line: rgba(185, 140, 255, 0.35);
}

.shot[data-theme="pink"] {
  --accent: #ff7ec8;
  --accent-deep: #e14b9c;
  --accent-2: #c58cff;
  --accent-glow: rgba(255, 126, 200, 0.16);
  --accent-line: rgba(255, 126, 200, 0.35);
}

.shot[data-theme="lime"] {
  --accent: #a6f56a;
  --accent-deep: #6cc32b;
  --accent-2: #3fbb5e;
  --accent-glow: rgba(166, 245, 106, 0.16);
  --accent-line: rgba(166, 245, 106, 0.35);
}

.shot[data-theme="ember"] {
  --accent: #ff7d55;
  --accent-deep: #d84a22;
  --accent-2: #ffc85c;
  --accent-glow: rgba(255, 125, 85, 0.16);
  --accent-line: rgba(255, 125, 85, 0.35);
}

.shot[data-theme="gold"] {
  --accent: #ffc93c;
  --accent-deep: #d99a15;
  --accent-2: #ffe86b;
  --accent-glow: rgba(255, 201, 60, 0.16);
  --accent-line: rgba(255, 201, 60, 0.35);
}

.shot-colors button[data-theme="ice"] {
  --one: #7fe3ff;
  --two: #64f0b4;
}

.shot-colors button[data-theme="violet"] {
  --one: #b98cff;
  --two: #ff92dc;
}

.shot-colors button[data-theme="pink"] {
  --one: #ff7ec8;
  --two: #c58cff;
}

.shot-colors button[data-theme="lime"] {
  --one: #a6f56a;
  --two: #3fbb5e;
}

.shot-colors button[data-theme="ember"] {
  --one: #ff7d55;
  --two: #ffc85c;
}

.shot-colors button[data-theme="gold"] {
  --one: #ffc93c;
  --two: #ffe86b;
}

.card {
  transition: border-color 0.14s ease, transform 0.14s ease;
}

.card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}

.spots li {
  transition: border-color 0.14s ease, background 0.14s ease;
}

.spots li:hover {
  border-color: var(--accent-line);
  background: var(--surface-high);
}

@media (max-width: 620px) {
  .shot-stage {
    height: 130px;
  }

  .shot-tabs,
  .shot-hint {
    display: none;
  }

  .shot-row {
    flex-wrap: wrap;
  }
}

.home {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.home:hover {
  text-decoration: none;
}

.home:hover .name {
  color: var(--accent);
}

.top .name .tick {
  color: var(--accent);
}

.name {
  transition: color 0.12s ease;
}

.donate svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--accent), var(--accent-2));
  color: #04252f;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(127, 227, 255, 0.35), 0 0 0 6px rgba(127, 227, 255, 0.1);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  z-index: 30;
}

.to-top.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.to-top:hover {
  box-shadow: 0 14px 38px rgba(127, 227, 255, 0.5), 0 0 0 9px rgba(127, 227, 255, 0.14);
}

.to-top svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}

.to-top:hover svg {
  transform: translateY(-4px);
}

.to-top svg .flame {
  fill: #ff7a2f;
  transform-origin: 12px 18px;
  animation: burn 0.5s ease-in-out infinite alternate;
}

@keyframes burn {
  from { transform: scaleY(0.7); opacity: 0.75; }
  to { transform: scaleY(1.2); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .to-top svg .flame {
    animation: none;
  }
}

@media (max-width: 620px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
