:root {
  --bg: #090b0b;
  --bg-deep: #050606;
  --panel: #141211;
  --panel-strong: #1b1715;
  --panel-warm: #171411;
  --line: #342c29;
  --line-strong: #57423c;
  --text: #f2efe8;
  --muted: #b0a6a0;
  --green: #b76a42;
  --green-soft: rgba(183, 106, 66, 0.12);
  --green-dark: #8f4936;
  --rust: #7f2f35;
  --rust-soft: rgba(127, 47, 53, 0.16);
  --olive: #7b9b77;
  --danger: #ff674d;
  --steel: #87928d;
  --glow: rgba(201, 121, 69, 0.2);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: 68px;
  background:
    radial-gradient(circle at 20% 0%, rgba(127, 47, 53, 0.22), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(183, 106, 66, 0.12), transparent 24rem),
    linear-gradient(180deg, #100d0c 0%, var(--bg) 48%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

::selection {
  background: var(--green);
  color: #140b08;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(183, 106, 66, 0.18);
  background: rgba(9, 7, 7, 0.86);
  backdrop-filter: blur(16px);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 121, 69, 0.58), transparent);
  pointer-events: none;
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(183, 106, 66, 0.18), rgba(127, 47, 53, 0.18));
  color: #e4b07d;
  font-weight: 900;
  border-radius: 4px;
  box-shadow: 0 0 22px rgba(183, 106, 66, 0.12);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(22, 18, 16, 0.78);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.nav a:hover,
.button:hover {
  border-color: rgba(183, 106, 66, 0.5);
  color: var(--green);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.nav a.is-active,
.nav a[aria-current="page"] {
  border-color: rgba(183, 106, 66, 0.58);
  background: rgba(183, 106, 66, 0.14);
  color: var(--green);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.16);
}

.button-primary {
  border-color: var(--green);
  background: linear-gradient(180deg, #e08b54, #b9603f);
  color: #140b08;
  box-shadow: 0 14px 32px rgba(183, 106, 66, 0.24), inset 0 1px rgba(255, 255, 255, 0.22);
}

.button-primary:hover {
  background: var(--green-dark);
  color: #f3eee7;
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 52px 0 58px;
}

.hero-home {
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 121, 69, 0.18);
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(5, 4, 4, 0.3) 0%, rgba(5, 4, 4, 0.2) 28%, rgba(5, 4, 4, 0.38) 62%, rgba(5, 4, 4, 0.54) 100%),
    linear-gradient(90deg, rgba(5, 4, 4, 0.22) 0%, rgba(5, 4, 4, 0.08) 50%, rgba(5, 4, 4, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 6, 5, 0.02), rgba(5, 6, 6, 0.56));
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(0, 0, 0, 0.2), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(22, 137, 112, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(5, 7, 6, 0) 0%, rgba(5, 7, 6, 0.42) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 34px;
  align-items: center;
}

.hero-visuals {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s ease, transform 6.5s ease;
}

.hero-visual.active {
  opacity: 1;
  animation: heroDrift 6.5s ease-in-out forwards;
}

@keyframes heroDrift {
  from {
    transform: scale(1.055) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.025) translate3d(-14px, -5px, 0);
  }
}

.hero-copy {
  align-self: center;
  max-width: 720px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.hero-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(201, 121, 69, 0.36);
  background: rgba(9, 7, 6, 0.48);
  color: #f4d6bf;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(183, 106, 66, 0.34);
  background: rgba(127, 47, 53, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  text-wrap: balance;
}

.brand-title {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 6px;
  color: #d78349;
  font-size: clamp(50px, 7vw, 108px);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.82), 0 0 38px rgba(201, 121, 69, 0.14);
}

.hero-kicker {
  margin: 0 0 8px;
  color: #f4d6bf;
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.04;
  text-transform: uppercase;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.7);
}

.hero-wipe {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 11px;
  border: 1px solid rgba(103, 123, 79, 0.34);
  background: rgba(103, 123, 79, 0.11);
  color: #dce2d0;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
}

.hero-note {
  max-width: 500px;
  margin: 0 0 24px;
  color: #d6c4b8;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-subtitle {
  margin-bottom: 16px;
  color: #efe5da;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 auto;
}

.hero-actions .button {
  min-width: 154px;
  min-height: 52px;
  padding: 0 22px;
  font-size: 15px;
  text-transform: uppercase;
}

.hero-actions .button-primary {
  min-width: 214px;
  box-shadow: 0 18px 38px rgba(183, 106, 66, 0.2);
}

.lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: #b9c1bc;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.connect-line {
  display: inline-flex;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(183, 106, 66, 0.34);
  background: rgba(12, 8, 7, 0.82);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
  border-radius: 4px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.home-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-steel {
  background: linear-gradient(180deg, rgba(28, 23, 21, 0.9), rgba(11, 10, 9, 0.97));
}

.section-rust {
  background: linear-gradient(180deg, rgba(48, 22, 24, 0.78), rgba(12, 10, 10, 0.98));
}

.section-identity {
  background:
    radial-gradient(circle at 18% 8%, rgba(103, 123, 79, 0.07), transparent 24rem),
    linear-gradient(180deg, rgba(10, 11, 10, 0.98), rgba(6, 7, 6, 0.99));
}

.section-edge {
  padding: 64px 0 58px;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.99), rgba(8, 8, 10, 0.99));
}

.edge-section {
  display: grid;
  gap: 22px;
}

.edge-heading {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.edge-heading .eyebrow {
  justify-self: center;
  width: fit-content;
}

.edge-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.98;
}

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

.edge-card {
  min-height: 236px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 121, 69, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 122, 47, 0.045), transparent 14rem),
    linear-gradient(180deg, rgba(16, 16, 19, 0.96), rgba(9, 10, 13, 0.96));
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.edge-card::before {
  content: none;
}

