@font-face {
  font-family: "Rubik One";
  src: url("/assets/rubik-one.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("/assets/lato.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Quattrocento";
  src: url("/assets/quattrocento.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Prompt";
  src: url("/assets/prompt.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter FYDNE";
  src: url("/assets/inter.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans FYDNE";
  src: url("/assets/noto-sans.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #080b0f;
  --bg-soft: #0d1218;
  --surface: #121923;
  --surface-2: #182230;
  --surface-3: #202c3b;
  --text: #f4f6f8;
  --muted: #929dac;
  --muted-2: #66717f;
  --red: #e21b25;
  --red-bright: #ff3040;
  --red-dark: #951019;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .18);
  --success: #46cf8a;
  --warning: #f4a840;
  --shell: min(1180px, calc(100vw - 48px));
  --font-display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Segoe UI", Arial, system-ui, sans-serif;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(173, 17, 29, .08), transparent 28rem),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 15px;
  color: #fff; background: var(--red); transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 4px; }

.site-header {
  position: sticky; z-index: 50; top: 0; height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 15, .86);
  backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { position: relative; display: grid; place-items: center; width: 42px; height: 42px; }
.brand-mark-ring {
  position: absolute; inset: 3px; border: 2px solid var(--red);
  border-radius: 50%; box-shadow: inset 0 0 20px rgba(226, 27, 37, .25);
}
.brand-mark-ring::before {
  content: ""; position: absolute; inset: 6px 2px -5px; border: 2px solid var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.brand-mark-core { position: relative; z-index: 1; font: 700 18px var(--font-display); color: #fff; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font: 700 23px var(--font-display); letter-spacing: .14em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 8px; letter-spacing: .2em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 35px); margin-inline: auto; }
.main-nav a {
  position: relative; color: #c9ced5; font-size: 13px; font-weight: 600;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; right: 0; bottom: -12px; left: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transition: transform .2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after { transform: scaleX(1); }
.header-login { display: inline-flex; align-items: center; gap: 9px; padding: 10px 0; font-size: 13px; font-weight: 600; }
.header-login svg { width: 19px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; transition: transform .2s, opacity .2s; }

.view { min-height: calc(100vh - var(--header-height)); }
.hero { position: relative; min-height: 730px; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.hero::before {
  content: ""; position: absolute; z-index: -3; inset: 0;
  background:
    linear-gradient(90deg, #080b0f 5%, rgba(8, 11, 15, .87) 50%, rgba(8, 11, 15, .34)),
    linear-gradient(180deg, transparent 60%, #080b0f 100%);
}
.hero-grid {
  position: absolute; z-index: -4; inset: 0; opacity: .22;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}
.hero-glow {
  position: absolute; z-index: -2; right: -10%; top: 5%; width: 50vw; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(226, 27, 37, .18), transparent 62%); filter: blur(18px);
}
.hero-emblem {
  position: absolute; z-index: -1; top: 50%; right: clamp(-80px, 3vw, 30px);
  width: min(47vw, 620px); aspect-ratio: 1; transform: translateY(-50%) rotate(-4deg);
  display: grid; place-items: center; opacity: .48; filter: drop-shadow(0 0 70px rgba(226, 27, 37, .16));
}
.hero-emblem::before, .hero-emblem::after {
  content: ""; position: absolute; inset: 16%; border: 5px solid rgba(255, 255, 255, .1);
  clip-path: polygon(50% 0, 96% 84%, 4% 84%);
}
.hero-emblem::after { inset: 26%; transform: rotate(180deg); border-color: rgba(226, 27, 37, .32); }
.hero-emblem-ring { position: absolute; inset: 8%; border: 3px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.hero-emblem-ring::after { content: ""; position: absolute; inset: 8%; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 50%; }
.hero-emblem-sigil {
  color: rgba(255,255,255,.78); font: 700 clamp(130px, 18vw, 250px) var(--font-display);
  text-shadow: 0 0 50px rgba(226, 27, 37, .45);
}
.hero-content { padding-block: 78px; }
.hero-content > * { max-width: 690px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 19px;
  color: #a9b2bd; font-size: 11px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase;
}
.eyebrow span { width: 30px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1.04; }
.hero h1 { margin-bottom: 26px; font-size: clamp(54px, 7vw, 92px); letter-spacing: -.025em; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 580px; margin-bottom: 34px; color: #adb5c0; font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions { display: flex; gap: 12px; margin-bottom: 60px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px;
  padding: 13px 21px; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(226, 27, 37, .15); }
.button-primary:hover { background: var(--red-bright); }
.button-secondary { border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.button-secondary:hover, .button-quiet:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.button-quiet { border-color: var(--line); background: transparent; }
.button-full { width: 100%; }
.hero-stats { display: flex; gap: 0; margin: 0; }
.hero-stats div { min-width: 150px; padding: 0 24px; border-left: 1px solid var(--line-strong); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { font: 600 28px var(--font-display); }
.hero-stats dd { margin: 3px 0 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.section { padding-block: 100px; }
.section-muted { border-block: 1px solid var(--line); background: var(--bg-soft); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading h2, .community-callout h2, .page-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.015em; }
.text-link {
  display: inline-flex; align-items: center; gap: 13px; padding: 7px 0; border: 0; background: transparent;
  color: #d7dbe0; cursor: pointer; font-size: 13px; font-weight: 700;
}
.text-link span { color: var(--red); }
.server-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.server-card {
  position: relative; min-height: 300px; overflow: hidden; padding: 32px;
  border: 1px solid var(--line); background:
    linear-gradient(135deg, rgba(255,255,255,.04), transparent 60%), var(--surface);
}
.server-card::after {
  content: ""; position: absolute; right: -70px; bottom: -100px; width: 250px; height: 250px;
  border: 1px solid rgba(255,255,255,.06); border-radius: 50%;
}
.server-card-accent { background: linear-gradient(135deg, rgba(226,27,37,.11), transparent 60%), var(--surface); }
.server-card-top, .server-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.server-code { color: var(--red); font: 700 13px var(--font-display); letter-spacing: .22em; }
.status { display: inline-flex; align-items: center; gap: 8px; color: #bcc3cc; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.status-maintenance { color: var(--warning); }
.status-online { color: var(--success); }
.server-card h3 { margin: 60px 0 12px; font-size: 32px; }
.server-card p { max-width: 430px; color: var(--muted); font-size: 14px; }
.server-meta { position: absolute; right: 32px; bottom: 25px; left: 32px; color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  min-height: 260px; padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.018);
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(226,27,37,.5); transform: translateY(-4px); }
.feature-number, .feature-icon { color: var(--red); font: 600 13px var(--font-display); letter-spacing: .15em; }
.feature-card h2, .feature-card h3 { margin: 80px 0 10px; font-size: 25px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.community-callout {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 55px 60px; border: 1px solid rgba(226, 27, 37, .35);
  background: linear-gradient(110deg, rgba(226,27,37,.16), rgba(255,255,255,.02) 45%, transparent), var(--surface);
}
.community-callout::after {
  content: "F"; position: absolute; right: 12%; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.025); font: 700 230px var(--font-display);
}
.community-callout p:not(.eyebrow) { max-width: 650px; margin: 18px 0 0; color: var(--muted); }
.community-callout .button { position: relative; z-index: 1; flex: 0 0 auto; }

.page-view { padding-bottom: 110px; }
.page-hero { padding-block: 95px 68px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero > p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; }
.page-hero-centered { text-align: center; }
.page-hero-centered .eyebrow { justify-content: center; }
.page-hero-centered > p:last-child { margin-inline: auto; }
.page-content { padding-top: 50px; }
.server-list { display: grid; gap: 12px; }
.server-row {
  display: grid; grid-template-columns: minmax(280px, 1fr) auto 160px; align-items: center; gap: 30px;
  padding: 26px 28px; border: 1px solid var(--line); background: var(--surface);
}
.server-row-main { display: flex; align-items: center; gap: 25px; }
.server-row-main .server-code { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(226,27,37,.45); background: rgba(226,27,37,.08); }
.server-row h2 { margin: 0 0 6px; font-size: 24px; }
.server-row p { margin: 0; color: var(--muted); font-size: 12px; }
.server-row-status { display: grid; justify-items: end; gap: 7px; }
.server-row-status strong { font: 600 20px var(--font-display); }
.notice { display: flex; gap: 17px; margin-top: 24px; padding: 20px 22px; border-left: 2px solid var(--warning); background: rgba(244,168,64,.06); }
.notice > span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border: 1px solid var(--warning); border-radius: 50%; color: var(--warning); font-weight: 700; }
.notice p { margin: 0; color: var(--muted); font-size: 13px; }
.notice strong { color: var(--text); }
.empty-state { margin-top: 40px; padding: 80px 30px; border: 1px dashed var(--line-strong); text-align: center; background: rgba(255,255,255,.015); }
.empty-state.compact { margin-top: 0; }
.empty-symbol { display: inline-grid; place-items: center; min-width: 68px; height: 68px; padding-inline: 12px; border: 1px solid rgba(226,27,37,.45); color: var(--red); font: 700 15px var(--font-display); letter-spacing: .1em; }
.empty-state h2 { margin: 25px 0 10px; font-size: 30px; }
.empty-state p { max-width: 530px; margin: 0 auto; color: var(--muted); }
.rules-hub { display: grid; gap: 30px; }
.rules-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 12px; }
.rules-tab {
  display: flex; min-height: 58px; align-items: center; gap: 15px; padding: 0 20px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font: 600 13px var(--font-display); letter-spacing: .02em; cursor: pointer;
}
.rules-tab span {
  display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line-strong);
  color: var(--text); font-size: 10px; letter-spacing: .08em;
}
.rules-tab:hover { border-color: var(--line-strong); color: var(--text); }
.rules-tab.active { border-color: rgba(226,27,37,.72); background: rgba(226,27,37,.08); color: var(--text); }
.rules-tab.active span { border-color: var(--red); color: var(--red); }
.rules-panel { display: grid; gap: 22px; }
.rules-panel[hidden] { display: none; }
.rules-panel-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  padding: 30px; border: 1px solid var(--line); background: var(--surface);
}
.rules-panel-head .eyebrow { margin-bottom: 14px; }
.rules-panel-head h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 39px); }
.rules-panel-head p:last-child { max-width: 700px; margin: 0; color: var(--muted); }
.rules-panel-head .button { flex: 0 0 auto; }
.rules-document {
  height: min(76vh, 920px); min-height: 620px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.rules-document iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.norules-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: rule; }
.norules-list li {
  display: grid; grid-template-columns: 64px 1fr; align-items: center; min-height: 82px;
  border: 1px solid var(--line); background: var(--surface);
}
.norules-list li::before { content: ""; align-self: stretch; border-left: 3px solid var(--red); }
.norules-list li > span {
  grid-column: 1; grid-row: 1; padding-left: 21px; color: var(--red);
  font: 600 11px var(--font-display); letter-spacing: .08em;
}
.norules-list li > p {
  grid-column: 2; grid-row: 1; margin: 0; padding: 23px 28px;
  border-left: 1px solid var(--line); color: var(--text); font-size: 16px;
}
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.support-card { padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.support-card > span { color: var(--red); font: 600 12px var(--font-display); }
.support-card h2 { margin: 48px 0 10px; font-size: 26px; }
.support-card p { min-height: 48px; margin-bottom: 25px; color: var(--muted); font-size: 14px; }
.donate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.donate-card {
  position: relative; display: flex; min-height: 370px; flex-direction: column; padding: 28px;
  border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s;
}
.donate-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.28); }
.donate-card-featured { border-color: rgba(226,27,37,.55); background: linear-gradient(150deg, rgba(226,27,37,.16), transparent 55%), var(--surface); }
.rank { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid currentColor; border-radius: 50%; font: 600 25px var(--font-display); }
.rank-star { color: #f0c45d; }.rank-sun { color: #e58249; }.rank-apostle { color: #65a8e7; }.rank-mage { color: #bb73e7; }
.rank-prophet { color: #62c8ae; }.rank-priest { color: #e75b65; }.rank-patriarch { color: #b6a1ff; }.rank-benefactor { color: var(--red-bright); }
.donate-card h2 { margin: 30px 0 10px; font-size: 25px; }
.donate-card p { color: var(--muted); font-size: 13px; }
.donate-card strong { margin-top: auto; margin-bottom: 16px; font: 600 28px var(--font-display); }
.donate-badge { position: absolute; top: 22px; right: 20px; color: var(--red-bright); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.legal-note { max-width: 720px; margin: 35px auto 0; color: var(--muted-2); font-size: 11px; text-align: center; }

.auth-view { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(500px, 660px); }
.auth-art {
  position: relative; overflow: hidden; display: grid; place-items: center;
  background:
    linear-gradient(135deg, rgba(226,27,37,.17), transparent 48%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.025) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.025) 80px),
    var(--bg-soft);
}
.auth-art::before, .auth-art::after {
  content: ""; position: absolute; width: min(35vw, 460px); aspect-ratio: 1;
  border: 3px solid rgba(255,255,255,.08); border-radius: 50%;
}
.auth-art::after { width: min(24vw, 320px); border-color: rgba(226,27,37,.3); clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }
.auth-art > span { z-index: 1; color: rgba(255,255,255,.65); font: 700 min(20vw, 230px) var(--font-display); }
.auth-panel { position: relative; display: grid; place-items: center; min-height: calc(100vh - var(--header-height)); padding: 70px clamp(25px, 5vw, 70px); background: var(--bg); }
.auth-back { position: absolute; top: 28px; left: 30px; color: var(--muted); font-size: 12px; }
.auth-back:hover { color: var(--text); }
.auth-box { width: min(100%, 430px); }
.auth-box h1 { margin: 0 0 13px; font-size: clamp(42px, 5vw, 58px); }
.auth-box > p:not(.eyebrow):not(.auth-switch) { margin-bottom: 30px; color: var(--muted); }
.auth-box form { display: grid; gap: 17px; }
label { display: grid; gap: 8px; color: #c7cdd4; font-size: 12px; font-weight: 600; }
input {
  width: 100%; height: 50px; padding: 0 15px; border: 1px solid var(--line);
  border-radius: 2px; color: #fff; background: var(--surface); outline: 0;
}
input::placeholder { color: #576271; }
input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,27,37,.1); }
input:disabled { opacity: .6; }
.auth-notice { margin-top: 18px; padding: 13px 15px; border-left: 2px solid var(--warning); color: #b8a891; background: rgba(244,168,64,.06); font-size: 11px; }
.auth-switch { margin: 22px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a { color: var(--red-bright); font-weight: 700; }

.profile-view { padding-top: 45px; }
.profile-shell { display: grid; grid-template-columns: 240px 1fr; gap: 45px; }
.profile-sidebar { position: sticky; top: calc(var(--header-height) + 30px); align-self: start; padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.profile-user { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.avatar { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid rgba(226,27,37,.55); background: rgba(226,27,37,.08); color: #fff; font: 700 19px var(--font-display); }
.avatar-large { width: 80px; height: 80px; font-size: 32px; }
.profile-user strong, .profile-user span { display: block; }
.profile-user strong { font-size: 12px; }
.profile-user span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.profile-sidebar nav { display: grid; gap: 4px; margin-top: 18px; }
.profile-sidebar nav a { padding: 11px 12px; color: var(--muted); font-size: 12px; }
.profile-sidebar nav a:hover, .profile-sidebar nav a.active { color: #fff; background: rgba(255,255,255,.05); border-left: 2px solid var(--red); }
.profile-main { min-width: 0; }
.profile-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.profile-heading h1 { margin: 0; font-size: 42px; }
.profile-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 18px; padding: 30px;
  border: 1px solid rgba(226,27,37,.38); background: linear-gradient(100deg, rgba(226,27,37,.14), transparent), var(--surface);
}
.profile-banner span, .profile-banner strong { display: block; }
.profile-banner span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.profile-banner strong { margin-top: 4px; font: 600 35px var(--font-display); }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.dashboard-card, .settings-card { padding: 27px; border: 1px solid var(--line); background: var(--surface); }
.dashboard-card > span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.dashboard-card strong { display: block; margin: 28px 0 8px; font: 600 24px var(--font-display); text-transform: uppercase; }
.dashboard-card p { margin: 0; color: var(--muted); font-size: 12px; }
.settings-card { margin-bottom: 16px; }
.settings-card h2 { margin: 0 0 25px; font-size: 23px; }
.settings-profile { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.settings-profile p { margin: 3px 0 10px; color: var(--muted); font-size: 11px; }
.settings-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 14px; }
.linked-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.linked-row:first-of-type { border-top: 0; }
.linked-row p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }

.not-found { display: grid; min-height: 650px; place-items: center; align-content: center; text-align: center; }
.not-found > span { color: var(--red); font: 700 clamp(100px, 20vw, 220px) var(--font-display); line-height: .8; opacity: .35; }
.not-found h1 { margin: 30px 0 8px; font-size: 45px; }
.not-found p { color: var(--muted); }
.not-found .button { margin-top: 18px; }

.site-footer { border-top: 1px solid var(--line); background: #06080b; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; min-height: 160px; }
.footer-links { display: flex; gap: 25px; color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: #fff; }
.footer-grid > p { margin: 0; color: var(--muted-2); font-size: 9px; line-height: 1.8; text-align: right; }
.modal {
  width: min(470px, calc(100vw - 32px)); padding: 35px; border: 1px solid rgba(226,27,37,.5);
  color: var(--text); background: var(--surface); box-shadow: 0 30px 90px rgba(0,0,0,.7);
}
.modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.modal-close { position: absolute; top: 12px; right: 16px; border: 0; color: var(--muted); background: none; cursor: pointer; font-size: 25px; }
.modal-mark { display: grid; place-items: center; width: 55px; height: 55px; border: 1px solid var(--red); color: var(--red); font: 700 24px var(--font-display); }
.modal h2 { margin: 25px 0 12px; font-size: 31px; }
.modal p { color: var(--muted); font-size: 13px; }
.modal .button { margin-top: 12px; }
.toast {
  position: fixed; z-index: 90; right: 22px; bottom: 22px; max-width: min(360px, calc(100vw - 44px));
  padding: 14px 18px; border-left: 3px solid var(--red); color: #fff; background: var(--surface-3);
  box-shadow: 0 18px 60px rgba(0,0,0,.5); font-size: 12px; transform: translateY(30px); opacity: 0; pointer-events: none;
  transition: transform .25s, opacity .25s;
}
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 980px) {
  :root { --header-height: 72px; --shell: min(100% - 36px, 1180px); }
  .header-inner { gap: 15px; }
  .main-nav {
    position: fixed; top: var(--header-height); right: 0; bottom: 0; left: 0; display: grid; align-content: start; gap: 0;
    padding: 25px 18px; background: rgba(8,11,15,.98); visibility: hidden; transform: translateX(100%); transition: transform .25s, visibility .25s;
  }
  .main-nav.open { visibility: visible; transform: translateX(0); }
  .main-nav a { padding: 18px 8px; border-bottom: 1px solid var(--line); font: 600 24px var(--font-display); text-transform: uppercase; }
  .main-nav a::after { display: none; }
  .header-login { margin-left: auto; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 670px; }
  .hero-emblem { right: -110px; width: 55vw; opacity: .28; }
  .donate-grid { grid-template-columns: repeat(2, 1fr); }
  .server-row { grid-template-columns: 1fr auto; }
  .server-row .button { grid-column: 1 / -1; }
  .profile-shell { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .profile-sidebar nav { display: flex; overflow-x: auto; }
  .profile-sidebar nav a { flex: 0 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 35px; }
  .footer-links { justify-self: end; }
  .footer-grid > p { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 28px); }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 7px; }
  .header-login span { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 85px 65px; }
  .hero h1 { font-size: clamp(45px, 14.5vw, 67px); }
  .hero-emblem { top: 30%; right: -42%; width: 100vw; opacity: .2; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-bottom: 45px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .hero-stats div { min-width: 0; padding: 0 15px; }
  .hero-stats div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .section { padding-block: 70px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .community-callout h2, .page-hero h1 { font-size: 40px; }
  .server-grid, .feature-grid, .support-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .server-card { min-height: 280px; padding: 25px; }
  .server-meta { right: 25px; left: 25px; }
  .community-callout { align-items: flex-start; flex-direction: column; padding: 35px 28px; }
  .community-callout .button { width: 100%; }
  .page-hero { padding-block: 65px 45px; }
  .page-content { padding-top: 35px; }
  .server-row { grid-template-columns: 1fr; gap: 20px; }
  .server-row-status { justify-items: start; }
  .server-row .button { grid-column: auto; }
  .rules-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-panel-head { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
  .rules-panel-head .button { width: 100%; }
  .rules-document { min-height: 540px; }
  .norules-list li { grid-template-columns: 50px 1fr; }
  .norules-list li > span { padding-left: 15px; }
  .norules-list li > p { padding: 20px; }
  .donate-grid { grid-template-columns: 1fr; }
  .donate-card { min-height: 340px; }
  .auth-view { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-panel { min-height: calc(100vh - var(--header-height)); padding: 90px 20px 55px; }
  .profile-view { padding-top: 25px; }
  .profile-heading { align-items: flex-start; flex-direction: column; }
  .profile-banner { align-items: flex-start; flex-direction: column; }
  .profile-banner .button { width: 100%; }
  .settings-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { justify-self: start; flex-wrap: wrap; }
  .footer-grid > p { grid-column: auto; }
}

@media (max-width: 420px) {
  .header-login { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div, .hero-stats div:nth-child(3) { grid-column: auto; padding: 0; border-left: 0; }
  .rules-switch { grid-template-columns: 1fr; }
  .rules-document { min-height: 480px; }
  .server-row-main { align-items: flex-start; flex-direction: column; }
  .profile-sidebar { padding: 16px; }
  .profile-sidebar nav { margin-right: -16px; margin-left: -16px; padding-inline: 16px; }
  .settings-profile { align-items: flex-start; flex-direction: column; }
  .modal { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Figma Sites composition: compact content, flat surfaces and restrained scale. */
:root {
  --bg: #0c0f12;
  --bg-soft: #0c0f12;
  --surface: #202a38;
  --surface-2: #202a38;
  --surface-3: #263242;
  --red: #d11a1c;
  --red-bright: #e01d20;
  --shell: min(1040px, calc(100vw - 48px));
  --header-height: 106px;
}

body {
  background: var(--bg);
  font-synthesis: none;
}

.site-header {
  position: relative;
  height: var(--header-height);
  border-bottom: 0;
  background: var(--bg);
  backdrop-filter: none;
}

.header-inner {
  gap: 0;
}

.brand-mark {
  width: 70px;
  height: 70px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand {
  gap: 5px;
}

.brand-copy strong {
  font: 400 37px/1 "Lato", sans-serif;
  letter-spacing: 0;
}

.brand-copy small {
  margin-top: 4px;
  color: #d11a1c;
  font: 400 13px/1 "Lato", sans-serif;
  letter-spacing: 0;
}

.main-nav {
  gap: 42px;
  margin-right: auto;
  margin-left: 66px;
  transform: translateY(-7px);
}

.main-nav a {
  color: #fff;
  font: 400 11px/1 "Inter FYDNE", sans-serif;
  letter-spacing: 1.33px;
}

.main-nav a::after {
  bottom: -17px;
  background: #d11b1c;
}

.main-nav a.active {
  color: #d11b1c;
}

.header-login {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 102px;
  padding: 0;
}

.account-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d21c1d;
  border-radius: 50%;
  background: #202832;
}

.account-mark img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.account-lines {
  display: grid;
  gap: 13px;
  width: 46px;
}

.account-lines i {
  display: block;
  height: 1px;
  background: repeating-linear-gradient(90deg, #a6b0ba 0 7px, transparent 7px 10px);
}

.site-footer {
  display: none;
}

body[data-current-route="/login"] .site-header,
body[data-current-route="/register"] .site-header {
  display: none;
}

.view[data-route="/"] {
  min-height: calc(100vh - var(--header-height));
}

.hero {
  min-height: calc(100vh - var(--header-height));
  align-items: flex-start;
}

.hero::before {
  background: var(--bg);
}

.hero-grid,
.hero-glow {
  display: none;
}

.hero-content {
  padding-top: 76px;
  padding-bottom: 70px;
  padding-left: 19px;
}

.hero-content > * {
  max-width: none;
}

.hero .eyebrow {
  display: inline-flex;
  height: 26px;
  margin-bottom: 29px;
  gap: 8px;
  color: #fff;
  font: 400 15px/1 "Lato", sans-serif;
  letter-spacing: 0;
}

.hero .eyebrow span {
  display: none;
}

.hero .eyebrow::before,
.hero .eyebrow::after {
  content: "";
  display: block;
  width: 9px;
  height: 26px;
  border-block: 3px solid #d11a1c;
}

.hero .eyebrow::before {
  border-left: 3px solid #d11a1c;
}

.hero .eyebrow::after {
  border-right: 3px solid #d11a1c;
}

.hero h1 {
  width: 990px;
  max-width: calc(100vw - 48px);
  margin: 0 0 48px;
  color: #fff;
  font: 400 59px/60px "Rubik One", sans-serif;
  letter-spacing: -2.36px;
  text-transform: none;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  color: #d11a1c;
}

.hero-lead {
  width: 491px;
  max-width: calc(100vw - 48px);
  margin-bottom: 36px;
  color: #fff;
  font: 400 22px/28.1px "Quattrocento", "Noto Sans FYDNE", sans-serif;
  letter-spacing: -.89px;
}

.hero-actions {
  gap: 19px;
  margin-bottom: 0;
}

.hero-actions .button {
  width: 226px;
  min-height: 56px;
  border: 0;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 400;
}

.hero-actions .button-primary {
  background: #cf191b;
  box-shadow: none;
}

.hero-actions .button-secondary {
  color: #fff;
  background: #98a0ad;
}

.hero-actions .button-secondary:hover {
  color: #fff;
  background: #a7afbb;
}

.hero-emblem {
  top: 105px;
  right: auto;
  left: calc(50% - 205px);
  width: 409px;
  height: 409px;
  opacity: .05;
  transform: none;
  filter: none;
}

.hero-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-view[data-route="/donate"] {
  min-height: calc(100vh - var(--header-height));
  padding-bottom: 0;
}

.donate-content {
  width: min(740px, calc(100vw - 32px));
  padding-top: 130px;
}

.donate-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
}

.donate-card {
  min-height: 200px;
  align-items: center;
  padding: 15px 14px 13px;
  border-color: rgba(255, 255, 255, .08);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .04), transparent 38%),
    #202a38;
}

.donate-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .16);
}

.donate-card h2 {
  margin: 0 0 7px;
  font: 600 10px var(--font-body);
  text-transform: none;
}

.donate-card .rank {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  font-size: 52px;
  line-height: .95;
}

.donate-card strong {
  margin: 5px 0 10px;
  color: #fff;
  font-size: 18px;
}

.donate-card .button {
  width: 100%;
  min-height: 31px;
  padding: 5px 8px;
  border-color: rgba(226, 27, 37, .65);
  color: rgba(226, 27, 37, .9);
  font-size: 9px;
}

.donate-card .button:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.auth-view {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
}

.auth-art {
  display: none;
}

.auth-panel {
  min-height: 100vh;
  align-items: start;
  padding: 145px 24px 80px;
  background: var(--bg);
}

.auth-back {
  top: 28px;
  left: 30px;
  font-size: 28px;
}

.auth-box {
  width: min(500px, 100%);
  padding: 28px 48px 20px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, .04), transparent 40%),
    var(--bg);
}

.auth-box .eyebrow {
  display: none;
}

.auth-box h1 {
  margin-bottom: 8px;
  font-size: 28px;
  text-align: center;
  letter-spacing: .05em;
}

.auth-box > p:not(.eyebrow):not(.auth-switch) {
  margin-bottom: 18px;
  font-size: 11px;
  text-align: center;
}

.auth-box form {
  gap: 10px;
}

.auth-box label {
  gap: 4px;
  font-size: 11px;
}

.auth-box input {
  height: 39px;
  background: rgba(255, 255, 255, .02);
}

.auth-box .button {
  min-height: 43px;
  margin-top: 5px;
}

.auth-notice {
  display: none;
}

.auth-switch {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .45);
}

.profile-view {
  padding-top: 30px;
}

.profile-shell {
  gap: 28px;
}

.profile-sidebar {
  min-height: calc(100vh - 145px);
  border-width: 0 1px 0 0;
  background: transparent;
}

.profile-main {
  padding-top: 0;
}

.profile-logout {
  margin-top: 8px;
  padding: 11px 12px;
  border: 0;
  border-left: 2px solid transparent;
  color: #e67b81;
  background: transparent;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.profile-logout:hover {
  border-left-color: var(--red);
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

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

.settings-form > .button {
  justify-self: start;
}

.form-message {
  min-height: 16px;
  margin: 0;
  color: #ee9298;
  font-size: 11px;
  grid-column: 1 / -1;
}

.form-message.success {
  color: #6fd1a1;
}

input[readonly] {
  color: var(--muted);
  cursor: not-allowed;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.modal-form textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: #fff;
  background: var(--surface-2);
  outline: 0;
  font: inherit;
}

.modal-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 27, 37, .1);
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.order-card h2,
.order-card p {
  margin: 0;
}

.order-card h2 {
  font-size: 20px;
}

.order-card strong {
  color: var(--red-bright);
  font: 600 18px var(--font-display);
}

.order-card p {
  color: var(--muted);
  font-size: 11px;
}

.order-card .status {
  justify-self: end;
}

.support-history {
  margin-top: 56px;
}

.support-history .section-heading {
  margin-bottom: 20px;
}

.support-history h2 {
  margin: 0;
  font-size: 28px;
}

/* Account identity, live data, clans and legal pages */
.header-login {
  width: auto;
  min-width: 142px;
}

.account-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.account-copy strong,
.account-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy strong {
  max-width: 108px;
  color: #fff;
  font: 600 11px/1 "Inter FYDNE", sans-serif;
  letter-spacing: .04em;
}

.account-copy small {
  color: #9ba5af;
  font: 400 9px/1 "Inter FYDNE", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.server-row-status small {
  max-width: 190px;
  color: var(--muted-2);
  font-size: 9px;
  text-align: right;
}

.clan-directory {
  margin-top: 54px;
}

.clan-directory .section-heading {
  margin-bottom: 22px;
}

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

.clan-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, color-mix(in srgb, var(--clan-color) 9%, transparent), rgba(255,255,255,.015));
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}

.clan-card:hover,
.clan-card:focus-visible {
  border-color: var(--clan-color);
  outline: none;
  transform: translateY(-3px);
}

.clan-card::after {
  content: attr(data-clan-letter);
  position: absolute;
  right: -8px;
  bottom: -38px;
  color: color-mix(in srgb, var(--clan-color) 13%, transparent);
  font: 700 190px/1 var(--font-display);
}

.clan-card-tag {
  position: relative;
  z-index: 1;
  display: inline-grid;
  min-width: 54px;
  min-height: 40px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--clan-color);
  color: var(--clan-color);
  font: 700 11px var(--font-display);
  letter-spacing: .12em;
}

.clan-card h3 {
  position: relative;
  z-index: 1;
  margin: 52px 0 10px;
  font-size: 25px;
}

.clan-card p,
.clan-card small {
  position: relative;
  z-index: 1;
}

.clan-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.clan-card small {
  color: #fff;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.clan-modal .modal-mark {
  width: auto;
  min-width: 64px;
  padding-inline: 12px;
}

.clan-members {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.clan-members > strong {
  font: 600 14px var(--font-display);
}

.clan-members > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.clan-members span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.consent-check {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px !important;
  color: var(--muted);
  font-size: 10px !important;
  line-height: 1.45;
}

.consent-check input {
  width: 16px;
  height: 16px !important;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.consent-check a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 2px;
}

.optional {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 400;
}

.legal-document {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.legal-document article,
.legal-warning {
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.legal-document h2 {
  margin: 0 0 13px;
  font-size: 22px;
}

.legal-document p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.legal-warning {
  border-left: 2px solid var(--warning);
  background: rgba(244,168,64,.055);
}

.legal-warning strong {
  display: block;
  margin-bottom: 8px;
  color: var(--warning);
  font: 600 15px var(--font-display);
}

.site-footer {
  display: block;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 1040px);
    --header-height: 72px;
  }

  .site-header {
    position: sticky;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 25px;
  }

  .brand-copy small {
    margin-top: 4px;
    font-size: 8px;
  }

  .main-nav {
    gap: 0;
    margin: 0;
    transform: translateX(100%);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .header-login {
    display: none;
  }

  .clan-list {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 82px;
    padding-left: 0;
  }

  .hero-emblem {
    top: 105px;
    left: 48%;
    width: 380px;
    height: 380px;
  }

  .donate-content {
    padding-top: 80px;
  }

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

@media (max-width: 720px) {
  .legal-document article,
  .legal-warning {
    padding: 22px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-block: 35px;
  }

  .footer-grid > p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .hero-content {
    padding-top: 72px;
    padding-bottom: 70px;
  }

  .hero .eyebrow {
    height: 22px;
    margin-bottom: 25px;
    font-size: 12px;
  }

  .hero .eyebrow::before,
  .hero .eyebrow::after {
    height: 22px;
  }

  .hero h1 {
    width: 100%;
    margin-bottom: 32px;
    font: 400 clamp(35px, 10vw, 44px)/1.05 "Rubik One", sans-serif;
    letter-spacing: -1.4px;
  }

  .hero-lead {
    width: 100%;
    max-width: 355px;
    margin-bottom: 28px;
    color: #fff;
    font: 400 17px/23px "Quattrocento", "Noto Sans FYDNE", sans-serif;
    letter-spacing: -.5px;
  }

  .hero-actions {
    max-width: none;
    flex-direction: row;
    gap: 10px;
  }

  .hero-actions .button {
    width: 50%;
    min-height: 48px;
  }

  .hero-emblem {
    top: 125px;
    left: 76%;
    width: 300px;
    height: 300px;
  }

  .donate-content {
    width: min(390px, calc(100vw - 28px));
    padding-top: 55px;
  }

  .donate-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .donate-card {
    min-height: 195px;
  }

  .auth-panel {
    min-height: 100vh;
    padding: 85px 18px 45px;
  }

  .auth-box {
    padding: 25px 20px 18px;
  }

  .auth-back {
    top: 18px;
    left: 18px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

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