:root {
  --bg: #120912;
  --bg-2: #1d1020;
  --bg-3: #2a1728;
  --paper: rgba(255, 244, 249, .08);
  --paper-strong: rgba(255, 244, 249, .14);
  --text: #fff2f7;
  --muted: #c6a6b6;
  --soft: #967184;
  --line: rgba(255, 180, 207, .18);
  --line-strong: rgba(255, 180, 207, .34);
  --accent: #ff5aa5;
  --accent-2: #ffb6cf;
  --accent-3: #ffe0ea;
  --ink: #240b1a;
  --green: #50d7ad;
  --gold: #ffb357;
  --blue: #75d7ff;
  --danger: #ff6767;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --radius: 24px;
  --max: 1180px;
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

html[data-theme="light"] {
  --bg: #fff5f8;
  --bg-2: #fffafc;
  --bg-3: #ffe9f1;
  --paper: rgba(146, 38, 86, .07);
  --paper-strong: rgba(146, 38, 86, .12);
  --text: #351326;
  --muted: #7e5368;
  --soft: #a87a90;
  --line: rgba(196, 72, 128, .18);
  --line-strong: rgba(196, 72, 128, .32);
  --accent: #df2f7c;
  --accent-2: #ff7fb2;
  --accent-3: #ffd3e2;
  --ink: #fff8fb;
  --shadow: 0 22px 70px rgba(218, 66, 132, .14);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 90, 165, .055) 36% 37%, transparent 37% 64%, rgba(117, 215, 255, .04) 64% 65%, transparent 65%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 90%, #ff5aa5 10%) 0, var(--bg) 40%, var(--bg-2) 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .34;
  background-image:
    url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffb6cf' stroke-opacity='.35' stroke-width='1.2'%3E%3Cpath d='M30 48c12 8 25 8 37 0-6 14-6 27 0 40-12-8-25-8-37 0 6-13 6-26 0-40Z'/%3E%3Cpath d='M128 24c7 5 14 5 22 0-4 8-4 16 0 24-8-5-15-5-22 0 4-8 4-16 0-24Z'/%3E%3Cpath d='M112 124c9 6 18 6 27 0-5 10-5 19 0 29-9-6-18-6-27 0 5-10 5-19 0-29Z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(255, 255, 255, .03), transparent 32%, rgba(255, 182, 207, .05) 54%, transparent 78%);
  background-size: 360px 360px, 100% 100%;
  background-position: 30px 20px, 0 0;
}

#petals {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

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

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

button {
  font: inherit;
}

::selection {
  color: #fff;
  background: var(--accent);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 80;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--blue));
  box-shadow: 0 0 20px rgba(255, 90, 165, .65);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(190px, auto) 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #fff 0 2px, transparent 3px),
    linear-gradient(145deg, var(--accent), #b91e68 55%, #4f1a6a);
  box-shadow: 0 12px 34px rgba(255, 90, 165, .26);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--paper);
}

.controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.lang {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.lang-btn,
.theme-btn {
  cursor: pointer;
  border: 0;
  color: var(--muted);
  background: transparent;
}

.lang-btn {
  min-width: 40px;
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
}

.lang-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #b91e68);
  box-shadow: 0 10px 22px rgba(255, 90, 165, .24);
}

.theme-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.theme-btn span {
  position: absolute;
  inset: 10px;
  transition: transform .28s ease, opacity .28s ease;
}

.theme-sun {
  opacity: 0;
  transform: scale(.5) rotate(-45deg);
  background:
    radial-gradient(circle, var(--gold) 0 31%, transparent 33%),
    conic-gradient(from 0deg, transparent 0 7%, var(--gold) 8% 12%, transparent 13% 20%, var(--gold) 21% 25%, transparent 26% 33%, var(--gold) 34% 38%, transparent 39% 46%, var(--gold) 47% 51%, transparent 52% 59%, var(--gold) 60% 64%, transparent 65% 72%, var(--gold) 73% 77%, transparent 78% 85%, var(--gold) 86% 90%, transparent 91%);
  border-radius: 50%;
}

.theme-moon {
  opacity: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 65% 35%, transparent 0 33%, var(--accent-2) 35% 64%, transparent 66%);
}

html[data-theme="light"] .theme-sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

html[data-theme="light"] .theme-moon {
  opacity: 0;
  transform: scale(.5) rotate(45deg);
}

.section-pad {
  padding: 84px 0;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 76px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 46px;
  align-items: center;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 850px;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -.04em;
  overflow-wrap: break-word;
}

