:root {
  --bg: #050505;
  --bg-elevated: #0e0e0e;
  --bg-panel: #141414;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ffffff;
  --accent-deep: #d4d4d4;
  --accent-soft: rgba(255, 255, 255, 0.1);
  --danger: #ef4444;
  --radius: 10px;
  --nav-h: 78px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
.btn {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ─── Nav ─── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  justify-self: start;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-name {
  display: none;
}

.nav-brand {
  cursor: default;
  pointer-events: none;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  opacity: 1 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  opacity: 1;
}

.nav-links a:not(.active):not(:hover) {
  opacity: 0.88;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-solid {
  background: #222833;
  color: #fff;
  border-color: #2c3442;
}

.btn-solid:hover {
  background: #2b3340;
}

.btn-accent {
  background: #fff;
  color: #050505;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-accent:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  transform-origin: center center;
}

.hero-media video,
.hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-media video.is-ready {
  opacity: 1;
}

.hero-fallback {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(160deg, #0a0a0a 0%, #050505 100%),
    url("../assets/xpvp-banner.webp") center / cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.25) 40%, rgba(5, 5, 5, 0.75) 78%, #050505 100%),
    radial-gradient(circle at 50% 35%, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: rise 1s ease both;
}

.hero-logo {
  width: min(420px, 78vw);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.7));
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-logo-xpvp {
  width: min(480px, 82vw);
  border-radius: 4px;
}

.hero-title-xpvp {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.18);
  animation: rise 1.1s ease 0.12s both;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 36ch;
  animation: rise 1.15s ease 0.22s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
  animation: rise 1.2s ease 0.32s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  letter-spacing: 0.06em;
}

.hero .btn {
  margin-top: 0.15rem;
  min-width: 160px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ─── XPVP sections ─── */
.xpvp-steps {
  list-style: none;
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.xpvp-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.75rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.xpvp-step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
}

.xpvp-steps h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.xpvp-steps p {
  color: var(--muted);
  max-width: 48ch;
}

.xpvp-steps a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.xpvp-rules-band {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.72)),
    url("../assets/xpvp-baggrund.webp") center / cover;
  border-block: 1px solid var(--line);
}

.xpvp-rules-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.xpvp-rules-inner .lead {
  margin-bottom: 0;
}

.rules-lang-tabs {
  display: inline-flex;
  gap: 0.35rem;
  margin: 1.5rem 0 2rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.rules-lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
}

.rules-lang-btn.is-active {
  background: #fff;
  color: #050505;
}

.rules-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.rules-block h2 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
}

.rules-block p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.rules-block ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.rules-block li {
  color: rgba(245, 245, 245, 0.88);
}

.rules-xpvp .sub {
  color: var(--muted);
  margin-bottom: 0.25rem;
}

/* ─── Sections ─── */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-muted {
  background: linear-gradient(180deg, #050505 0%, #0c0c0c 100%);
}

.eyebrow {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.lead {
  max-width: 62ch;
  color: rgba(244, 247, 251, 0.88);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3.5rem;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.split-copy p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}

.split-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 180px 180px;
  gap: 12px;
  transform: perspective(1200px) rotateY(-4deg);
  animation: mosaicIn 1s 0.15s ease both;
}

.mosaic-item {
  border-radius: 8px;
  overflow: hidden;
  background: #10151f;
  border: 1px solid var(--line);
  position: relative;
}

.mosaic-item:nth-child(1) {
  grid-row: 1 / 3;
}

.mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 11, 0.55));
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mosaic-item:hover img {
  transform: scale(1.06);
}

@keyframes mosaicIn {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateY(-4deg) translateX(24px);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateY(-4deg) translateX(0);
  }
}

/* ─── Support / donors ─── */
.support-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.support-head .lead {
  margin-inline: auto;
}

.goal-panel {
  background: linear-gradient(180deg, #151a24, #10141c);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.goal-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.85rem;
}

.goal-pct {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}

.goal-meta {
  color: var(--muted);
  text-align: right;
  font-size: 0.95rem;
}

.goal-bar {
  height: 12px;
  border-radius: 999px;
  background: #0b0f16;
  overflow: hidden;
  border: 1px solid var(--line);
}

.goal-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0369a1, var(--accent));
  border-radius: inherit;
  transition: width 1.4s ease;
}

.goal-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  margin-bottom: 2.5rem;
}

.ticker-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
  padding: 0.75rem 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #334155, #0ea5e9);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.ticker-card strong {
  display: block;
  font-size: 0.92rem;
}

.ticker-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
}

