:root {
  --bg0: #050816;
  --bg1: #0a0f24;
  --card: rgba(14, 20, 45, 0.68);
  --card2: rgba(10, 14, 35, 0.52);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.64);

  --pink: #f472b6;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --lime: #a3e635;
  --amber: #fbbf24;
  --red: #fb7185;

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --radius: 22px;
  --radius2: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 15% 15%, rgba(167, 139, 250, 0.26), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(34, 211, 238, 0.22), transparent 55%),
    radial-gradient(1100px 700px at 40% 90%, rgba(244, 114, 182, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 6px);
  mix-blend-mode: overlay;
}

#fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6, 9, 24, 0.82), rgba(6, 9, 24, 0.35));
  border-bottom: 1px solid var(--stroke2);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(244, 114, 182, 0.35), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand__logo svg {
  width: 100%;
  height: 100%;
  padding: 6px;
}

.brand__name {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 18px;
  line-height: 1.1;
}

.brand__tag {
  font-size: 12px;
  color: var(--muted);
}

.topbar__right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(14, 20, 45, 0.55);
  border: 1px solid var(--stroke2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-size: 13px;
}

.pill--soft {
  background: rgba(255, 255, 255, 0.06);
}

.pill__btn {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(34, 211, 238, 0.9));
  color: #0b1220;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.pill__btn:hover {
  filter: brightness(1.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.dot--on {
  background: rgba(163, 230, 53, 0.9);
  box-shadow:
    0 0 0 3px rgba(163, 230, 53, 0.12),
    0 0 18px rgba(163, 230, 53, 0.55);
}

.dot--off {
  background: rgba(251, 113, 133, 0.7);
  box-shadow:
    0 0 0 3px rgba(251, 113, 133, 0.12),
    0 0 18px rgba(251, 113, 133, 0.35);
}

.iconbtn {
  appearance: none;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.iconbtn:hover {
  filter: brightness(1.1);
}

.navbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbtn:hover {
  filter: brightness(1.1);
}

.navbtn__txt {
  font-size: 13px;
}

.layout {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 40px;
}

.card {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--stroke2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  padding: 18px;
}

.hero__title {
  margin: 0 0 12px;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero__desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.krypton {
  color: #e0e7ff;
  text-shadow:
    0 0 14px rgba(167, 139, 250, 0.35),
    0 0 40px rgba(34, 211, 238, 0.15);
}

.sol {
  color: #d9f99d;
  text-shadow: 0 0 18px rgba(163, 230, 53, 0.25);
}

.token {
  color: #fef08a;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.cta__row--small {
  grid-template-columns: repeat(4, auto);
  justify-content: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 12px;
  color: var(--muted);
}

.field__control {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.05);
}

.field input[type="number"],
.field input[type="text"] {
  width: 100%;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.field__suffix {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.field__hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
}

.btn--danger {
  background: rgba(251, 113, 133, 0.16);
  border-color: rgba(251, 113, 133, 0.28);
}

.btn--mega {
  position: relative;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.95), rgba(34, 211, 238, 0.95));
  color: #0b1220;
  font-size: 14px;
  min-width: 300px;
  box-shadow:
    0 12px 35px rgba(34, 211, 238, 0.12),
    0 18px 70px rgba(244, 114, 182, 0.1);
  overflow: hidden;
}

.btn__spark {
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0 40%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 60% 100%);
  animation: spin 2.4s linear infinite;
  opacity: 0.45;
}

.btn__text {
  position: relative;
  z-index: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.stat {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.stat__k {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
}

.stat__v {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.3px;
  margin-top: 4px;
}

.muted {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.hero__right {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
}

.reactor {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 30% 20%, rgba(167, 139, 250, 0.22), rgba(10, 14, 35, 0.88));
  overflow: hidden;
  padding: 16px;
  min-height: 330px;
}

.reactor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 20% 10%, rgba(34, 211, 238, 0.16), transparent 60%);
  pointer-events: none;
}

.reactor__ring {
  position: absolute;
  inset: -90px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: conic-gradient(from 0deg, rgba(244, 114, 182, 0.25), rgba(34, 211, 238, 0.22), rgba(163, 230, 53, 0.15), rgba(244, 114, 182, 0.25));
  filter: blur(0px);
  opacity: 0.75;
  animation: ring 10s linear infinite;
}