h1 span,
h2 span {
  font-style: italic;
  color: var(--accent-2);
}

h2 {
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 64px);
  letter-spacing: -.03em;
}

h3 {
  font-size: 24px;
}

.hero-lead,
.section-head p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.support-mini {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: 640px;
  margin-top: 22px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .12);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.support-mini:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--paper-strong);
}

.support-mini-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #b91e68);
}

.support-mini strong,
.support-mini small {
  display: block;
}

.support-mini strong {
  font-size: 14px;
  line-height: 1.35;
}

.support-mini small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.support-mini-arrow {
  color: var(--accent-2);
  font-family: var(--mono);
  font-weight: 900;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #b91e68);
  box-shadow: 0 18px 44px rgba(255, 90, 165, .28);
}

.btn-ghost {
  color: var(--text);
  background: var(--paper);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--paper), transparent);
  overflow: hidden;
}

.hero-stats div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats small,
.screen-body small {
  display: block;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-stats strong {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 13px;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255, 90, 165, .18), rgba(117, 215, 255, .10));
  filter: blur(24px);
  opacity: .76;
  z-index: -1;
}

.terminal,
.code-card,
.rule-card,
.after-install,
.screen-card,
.donate-panel,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--paper-strong), var(--paper)),
    color-mix(in srgb, var(--bg-2) 86%, transparent);
  box-shadow: var(--shadow);
}

.terminal {
  overflow: hidden;
}

.terminal-bar,
.code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.terminal-bar span:nth-child(2) {
  background: var(--gold);
}

.terminal-bar span:nth-child(3) {
  background: var(--green);
}

.terminal-bar strong,
.code-head span {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

pre {
  margin: 0;
  overflow: auto;
}

code {
  font-family: var(--mono);
}

pre code {
  display: block;
  min-width: 100%;
  padding: 20px;
  color: var(--accent-3);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre;
}

.terminal pre code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

html[data-theme="light"] pre code {
  color: #4a1830;
}

.orbit-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  width: min(420px, calc(100% - 34px));
  margin: -26px auto 0;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-2) 78%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .24);
}

.orb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 4px, transparent 5px),
    conic-gradient(from 130deg, var(--accent), var(--blue), var(--green), var(--accent));
  box-shadow: 0 0 34px rgba(255, 90, 165, .38);
}

.orbit-card small {
  display: block;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.orbit-card strong {
  display: block;
  margin-top: 4px;
  line-height: 1.3;
}

.support-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-3) 38%, transparent);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip-grid a {
  display: flex;
  gap: 14px;
  min-height: 96px;
  padding: 24px 18px;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.strip-grid a:last-child {
  border-right: 0;
}

.strip-grid span {
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 800;
}

.strip-grid strong {
  line-height: 1.3;
}

.section-head {
  margin-bottom: 36px;
}

.donate-section {
  padding-top: 64px;
}

.impact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 28px;
}

.impact-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.impact-list span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

