:root {
  --bg: #0b0b10;
  --bg-2: #101018;
  --card: #14141c;
  --card-2: #1a1a24;
  --input: #191924;
  --line: #272736;
  --line-2: #33334a;
  --text: #ffffff;
  --body: #cbd5e1;
  --muted: #8b8b9e;
  --gold: #d6a531;
  --gold-2: #f2c55c;
  --orange: #c2560f;
  --red: #ff2a4b;
  --red-rgb: 255, 42, 75;
  --green: #22c55e;
  --blue: #3b82f6;
  --grad: linear-gradient(135deg, #d6a531 0%, #c2560f 100%);
  --grad-soft: linear-gradient(135deg, rgba(214, 165, 49, 0.16), rgba(194, 86, 15, 0.16));
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --glow-gold: 0 6px 26px rgba(214, 165, 49, 0.35);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--body);
  font-family: "Kanit", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 28%, rgba(120, 20, 60, 0.32), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(70, 20, 110, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(var(--red-rgb), 0.1), transparent 70%),
    var(--bg);
}

.sky::before, .sky::after {
  content: "";
  position: absolute;
  inset: -50% 0 0 0;
  background-image:
    radial-gradient(1.4px 1.4px at 20px 30px, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 140px 90px, rgba(var(--red-rgb), 0.55), transparent 60%),
    radial-gradient(1px 1px at 90px 160px, rgba(255, 255, 255, 0.25), transparent 60%),
    radial-gradient(1.6px 1.6px at 230px 210px, rgba(214, 165, 49, 0.45), transparent 60%);
  background-size: 260px 260px;
  animation: drift 90s linear infinite;
  opacity: 0.7;
}

.sky::after {
  background-size: 410px 410px;
  animation-duration: 140s;
  opacity: 0.45;
}

@keyframes drift {
  to {
    transform: translateY(50%);
  }
}

.wrap {
  width: min(1140px, 100% - 32px);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 16, 24, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold) 15%, var(--orange) 85%, transparent) 1;
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 19px;
  color: #f6e7c8;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(var(--red-rgb), 0.45));
}

.links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.links a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--r-sm);
  color: var(--body);
  font-weight: 400;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.links a i {
  color: var(--gold);
}

.links a:hover, .links a.active {
  background: rgba(214, 165, 49, 0.1);
  color: var(--text);
}

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

.side .sep {
  width: 1px;
  height: 28px;
  background: var(--line-2);
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-weight: 400;
  white-space: nowrap;
}

.link-btn i {
  color: var(--gold);
}

.link-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.wallet-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(214, 165, 49, 0.4);
  color: var(--gold-2);
  font-weight: 500;
  white-space: nowrap;
}

.user-menu {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--line);
  cursor: pointer;
  max-width: 190px;
}

.user-btn .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  flex: none;
}

.user-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: 6px;
}

.dropdown a, .dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: none;
  border-radius: var(--r-sm);
  text-align: left;
  cursor: pointer;
}

.dropdown a:hover, .dropdown button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dropdown i {
  width: 18px;
  color: var(--gold);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-gold {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow-gold);
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.1);
  box-shadow: 0 8px 32px rgba(214, 165, 49, 0.5);
}

.btn-ghost {
  background: rgba(60, 40, 80, 0.35);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(80, 55, 105, 0.5);
}

.btn-dark {
  background: var(--card-2);
  border-color: var(--line);
  color: var(--text);
}

.btn-dark:hover:not(:disabled) {
  border-color: var(--line-2);
  background: #20202c;
}

.btn-red {
  background: rgba(var(--red-rgb), 0.14);
  border-color: rgba(var(--red-rgb), 0.4);
  color: #ff8a9b;
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13.5px;
  border-radius: var(--r-sm);
}

.btn-block {
  width: 100%;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.loading i {
  animation: spin 0.8s linear infinite;
}

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

.hero {
  text-align: center;
  padding: 70px 0 30px;
}

.hero-logo {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 26px;
}

.hero-logo::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--red-rgb), 0.38), transparent 68%);
  animation: pulse 3.2s ease-in-out infinite;
}

.hero-logo img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: float 4.5s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.55;
    transform: scale(0.94);
  }
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

.hero h1 {
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 30px rgba(var(--red-rgb), 0.25);
}

.pill {
  display: inline-block;
  margin: 18px auto 0;
  padding: 11px 34px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 500;
  font-size: clamp(14px, 2.4vw, 16px);
  box-shadow: 0 0 34px rgba(214, 165, 49, 0.32);
  max-width: 100%;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-actions .btn {
  padding: 13px 26px;
}

.announce {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 26px auto 0;
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  background: rgba(80, 55, 40, 0.35);
  border: 1px solid rgba(214, 165, 49, 0.28);
  overflow: hidden;
}

.announce .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #2a1a05;
}

.marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 26s linear infinite;
  color: #f1dfbd;
  font-size: 14.5px;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 46px 0 10px;
  background: rgba(8, 8, 12, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stat b {
  color: var(--gold);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}

.stat b em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
  margin-left: 4px;
}

.stat .tile {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: #23232e;
  color: #a8a8b8;
  font-size: 19px;
  flex: none;
}

.stat:last-child .tile {
  background: var(--gold);
  color: #fff;
}

section {
  padding: 56px 0 10px;
}

.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.head h2 {
  font-size: clamp(22px, 4vw, 28px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.head h2 i {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
  box-shadow: var(--glow-gold);
}

.head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.page-head {
  padding: 46px 0 6px;
}

.page-head h1 {
  font-size: clamp(26px, 5vw, 36px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-head h1 i {
  color: var(--gold);
}

.page-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}

.card h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.card h3 i {
  color: var(--gold);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #181822, #111118);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.tier:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 165, 49, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(214, 165, 49, 0.15);
}

.tier.hot {
  border-color: rgba(214, 165, 49, 0.6);
  box-shadow: 0 0 30px rgba(214, 165, 49, 0.14);
}

.ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.tier .ico {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(214, 165, 49, 0.35);
  color: var(--gold-2);
  font-size: 22px;
  margin-bottom: 16px;
}

.tier h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.tier .price {
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.15;
}

.tier .price small {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  flex: 1;
}

.tier li {
  display: flex;
  gap: 9px;
  align-items: baseline;
}

.tier li i {
  color: var(--green);
  font-size: 13px;
}

.skeleton {
  min-height: 300px;
  background: linear-gradient(100deg, #15151d 30%, #1d1d28 50%, #15151d 70%);
  background-size: 300% 100%;
  animation: shine 1.4s linear infinite;
}

@keyframes shine {
  to {
    background-position: -150% 0;
  }
}

.games {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.game {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.game:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--red-rgb), 0.5);
}

.game .art {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: rgba(255, 255, 255, 0.92);
  background: var(--g, linear-gradient(135deg, #3a1020, #120a18));
}

.game .meta {
  padding: 12px 14px 14px;
}

.game h4 {
  font-size: 15px;
  font-weight: 500;
}

.game small {
  color: var(--green);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.game small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: s;
}

.step {
  position: relative;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: rgba(214, 165, 49, 0.14);
}

.step i {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 12px;
}

.step h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-size: 14px;
  color: var(--body);
  font-weight: 400;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--input);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 165, 49, 0.18);
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.input-icon .input {
  padding-left: 40px;
}

.mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.5px;
}

.hint {
  font-size: 13.5px;
  color: var(--muted);
}

.note {
  display: flex;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--r-md);
  background: rgba(214, 165, 49, 0.08);
  border: 1px solid rgba(214, 165, 49, 0.25);
  font-size: 14.5px;
}

.note i {
  color: var(--gold);
  margin-top: 4px;
}

.note.red {
  background: rgba(var(--red-rgb), 0.08);
  border-color: rgba(var(--red-rgb), 0.3);
}

.note.red i {
  color: var(--red);
}

ol.how {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: h;
  display: grid;
  gap: 12px;
}

ol.how li {
  position: relative;
  padding-left: 40px;
  font-size: 15px;
}

ol.how li::before {
  counter-increment: h;
  content: counter(h);
  position: absolute;
  left: 0;
  top: 1px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
}

ol.how b {
  color: var(--text);
  font-weight: 500;
}

.balance-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(214, 165, 49, 0.2), rgba(194, 86, 15, 0.12) 60%, rgba(20, 20, 28, 0.9));
  border: 1px solid rgba(214, 165, 49, 0.4);
}

.balance-card small {
  color: #e9d6b0;
}

.balance-card .amt {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.balance-card .amt em {
  font-style: normal;
  font-size: 16px;
  color: var(--gold-2);
  margin-left: 6px;
  font-weight: 400;
}

.balance-card .bg-ic {
  position: absolute;
  right: -10px;
  bottom: -22px;
  font-size: 110px;
  color: rgba(214, 165, 49, 0.12);
}

.keys {
  display: grid;
  gap: 12px;
}

.keyrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--card-2);
  border: 1px solid var(--line);
}

.keyrow .k {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.keyrow code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  color: var(--text);
  font-size: 15px;
  letter-spacing: 0.5px;
  word-break: break-all;
}