.panel h3 {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.panel > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

.panel-empty {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.85rem 0;
  grid-column: 1 / -1;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-height: 420px;
  overflow: auto;
  padding-right: 0.25rem;
}

.member {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.member:hover {
  border-color: var(--line);
  background: rgba(56, 189, 248, 0.06);
}

.member strong {
  display: block;
  font-size: 0.88rem;
}

.member span {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.donor-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.donor {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.rank {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

.donor strong {
  display: block;
}

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

.donor .amount {
  font-weight: 700;
  color: #fff;
}

.panel-foot {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ─── Page shell (rules etc.) ─── */
.page-shell {
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.06), transparent 55%),
    #050505;
}

.page-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  max-width: 920px;
  margin-inline: auto;
}

.home-card-banner {
  display: none !important;
}

.omkring-block {
  margin-top: 1.5rem;
}

.omkring-block p {
  margin-bottom: 1rem;
  color: rgba(244, 247, 251, 0.9);
  line-height: 1.7;
}

.omkring-block h2 {
  margin-bottom: 1rem;
}

.omkring-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.7fr);
  gap: 1rem;
  align-items: start;
  max-width: 1400px;
  width: calc(100% - 1.5rem);
  margin-left: clamp(0.75rem, 2.5vw, 1.75rem);
  margin-right: auto;
  padding-inline: 0;
}

.omkring-main {
  margin-inline: 0;
  max-width: none;
  width: 100%;
}

.omkring-aside {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.omkring-side {
  margin-inline: 0;
  max-width: none;
  width: 100%;
  position: relative;
  top: auto;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.omkring-side h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: 0.04em;
  margin: 0.15rem 0 0.6rem;
}

.omkring-side-lead {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.7rem;
  line-height: 1.5;
  font-size: 0.92rem;
}

.omkring-helpers {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0 0 1rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.omkring-helpers li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.05rem;
  border-bottom: 1px solid var(--line);
}

.omkring-helpers li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.omkring-helpers-empty {
  border-top: 0;
  margin-bottom: 0;
}

.omkring-helpers strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.omkring-helpers span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.omkring-side-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.omkring-side .btn {
  width: 100%;
  justify-content: center;
}

.omkring-evidence {
  display: grid;
  gap: 0.9rem;
  max-width: 100%;
}

.omkring-evidence figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
}

.omkring-evidence img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  object-position: top center;
  background: #0a0a0a;
}

@media (max-width: 1200px) {
  .omkring-aside {
    grid-template-columns: 1fr;
  }

  .omkring-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  }
}

@media (max-width: 900px) {
  .omkring-layout {
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
    width: min(100% - 2rem, 900px);
    padding-inline: 0;
  }
}

@media (max-width: 640px) {
  .omkring-evidence img {
    max-height: 320px;
  }
}

.page-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}

.page-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  margin: 2rem 0 0.4rem;
}

.page-card .sub {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.page-card p {
  color: rgba(244, 247, 251, 0.88);
  margin-bottom: 1rem;
}

.page-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.25rem;
}

.page-card li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(244, 247, 251, 0.88);
}

.page-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Donate packages ─── */
.donate-cta {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.14), #10151f 70%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.donate-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.donate-kicker {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.donate-section {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.donate-section h2 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.donate-section-lead {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.donate-shop-grid {
  display: grid;
  gap: 0.75rem;
}

.donate-shop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10151f;
}

.donate-shop-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.donate-shop-item p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.donate-shop-buy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.donate-shop-price {
  font-weight: 800;
  white-space: nowrap;
}

.donate-shop-buy .btn {
  min-width: 4.5rem;
}

.donate-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(56, 189, 248, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.donate-note strong {
  color: var(--text);
}

.donate-dealer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem 1rem;
  margin: 0.65rem 0 0.5rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.donate-dealer-list li {
  color: var(--muted);
  font-size: 0.9rem;
}

.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.package {
  background: #10151f;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.package:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.package.featured {
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), #101010 55%);
}

.package h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package .price {
  font-size: 2rem;
  font-weight: 800;
}

.package ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 0.75rem;
  flex: 1;
}

.package li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 0;
}

.package li::before {
  display: none;
}

.package li::marker {
  content: "";
}

.package form {
  margin-top: auto;
}

.package .btn {
  width: 100%;
}

.donate-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  font-size: 0.92rem;
}

.custom-donate {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #10151f;
}

.custom-donate h2 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.custom-donate > p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.custom-donate-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.custom-donate-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.custom-donate-form input {
  background: #0b0f16;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  padding: 0.85rem 0.95rem;
  font: inherit;
  width: 100%;
}

