:root {
  --bg-0: #07070b;
  --bg-1: #10131d;
  --bg-2: #151b28;
  --panel: rgba(18, 23, 34, 0.86);
  --panel-strong: rgba(12, 16, 24, 0.95);
  --line: rgba(245, 211, 145, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #eef3ff;
  --muted: #aeb8c8;
  --gold: #f4c57a;
  --gold-strong: #f09f2d;
  --amber: #ffb657;
  --blue: #8dc6ff;
  --ok: #74f09e;
  --danger: #ff8f8f;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 90% -15%, rgba(247, 170, 50, 0.17), transparent 40%),
    radial-gradient(circle at -5% 80%, rgba(80, 145, 220, 0.16), transparent 33%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
}

body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0 49.7%, rgba(255, 255, 255, 0.035) 49.8% 50.2%, transparent 50.3% 100%),
    linear-gradient(180deg, transparent 0 49.7%, rgba(255, 255, 255, 0.025) 49.8% 50.2%, transparent 50.3% 100%);
  background-size: 180px 180px;
  opacity: 0.25;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.58), rgba(5, 8, 13, 0.88)),
    radial-gradient(circle at 68% 26%, rgba(247, 184, 85, 0.24), transparent 48%),
    radial-gradient(circle at 18% 76%, rgba(95, 148, 230, 0.18), transparent 42%),
    url("/assets/bg-fazavserver-world.svg") center center / cover no-repeat;
  opacity: 0.62;
  filter: saturate(1.12) contrast(1.06) brightness(0.88);
  transform: scale(1.04);
  animation: bgDrift 34s ease-in-out infinite alternate;
  will-change: transform;
}

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

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

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 10, 16, 0.8);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 800;
  text-shadow: 0 0 16px rgba(244, 197, 122, 0.48);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.top-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--gold);
  border-color: rgba(244, 197, 122, 0.3);
  background: rgba(244, 197, 122, 0.08);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.2rem;
}

.hero-banner {
  padding: 10px 0 6px;
}

.hero-banner-card {
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(244, 197, 122, 0.25);
  overflow: hidden;
  background: rgba(10, 13, 20, 0.82);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35), 0 0 36px rgba(244, 197, 122, 0.18);
}

.hero-banner-card img {
  width: 100%;
  height: clamp(180px, 27vw, 320px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 54px;
  border-bottom: 1px solid var(--line-soft);
  z-index: 0;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(112deg, rgba(6, 9, 14, 0.9), rgba(6, 9, 14, 0.66), rgba(6, 9, 14, 0.86)),
    radial-gradient(circle at 82% 24%, rgba(247, 184, 85, 0.2), transparent 44%),
    radial-gradient(circle at 18% 80%, rgba(95, 148, 230, 0.14), transparent 38%);
  filter: saturate(1.04) contrast(1.03);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 190, 96, 0.22), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  animation: floatAura 7s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.73rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cinzel", serif;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 4.3rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-subtitle {
  max-width: 63ch;
  margin: 16px 0 22px;
  color: #d5deee;
  line-height: 1.6;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(116, 240, 158, 0.8);
}

.status-dot.offline {
  background: var(--danger);
  box-shadow: 0 0 12px rgba(255, 143, 143, 0.8);
}

.hero-countdown {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(244, 197, 122, 0.35);
  border-radius: 12px;
  background: rgba(244, 197, 122, 0.1);
  color: #ffe4b8;
  font-weight: 700;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  width: 46%;
  height: 220%;
  left: -70%;
  top: -60%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: left 0.45s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::after {
  left: 130%;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-strong));
  border-color: rgba(255, 233, 196, 0.62);
  color: #221606;
  box-shadow: 0 16px 32px rgba(240, 156, 40, 0.26), 0 0 22px rgba(244, 197, 122, 0.35);
}

.btn-blue {
  background: linear-gradient(125deg, rgba(38, 72, 113, 0.92), rgba(20, 47, 78, 0.92));
  border-color: rgba(146, 202, 255, 0.55);
  color: #e5f4ff;
  box-shadow: 0 14px 28px rgba(62, 111, 170, 0.22);
}

.btn-dark {
  background: linear-gradient(125deg, rgba(29, 37, 55, 0.95), rgba(15, 23, 36, 0.95));
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.hero-side,
.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-side {
  padding: 22px;
}

.hero-side ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-side li {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.hero-side span {
  color: var(--gold);
  font-weight: 700;
}

.section {
  padding: 68px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

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

.section-desc {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 74ch;
  line-height: 1.56;
}

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

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

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

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

.card {
  padding: 20px;
}

.about-poster {
  margin-bottom: 16px;
  padding: 12px;
  overflow: hidden;
}

.about-poster img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(244, 197, 122, 0.28);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35), 0 0 28px rgba(244, 197, 122, 0.2);
}

.epic-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

.epic-respawn-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}

.epic-respawn-table th,
.epic-respawn-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.epic-respawn-table th {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 17, 25, 0.72);
}

.epic-respawn-table tbody tr:last-child td {
  border-bottom: none;
}

