:root {
  --bg: #080609;
  --bg-2: #100b10;
  --bg-3: #1a1016;
  --card: rgba(22, 15, 20, .94);
  --line: rgba(220, 190, 180, .1);
  --text: #f2e9e5;
  --muted: #b5a5a5;
  --gold: #b88a48;
  --gold-2: #e7c68a;
  --red: #e02b31;
  --red-2: #a91421;
  --red-3: #580d18;
  --green: #4caf50;
  --radius: 14px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, .48);
  --shadow-glow: 0 0 28px rgba(190, 26, 39, .24);
  --font-title: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -15%, rgba(122, 15, 28, .28), transparent 45%),
    radial-gradient(ellipse at 100% 40%, rgba(56, 15, 27, .16), transparent 38%),
    linear-gradient(180deg, #080609 0%, #100a0e 48%, #080609 100%);
  color: var(--text);
  font: 15px/1.6 var(--font-body);
}
a { color: #dfb7a9; text-decoration: none; }
a:hover { color: #ff8a83; text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-title); letter-spacing: .02em; margin: 0 0 .5em; }
code { background: var(--bg-2); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85em; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 6, 9, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(174, 35, 45, .24);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font: 900 24px var(--font-title); color: var(--text); letter-spacing: .04em; }
.logo span { color: var(--gold); }
.logo:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.nav a:hover, .nav a.active { color: #f08b83; text-decoration: none; }
.nav a.btn { color: #fff4ed; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }
.demo-bar {
  background: linear-gradient(90deg, rgba(91, 10, 22, .96), rgba(43, 13, 19, .96));
  color: var(--gold-2); text-align: center; padding: 8px 16px; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-block; cursor: pointer;
  padding: 12px 26px; border-radius: 5px;
  background: linear-gradient(180deg, #c3333c 0%, #a51c2a 18%, #74111f 100%);
  color: #fff4ed; font: 800 13px var(--font-body); text-transform: uppercase; letter-spacing: .12em;
  border: 1px solid rgba(255, 126, 113, .6);
  box-shadow:
    inset 0 1px 0 rgba(255, 231, 215, .34),
    inset 0 -3px 0 rgba(44, 4, 13, .48),
    0 2px 0 #4a0b16,
    0 5px 0 #310810,
    0 9px 16px rgba(0, 0, 0, .48),
    0 0 18px rgba(178, 23, 39, .18);
  text-shadow: 0 1px 2px rgba(40, 0, 8, .62);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, filter .16s ease;
}
.btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #e34a50 0%, #bb2733 20%, #821421 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 226, .48),
    inset 0 -3px 0 rgba(44, 4, 13, .4),
    0 2px 0 #590d1a,
    0 7px 0 #310810,
    0 14px 22px rgba(0, 0, 0, .56),
    0 0 25px rgba(224, 43, 49, .3);
  filter: saturate(1.12);
  text-decoration: none;
}
.btn:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow:
    inset 0 3px 6px rgba(35, 0, 8, .42),
    0 1px 0 #310810,
    0 2px 5px rgba(0, 0, 0, .48);
}
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: linear-gradient(180deg, rgba(68, 43, 47, .96), rgba(24, 13, 18, .98));
  color: #f0d8d0; border: 1px solid rgba(211, 150, 137, .55);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 226, .15),
    inset 0 -3px 0 rgba(0, 0, 0, .32),
    0 2px 0 #160a0e,
    0 5px 0 #0b0709,
    0 9px 15px rgba(0, 0, 0, .4);
}
.btn-ghost:hover {
  background: linear-gradient(180deg, #74313b, #35131d);
  border-color: rgba(255, 126, 113, .78);
}
.btn-small { padding: 8px 16px; font-size: 12px; }
.btn:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid #f08b83;
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative; text-align: center; padding: 110px 0 90px;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(139, 15, 31, .38), transparent 52%),
    radial-gradient(ellipse at 50% 100%, rgba(48, 7, 17, .68), transparent 62%),
    linear-gradient(180deg, #160b11, #090609);
  border-bottom: 1px solid rgba(174, 35, 45, .22);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .13; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 25%, rgba(0,0,0,.62) 100%),
    repeating-linear-gradient(135deg, rgba(190, 26, 39, .18) 0 1px, transparent 1px 34px);
}
.hero-inner { position: relative; }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; color: var(--gold); font-size: 13px; margin: 0; }
.hero h1 { font-size: clamp(56px, 11vw, 120px); font-weight: 900; line-height: 1; margin: 12px 0; text-shadow: 0 4px 40px rgba(170, 24, 38, .38); }
.hero h1 span { color: var(--gold); }
.tagline { font-size: 19px; color: var(--muted); margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.countdown { display: flex; gap: 12px; justify-content: center; margin-top: 44px; }
.countdown div { background: rgba(26, 23, 34, .8); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; min-width: 78px; }
.countdown strong { display: block; font: 700 30px var(--font-title); color: var(--gold-2); }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }

/* Layout */
main { min-height: 60vh; }
.grid-main { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding-block: 56px; }
.section-title { font-size: 24px; margin-bottom: 20px; }
.page-head { padding-block: 56px 24px; }
.page-head h1 { font-size: clamp(32px, 5vw, 46px); }

/* Home page composition */
.home-hero { padding-block: 56px; }
.home-hero .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: 470px;
}
.home-hero-copy { text-align: left; }
.home-hero-copy h1 {
  max-width: 560px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.05;
  margin: 18px 0;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .7);
}
.home-hero-copy h1 span { color: #e24a4e; }
.home-hero-copy .tagline { max-width: 520px; }
.home-hero-copy .hero-actions { justify-content: flex-start; }
.home-hero .countdown { justify-content: flex-start; margin-top: 28px; }
.home-brand {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 34px 0;
  background: radial-gradient(ellipse, rgba(105, 13, 27, .24), transparent 70%);
}
.home-brand .hero-title-img { z-index: 1; width: 100%; }
.home-brand .hero-logo {
  width: min(560px, 100%);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.brand-seal, .brand-caption {
  z-index: 1;
  color: #cfaaa1;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.brand-caption { color: var(--muted); letter-spacing: .12em; }
.home-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 32px;
  padding-block: 54px;
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading .section-title { margin: 0; }
.section-mark { color: #8e7778; font: 600 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.home-news .news { border-left: 2px solid rgba(180, 40, 49, .5); }
.home-sidebar { display: grid; gap: 2px; }
.home-sidebar .card { margin-bottom: 16px; }

/* Cards */
.card {
  background: linear-gradient(155deg, rgba(31, 19, 25, .97), rgba(14, 10, 13, .98));
  border: 1px solid rgba(174, 35, 45, .17);
  border-radius: 8px;
  padding: 22px; margin-bottom: 20px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.025);
}
.card-title { font-size: 16px; color: #e4b4a8; text-transform: uppercase; letter-spacing: .08em; }
.news h3 { font-size: 20px; }
.news p { margin: 0; color: #cfc8d8; }
.news-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.tag { background: rgba(212, 166, 74, .15); color: var(--gold-2); padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }

.status, .rates, .mini-rank { list-style: none; margin: 0; padding: 0; }
.status li, .rates li, .mini-rank li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.status li:last-child, .rates li:last-child, .mini-rank li:last-child { border-bottom: 0; }
.mini-rank { counter-reset: rank; }
.mini-rank li span::before { counter-increment: rank; content: counter(rank) '. '; color: var(--muted); }
.more { display: inline-block; margin-top: 12px; font-size: 13px; }
.up { color: var(--green); }
.down { color: var(--red); }

/* Features */
.rate-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 32px; }
.rate-strip div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.rate-strip strong { display: block; font: 700 28px var(--font-title); color: var(--gold-2); }
.rate-strip span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; padding-bottom: 56px; }
.feature {
  margin: 0; transition: border-color .2s, transform .2s, box-shadow .2s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.feature:hover {
  border-color: rgba(224, 73, 77, .8);
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0,0,0,.32), 0 0 24px rgba(190,26,39,.2);
}
.feature-icon { font-size: 30px; margin-bottom: 8px; }
.feature h3 { font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }

/* Download */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 20px; }
.step { position: relative; margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.step p { flex: 1; color: var(--muted); }
.step-num { font: 900 42px var(--font-title); color: var(--gold); opacity: .5; line-height: 1; margin-bottom: 8px; }

/* Rules */
.rules { padding-left: 22px; padding-bottom: 56px; }
.rules li { margin-bottom: 16px; color: #cfc8d8; }
.rules strong { color: var(--text); }

/* Rankings */
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.tabs a.active, .tabs a:hover { border-color: var(--red); color: #ff8a83; text-decoration: none; }
.table-wrap { overflow-x: auto; margin-bottom: 56px; border: 1px solid var(--line); border-radius: var(--radius); }
.rank-table { width: 100%; border-collapse: collapse; background: var(--card); white-space: nowrap; }
.rank-table th, .rank-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.rank-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--bg-2); }
.rank-table tr:last-child td { border-bottom: 0; }
.rank-table tbody tr:hover { background: rgba(212, 166, 74, .05); }
.rank-table .name { font-weight: 600; }
.podium-1 td:first-child { color: #ffd700; font-weight: 700; }
.podium-2 td:first-child { color: #c0c0c0; font-weight: 700; }
.podium-3 td:first-child { color: #cd7f32; font-weight: 700; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.form input:not([type=checkbox]) {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 11px 14px; color: var(--text); font: inherit;
}
.form input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 2px rgba(224, 43, 49, .12); }
.form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.form .hp { position: absolute; left: -9999px; }
.alert { border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-error { background: rgba(192, 57, 43, .15); border: 1px solid var(--red); }
.alert-success { background: rgba(76, 175, 80, .12); border: 1px solid var(--green); }

.alert-info { background: rgba(212, 166, 74, .1); border: 1px solid var(--gold); }

/* Account dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.dash-head h1 { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { margin: 0; text-align: center; }
.stat strong { display: block; font: 700 32px var(--font-title); color: var(--gold-2); }
.stat span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.section-title { scroll-margin-top: 80px; margin-top: 36px; }
.dash .table-wrap { margin-bottom: 20px; }

.donate-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; max-width: 360px; }
.field select {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 11px 14px; color: var(--text); font: inherit;
}
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.package { cursor: pointer; }
.package input { position: absolute; opacity: 0; }
.package-body {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
  transition: border-color .15s, box-shadow .15s;
}
.package-body strong { font: 700 30px var(--font-title); color: var(--gold-2); }
.package-body em { font-style: normal; font-weight: 600; margin-top: 6px; }
.package:hover .package-body { border-color: var(--muted); }
.package input:checked + .package-body { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 6px 24px rgba(212, 166, 74, .2); }
.package input:focus-visible + .package-body { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.pay-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.pay { color: #fff; }
.pay-stripe { background: linear-gradient(180deg, #817aff, #5149d6); border-color: #a7a2ff; }
.pay-paypal { background: linear-gradient(180deg, #ffdb70, #e7a900); color: #111; border-color: #ffe7a1; text-shadow: none; }
.pay-revolut { background: linear-gradient(180deg, #fff, #d9d9df); color: #111; border-color: #fff; text-shadow: none; }
.pay:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, .42), 0 0 18px rgba(255, 255, 255, .12); }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-delivered { background: rgba(76, 175, 80, .15); color: var(--green); }
.pill-paid, .pill-delivering, .pill-pending { background: rgba(212, 166, 74, .15); color: var(--gold-2); }
.pill-failed { background: rgba(192, 57, 43, .15); color: #e57368; }

/* Footer */
.footer { border-top: 1px solid rgba(174, 35, 45, .2); background: rgba(7, 5, 7, .92); padding-block: 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer p { margin: 4px 0 0; max-width: 460px; }

@media (max-width: 860px) {
  .grid-main { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav a.btn { text-align: center; margin-top: 8px; }
  .hero { padding: 70px 0 60px; }
  .countdown div { min-width: 64px; padding: 10px; }
  .countdown strong { font-size: 22px; }
}

.social { display: flex; gap: 14px; margin-top: 8px; }
.social:empty { display: none; }
.form .check a { display: inline; }

/* Donate page */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta h3 { margin-bottom: 4px; }
.cta p { margin: 0; max-width: 620px; }
.step-title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 16px; }
.step-title span {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #1a1206; font: 700 14px var(--font-body);
}
.char-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.char-option { cursor: pointer; }
.char-option input { position: absolute; opacity: 0; }
.char-body {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
  transition: border-color .15s, box-shadow .15s;
}
.char-body strong { font-size: 16px; }
.char-option:hover .char-body { border-color: var(--muted); }
.char-option input:checked + .char-body { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 6px 24px rgba(212, 166, 74, .2); }
.char-option input:focus-visible + .char-body { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.online-note { margin: 12px 0 0; color: var(--gold-2); }
.summary { font-size: 16px; margin: 0 0 16px; }
.summary b { color: var(--gold-2); }
.packages-preview { margin-bottom: 20px; }
.pay-test { background: var(--bg-2); color: var(--text); border: 1px dashed var(--muted); }
.donate-form .card { margin-bottom: 0; }
.rate-note { margin: -8px 0 14px; }
.package-custom .package-body { justify-content: center; gap: 8px; }
.custom-input { display: flex; align-items: center; gap: 6px; }
.custom-input input {
  width: 90px; background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 10px; color: var(--text); font: 600 18px var(--font-body); text-align: center;
}
.custom-input input:focus { outline: none; border-color: var(--gold); }
.custom-input b { color: var(--muted); font-size: 13px; }

/* Logo image */
.logo {
  display: inline-flex; align-items: center; perspective: 900px;
  transform-style: preserve-3d;
  animation: logo-hover-float 7s ease-in-out infinite;
}
.logo-img {
  display: block; width: min(112px, 18vw); height: auto; max-height: 54px; object-fit: contain;
  transform: perspective(900px) rotateX(4deg) translateZ(8px);
  filter:
    drop-shadow(0 1px 0 rgba(255, 194, 153, .58))
    drop-shadow(0 3px 0 rgba(229, 92, 66, .62))
    drop-shadow(0 5px 0 rgba(117, 25, 31, .9))
    drop-shadow(0 8px 0 rgba(35, 8, 14, .95))
    drop-shadow(0 12px 14px rgba(0, 0, 0, .78))
    drop-shadow(0 0 14px rgba(230, 50, 40, .38));
  transition: filter .35s ease, transform .35s ease;
}
.logo:hover .logo-img {
  filter:
    drop-shadow(0 1px 0 rgba(255, 214, 177, .75))
    drop-shadow(0 4px 0 rgba(255, 102, 77, .72))
    drop-shadow(0 7px 0 rgba(117, 25, 31, .96))
    drop-shadow(0 10px 0 rgba(35, 8, 14, .98))
    drop-shadow(0 16px 18px rgba(0, 0, 0, .82))
    drop-shadow(0 0 24px rgba(255, 48, 42, .62));
  transform: perspective(900px) rotateX(8deg) rotateY(-8deg) translateY(-3px) translateZ(16px) scale(1.045);
}
.logo-footer .logo-img { height: 64px; }

.hero-title-img {
  position: relative;
  margin: 8px 0 4px;
  line-height: 0;
  transform-style: preserve-3d;
  animation: logo-hover-float 6s ease-in-out infinite;
}
.hero-title-img::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -24% -8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(218, 39, 43, .3), rgba(104, 12, 29, .12) 45%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  animation: logo-aura 4s ease-in-out infinite;
}
.hero-logo {
  display: block; width: min(640px, 92%); max-width: 100%; height: auto; margin: 0 auto;
  transform: perspective(1100px) rotateX(5deg) translateZ(12px);
  filter:
    drop-shadow(0 1px 0 rgba(255, 210, 169, .56))
    drop-shadow(0 4px 0 rgba(239, 102, 73, .62))
    drop-shadow(0 7px 0 rgba(126, 26, 35, .92))
    drop-shadow(0 11px 0 rgba(43, 7, 17, .98))
    drop-shadow(0 18px 26px rgba(0, 0, 0, .82))
    drop-shadow(0 0 38px rgba(202, 26, 42, .48));
  transition: transform .35s ease, filter .35s ease;
  animation: logo-glow 6s ease-in-out infinite;
}
.hero-title-img:hover .hero-logo {
  transform: perspective(1100px) rotateX(9deg) rotateY(-4deg) translateY(-5px) translateZ(24px) scale(1.025);
}
.hero-title-img:hover { animation-play-state: paused; }
@keyframes logo-glow {
  50% {
    filter:
      drop-shadow(0 1px 0 rgba(255, 224, 185, .72))
      drop-shadow(0 4px 0 rgba(255, 117, 81, .76))
      drop-shadow(0 7px 0 rgba(126, 26, 35, .96))
      drop-shadow(0 11px 0 rgba(43, 7, 17, .98))
      drop-shadow(0 21px 30px rgba(0, 0, 0, .86))
      drop-shadow(0 0 52px rgba(238, 32, 48, .64));
  }
}
.page-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
  perspective: 900px;
  transform-style: preserve-3d;
  animation: logo-hover-float 6.5s ease-in-out infinite;
}
.page-logo::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(202, 26, 42, .27), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
  animation: logo-aura 4.5s ease-in-out infinite;
}
@keyframes logo-hover-float {
  0%, 100% { transform: perspective(1000px) rotateX(3deg) translateY(0) translateZ(8px); }
  50% { transform: perspective(1000px) rotateX(6deg) translateY(-5px) translateZ(14px); }
}
@keyframes logo-aura {
  0%, 100% { opacity: .55; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:active:not(:disabled) { transform: none; }
  .logo, .hero-title-img, .page-logo, .hero-title-img::before, .page-logo::before { animation: none; }
  .hero-logo { animation: none; transition: none; }
  .logo-img, .page-logo-img { transition: none; }
  .logo:hover .logo-img, .hero-title-img:hover .hero-logo, .page-logo:hover .page-logo-img { transform: none; }
}

.page-logo-img {
  display: inline-block; height: 110px; width: auto; max-width: 100%;
  transform: perspective(900px) rotateX(5deg) translateZ(10px);
  filter:
    drop-shadow(0 1px 0 rgba(255, 210, 169, .5))
    drop-shadow(0 4px 0 rgba(239, 102, 73, .58))
    drop-shadow(0 7px 0 rgba(126, 26, 35, .9))
    drop-shadow(0 10px 0 rgba(43, 7, 17, .96))
    drop-shadow(0 16px 22px rgba(0, 0, 0, .78))
    drop-shadow(0 0 30px rgba(202, 26, 42, .42));
  transition: transform .25s ease, filter .25s ease;
}
.page-logo:hover .page-logo-img {
  transform: perspective(900px) rotateX(8deg) rotateY(-6deg) translateY(-4px) translateZ(18px);
}
.auth-head p.muted { margin-inline: auto; }

@media (max-width: 860px) {
  .logo-img { width: min(96px, 22vw); max-height: 42px; }
  .page-logo-img { height: 84px; }
}
.char-option.is-disabled { cursor: not-allowed; }
.char-option.is-disabled .char-body { opacity: .45; border-style: dashed; }
.char-option.is-disabled:hover .char-body { border-color: var(--line); }

/* Live server status */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 8px; vertical-align: middle; }
.dot-up { background: var(--green); box-shadow: 0 0 0 0 rgba(76, 175, 80, .6); animation: dot-pulse 2s infinite; }
.dot-down { background: var(--red); }
@keyframes dot-pulse { 70% { box-shadow: 0 0 0 7px rgba(76, 175, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); } }
@media (prefers-reduced-motion: reduce) { .dot-up { animation: none; } }
.status b small { font-weight: 500; font-size: 12px; }
.status-updated { margin: 10px 0 0; }
.live-badge {
  float: right; font: 600 10px var(--font-body); letter-spacing: .12em; color: var(--green);
  border: 1px solid rgba(76, 175, 80, .4); border-radius: 999px; padding: 2px 8px; margin-top: 2px;
}
.status-pill {
  display: inline-flex; align-items: center; margin-left: auto; margin-right: 20px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  color: var(--text); background: rgba(76, 175, 80, .08); border: 1px solid rgba(76, 175, 80, .3);
}
.status-pill:hover { text-decoration: none; border-color: var(--green); }
.status-pill .dot { width: 7px; height: 7px; margin-right: 7px; }
.status-pill.is-down { background: rgba(192, 57, 43, .1); border-color: rgba(192, 57, 43, .4); }
@media (max-width: 1100px) and (min-width: 861px) { .status-pill { display: none; } }
@media (max-width: 860px) { .status-pill { margin-right: 12px; } }
.mini-rank .dot { width: 7px; height: 7px; margin-right: 6px; }
.mini-rank li span::before { margin-right: 2px; }

/* Social links & voting */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 38px; height: 38px; border-radius: 50%; color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--line); transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.social-link:hover { color: #fff; transform: translateY(-2px); text-decoration: none; }
.social-discord:hover { background: #5865f2; border-color: #5865f2; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); border-color: #dc2743; }
.social-tiktok:hover { background: #111; border-color: #25f4ee; box-shadow: 2px 2px 0 #fe2c55; }
.social-youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 0; }
.social-list .social-link { width: auto; height: auto; border-radius: 8px; padding: 9px 12px; justify-content: flex-start; font-weight: 500; font-size: 14px; }
.vote-title { margin: 16px 0 8px; }
.vote-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.vote-buttons .btn { flex: 1; text-align: center; }
.vote-buttons { flex-direction: column; }
.vote-buttons .btn { width: 100%; }

/* Features page: settings + commands */
.info-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding-bottom: 56px; margin-top: -24px; }
.info-grid .card { margin: 0; }
.commands { list-style: none; margin: 0; padding: 0; }
.commands li { display: flex; gap: 16px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.commands li:last-child { border-bottom: 0; }
.command-names { display: flex; flex-wrap: wrap; gap: 6px; min-width: 150px; }
.commands code { color: var(--gold-2); background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; }
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
  .commands li { flex-direction: column; gap: 4px; }
}

/* Page-specific layouts */
.interior-head {
  position: relative;
  padding-block: 66px 34px;
  border-bottom: 1px solid rgba(174, 35, 45, .15);
}
.interior-head .eyebrow { margin-bottom: 10px; }
.interior-head > .muted { max-width: 680px; margin-bottom: 0; }
.features-head {
  margin-bottom: 34px;
  border-left: 2px solid var(--red-2);
  background: linear-gradient(90deg, rgba(95, 14, 27, .2), transparent 78%);
}
.feature-page-content .rate-strip div {
  border-radius: 4px;
  border-top: 2px solid rgba(194, 58, 62, .58);
  background: linear-gradient(160deg, rgba(34, 19, 25, .94), rgba(12, 9, 12, .96));
}
.feature-page-content .rate-strip strong { color: #e58a7e; }
.feature-page-content .feature-grid { padding-bottom: 36px; }
.download-head {
  padding-bottom: 42px;
  border-bottom: 0;
  background: radial-gradient(ellipse at 20% 70%, rgba(100, 14, 28, .22), transparent 60%);
}
.download-steps { position: relative; padding-bottom: 28px; }
.download-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(193, 54, 61, .5), transparent);
}
.download-steps .step {
  z-index: 1;
  min-height: 260px;
  padding-top: 26px;
  border-top: 1px solid rgba(193, 54, 61, .24);
}
.download-steps .step-num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(230, 75, 77, .52);
  border-radius: 50%;
  background: #160b10;
  color: #e9aaa0;
  opacity: 1;
  font-size: 24px;
}
.page-rules {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 50% 48%, rgba(87, 11, 25, .18), transparent 42%);
}
.rules-head { text-align: center; }
.rules-head > .muted { margin-inline: auto; }
.rules-content { max-width: 820px; }
.rules {
  list-style: none;
  counter-reset: rule;
  padding: 12px 0 56px;
}
.rules li {
  counter-increment: rule;
  display: block;
  margin: 0 0 12px;
  padding: 18px 20px;
  border: 1px solid rgba(174, 35, 45, .18);
  border-radius: 6px;
  background: linear-gradient(100deg, rgba(34, 17, 23, .88), rgba(12, 9, 12, .8));
}
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  display: inline-block;
  width: 54px;
  color: #df8177;
  font: 700 18px var(--font-title);
}
.rules strong { display: inline; margin-right: 4px; color: #f1d4c9; }
.rankings-head {
  padding-bottom: 32px;
  background: radial-gradient(ellipse at 78% 50%, rgba(105, 13, 27, .24), transparent 48%);
}
.rank-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  margin: 12px 0 28px;
}
.podium-card {
  display: flex;
  min-height: 158px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 20px;
  border: 1px solid rgba(174, 35, 45, .24);
  background: linear-gradient(160deg, rgba(39, 20, 27, .95), rgba(12, 9, 12, .98));
  box-shadow: var(--shadow-soft);
}
.podium-card-1 { min-height: 190px; border-color: rgba(219, 159, 93, .42); }
.podium-place { color: #df8177; font: 700 12px var(--font-body); letter-spacing: .16em; }
.podium-card-1 .podium-place { color: var(--gold-2); }
.podium-card strong { font: 700 20px var(--font-title); overflow-wrap: anywhere; }
.podium-card > span:not(.podium-place) { color: var(--muted); font-size: 12px; }
.podium-card b { margin-top: 8px; color: #e8b5a8; font: 700 20px var(--font-title); }
.podium-card b small { color: var(--muted); font: 500 10px var(--font-body); }
.page-login {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 50% 36%, rgba(91, 10, 22, .24), transparent 42%);
}
.page-register {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 50% 30%, rgba(51, 28, 34, .3), transparent 44%);
}
.auth-head { padding-top: 44px; }
.page-login .auth-head h1, .page-register .auth-head h1 { letter-spacing: .06em; }
.page-login .form, .page-register .form { border-top: 2px solid rgba(174, 35, 45, .56); }
.account-head { margin-bottom: 10px; }
.page-account .stat-row .stat { border-bottom: 2px solid rgba(174, 35, 45, .42); }
.page-account .cta { border-left: 2px solid var(--red-2); }
.donate-head {
  border-bottom: 0;
  background: linear-gradient(100deg, rgba(91, 10, 22, .18), transparent 72%);
}
.page-donate .donate-form > .card { border-left: 2px solid rgba(174, 35, 45, .48); }

