:root {
  --bg0: #070713;
  --bg1: #0b0b1c;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted2: rgba(255, 255, 255, 0.55);
  --accent: #a75bff;
  --accent2: #6b7bff;
  --ok: #35d07f;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% 0%, rgba(167, 91, 255, 0.24), transparent 60%),
              radial-gradient(1000px 700px at 90% 15%, rgba(107, 123, 255, 0.18), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 450px at 25% 35%, rgba(167, 91, 255, 0.12), transparent 65%),
    radial-gradient(700px 420px at 75% 55%, rgba(107, 123, 255, 0.10), transparent 70%);
  filter: blur(0px);
}

.container {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.topRight {
  display: flex;
  align-items: center;
  gap: 10px;
}

.langs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.lang:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.lang.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.topRight {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(167, 91, 255, 0.95), rgba(107, 123, 255, 0.75));
  box-shadow: 0 10px 30px rgba(167, 91, 255, 0.22);
  color: #0b0b1c;
  font-weight: 900;
  letter-spacing: -0.04em;
  overflow: hidden;
}

.logoImg {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.brandText .title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brandText .subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}

.langSwitch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.langLink {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.langLink:hover { text-decoration: underline; }

.langLink.active {
  color: rgba(255, 255, 255, 0.90);
  border-color: rgba(167, 91, 255, 0.55);
  background: rgba(167, 91, 255, 0.14);
}

.panel {
  border: 1px solid var(--stroke);
  background: var(--panel);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted2); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn:active {
  transform: translateY(0px);
}

.btn.primary {
  border: 1px solid rgba(167, 91, 255, 0.55);
  background: linear-gradient(135deg, rgba(167, 91, 255, 0.95), rgba(107, 123, 255, 0.78));
  color: #0b0b1c;
}

.btn.primary:hover {
  border-color: rgba(167, 91, 255, 0.75);
}

.btn.small {
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 13px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 16px;
  overflow: hidden;
}

.cardHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.cardTitle {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.12);
}

.cardBody {
  padding: 10px 12px 12px;
}

.kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kv:last-child { border-bottom: none; }

.k {
  color: var(--muted2);
  font-size: 13px;
}

.v {
  font-weight: 700;
  font-size: 13px;
}

.link {
  color: rgba(167, 91, 255, 0.95);
  text-decoration: none;
}

.link:hover { text-decoration: underline; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid .panel {
  padding: 16px;
}

h2 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 8px 0;
}

.note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(167, 91, 255, 0.28);
  background: linear-gradient(135deg, rgba(167, 91, 255, 0.10), rgba(107, 123, 255, 0.08));
}

.noteTitle {
  font-weight: 800;
  margin-bottom: 6px;
}

.noteText {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.links {
  display: grid;
  gap: 10px;
}

.linkRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: var(--text);
}

.linkLabel {
  color: var(--muted2);
  font-size: 13px;
}

.linkValue {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
}

.donateBox {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
}

.donateTitle {
  font-weight: 900;
  margin-bottom: 8px;
}

.donateSub {
  margin-top: 10px;
  margin-bottom: 8px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.donateRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.addr {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.toast {
  margin-top: 12px;
  min-height: 18px;
  color: rgba(53, 208, 127, 0.95);
  font-size: 13px;
}

.footer {
  margin-top: 16px;
  padding: 10px 2px;
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 120px 1fr; }
}