.two-col {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.sticky-note {
  position: sticky;
  top: 104px;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.preflight {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.preflight strong {
  display: block;
  margin-bottom: 12px;
}

.preflight ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.guide-hints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.guide-hints div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.guide-hints div:last-child {
  border-right: 0;
}

.guide-hints strong,
.guide-hints span {
  display: block;
}

.guide-hints strong {
  margin-bottom: 6px;
  color: var(--text);
}

.guide-hints span {
  color: var(--muted);
  font-size: 14px;
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.steps span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #b91e68);
}

.code-card {
  overflow: hidden;
}

.code-card pre code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.code-head {
  justify-content: space-between;
}

.code-head span {
  margin: 0;
  color: var(--accent-2);
}

.copy-btn {
  cursor: pointer;
  flex: 0 0 auto;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  padding: 9px 12px;
}

.copy-btn:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #b91e68);
}

.note {
  display: flex;
  gap: 12px;
  padding: 16px 20px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.note strong {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 12px;
}

.code-grid {
  display: grid;
  gap: 22px;
}

.compact pre code {
  white-space: pre-wrap;
}

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

.screen-card {
  cursor: zoom-in;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  color: inherit;
  text-align: left;
  overflow: hidden;
}

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

.screen-img {
  aspect-ratio: 16 / 8.7;
  overflow: hidden;
  background: #151515;
}

.screen-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform .45s ease;
}

.screen-card:hover img {
  transform: scale(1.035);
}

.screen-body {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.screen-body strong {
  font-size: 21px;
}

.screen-body span:last-child {
  color: var(--muted);
}

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

.rule-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.rule-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}

.rule-card.block::before {
  background: linear-gradient(90deg, var(--danger), var(--gold));
}

.rule-card.direct::before {
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.rule-top {
  display: grid;
  gap: 9px;
}

.rule-top span,
.chip {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rule-card p {
  color: var(--muted);
}

.rule-card pre {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, .16);
}

.after-install {
  margin-top: 24px;
  padding: 26px;
}

.after-install h3 {
  margin-bottom: 16px;
}

.after-install ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.after-install code,
.faq-grid code,
.note code {
  color: var(--accent-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 1px 5px;
}

.donate {
  display: grid;
  gap: 16px;
}

.donate-tabs {
  display: flex;
  width: fit-content;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.donate-tab {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.donate-tab.active {
  color: var(--text);
  background: var(--paper-strong);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.usdt {
  background: var(--green);
}

.dot.btc {
  background: var(--gold);
}

.dot.sol {
  background: var(--blue);
}

.donate-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 290px;
  overflow: hidden;
}

.donate-panel.active {
  display: grid;
  animation: panelIn .28s ease both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.donate-copy {
  padding: 34px;
}

.donate-copy h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -.04em;
}

.donate-copy p:not(.chip) {
  color: var(--muted);
  max-width: 560px;
}

.donate-warning {
  position: relative;
  margin: 18px 0 0;
  padding: 12px 14px 12px 40px;
  color: var(--text) !important;
  font-size: 14px;
  border: 1px solid rgba(255, 179, 87, .28);
  border-radius: 15px;
  background: rgba(255, 179, 87, .10);
}

.donate-warning::before {
  content: "i";
  position: absolute;
  left: 14px;
  top: 13px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 26px;
}

.address-row code {
  overflow: auto;
  padding: 14px 16px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.qr-panel {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 310px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .28), transparent 7rem),
    linear-gradient(135deg, #36c79c, #59dfbd);
}

.qr-panel.hot {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .25), transparent 7rem),
    linear-gradient(135deg, #ffad3b, #ff7a33);
}

.qr-panel.cool {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .25), transparent 7rem),
    linear-gradient(135deg, #8d50ff, #20e0a3);
}

.qr-img {
  display: block;
  width: 214px;
  height: auto;
  border-radius: 14px;
}

.qr-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 14px 12px;
  color: #24101b;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(36, 11, 26, .28);
}

.qr-card small {
  color: rgba(36, 11, 26, .72);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
}

.qr-panel span {
  color: rgba(36, 11, 26, .56);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

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

.faq-grid details {
  padding: 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  padding: 36px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(11, 5, 12, .88);
  backdrop-filter: blur(16px);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(94vw, 1500px);
  max-height: 84vh;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.lightbox strong {
  margin-top: 12px;
  color: #fff;
  font-family: var(--mono);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  font-size: 28px;
  line-height: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #b91e68);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .3);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

html[dir="rtl"] .topbar,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .two-col,
html[dir="rtl"] .donate-panel {
  direction: rtl;
}

html[dir="rtl"] pre,
html[dir="rtl"] code,
html[dir="rtl"] .address-row {
  direction: ltr;
}

html[dir="rtl"] .donate-warning {
  padding-right: 40px;
  padding-left: 14px;
}

html[dir="rtl"] .donate-warning::before {
  left: auto;
  right: 14px;
}

html[dir="rtl"] .terminal-bar strong {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .hero-stats div {
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .hero-stats div:last-child {
  border-left: 0;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero-grid,
  .two-col,
  .donate-panel {
    grid-template-columns: 1fr;
  }

  .guide-hints {
    grid-template-columns: 1fr;
  }

  .guide-hints div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .guide-hints div:last-child {
    border-bottom: 0;
  }

  .sticky-note {
    position: static;
  }

  .hero-stats,
  .strip-grid,
  .screens,
  .rules-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .topbar {
    padding-inline: 14px;
  }

  .controls {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .lang {
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    width: 100%;
    max-width: 330px;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

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

  .hero-stats,
  .strip-grid,
  .screens,
  .rules-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .strip-grid a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child,
  .strip-grid a:last-child {
    border-bottom: 0;
  }

  .donate-copy {
    padding: 26px;
  }

  .support-mini {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .support-mini-arrow {
    display: none;
  }

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

  .qr-panel {
    min-height: 280px;
  }

  pre code {
    font-size: 12px;
  }
}

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

  #petals {
    display: none;
  }
}