@media (max-width: 860px) {
  .home-hero .hero-inner { grid-template-columns: 1fr; gap: 10px; padding-block: 0; }
  .home-hero-copy { text-align: center; }
  .home-hero-copy h1 { margin-inline: auto; }
  .home-hero-copy .tagline { margin-inline: auto; }
  .home-hero-copy .hero-actions, .home-hero .countdown { justify-content: center; }
  .home-brand { padding: 20px 0; }
  .home-brand .hero-logo { width: min(560px, 100%); }
  .home-feed { grid-template-columns: 1fr; gap: 8px; padding-block: 36px; }
  .home-sidebar { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
  .home-sidebar .card { margin-bottom: 0; }
  .download-steps::before { display: none; }
  .download-steps .step { min-height: 0; }
}
@media (max-width: 560px) {
  .home-hero-copy h1 { font-size: clamp(42px, 12vw, 60px); }
  .section-mark { display: none; }
  .rank-podium { grid-template-columns: 1fr; }
  .podium-card, .podium-card-1 { min-height: 130px; }
  .rules li::before { width: 36px; }
  .interior-head { padding-block: 42px 26px; }
}
.bonus-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #1a1206;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-radius: 999px; padding: 1px 8px; margin-bottom: 2px;
}
.bonus-text { color: var(--green); font-weight: 600; }
.package-body { position: relative; }