.edge-card:hover {
  border-color: rgba(255, 122, 47, 0.56);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.42), 0 0 34px rgba(255, 122, 47, 0.1);
  transform: translateY(-3px);
}

.edge-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: rgba(255, 122, 47, 0.14);
  color: #ffd0b4;
  font-size: 14px;
  font-weight: 900;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.edge-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.edge-card:nth-child(2) .edge-icon,
.edge-card:nth-child(5) .edge-icon {
  background: rgba(86, 61, 181, 0.32);
  color: #d8ccff;
}

.edge-card:nth-child(3) .edge-icon,
.edge-card:nth-child(6) .edge-icon {
  background: rgba(20, 83, 75, 0.42);
  color: #bdf4e4;
}

.edge-card:nth-child(4) .edge-icon {
  background: rgba(30, 69, 128, 0.44);
  color: #c8ddff;
}

.home-section .edge-card h2 {
  max-width: none;
  margin: 0;
  color: #f7f7f8;
  font-size: 16px;
  line-height: 1.22;
  text-transform: none;
}

.home-section .edge-card p {
  margin: 0;
  color: #8895ad;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.58;
}

.section-green {
  background: linear-gradient(180deg, rgba(36, 24, 18, 0.82), rgba(8, 8, 8, 0.98));
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: start;
}

.home-section h2 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.section-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

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

.feature-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(20, 18, 17, 0.74);
  border-radius: 5px;
  padding: 20px;
}

.feature-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.52;
}

.identity-section {
  display: grid;
  gap: 24px;
}

.identity-heading {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.identity-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  text-align: left;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.identity-card {
  min-height: 236px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(183, 106, 66, 0.24);
  background:
    linear-gradient(180deg, rgba(18, 21, 18, 0.9), rgba(9, 10, 9, 0.86));
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.identity-card:hover {
  border-color: rgba(201, 121, 69, 0.42);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.identity-card-primary {
  border-color: rgba(103, 123, 79, 0.5);
  background:
    radial-gradient(circle at 18% 0%, rgba(103, 123, 79, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(19, 25, 19, 0.92), rgba(9, 10, 9, 0.86));
}

.identity-card span {
  display: block;
  margin-bottom: 16px;
  color: #d28a54;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.identity-card ul:not(.creator-list) {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.identity-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #efe5da;
  font-size: 15px;
  font-weight: 800;
}

.identity-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #c97945;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(201, 121, 69, 0.55);
}

.creator-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(201, 121, 69, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 121, 69, 0.18), transparent 16rem),
    linear-gradient(180deg, rgba(18, 21, 18, 0.92), rgba(9, 10, 9, 0.86));
}

.creator-card strong {
  display: block;
  margin-bottom: 8px;
  color: #f4d6bf;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.creator-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.creator-list li {
  color: #d6c4b8;
  font-size: 14px;
  font-weight: 800;
}

.creator-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 121, 69, 0.5);
  background: linear-gradient(180deg, rgba(201, 121, 69, 0.22), rgba(127, 47, 53, 0.14));
  color: #f4d6bf;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.creator-button:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(103, 123, 79, 0.14);
  transform: translateY(-1px);
}

.wipe-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: start;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(12, 14, 13, 0.62);
  border-radius: 5px;
  padding: 18px;
}

.timeline-item strong {
  color: var(--text);
}

.timeline-item span {
  color: var(--muted);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.stat-card,
.panel,
.vote-card {
  border: 1px solid rgba(87, 66, 60, 0.72);
  background:
    linear-gradient(180deg, rgba(28, 23, 21, 0.96), rgba(17, 14, 13, 0.94));
  box-shadow: var(--shadow);
  border-radius: 7px;
}

.stat-card {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #d28a54, var(--rust));
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.12;
}

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

.server-showcase {
  display: grid;
  gap: 14px;
}

.server-listing-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1.55fr);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 121, 69, 0.48);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 121, 69, 0.11), transparent 18rem),
    linear-gradient(180deg, rgba(24, 22, 20, 0.96), rgba(10, 11, 10, 0.97));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(201, 121, 69, 0.07) inset;
  border-radius: 8px;
}

.server-listing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 214, 191, 0.04);
  pointer-events: none;
}

.server-cover {
  min-height: 210px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(9, 6, 5, 0.03), rgba(9, 6, 5, 0.68)),
    url("/assets/img/rustako-hero-2.webp") center / cover;
}

.server-cover .badge {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(14, 9, 8, 0.86);
}

.server-listing-body {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.listing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.listing-header h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
}

.listing-header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(183, 106, 66, 0.24);
  background: rgba(7, 6, 5, 0.56);
  border-radius: 6px;
}

.server-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 0;
  background: transparent;
}

.listing-metrics div {
  min-width: 0;
  padding: 15px;
  border-right: 1px solid var(--line);
}

.server-metrics div {
  border: 1px solid rgba(87, 66, 60, 0.58);
  background:
    linear-gradient(180deg, rgba(14, 15, 13, 0.72), rgba(5, 6, 5, 0.64));
  border-radius: 6px;
}

.listing-metrics div:last-child {
  border-right: 0;
}

.listing-metrics span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-metrics strong {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: #f6dec6;
  font-size: 21px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.listing-footer code {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(87, 66, 60, 0.72);
  background: rgba(4, 4, 4, 0.58);
  color: #cbd5bf;
  font-size: 13px;
  overflow-wrap: anywhere;
  border-radius: 5px;
}

.server-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.server-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(87, 66, 60, 0.72);
  background: rgba(255, 255, 255, 0.045);
  color: #efe5da;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 5px;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.server-action:hover {
  border-color: rgba(201, 121, 69, 0.62);
  background: rgba(201, 121, 69, 0.12);
  color: #f4d6bf;
  transform: translateY(-1px);
}