@media (max-width: 760px) {
  .donate-shop-item {
    flex-direction: column;
    align-items: stretch;
  }

  .donate-shop-buy {
    justify-content: space-between;
  }

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

@media (max-width: 640px) {
  .custom-donate-form {
    grid-template-columns: 1fr;
  }

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

/* ─── Penal table ─── */
.penal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.penal-table th,
.penal-table td {
  text-align: left;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
}

.penal-table th {
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.82rem;
}

.penal-table td:last-child,
.penal-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

/* ─── Login ─── */
.login-wrap {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.login-wrap img {
  width: 96px;
  margin: 0 auto 1.25rem;
}

.login-wrap h1 {
  margin-bottom: 0.5rem;
}

.login-wrap p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.login-form {
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

.login-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.login-form input {
  background: #0b0f16;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.login-form input:focus {
  outline: 2px solid rgba(56, 189, 248, 0.35);
  border-color: var(--accent);
}

.login-form .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.login-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.login-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.35rem;
  background: #5865f2;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.discord-icon {
  flex-shrink: 0;
}

.account-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--line);
}

.account-meta {
  color: var(--muted);
  margin-bottom: 1.5rem !important;
}

.account-actions {
  display: grid;
  gap: 0.75rem;
}

.account-actions .btn {
  width: 100%;
}

.btn.is-logged-in {
  border-color: rgba(56, 189, 248, 0.45);
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #05070b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-contact {
  margin-top: 0.85rem;
  line-height: 1.45;
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a:hover {
  opacity: 0.85;
}

.donate-section-lead a[href^="mailto:"] {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col h4 {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-bottom-links a:hover {
  color: var(--text);
}

/* ─── Reveal on scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-home .reveal {
  opacity: 1;
  transform: none;
}

.page-home .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) - 4px);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 14, 20, 0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.75rem;
    backdrop-filter: blur(12px);
  }

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

  .nav-links a {
    padding: 0.85rem 0.9rem;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .split,
  .grid-2,
  .packages,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mosaic {
    transform: none;
    grid-template-rows: 160px 160px;
  }

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

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

  .goal-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .goal-meta {
    text-align: left;
  }
}

/* ─── Dashboard & Ansøgninger ─── */
.dash-loading {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  padding: 1.25rem 0 0.5rem;
  color: var(--muted);
}

.dash-loading-bar {
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  background-size: 200% 100%;
  animation: dashShimmer 1.2s linear infinite;
}

@keyframes dashShimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.dash-profile-section {
  padding-top: 0.25rem;
}

.dash-profile-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
}

.dash-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04);
}

.dash-kicker {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.dash-identity h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.dash-roles {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  margin-top: 0.35rem;
  max-width: 42ch;
}

.dash-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.dash-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9a9a9a;
}

.dash-online-pill.is-live .dash-online-dot {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
  animation: dashPulse 1.8s ease-in-out infinite;
}

@keyframes dashPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

.dash-metrics-grid .donate-shop-price.is-yes {
  color: #fff;
}

.dash-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.dash-cta-row .btn {
  min-width: 0;
}

.dash-logout {
  display: inline-flex;
}

/* legacy helpers still used by ansøgninger/admin */
.dash-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dash-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.dash-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.dash-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.02);
}