.keyrow .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}

.keyrow .meta i {
  color: var(--gold);
  margin-right: 4px;
}

.keyrow .acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 400;
  border: 1px solid;
  white-space: nowrap;
}

.badge.ok {
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.badge.new {
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
}

.badge.bad {
  color: #ff8a9b;
  border-color: rgba(var(--red-rgb), 0.35);
  background: rgba(var(--red-rgb), 0.08);
}

.badge.gold {
  color: var(--gold-2);
  border-color: rgba(214, 165, 49, 0.35);
  background: rgba(214, 165, 49, 0.08);
}

.empty {
  text-align: center;
  padding: 30px 10px;
  color: var(--muted);
}

.empty i {
  font-size: 30px;
  color: var(--line-2);
  margin-bottom: 10px;
  display: block;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

td.plus {
  color: #4ade80;
}

td.minus {
  color: #ff8a9b;
}

.code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  border-radius: var(--r-md);
  background: #09090d;
  border: 1px solid var(--line);
}

.code-box code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13.5px;
  color: #f1dfbd;
}

.auth {
  max-width: 440px;
  margin: 56px auto 30px;
}

.auth .card {
  padding: 30px 26px;
}

.auth-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  filter: drop-shadow(0 0 18px rgba(var(--red-rgb), 0.45));
}

.auth h1 {
  text-align: center;
  font-size: 26px;
}

.auth .sub {
  text-align: center;
  color: var(--muted);
  margin: 4px 0 24px;
}

.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13.5px;
}

.or::before, .or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
}

.btn-discord:hover {
  filter: brightness(1.1);
}

.switch {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.switch a {
  color: var(--gold-2);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  margin-bottom: 16px;
  cursor: pointer;
}

.check input {
  margin-top: 5px;
  accent-color: var(--gold);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  padding: 0 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  padding: 15px 0;
  color: var(--text);
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s;
}

.modal-box {
  width: min(460px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
  animation: pop 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  text-align: center;
}

.modal-box .big-ic {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--glow-gold);
}

.modal-box .big-ic.green {
  background: linear-gradient(135deg, #22c55e, #15803d);
  box-shadow: 0 6px 26px rgba(34, 197, 94, 0.35);
}

.modal-box h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.modal-box p {
  margin: 0 0 16px;
  color: var(--muted);
}

.modal-box .row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.modal-box .row .btn {
  flex: 1;
}

.summary {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 16px;
  background: var(--card-2);
}

.summary div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

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

.summary b {
  color: var(--text);
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

.toasts {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: grid;
  gap: 10px;
  max-width: calc(100% - 32px);
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: #1c1c27;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 14.5px;
  animation: pop 0.25s;
}

.toast i {
  color: var(--gold);
}

.toast.err i {
  color: var(--red);
}

.toast.ok i {
  color: var(--green);
}

footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 12, 0.7);
  padding: 30px 0;
  font-size: 14px;
  color: var(--muted);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot .links-f {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.foot .links-f a:hover {
  color: var(--gold-2);
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  overflow-x: auto;
  margin-bottom: 18px;
}

.tabs button {
  flex: none;
  padding: 9px 16px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tabs button.active {
  background: var(--grad);
  color: #fff;
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.toolbar .input {
  flex: 1;
  min-width: 180px;
  width: auto;
}

.toolbar select.input {
  flex: none;
  min-width: 0;
}

.row-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.row-inline .field {
  flex: 1;
  min-width: 120px;
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px 16px;
    background: rgba(16, 16, 24, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
  }

  .links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .links a {
    padding: 12px 14px;
  }

  .burger {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .side {
    order: 3;
  }

  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .games {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .nav-in {
    gap: 10px;
    height: 62px;
  }

  .links {
    top: 64px;
  }

  .brand span {
    display: none;
  }

  .side .sep, .side .hide-sm, .user-btn span {
    display: none;
  }

  .wallet-chip {
    padding: 6px 11px;
    font-size: 14px;
  }

  .side .btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-logo {
    width: 116px;
    height: 116px;
  }

  .pill {
    padding: 10px 20px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 150px;
  }

  .tiers, .steps {
    grid-template-columns: 1fr;
  }

  .games {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 16px;
  }

  .stat b {
    font-size: 24px;
  }

  .stat .tile {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

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

  .keyrow .acts {
    justify-content: flex-start;
  }

  .card {
    padding: 18px;
  }
}

.grid-2 > *, .stack > *, .keyrow > *, .tiers > *, .games > *, .steps > * {
  min-width: 0;
}