.server-action-primary {
  border-color: rgba(201, 121, 69, 0.62);
  background: linear-gradient(180deg, rgba(201, 121, 69, 0.32), rgba(127, 47, 53, 0.22));
  color: #f4d6bf;
}

.panel {
  padding: 22px;
}

.panel h2,
.panel h3 {
  margin-bottom: 14px;
}

.server-card {
  min-height: 100%;
  border-color: rgba(183, 106, 66, 0.34);
}

.hero-status-card {
  min-height: auto;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row span {
  color: var(--muted);
}

.status-row strong {
  text-align: right;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(183, 106, 66, 0.36);
  background: rgba(183, 106, 66, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
}

.page-header {
  padding: 50px 0 26px;
}

.page-header h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.toolbar p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(87, 66, 60, 0.66);
  background:
    linear-gradient(180deg, rgba(16, 14, 13, 0.98), rgba(8, 9, 8, 0.97));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
  border-radius: 8px;
}

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

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

th {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  background: rgba(9, 7, 7, 0.96);
  box-shadow: 0 1px 0 var(--line);
}

td {
  color: #e4ddd5;
}

tbody tr:hover {
  background: rgba(183, 106, 66, 0.075);
}

.rank-cell {
  color: var(--green);
  font-weight: 900;
}

.score-cell {
  color: #e4b07d;
  font-weight: 900;
}

.ranking-page {
  min-height: calc(100vh - 68px);
  padding-bottom: 56px;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.78), var(--bg) 340px),
    radial-gradient(circle at 18% 8%, rgba(183, 106, 66, 0.16), transparent 24rem),
    url("/assets/img/rustako-hero-3.webp") center 18% / cover fixed;
}

.esports-ranking-hero {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: center;
  padding: 34px 0 20px;
}

.ranking-header h1 {
  margin: 8px 0 10px;
  color: #f4d6bf;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
}

.ranking-header .lead {
  max-width: 560px;
  color: #d6c4b8;
}

.ranking-search {
  padding: 16px;
  border: 1px solid rgba(183, 106, 66, 0.32);
  background: rgba(13, 10, 9, 0.82);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.ranking-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ranking-summary .stat-card strong {
  font-size: clamp(20px, 3vw, 28px);
  overflow-wrap: anywhere;
}

.score-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 18px 20px;
}

.score-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1;
}

.score-panel p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-bottom: 16px;
}

.podium-card {
  position: relative;
  min-height: 202px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(87, 66, 60, 0.66);
  background:
    radial-gradient(circle at 50% 0%, rgba(103, 123, 79, 0.08), transparent 14rem),
    linear-gradient(180deg, rgba(22, 20, 18, 0.98), rgba(12, 13, 12, 0.96));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
  padding: 18px;
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.top-player-card:hover {
  border-color: rgba(201, 121, 69, 0.7);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.5), 0 0 34px rgba(183, 106, 66, 0.14);
  transform: translateY(-3px);
}

.podium-1 {
  border-color: rgba(201, 121, 69, 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 121, 69, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(35, 24, 18, 0.98), rgba(16, 12, 11, 0.96));
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 121, 69, 0.18);
  transform: translateY(-5px);
}

.podium-rank {
  position: absolute;
  top: 16px;
  left: 16px;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(183, 106, 66, 0.42);
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  border-radius: 4px;
}

.player-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(201, 121, 69, 0.46);
  background:
    radial-gradient(circle at 35% 25%, rgba(244, 214, 191, 0.22), transparent 2.4rem),
    linear-gradient(135deg, rgba(183, 106, 66, 0.36), rgba(127, 47, 53, 0.5));
  color: #f4d6bf;
  font-size: 30px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.player-avatar:hover {
  border-color: rgba(244, 214, 191, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46), 0 0 26px rgba(183, 106, 66, 0.18);
  transform: translateY(-2px);
}

.player-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.podium-card h2 {
  width: 100%;
  margin: 0 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(20px, 2.4vw, 28px);
}

.podium-card h2 a {
  color: inherit;
  text-decoration: none;
}

.podium-card h2 a:hover {
  color: var(--green);
}

.podium-card p {
  color: var(--muted);
  font-weight: 800;
}

.podium-stats {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.podium-stats span {
  padding: 10px 8px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.52);
  color: #e4ddd5;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  border-radius: 4px;
}

.podium-stats strong {
  display: block;
  color: #f4d6bf;
  font-size: 18px;
}

.ranking-controls {
  display: grid;
  grid-template-columns: auto minmax(280px, 420px);
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.search-box {
  display: grid;
  gap: 7px;
}

.search-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.72);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  border-radius: 4px;
}

.search-box input:focus {
  border-color: rgba(183, 106, 66, 0.6);
  outline: none;
}

.leaderboard-categories {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  overflow-x: auto;
  gap: 7px;
  margin: 0 auto 12px;
  padding: 8px;
  border: 1px solid rgba(87, 66, 60, 0.6);
  background: rgba(8, 9, 8, 0.72);
  border-radius: 8px;
  scrollbar-width: thin;
}

.leaderboard-categories::-webkit-scrollbar {
  height: 8px;
}

.leaderboard-categories::-webkit-scrollbar-thumb {
  background: rgba(183, 106, 66, 0.4);
  border-radius: 999px;
}

.leaderboard-categories button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: rgba(18, 15, 14, 0.9);
  color: var(--text);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.leaderboard-categories button.active,
.leaderboard-categories button:hover {
  border-color: rgba(201, 121, 69, 0.58);
  background: linear-gradient(180deg, rgba(201, 121, 69, 0.24), rgba(103, 123, 79, 0.14));
  color: #f4d6bf;
  transform: translateY(-1px);
}

.ranking-table {
  margin-bottom: 64px;
}

.ranking-table table {
  min-width: 0;
}