.dash-box h3 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.dash-box p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.dash-box-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.dash-plus {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.dash-disabled {
  pointer-events: none;
  opacity: 0.85;
}

.dash-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.dash-actions .btn {
  width: 100%;
  justify-content: center;
}

.dash-tier-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.dash-tier-list .btn {
  width: 100%;
  justify-content: center;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10151f;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app-card h3 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.app-card p {
  color: var(--muted);
  flex: 1;
  margin: 0;
}

.app-card .btn {
  width: 100%;
  justify-content: center;
}

.apps-staff {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .dash-grid,
  .apps-grid,
  .dash-actions {
    grid-template-columns: 1fr;
  }

  .dash-profile-top {
    grid-template-columns: auto 1fr;
  }

  .dash-online-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-loading-bar,
  .dash-online-pill.is-live .dash-online-dot {
    animation: none !important;
  }
}

/* ─── Application forms & review ─── */
.apps-toolbar {
  margin: 1rem 0;
}

.apply-panel {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.apply-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.apply-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.apply-form input,
.apply-form textarea,
.review-filters select,
.review-reply textarea {
  background: #0b0f16;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  padding: 0.85rem 0.95rem;
  font: inherit;
  width: 100%;
}

.apply-form input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.check-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.check-group legend {
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.apply-form label.check-option,
.check-option {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.15rem 0;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}

.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin: 1rem 0 1.25rem;
}

.review-filters label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.review-list {
  display: grid;
  gap: 0.9rem;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10151f;
  padding: 1.1rem;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.review-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.review-answers p,
.review-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.staff-reply {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--text) !important;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}

.status-pending { color: #fbbf24; border-color: rgba(251, 191, 36, 0.45); }
.status-approved { color: #4ade80; border-color: rgba(74, 222, 128, 0.45); }
.status-denied { color: #f87171; border-color: rgba(248, 113, 113, 0.45); }

.review-reply {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.review-reply label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.apply-intro {
  white-space: pre-line;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.75rem 0 0;
}

.field-hint {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

/* ─── Staff Admin ─── */
.admin-body {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(14, 165, 233, 0.08), transparent 50%),
    var(--bg);
}

.admin-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  color: var(--muted);
}

.admin-gate[hidden],
.admin-shell[hidden] {
  display: none !important;
}

.admin-denied {
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.65rem;
  max-width: 34rem;
  margin-inline: auto;
}

.admin-denied-title {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
}

.admin-denied-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
  background: rgba(8, 11, 16, 0.96);
  border-right: 1px solid var(--line);
}

.admin-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.35rem 0.5rem;
}

.admin-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.admin-brand span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  overflow: auto;
}

.admin-nav-label {
  margin: 0.85rem 0.55rem 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav-link {
  display: block;
  text-align: left;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.admin-nav-link.is-active {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(56, 189, 248, 0.35);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.admin-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-user strong {
  display: block;
  font-size: 0.92rem;
}

.admin-user span {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.admin-main {
  padding: 1.5rem 1.75rem 2.5rem;
  min-width: 0;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-date {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.admin-top h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.admin-alert {
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  font-size: 0.9rem;
}

.admin-section-title {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
}

.admin-view {
  display: none;
}

.admin-view.is-active {
  display: block;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.admin-stat {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.admin-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.admin-stat strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.admin-stat small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.admin-quick-btn {
  text-align: left;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.admin-quick-btn:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.admin-quick-btn strong {
  display: block;
  margin-bottom: 0.25rem;
}

.admin-quick-btn span {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  padding: 1rem;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.admin-card-head h3 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.admin-list {
  display: grid;
  gap: 0.45rem;
}

.admin-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
}

.admin-row:not(.static):hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: var(--accent-soft);
}

.admin-row strong {
  display: block;
}

.admin-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-row em {
  color: var(--accent);
  font-style: normal;
  font-size: 0.82rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.admin-form-grid label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  background: #0b0f16;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  padding: 0.75rem 0.85rem;
  font: inherit;
  width: 100%;
}

.admin-form-grid .span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-stats,
  .admin-split,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}


/* ─── Home landing v12 ─── */
.page-home {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.92)),
    url("../assets/xpvp-baggrund.webp") center top / cover fixed;
  background-color: #050505;
}

.page-home .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.home-hero {
  position: relative;
  height: min(78vh, 760px);
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
}

.home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  animation: kenburns 28s ease-in-out infinite alternate;
}

.home-hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, #050505);
  pointer-events: none;
}

.home-intro {
  padding: 2.75rem 0 3.25rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255,255,255,0.05), transparent 60%),
    #050505;
}

.home-intro-inner {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.home-intro-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}

.home-intro-lead {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 34ch;
}

.home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.65rem;
}

.btn-home-primary,
.btn-home-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-home-primary {
  background: #fff;
  color: #050505;
  border: 1px solid #fff;
}

.btn-home-primary:hover {
  transform: translateY(-2px);
  background: #ececec;
}

.btn-home-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}

.btn-home-secondary:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.home-strip {
  border-bottom: 1px solid var(--line);
  background: #0a0a0a;
  padding: 2rem 0;
}

.home-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.home-strip-grid > div {
  padding: 0.35rem 1.25rem;
  border-right: 1px solid var(--line);
}

.home-strip-grid > div:last-child {
  border-right: 0;
}

.home-strip-grid strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.home-strip-grid span {
  color: var(--muted);
  font-size: 0.95rem;
  display: block;
  max-width: 28ch;
}

.home-head {
  max-width: 40rem;
}

.home-head .lead {
  margin-top: 0.85rem;
}

.home-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.home-steps li {
  padding: 2rem 1.5rem 0.5rem 0;
  border-right: 1px solid var(--line);
}

.home-steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.home-steps span {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.home-steps h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.home-steps p {
  color: var(--muted);
  max-width: 28ch;
  margin-bottom: 0.9rem;
}

.home-steps a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  border-block: 1px solid var(--line);
}

.home-panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.28) contrast(1.15);
}

.home-panel-content {
  padding: 5rem 0;
  max-width: 36rem;
}

.home-panel-content .lead {
  margin: 0.9rem 0 1.4rem;
}

.home-apply,
.home-support {
  background: linear-gradient(180deg, #050505, #0c0c0c 50%, #050505);
}

.home-apply-grid,
.home-support-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
}

.home-apply-grid .lead,
.home-support-grid .lead {
  margin-top: 0.8rem;
  max-width: 42ch;
}

.home-footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .page-home {
    background-attachment: scroll;
  }

  .home-hero {
    height: 58vh;
    min-height: 320px;
  }

  .home-strip-grid,
  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-strip-grid > div,
  .home-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0;
  }

  .home-strip-grid > div:last-child,
  .home-steps li:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-img {
    animation: none !important;
  }
}