/* Donate: free amount */
.amount-box { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.amount-field {
  display: flex; align-items: center; gap: 6px; padding: 6px 16px; flex: 0 1 240px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s;
}
.amount-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.amount-symbol { font: 700 26px var(--font-title); color: var(--gold-2); }
.amount-field input {
  width: 100%; min-width: 0; background: none; border: 0; outline: none; color: var(--text);
  font: 700 32px var(--font-title); padding: 6px 0;
}
.amount-arrow { color: var(--muted); font-size: 22px; }
.amount-result { display: flex; flex-direction: column; }
.amount-result strong { font: 700 34px var(--font-title); color: var(--gold-2); line-height: 1.1; }
.amount-result span { color: var(--muted); }
.amount-result .bonus-text { color: var(--green); }
.amount-error { color: #e57368; margin: 10px 0 0; font-size: 14px; }
.amount-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 18px; }
.amount-chip {
  display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
  padding: 10px 8px; background: linear-gradient(180deg, #29191f, #130d11); color: var(--text); font: inherit;
  border: 1px solid var(--line); border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 #090609, 0 5px 10px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.amount-chip b { font: 700 18px var(--font-title); color: var(--gold-2); }
.amount-chip span { font-size: 12px; color: var(--muted); }
.amount-chip:hover { transform: translateY(-2px); border-color: var(--red); }
.amount-chip:active { transform: translateY(2px); box-shadow: inset 0 2px 5px rgba(0,0,0,.4); }
.amount-chip.active { border-color: var(--gold); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px var(--gold), 0 4px 12px rgba(0,0,0,.35); }
.amount-chip:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.pay-buttons .btn:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 560px) { .amount-arrow { display: none; } .amount-field { flex-basis: 100%; } }
.live-badge.is-down { color: #e57368; border-color: rgba(192, 57, 43, .5); }

/* Admin panel */
.nav-admin { color: var(--gold-2) !important; font-weight: 600; }
.admin-head { padding-bottom: 8px; }
.admin-tabs { margin: 18px 0 0; }
.admin-stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.admin-stats .stat strong { font-size: 26px; }
.admin-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.admin-grid .section-title:first-child { margin-top: 12px; }
.admin-table { font-size: 14px; }
.admin-table td, .admin-table th { padding: 10px 12px; }
.row-actions { white-space: nowrap; }
.row-actions form { display: inline; }
.btn-xs { padding: 4px 10px; font-size: 11px; letter-spacing: .03em; }
.btn-danger {
  background: linear-gradient(180deg, #f04b4b, #a3121d);
  color: #fff;
  border-color: rgba(255, 146, 131, .62);
}
.admin-filters { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.admin-filters label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 13px; }
.admin-filters input, .admin-filters select, .admin-search input, .admin-action select {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; color: var(--text); font: inherit; min-width: 180px;
}
.admin-filters input { min-width: 260px; }
.admin-search input { width: 100%; }
.admin-action { gap: 12px; margin-bottom: 20px; }
.admin-action .card-title { margin: 0; }
.admin-action p { margin: 0; }
.admin-account-head { display: flex; align-items: center; gap: 10px; }
.admin-account-head h3 { margin: 0; font-size: 22px; }
.admin-big { font: 700 26px var(--font-title); color: var(--gold-2); margin: 0; }
.admin-attention { border-color: rgba(212, 166, 74, .5); }
.pill-pending { background: rgba(154, 147, 166, .15); color: var(--muted); }
.pill-cancelled { background: rgba(154, 147, 166, .1); color: var(--muted); }
.char-chip { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; }
.char-chip.is-online { border-color: var(--green); }
.pager { display: flex; gap: 10px; justify-content: center; margin: 20px 0 40px; }
@media (max-width: 960px) { .admin-grid { grid-template-columns: 1fr; } }
.char-chip.is-match { border-color: var(--gold); color: var(--gold-2); }
.admin-queue { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.admin-queue .card-title { margin-bottom: 4px; }
.admin-queue p { margin: 0; max-width: 760px; }
.admin-queue.is-stale { border-color: rgba(212, 166, 74, .6); }