.ranking-table th:first-child,
.ranking-table td:first-child {
  width: 58px;
}

.ranking-table th:nth-child(2),
.ranking-table td:nth-child(2) {
  min-width: 180px;
  box-shadow: 1px 0 0 var(--line);
  background: rgba(11, 11, 10, 0.98);
}

.ranking-table th:nth-child(2) {
  z-index: 2;
}

.ranking-table td {
  color: #f0e7dc;
  font-size: 14px;
}

.ranking-table tbody tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.018);
}

.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.ranking-table tbody tr:hover td:nth-child(2) {
  background: rgba(30, 21, 17, 0.98);
}

.player-cell {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.player-cell a {
  color: inherit;
  text-decoration: none;
}

.player-cell a:hover {
  color: var(--green);
}

.player-page {
  padding-bottom: 72px;
}

.player-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 46px 0 18px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--green);
}

.player-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(38px, 6vw, 72px);
}

.player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.player-score-card {
  min-width: 170px;
  padding: 18px;
  border: 1px solid rgba(201, 121, 69, 0.5);
  background: linear-gradient(180deg, rgba(127, 47, 53, 0.3), rgba(16, 12, 11, 0.86));
  border-radius: 8px;
  text-align: right;
}

.player-score-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-score-card strong {
  display: block;
  margin-top: 8px;
  color: #e4b07d;
  font-size: 38px;
  line-height: 1;
}

.player-summary,
.player-layout {
  display: grid;
  gap: 16px;
}

.player-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.player-layout {
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  align-items: start;
}

.player-snapshot {
  position: sticky;
  top: 86px;
}

.player-section h2 {
  margin-bottom: 16px;
}

.profile-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid rgba(87, 66, 60, 0.72);
  background: rgba(8, 7, 6, 0.52);
  border-radius: 8px;
}

.profile-categories button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: rgba(18, 15, 14, 0.9);
  color: var(--text);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.profile-categories button.active,
.profile-categories button:hover {
  border-color: rgba(201, 121, 69, 0.58);
  background: linear-gradient(180deg, rgba(127, 47, 53, 0.52), rgba(90, 35, 37, 0.42));
  color: #f4d6bf;
  transform: translateY(-1px);
}

.profile-category-head {
  margin-bottom: 18px;
}

.profile-category-head h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

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

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

.profile-stat {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(87, 66, 60, 0.66);
  background: rgba(8, 7, 6, 0.42);
  border-radius: 6px;
}

.profile-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-stat strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--text);
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 28px;
}

.vote-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.vote-card h2 {
  margin-bottom: 8px;
}

.vote-card p {
  color: var(--muted);
  line-height: 1.5;
}

.vote-card button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #140b08;
  font-weight: 900;
  cursor: pointer;
  border-radius: 4px;
}

.vote-card button:hover {
  background: var(--green-dark);
}

.vote-card button:disabled {
  border-color: var(--line-strong);
  background: #2c2724;
  color: #958983;
  cursor: not-allowed;
}

.message {
  min-height: 26px;
  margin: 18px 0 0;
  color: var(--green);
  font-weight: 800;
}

.vote-results-panel {
  margin-bottom: 64px;
}

.results-list {
  display: grid;
  gap: 18px;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.result-head span {
  color: #d6c4b8;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.result-head span b {
  color: #f4d6bf;
  font-size: 18px;
}

.result-bar {
  width: 100%;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgba(183, 106, 66, 0.24);
  background: rgba(5, 7, 6, 0.82);
  border-radius: 999px;
}

.result-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--rust), var(--green));
  transition: width 0.24s ease;
  border-radius: 999px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    max-width: 920px;
    text-align: center;
  }

  .brand-title {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-wipe {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .topbar-inner,
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .vote-grid,
  .ranking-summary,
  .podium,
  .esports-ranking-hero,
  .section-grid,
  .feature-grid,
  .edge-grid,
  .identity-grid,
  .server-listing-card,
  .listing-metrics,
  .side-stack,
  .wipe-layout {
    grid-template-columns: 1fr;
  }

  .listing-header,
  .listing-footer {
    align-items: flex-start;
  }

  .listing-footer {
    grid-template-columns: 1fr;
  }

  .identity-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .identity-heading h2 {
    text-align: left;
  }

  .server-card-actions {
    justify-content: flex-start;
  }

  .listing-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .server-metrics {
    grid-template-columns: 1fr;
  }

  .server-metrics div {
    border-right: 1px solid rgba(87, 66, 60, 0.58);
  }

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

  .home-section {
    padding: 58px 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .score-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-page {
    background-attachment: scroll;
  }

  .esports-ranking-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .podium-1 {
    transform: none;
  }

  .player-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-score-card {
    width: 100%;
    text-align: left;
  }

  .player-summary,
  .player-layout,
  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .player-snapshot {
    position: static;
  }

  .final-actions {
    justify-content: flex-start;
  }

  .ranking-controls {
    grid-template-columns: 1fr;
  }

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

  .vip-status-card {
    min-height: 220px;
  }

  .hero-home::before {
    background:
      linear-gradient(180deg, rgba(3, 4, 3, 0.58) 0%, rgba(3, 4, 3, 0.44) 42%, var(--bg) 100%);
  }

  .hero-visual {
    background-position: center top;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 46px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 22px, 1120px);
  }

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

  .actions .button {
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .button-primary {
    width: 100%;
    min-width: 0;
  }

  .stat-card,
  .panel,
  .vote-card {
    padding: 18px;
  }

  .result-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

.vip-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(183, 106, 66, 0.22), transparent 26rem),
    radial-gradient(circle at 92% 14%, rgba(22, 137, 112, 0.1), transparent 24rem),
    linear-gradient(180deg, #100d0c 0%, var(--bg) 46%, var(--bg-deep) 100%);
}

.vip-document {
  overflow: hidden;
}

.vip-hero {
  position: relative;
  min-height: min(640px, calc(100vh - 68px));
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(201, 121, 69, 0.18);
  isolation: isolate;
}

.vip-hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 5, 4, 0.86) 0%, rgba(6, 5, 4, 0.44) 52%, rgba(6, 5, 4, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 5, 4, 0.18), rgba(6, 5, 4, 0.74)),
    url("/assets/img/rustako-hero-animated-v4.png") center/cover;
}