.epic-respawn-table tbody tr:hover td {
  background: rgba(244, 197, 122, 0.08);
}

.freq-chip,
.time-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.freq-chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #dce8ff;
  background: rgba(141, 198, 255, 0.14);
}

.freq-chip.daily {
  color: #d9f6ff;
  background: rgba(90, 149, 210, 0.25);
  border-color: rgba(141, 198, 255, 0.45);
}

.freq-chip.two-days {
  color: #ffeecf;
  background: rgba(245, 169, 66, 0.22);
  border-color: rgba(244, 197, 122, 0.46);
}

.freq-chip.long {
  color: #ffe0c8;
  background: rgba(214, 116, 54, 0.2);
  border-color: rgba(236, 145, 98, 0.42);
}

.time-chip {
  color: #fff0cf;
  border: 1px solid rgba(244, 197, 122, 0.42);
  background: rgba(244, 197, 122, 0.16);
}

.card p,
.muted {
  color: var(--muted);
  line-height: 1.58;
}

.support-contact {
  margin-bottom: 12px;
}

.support-contact-compact {
  margin-bottom: 10px;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(244, 197, 122, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(141, 198, 255, 0.06));
  color: #e7eefc;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.telegram-link:hover {
  transform: translateY(-1px);
  border-color: rgba(141, 198, 255, 0.55);
  box-shadow: 0 14px 32px rgba(16, 26, 42, 0.26);
}

.telegram-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: #8dc6ff;
}

.telegram-link-text {
  color: #edf3ff;
  font-weight: 600;
}

.telegram-link-handle {
  color: var(--gold);
  font-weight: 700;
}

.telegram-link-compact {
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border-color: rgba(77, 170, 255, 0.42);
  background: linear-gradient(180deg, rgba(46, 121, 188, 0.16), rgba(21, 67, 114, 0.22));
  color: #dff1ff;
  box-shadow: none;
}

.telegram-link-compact:hover {
  border-color: rgba(106, 188, 255, 0.72);
  box-shadow: 0 10px 24px rgba(14, 39, 68, 0.28);
}

.telegram-link-compact svg {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  fill: #39a7ff;
}

.telegram-link-compact .telegram-link-text {
  color: #e6f4ff;
  font-size: 0.9rem;
  font-weight: 500;
}

.telegram-link-compact .telegram-link-handle {
  color: #74c8ff;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

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

.metric-card {
  position: relative;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(244, 197, 122, 0.12);
  pointer-events: none;
}

.metric-value {
  font-family: "Cinzel", serif;
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.metric-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-value.online {
  color: var(--ok);
}

.metric-value.offline {
  color: var(--danger);
}

.top-widget {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.top-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 9, 14, 0.45);
}

.top-tab {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.top-tab.active {
  color: #2b1a06;
  border-color: rgba(244, 197, 122, 0.68);
  background: linear-gradient(120deg, var(--gold), var(--gold-strong));
}

.table-wrap {
  overflow-x: auto;
  padding: 14px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 360px;
}

.table th,
.table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table th {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px;
}

.news-card h3 {
  margin: 8px 0;
  font-size: 1.22rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.news-meta span {
  color: var(--gold);
}

details {
  margin-top: 8px;
}

details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 600;
}

.start-steps {
  counter-reset: start;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.start-steps li {
  position: relative;
  padding: 12px 14px 12px 50px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.start-steps li::before {
  counter-increment: start;
  content: counter(start);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: "Cinzel", serif;
  color: #261705;
  background: linear-gradient(120deg, var(--gold), var(--gold-strong));
}

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

.form label {
  display: grid;
  gap: 6px;
  color: #dde6f5;
  font-weight: 500;
}

.form input,
.form textarea,
.form select {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
  padding: 12px;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: rgba(244, 197, 122, 0.75);
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 197, 122, 0.2);
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.check-line input {
  margin-top: 3px;
  min-height: auto;
}

.honeypot {
  position: absolute;
  left: -99999px;
  opacity: 0;
  pointer-events: none;
}

.msg {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.msg.success {
  color: var(--ok);
}

.msg.error {
  color: var(--danger);
}

.register-actions {
  margin-top: 8px;
}

.download-grid,
.shop-grid,
.rules-grid,
.faq-grid,
.admin-grid {
  display: grid;
  gap: 16px;
}

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

.download-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.file-size {
  color: var(--gold);
  font-weight: 700;
}

.mirror-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mirror-btn {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.requirements-list,
.install-list,
.info-list,
.history-list,
.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.requirements-list li,
.install-list li,
.info-list li,
.history-list li,
.rule-list li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--muted);
}

.install-list li {
  position: relative;
  padding-left: 42px;
}

.install-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, var(--gold-strong) 85%);
  box-shadow: 0 0 10px rgba(244, 197, 122, 0.55);
}

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

.donate-checkout {
  padding: 22px;
}

.donate-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.donate-shell-main {
  display: grid;
  gap: 10px;
}

.donate-form-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.donate-amount-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.donate-amount-field input {
  min-width: 0;
}

#donateCoins {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.donate-inline-total {
  min-width: 168px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(141, 198, 255, 0.28);
  background: linear-gradient(180deg, rgba(27, 50, 77, 0.7), rgba(16, 30, 49, 0.82));
  display: grid;
  gap: 4px;
  align-content: center;
}

.donate-inline-total span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.donate-inline-total strong {
  color: #fbe2b4;
  font-family: "Cinzel", serif;
  font-size: 1.18rem;
}

.donate-checkout-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.donate-checkout-summary {
  display: grid;
  gap: 5px;
}

.donate-checkout-summary strong {
  color: var(--gold);
  font-size: 1.08rem;
}

.donate-method-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.donate-method-btn {
  min-height: 70px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(141, 198, 255, 0.18);
  background: linear-gradient(180deg, rgba(28, 36, 52, 0.92), rgba(16, 24, 37, 0.95));
  color: var(--text);
  display: grid;
  gap: 4px;
  align-content: center;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.donate-method-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 197, 122, 0.34);
  box-shadow: 0 14px 26px rgba(8, 12, 20, 0.34);
}