@keyframes ring {
  to {
    transform: rotate(360deg);
  }
}

.reactor__core {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.9), rgba(167, 139, 250, 0.35) 40%, rgba(10, 14, 35, 0.9) 72%);
  box-shadow:
    0 0 40px rgba(251, 191, 36, 0.14),
    0 0 80px rgba(167, 139, 250, 0.18),
    inset 0 0 60px rgba(0, 0, 0, 0.45);
  animation: core 2.2s ease-in-out infinite alternate;
}

@keyframes core {
  from {
    transform: translate(-50%, -50%) scale(0.98);
    filter: saturate(1) brightness(1);
  }
  to {
    transform: translate(-50%, -50%) scale(1.02);
    filter: saturate(1.1) brightness(1.05);
  }
}

.reactor__screen {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: 180px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screen__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.screen__big {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0.2px;
}

.unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.screen__sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 950;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  font-size: 12px;
}

.badge--good {
  border-color: rgba(163, 230, 53, 0.28);
  background: rgba(163, 230, 53, 0.12);
}

.badge--neutral {
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.11);
}

.badge--bad {
  border-color: rgba(251, 113, 133, 0.26);
  background: rgba(251, 113, 133, 0.12);
}

.meter {
  display: grid;
  gap: 8px;
}

.meter__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.meter__bar {
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.92), rgba(244, 114, 182, 0.92), rgba(34, 211, 238, 0.92));
  box-shadow: 0 0 25px rgba(244, 114, 182, 0.22);
  transition: width 140ms ease;
}

.mini {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 2px;
}

.mini__k {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
}

.mini__v {
  font-weight: 950;
}

.stickers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sticker {
  position: relative;
  padding: 10px 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transform: rotate(-1deg);
}

.sticker svg {
  width: 44px;
  height: 44px;
}

.sticker__txt {
  font-weight: 950;
  letter-spacing: 0.25px;
  font-size: 12px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.s1 {
  transform: rotate(-2deg);
}
.s2 {
  transform: rotate(1.5deg);
}
.s3 {
  transform: rotate(-1deg);
}

.grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.card__title {
  padding: 16px 16px 0;
  font-weight: 950;
  letter-spacing: 0.15px;
}

.card__note {
  padding: 12px 16px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

.card--tall {
  grid-row: span 2;
}

.city {
  margin: 12px 16px 0;
  position: relative;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.18), rgba(10, 14, 35, 0.86));
}

.city__sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(167, 139, 250, 0.25), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(244, 114, 182, 0.16), transparent 55%);
}

.city__ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35));
}

.city__buildings {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 120px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 0 14px;
  align-items: end;
}

.b {
  border-radius: 12px 12px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.b::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(251, 191, 36, 0.35) 0 2px, transparent 2px 8px);
  opacity: 0.18;
  mix-blend-mode: screen;
}

.b1 {
  height: 60px;
}
.b2 {
  height: 92px;
}
.b3 {
  height: 78px;
}
.b4 {
  height: 110px;
}
.b5 {
  height: 70px;
}

.city__hud {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hud__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.hud__k {
  color: rgba(255, 255, 255, 0.62);
}

.hud__v {
  font-weight: 900;
}

.feed {
  margin: 12px 16px 0;
  height: 220px;
  overflow: auto;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  font-size: 12px;
  line-height: 1.45;
}

.feed::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}
.feed::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.feed__item {
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 10px;
}

.feed__item:last-child {
  margin-bottom: 0;
}

.feed__title {
  font-weight: 950;
  margin-bottom: 4px;
}

.feed__body {
  color: rgba(255, 255, 255, 0.68);
}

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

.chip {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 950;
  font-size: 11px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin-right: 8px;
}

.footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.disclaimer {
  max-width: 720px;
}

.dialog {
  width: min(720px, calc(100% - 22px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(6, 9, 24, 0.92);
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7);
  padding: 0;
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.dialog__inner {
  padding: 16px;
}

.dialog__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dialog__title {
  font-weight: 950;
}

.dialog__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
}

.toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.toggle input {
  width: 18px;
  height: 18px;
}

.dialog__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}

.toasts {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100% - 32px));
  pointer-events: none;
}

.flyers {
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  overflow: hidden;
}