.vip-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 32px;
  align-items: end;
  padding: 72px 0;
}

.vip-hero-copy {
  max-width: 760px;
}

.vip-hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(56px, 9vw, 124px);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.vip-hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #d6ccc4;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.vip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.vip-status-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(183, 106, 66, 0.36);
  background: rgba(15, 12, 10, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.vip-status-card span,
.vip-card span,
.vip-steps span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.vip-status-card strong {
  margin-top: 8px;
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
}

.vip-status-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.vip-section,
.vip-steps {
  padding: 70px 0;
}

.vip-section-head {
  max-width: 680px;
  margin-bottom: 24px;
}

.vip-section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

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

.vip-card,
.vip-steps article {
  border: 1px solid rgba(87, 66, 60, 0.66);
  background: rgba(20, 16, 14, 0.82);
  box-shadow: var(--shadow);
}

.vip-card {
  min-height: 230px;
  padding: 24px;
}

.vip-card h3,
.vip-steps h2 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.1;
}

.vip-card p,
.vip-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.vip-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.vip-steps article {
  padding: 26px;
}

.vip-steps .server-action {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .vip-hero {
    min-height: auto;
  }

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

  .vip-hero-grid {
    padding: 52px 0;
  }

  .vip-status-card {
    min-height: 220px;
  }
}

/* VIP storefront polish */
.vip-page .topbar {
  border-bottom-color: rgba(255, 122, 47, 0.22);
}

.vip-hero-premium {
  min-height: min(720px, calc(100vh - 68px));
}

.vip-hero-premium .vip-hero-visual {
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.92) 0%, rgba(5, 4, 4, 0.54) 48%, rgba(5, 4, 4, 0.86) 100%),
    radial-gradient(circle at 70% 34%, rgba(255, 122, 47, 0.24), transparent 18rem),
    linear-gradient(180deg, rgba(6, 5, 4, 0.12), rgba(6, 5, 4, 0.84)),
    url("/assets/img/rustako-hero-animated-v4.png") center/cover;
}

.vip-hero-premium::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(7, 8, 8, 0.98));
  pointer-events: none;
}

.vip-hero-premium .vip-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 42px;
  padding: 86px 0 78px;
}

.vip-hero-premium .vip-hero-copy h1 {
  max-width: 900px;
  color: #f8efe6;
  font-size: clamp(58px, 10vw, 138px);
  letter-spacing: 0;
  text-shadow: 0 22px 54px rgba(0, 0, 0, 0.76), 0 0 30px rgba(255, 122, 47, 0.16);
}

.vip-hero-premium .vip-hero-copy p {
  max-width: 680px;
  color: #e0d1c4;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.vip-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.vip-trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(244, 241, 234, 0.76);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 4px;
}

.vip-price-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-color: rgba(255, 122, 47, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 122, 47, 0.14), rgba(20, 15, 12, 0.92)),
    rgba(13, 11, 10, 0.9);
}

.vip-price-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 122, 47, 0.2);
  background: rgba(255, 122, 47, 0.08);
  transform: rotate(45deg);
}

.vip-price-card strong {
  color: #ffb37d;
  font-size: clamp(62px, 8vw, 94px);
  letter-spacing: 0;
}

.vip-price-card .server-action {
  width: fit-content;
  margin-top: 24px;
}

.vip-section {
  position: relative;
}

.vip-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.vip-section-head h2 {
  max-width: 760px;
}

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

.vip-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(14, 13, 12, 0.9);
}

.vip-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 122, 47, 0.78), transparent);
}

.vip-card h3 {
  color: #f7efe8;
  font-size: 25px;
}

.vip-card-emphasis {
  border-color: rgba(255, 122, 47, 0.38);
  background:
    linear-gradient(180deg, rgba(127, 47, 53, 0.26), rgba(13, 12, 11, 0.92)),
    rgba(14, 13, 12, 0.9);
}

.vip-steps {
  align-items: stretch;
}

.vip-steps article {
  min-height: 250px;
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(135deg, rgba(255, 122, 47, 0.1), transparent 42%),
    rgba(14, 13, 12, 0.9);
}

@media (max-width: 1080px) {
  .vip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .vip-hero-premium .vip-hero-grid {
    grid-template-columns: 1fr;
    padding: 54px 0 42px;
  }

  .vip-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .vip-hero-premium .vip-hero-copy h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .vip-hero-actions .server-action,
  .vip-price-card .server-action {
    width: 100%;
  }

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

  .vip-card,
  .vip-steps article,
  .vip-status-card {
    min-height: auto;
  }
}

/* VIP visual polish pass */
.vip-hero-premium {
  min-height: 650px;
}

.vip-hero-premium .vip-hero-grid {
  padding: 58px 0 50px;
}

.vip-hero-premium .vip-hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 8.2vw, 112px);
}

.vip-hero-premium .vip-hero-copy p {
  max-width: 620px;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.42;
}

.vip-price-card {
  min-height: 320px;
  padding: 28px;
}

.vip-price-card strong {
  font-size: clamp(58px, 6vw, 82px);
}

.vip-section {
  padding-top: 54px;
  padding-bottom: 42px;
}

.vip-section-head {
  margin-bottom: 18px;
}

.vip-section-head h2 {
  max-width: 680px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.98;
}

.vip-grid {
  gap: 12px;
}