.donate-method-btn strong {
  color: #f5dfb7;
  font-size: 1rem;
}

.donate-method-btn small {
  color: var(--muted);
  line-height: 1.35;
}

.donate-method-btn[data-method-key="sbp"] {
  border-color: rgba(111, 193, 255, 0.38);
  background: linear-gradient(180deg, rgba(22, 70, 112, 0.92), rgba(13, 38, 65, 0.96));
}

.donate-method-btn[data-method-key="visa"],
.donate-method-btn[data-method-key="mastercard"],
.donate-method-btn[data-method-key="mir"] {
  border-color: rgba(244, 197, 122, 0.28);
}

.donate-method-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.donate-price-card {
  align-self: stretch;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(244, 197, 122, 0.24);
  background:
    radial-gradient(circle at top right, rgba(244, 197, 122, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(22, 27, 40, 0.96), rgba(12, 16, 24, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow);
  display: grid;
  gap: 16px;
}

.donate-price-value {
  font-family: "Cinzel", serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(244, 197, 122, 0.18);
}

.donate-price-caption {
  margin: 0;
  color: #f6dfb3;
}

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

.donate-mini-card {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 4px;
}

.donate-mini-card span,
.donate-mini-card small {
  color: var(--muted);
}

.donate-mini-card strong {
  color: var(--gold);
  font-size: 1.08rem;
}

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

.donate-side-list li {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

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

.donate-info-card {
  padding: 18px;
}

.donate-info-card h3 {
  margin-top: 6px;
}

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

.donate-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.donate-meta-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.donate-meta-list strong {
  color: var(--gold);
}

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

.shop-card li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.shop-card strong {
  color: var(--gold);
}

.shop-item-main {
  display: grid;
  gap: 4px;
}

.shop-buy-btn {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.9rem;
}

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

.payment-status-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
}

.char-list {
  display: grid;
  gap: 10px;
}

.char-card {
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) repeat(4, minmax(68px, auto));
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  color: var(--muted);
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.profile-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
}

.profile-item strong {
  display: block;
  color: var(--gold);
  margin-bottom: 5px;
}

.vote-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 12px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  color: #f4dcb1;
  font-weight: 700;
}

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

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

.rule-list li strong {
  color: var(--gold);
}

.highlight-line {
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.admin-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

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

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@keyframes floatAura {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.04);
  }
}

@keyframes bgDrift {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.06) translate3d(-0.7%, -0.8%, 0);
  }

  100% {
    transform: scale(1.05) translate3d(0.8%, 0.4%, 0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .stats-grid,
  .download-grid,
  .shop-grid,
  .profile-strip,
  .rules-grid,
  .faq-grid,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-nav {
    gap: 8px;
  }

  .telegram-link:not(.telegram-link-compact) {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .donate-shell,
  .donate-checkout-bar,
  .donate-info-grid,
  .donate-mini-grid,
  .donate-method-buttons {
    grid-template-columns: 1fr;
    display: grid;
  }

  .donate-amount-field {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  body::after {
    animation: none;
    transform: scale(1.06);
    background-position: center top;
    opacity: 0.56;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 4vw;
    right: 4vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: rgba(8, 12, 19, 0.98);
  }

  .top-nav.open {
    display: flex;
  }

  .top-nav a {
    width: 100%;
  }

  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .stats-grid,
  .download-grid,
  .shop-grid,
  .profile-strip,
  .char-card,
  .rules-grid,
  .faq-grid,
  .admin-grid,
  .footer-wrap {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .btn-row .btn {
    width: 100%;
  }

  .shop-buy-btn {
    width: auto;
  }

  .hero-countdown {
    width: 100%;
    justify-content: center;
  }

  .table {
    min-width: 300px;
  }

  .hero-banner {
    padding: 8px 0 4px;
  }

  .hero-banner-card img {
    height: clamp(148px, 48vw, 210px);
  }

  .page-hero {
    padding-top: 18px;
  }
}