.flyer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 10px) rotate(var(--rot, 0deg));
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.22), rgba(34, 211, 238, 0.14));
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
  font-weight: 950;
  font-size: 13px;
  letter-spacing: 0.35px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 0 22px rgba(34, 211, 238, 0.18);
  will-change: transform, opacity;
  animation: flyerUp var(--dur, 1200ms) ease-out forwards;
}

.flyer__icon {
  margin-right: 8px;
}

.flyer--good {
  border-color: rgba(163, 230, 53, 0.24);
}
.flyer--bad {
  border-color: rgba(251, 113, 133, 0.22);
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.2), rgba(167, 139, 250, 0.12));
}

@keyframes flyerUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 16px) rotate(var(--rot, 0deg)) scale(0.95);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), -160px) rotate(calc(var(--rot, 0deg) + 12deg)) scale(1.05);
  }
}

.toast {
  pointer-events: none;
  border-radius: 16px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 20, 45, 0.78);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.45);
  animation: toastIn 240ms ease-out;
}

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

.toast__title {
  font-weight: 950;
  margin-bottom: 4px;
}

.toast__body {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.55;
  pointer-events: none;
}

.glitch::before {
  transform: translate(1px, 0);
  color: rgba(244, 114, 182, 0.9);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch 2.2s infinite linear alternate-reverse;
}

.glitch::after {
  transform: translate(-1px, 0);
  color: rgba(34, 211, 238, 0.9);
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  animation: glitch 1.8s infinite linear alternate;
}

@keyframes glitch {
  0% {
    filter: blur(0px);
  }
  20% {
    filter: blur(0.4px);
  }
  40% {
    filter: blur(0px);
  }
  60% {
    filter: blur(0.2px);
  }
  100% {
    filter: blur(0px);
  }
}

body.high-contrast {
  --card: rgba(0, 0, 0, 0.6);
  --card2: rgba(0, 0, 0, 0.5);
  --stroke2: rgba(255, 255, 255, 0.18);
}

body.reduced-motion .btn__spark,
body.reduced-motion .reactor__ring,
body.reduced-motion .reactor__core,
body.reduced-motion .glitch::before,
body.reduced-motion .glitch::after {
  animation: none !important;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card--tall {
    grid-row: auto;
  }
  .cta__row {
    grid-template-columns: 1fr;
  }
  .btn--mega {
    min-width: 0;
    width: 100%;
  }
  .cta__row--small {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn__spark,
  .reactor__ring,
  .reactor__core,
  .glitch::before,
  .glitch::after {
    animation: none !important;
  }
}

/* Rules page */
.page {
  padding-top: 18px;
}

.page__hero {
  padding: 18px;
}

.page__heroInner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
}

.page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 900;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

.page__title {
  margin: 10px 0 10px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.page__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  font-size: 14px;
}

.page__cta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.page__btn {
  width: 100%;
  text-align: center;
}

.page__tiny {
  font-size: 12px;
}

.page__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rulecard {
  overflow: hidden;
}

.rulecard__body {
  padding: 12px 16px 16px;
  display: grid;
  gap: 12px;
}

.steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
  font-size: 13px;
}

.step__k {
  font-weight: 950;
  color: rgba(255, 255, 255, 0.9);
}

.bul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
  font-size: 13px;
}

.callout {
  border-radius: 16px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.callout__title {
  font-weight: 950;
  margin-bottom: 4px;
}

.callout__body {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.45;
}

.callout--good {
  border-color: rgba(163, 230, 53, 0.22);
  background: rgba(163, 230, 53, 0.08);
}

.callout--bad {
  border-color: rgba(251, 113, 133, 0.22);
  background: rgba(251, 113, 133, 0.08);
}

.callout--neutral {
  border-color: rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.06);
}

.rulecard__mini {
  font-size: 12px;
}

.dict {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.dict__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dict__row:last-child {
  border-bottom: none;
}

.dict__k {
  font-weight: 950;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.dict__v {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  font-size: 13px;
}

@media (max-width: 980px) {
  .page__heroInner {
    grid-template-columns: 1fr;
  }
  .page__cta {
    justify-items: start;
  }
  .page__grid {
    grid-template-columns: 1fr;
  }
  .dict__row {
    grid-template-columns: 1fr;
  }
}