.vip-card {
  min-height: 220px;
  padding: 22px;
}

.vip-card h3 {
  font-size: 22px;
}

.vip-steps {
  padding-bottom: 54px;
}

.vip-steps article {
  min-height: 210px;
}

@media (max-width: 900px) {
  .vip-hero-premium {
    min-height: auto;
  }

  .vip-hero-premium .vip-hero-grid {
    gap: 22px;
    padding: 38px 0 34px;
  }

  .vip-price-card {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .vip-page {
    padding-top: 112px;
  }

  .vip-hero-premium .vip-hero-grid {
    padding: 28px 0 28px;
  }

  .vip-hero-premium .vip-hero-copy h1 {
    margin: 14px 0;
    font-size: clamp(48px, 15vw, 66px);
    line-height: 0.9;
  }

  .vip-hero-premium .vip-hero-copy p {
    font-size: 18px;
    line-height: 1.45;
  }

  .vip-trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .vip-trust-row span {
    justify-content: center;
    min-height: 34px;
    padding: 0 8px;
    font-size: 10px;
    text-align: center;
  }

  .vip-trust-row span:last-child {
    grid-column: 1 / -1;
    width: 44%;
    min-width: 158px;
  }

  .vip-price-card {
    min-height: 210px;
    padding: 22px;
  }

  .vip-price-card::before {
    width: 70px;
    height: 70px;
  }

  .vip-section {
    padding-top: 36px;
  }

  .vip-section-head h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .vip-card {
    padding: 20px;
  }
}

/* VIP section readability correction */
.vip-section-head {
  display: block;
  max-width: 820px;
}

.vip-section-head .eyebrow {
  margin-bottom: 14px;
}

.vip-section-head h2 {
  max-width: 820px;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.02;
  text-wrap: balance;
}

@media (max-width: 620px) {
  .vip-section-head h2 {
    font-size: 31px;
    line-height: 1.05;
  }
}

/* VIP refined compact pass */
.vip-hero-premium {
  min-height: 560px;
}

.vip-hero-premium .vip-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 360px);
  gap: 34px;
  padding: 44px 0 42px;
}

.vip-hero-premium .vip-hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 0.92;
}

.vip-hero-premium .vip-hero-copy p {
  max-width: 520px;
  color: rgba(248, 239, 230, 0.82);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 700;
}

.vip-hero-actions {
  margin-top: 22px;
}

.vip-hero-actions .server-action,
.vip-price-card .server-action {
  min-height: 42px;
  padding: 0 16px;
  font-size: 12px;
}

.vip-trust-row {
  margin-top: 18px;
}

.vip-trust-row span {
  min-height: 30px;
  padding: 0 10px;
  font-size: 10px;
  color: rgba(244, 241, 234, 0.66);
}

.vip-price-card {
  min-height: 270px;
  padding: 24px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

.vip-price-card::before {
  width: 64px;
  height: 64px;
}

.vip-price-card strong {
  margin-top: 6px;
  font-size: clamp(48px, 5vw, 68px);
}

.vip-price-card p {
  max-width: 260px;
  font-size: 15px;
}

.vip-section {
  padding-top: 44px;
  padding-bottom: 30px;
}

.vip-section-head {
  margin-bottom: 16px;
}

.vip-section-head .eyebrow {
  min-height: 30px;
  margin-bottom: 10px;
  padding: 0 10px;
  font-size: 10px;
}

.vip-section-head h2 {
  max-width: 620px;
  font-size: clamp(30px, 2.8vw, 42px);
}

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

.vip-card {
  min-height: 170px;
  padding: 18px;
}

.vip-card span,
.vip-steps span {
  font-size: 10px;
}

.vip-card h3,
.vip-steps h2 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.vip-card p,
.vip-steps p {
  font-size: 14px;
  line-height: 1.5;
}

.vip-steps {
  gap: 10px;
  padding-bottom: 44px;
}

.vip-steps article {
  min-height: 170px;
  padding: 20px;
}

@media (max-width: 1080px) {
  .vip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vip-hero-premium .vip-hero-grid,
  .vip-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .vip-hero-premium .vip-hero-grid {
    padding: 24px 0;
  }

  .vip-hero-premium .vip-hero-copy h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .vip-trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .vip-trust-row span:last-child {
    width: 100%;
  }

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

/* VIP hero aligned with Mapvote/Rules */
.vip-page .vip-hero-premium {
  min-height: 228px;
  display: grid;
  align-items: end;
  padding: 64px 32px 30px;
  border-bottom: 1px solid rgba(255, 122, 47, 0.22);
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.52) 48%, rgba(5, 6, 7, 0.84)),
    linear-gradient(180deg, rgba(7, 8, 9, 0.08), #070809 96%),
    url("/assets/img/rustako-hero-animated-v4.png") center 55% / cover;
}

.vip-page .vip-hero-premium .vip-hero-visual,
.vip-page .vip-hero-premium::after {
  display: none;
}

.vip-page .vip-hero-premium .vip-hero-grid {
  width: min(1380px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 auto;
  padding: 0;
}

.vip-page .vip-hero-copy {
  max-width: 760px;
}

.vip-page .vip-hero-premium .hero-label {
  min-height: 30px;
  margin-bottom: 8px;
  padding: 0 12px;
  align-items: center;
  font-size: 10px;
  border-radius: 6px;
}

.vip-page .vip-hero-premium .vip-hero-copy h1 {
  margin: 8px 0 12px;
  color: #fff8ee;
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

.vip-page .vip-hero-premium .vip-hero-copy p {
  max-width: 520px;
  margin-bottom: 14px;
  color: rgba(244, 241, 234, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

.vip-page .vip-hero-actions {
  gap: 8px;
  margin-top: 0;
}

.vip-page .vip-hero-actions .server-action {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 6px;
  font-size: 10px;
}

.vip-page .vip-trust-row {
  gap: 8px;
  margin-top: 10px;
}

.vip-page .vip-trust-row span {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(8, 9, 10, 0.72);
  color: rgba(244, 241, 234, 0.78);
  font-size: 10px;
  backdrop-filter: blur(12px);
}

.vip-page .vip-price-card {
  display: none;
}

.vip-page .vip-section {
  width: min(1380px, calc(100% - 48px));
  padding-top: 38px;
}

@media (max-width: 760px) {
  .vip-page .vip-hero-premium {
    min-height: 204px;
    padding: 38px 0 22px;
    background-position: center top;
  }

  .vip-page .vip-hero-premium .vip-hero-grid {
    width: min(100%, calc(100% - 18px));
  }

  .vip-page .vip-hero-premium .vip-hero-copy h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

  .vip-page .vip-hero-actions {
    display: grid;
    grid-template-columns: 1fr 0.62fr;
  }

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

  .vip-page .vip-trust-row span,
  .vip-page .vip-trust-row span:last-child {
    width: auto;
    min-width: 0;
    grid-column: auto;
    padding: 0 5px;
    font-size: 8px;
  }

  .vip-page .vip-section {
    width: min(100%, calc(100% - 18px));
    padding-top: 24px;
  }
}

/* VIP minimal cleanup */
.vip-page .vip-hero-premium {
  min-height: 210px;
  padding-bottom: 26px;
}

.vip-page .vip-hero-premium .vip-hero-copy p {
  margin-bottom: 12px;
}

.vip-page .vip-trust-row,
.vip-page .vip-price-card,
.vip-page .vip-steps {
  display: none !important;
}

.vip-page .vip-section {
  padding-top: 32px;
  padding-bottom: 48px;
}

.vip-page .vip-section-head {
  margin-bottom: 14px;
}

.vip-page .vip-section-head h2 {
  font-size: clamp(28px, 2.4vw, 38px);
}

.vip-page .vip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vip-page .vip-card {
  min-height: 150px;
}

.vip-fair-note {
  width: fit-content;
  margin: 14px 0 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 122, 47, 0.24);
  background: rgba(255, 122, 47, 0.06);
  color: rgba(244, 241, 234, 0.76);
  font-size: 13px;
  font-weight: 800;
  border-radius: 6px;
}

@media (max-width: 760px) {
  .vip-page .vip-hero-premium {
    min-height: 188px;
    padding-bottom: 20px;
  }

  .vip-page .vip-grid {
    grid-template-columns: 1fr;
  }

  .vip-page .vip-card {
    min-height: 120px;
  }
}

/* VIP benefits wording polish */
.vip-page .vip-section-head h2 {
  max-width: 520px;
}

.vip-page .vip-card h3 {
  font-size: 21px;
}

.vip-page .vip-card p {
  max-width: 300px;
}

.vip-fair-note {
  color: rgba(244, 241, 234, 0.72);
}

@media (max-width: 760px) {
  .vip-page .vip-card p {
    max-width: none;
  }
}

/* Donation section */
.donation-section {
  padding-bottom: 58px;
}

.donation-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 122, 47, 0.12), transparent 32%),
    linear-gradient(180deg, #070809 0%, #0b0d0f 100%);
  color: #f4f1ea;
}

.donation-document {
  padding-bottom: 46px;
}

.donation-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 92px 0 42px;
  border-bottom: 1px solid rgba(255, 122, 47, 0.18);
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.58) 52%, rgba(5, 6, 7, 0.86)),
    url("/assets/img/rustako-hero-animated-v4.png") center 46% / cover;
}

.donation-hero-visual {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 9, 0.08), #070809 102%);
  pointer-events: none;
}

.donation-hero-content {
  position: relative;
  z-index: 1;
}

.donation-hero h1 {
  margin: 8px 0 10px;
  max-width: 760px;
  color: #fff8ee;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.donation-hero p {
  margin: 0;
  max-width: 640px;
  color: rgba(244, 241, 234, 0.74);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
}

.donation-page .donation-section {
  padding-top: 22px;
}

.donation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  background: rgba(10, 11, 12, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.donation-copy h2 {
  margin: 4px 0 8px;
  color: #f4f1ea;
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1;
}

.donation-copy p {
  margin: 0;
  max-width: 560px;
  color: rgba(244, 241, 234, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.donation-rules {
  display: grid;
  gap: 7px;
}

.donation-rules span {
  display: block;
  padding: 8px 10px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(244, 241, 234, 0.045);
  color: rgba(244, 241, 234, 0.76);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  border-radius: 6px;
}

.donation-panel .server-action {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .donation-hero {
    min-height: 230px;
    padding: 82px 0 34px;
  }

  .donation-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .donation-panel .server-action {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .donation-hero {
    min-height: 190px;
    padding: 74px 0 26px;
  }

  .donation-hero h1 {
    font-size: 40px;
  }

  .donation-panel {
    padding: 16px;
  }
}

/* Donation page polish */
.donation-page {
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.42), #070809 42%),
    linear-gradient(135deg, rgba(255, 122, 47, 0.1), transparent 34%),
    #070809;
}

.donation-hero {
  min-height: 330px;
  padding: 104px 0 50px;
  border-bottom-color: rgba(244, 241, 234, 0.1);
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.94), rgba(5, 6, 7, 0.66) 54%, rgba(5, 6, 7, 0.9)),
    url("/assets/img/rustako-hero-animated-v4.png") center 42% / cover;
}

.donation-hero-content {
  max-width: 760px;
}

.donation-hero h1 {
  margin-bottom: 12px;
}

.donation-hero p {
  max-width: 680px;
  color: rgba(244, 241, 234, 0.78);
}

.donation-page .donation-section {
  padding-top: 28px;
  padding-bottom: 54px;
}

.donation-panel {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  align-items: stretch;
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(22, 24, 25, 0.92), rgba(10, 11, 12, 0.92));
  border-color: rgba(244, 241, 234, 0.14);
}

.donation-copy {
  padding: 8px 4px 8px 8px;
}

.donation-copy h2 {
  max-width: 620px;
  margin: 6px 0 12px;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 0.98;
}

.donation-copy p + p {
  margin-top: 10px;
}

.donation-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 10px;
}

.donation-uses div {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 15px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 8px;
  background: rgba(244, 241, 234, 0.045);
}

.donation-uses span {
  color: rgba(255, 180, 104, 0.88);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donation-uses strong {
  color: #fff7ec;
  font-size: 17px;
  line-height: 1.16;
}

.donation-rules {
  align-content: center;
  gap: 8px;
}

.donation-rules span {
  padding: 10px 11px;
  color: rgba(244, 241, 234, 0.78);
}

.donation-panel .server-action {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .donation-hero {
    min-height: 260px;
    padding: 88px 0 38px;
  }

  .donation-panel {
    grid-template-columns: 1fr;
  }

  .donation-copy {
    padding: 2px;
  }
}

@media (max-width: 680px) {
  .donation-page .topbar .nav {
    grid-template-columns: 0.62fr 0.82fr 0.42fr 0.82fr 0.62fr 1.55fr;
  }

  .donation-page .topbar .nav a[href="/pages/donation.html"] {
    transform: translateX(-12px);
  }

  .donation-page .donation-section {
    padding-top: 16px;
  }

  .donation-hero {
    min-height: 220px;
    padding: 76px 0 30px;
  }

  .donation-hero h1 {
    font-size: 40px;
  }

  .donation-panel {
    padding: 14px;
    gap: 12px;
  }

  .donation-copy h2 {
    font-size: 28px;
    line-height: 1.02;
  }

  .donation-copy p {
    font-size: 14px;
    line-height: 1.48;
  }

  .donation-uses {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .donation-uses div {
    min-height: 66px;
    padding: 12px;
  }

  .donation-uses strong {
    font-size: 16px;
  }

  .donation-rules span {
    padding: 9px 10px;
  }

  .donation-panel .server-action {
    width: 100%;
    justify-content: center;
  }
}

/* Donation compact professional layout */
body.donation-page .donation-document {
  padding-bottom: 26px;
}

body.donation-page .donation-hero {
  min-height: 245px;
  padding: 86px 0 30px;
  align-items: end;
}

body.donation-page .donation-hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(48px, 6.2vw, 78px);
  line-height: 0.92;
}

body.donation-page .donation-hero p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.38;
}

body.donation-page .donation-section {
  width: min(1260px, calc(100% - 28px));
  padding-top: 16px;
  padding-bottom: 28px;
}

body.donation-page .donation-panel {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
}

body.donation-page .donation-copy {
  padding: 4px;
}

body.donation-page .donation-copy h2 {
  max-width: 740px;
  margin: 5px 0 9px;
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 0.98;
}

body.donation-page .donation-copy p {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.42;
}

body.donation-page .donation-copy p + p {
  margin-top: 7px;
}

body.donation-page .donation-side {
  display: grid;
  align-content: stretch;
  gap: 10px;
}

body.donation-page .donation-actions {
  display: grid;
  gap: 8px;
  align-self: end;
}

body.donation-page .donation-rules {
  gap: 7px;
}

body.donation-page .donation-rules span {
  min-height: 38px;
  display: grid;
  align-items: center;
  padding: 8px 10px;
  font-size: 12px;
}

body.donation-page .donation-side .server-action {
  width: 100%;
  justify-content: center;
  align-self: end;
  box-shadow: 0 12px 26px rgba(255, 122, 47, 0.24);
}

body.donation-page .donation-side .donation-paypal {
  min-height: 46px;
  font-size: 13px;
}

body.donation-page .donation-discord-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 240, 236, 0.72);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

body.donation-page .donation-discord-link:hover {
  border-color: rgba(255, 122, 47, 0.32);
  color: #ffd0ad;
  background: rgba(255, 122, 47, 0.08);
}

body.donation-page .donation-panel > .server-action {
  display: none;
}

body.donation-page .donation-uses {
  grid-column: 1 / -1;
  gap: 9px;
}

body.donation-page .donation-uses div {
  min-height: 70px;
  padding: 12px 14px;
}

body.donation-page .donation-uses strong {
  font-size: 16px;
}

@media (max-width: 980px) {
  body.donation-page .donation-hero {
    min-height: 220px;
    padding: 78px 0 28px;
  }

  body.donation-page .donation-panel {
    grid-template-columns: 1fr;
  }

  body.donation-page .donation-side {
    gap: 9px;
  }
}

@media (max-width: 680px) {
  body.donation-page .donation-hero {
    min-height: 190px;
    padding: 70px 0 22px;
  }

  body.donation-page .donation-hero h1 {
    font-size: 38px;
  }

  body.donation-page .donation-hero p {
    font-size: 16px;
    line-height: 1.34;
  }

  body.donation-page .donation-section {
    width: min(100% - 18px, 520px);
    padding-top: 10px;
    padding-bottom: 18px;
  }

  body.donation-page .donation-panel {
    padding: 12px;
    gap: 10px;
  }

  body.donation-page .donation-copy h2 {
    font-size: 27px;
    line-height: 1;
  }

  body.donation-page .donation-copy p {
    font-size: 14px;
    line-height: 1.42;
  }

  body.donation-page .donation-uses {
    gap: 7px;
  }

  body.donation-page .donation-uses div {
    min-height: 58px;
    padding: 10px 11px;
  }

  body.donation-page .donation-rules span {
    min-height: 34px;
    padding: 7px 9px;
  }
}
