/* GladiatorZ store — matches Next.js design tokens (globals.css + Storefront) */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --bg: #070809;
  --bg-elevated: #0d0f12;
  --surface: #12151a;
  --surface-hover: #181c22;
  --surface2: #1c2128;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f0f2f5;
  --muted: #8b95a5;
  --muted2: #5c6570;
  --accent: #d4622a;
  --accent-bright: #e8773a;
  --accent-dim: rgba(212, 98, 42, 0.15);
  --accent-glow: rgba(212, 98, 42, 0.25);
  --success: #3d9a6a;
  --hero-grid: rgba(255, 255, 255, 0.03);
  --font-display: "Oswald", system-ui, sans-serif;
  --font-hero: "Bebas Neue", "Oswald", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ─── Full-page ambient background (fixed; sits under site chrome) ─── */
body::before {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48vmin 48vmin at 18% 32%, rgba(232, 119, 58, 0.5), transparent 58%),
    radial-gradient(ellipse 42vmin 44vmin at 82% 18%, rgba(160, 42, 16, 0.52), transparent 54%),
    radial-gradient(ellipse 55vmin 48vmin at 65% 85%, rgba(212, 98, 42, 0.35), transparent 58%),
    radial-gradient(ellipse 36vmin 52vmin at 8% 78%, rgba(255, 75, 28, 0.28), transparent 52%),
    radial-gradient(ellipse 80vmin 70vmin at 50% 120%, rgba(90, 20, 8, 0.45), transparent 55%);
  animation: gz-bg-blob-dance 20s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
  background:
    linear-gradient(
      115deg,
      rgba(7, 8, 9, 0) 0%,
      rgba(212, 98, 42, 0.14) 42%,
      rgba(255, 140, 60, 0.1) 50%,
      rgba(7, 8, 9, 0) 88%
    ),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0) 0px,
      rgba(255, 255, 255, 0) 11px,
      rgba(255, 180, 120, 0.05) 11px,
      rgba(255, 180, 120, 0.05) 12px
    ),
    radial-gradient(ellipse 90% 65% at 50% 8%, rgba(255, 95, 40, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(7, 8, 9, 0.72) 0%, transparent 42%, rgba(7, 8, 9, 0.88) 100%);
  background-size: 240% 240%, 100% 100%, 100% 100%, 100% 100%;
  animation: gz-bg-sweep 26s linear infinite;
}

@keyframes gz-bg-blob-dance {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    filter: saturate(1) brightness(1);
  }
  20% {
    transform: translate(5%, -4%) rotate(2deg) scale(1.12);
    filter: saturate(1.15) brightness(1.08);
  }
  45% {
    transform: translate(-4%, 6%) rotate(-2deg) scale(0.96);
    filter: saturate(1.05) brightness(0.98);
  }
  70% {
    transform: translate(6%, 3%) rotate(1.5deg) scale(1.08);
    filter: saturate(1.2) brightness(1.05);
  }
}

@keyframes gz-bg-sweep {
  0% {
    background-position: 0% 20%, 0 0, 0 0, 0 0;
  }
  50% {
    background-position: 100% 55%, 60px 40px, 0 0, 0 0;
  }
  100% {
    background-position: 0% 80%, 120px 0, 0 0, 0 0;
  }
}

/* Pointer spotlight (js/cursor-glow.js sets --gz-mx / --gz-my) */
.gz-cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle 360px at var(--gz-mx, 50vw) var(--gz-my, 35vh),
      rgba(255, 200, 150, 0.2) 0%,
      rgba(232, 119, 58, 0.12) 30%,
      rgba(212, 98, 42, 0.05) 55%,
      transparent 68%
    ),
    radial-gradient(
      circle 140px at var(--gz-mx, 50vw) var(--gz-my, 35vh),
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 180, 100, 0.12) 40%,
      transparent 58%
    );
  mix-blend-mode: screen;
}

body > *:not(.gz-cursor-glow) {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .gz-cursor-glow {
    display: none;
  }

  body::before,
  body::after {
    animation: none;
  }

  body::before {
    transform: none;
    filter: none;
  }

  body::after {
    opacity: 0.75;
  }
}

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

/* Header — matches Header.tsx */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 15, 18, 0.9);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand logo — image + “on fire” glow (warm oranges; matches --accent) */
.site-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  line-height: 0;
  outline-offset: 4px;
  transition: transform 0.2s ease;
}

.site-logo:hover {
  transform: scale(1.03);
}

.site-logo:focus-visible {
  outline: 2px solid var(--accent-bright);
}

.site-logo__inner {
  position: relative;
  display: inline-block;
  line-height: 0;
  overflow: visible;
}

/* Core blaze under the mark */
.site-logo__fx {
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 155%;
  height: 110%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(180, 20, 0, 0.75) 0%, transparent 62%),
    radial-gradient(ellipse 88% 72% at 50% 100%, rgba(255, 70, 0, 0.72) 0%, transparent 68%),
    radial-gradient(ellipse 52% 58% at 14% 90%, rgba(255, 230, 120, 0.62) 0%, transparent 58%),
    radial-gradient(ellipse 52% 58% at 86% 90%, rgba(255, 30, 0, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 75% 48% at 50% 98%, rgba(255, 160, 40, 0.45) 0%, transparent 56%);
  filter: blur(11px);
  animation: site-logo-fire-glow 1.85s ease-in-out infinite;
}

/* Left flame tongue */
.site-logo__inner::before {
  content: "";
  position: absolute;
  left: 4%;
  bottom: -18px;
  width: 32%;
  height: 95%;
  z-index: 0;
  pointer-events: none;
  transform-origin: 50% 100%;
  background: linear-gradient(
    12deg,
    rgba(255, 240, 180, 0.95) 0%,
    rgba(255, 140, 40, 0.65) 28%,
    rgba(255, 60, 0, 0.35) 55%,
    transparent 85%
  );
  border-radius: 45% 55% 40% 60% / 75% 75% 100% 100%;
  filter: blur(5px);
  opacity: 0.92;
  animation: site-logo-flame-lick-l 0.38s ease-in-out infinite alternate;
}

/* Right flame tongue */
.site-logo__inner::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -18px;
  width: 32%;
  height: 95%;
  z-index: 0;
  pointer-events: none;
  transform-origin: 50% 100%;
  background: linear-gradient(
    -12deg,
    rgba(255, 250, 200, 0.9) 0%,
    rgba(255, 120, 30, 0.68) 30%,
    rgba(220, 40, 0, 0.4) 52%,
    transparent 85%
  );
  border-radius: 55% 45% 60% 40% / 75% 75% 100% 100%;
  filter: blur(5px);
  opacity: 0.9;
  animation: site-logo-flame-lick-r 0.42s ease-in-out infinite alternate;
}

.site-logo__img {
  position: relative;
  z-index: 1;
  display: block;
  height: 46px;
  width: auto;
  vertical-align: middle;
  animation: site-logo-fire-flicker 1.25s ease-in-out infinite;
}

@keyframes site-logo-fire-glow {
  0%,
  100% {
    opacity: 0.88;
    transform: translateX(-50%) scale(1) translateY(0);
  }
  22% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08) translateY(-2px);
  }
  48% {
    opacity: 0.74;
    transform: translateX(-50%) scale(0.94) translateY(1px);
  }
  71% {
    opacity: 0.96;
    transform: translateX(-50%) scale(1.04) translateY(-1px);
  }
}

@keyframes site-logo-flame-lick-l {
  0% {
    transform: scaleY(0.82) scaleX(0.92) skewX(-3deg);
    opacity: 0.78;
  }
  100% {
    transform: scaleY(1.18) scaleX(1.08) skewX(4deg);
    opacity: 1;
  }
}

@keyframes site-logo-flame-lick-r {
  0% {
    transform: scaleY(0.88) scaleX(0.94) skewX(4deg);
    opacity: 0.8;
  }
  100% {
    transform: scaleY(1.22) scaleX(1.06) skewX(-5deg);
    opacity: 1;
  }
}

@keyframes site-logo-fire-flicker {
  0% {
    filter: drop-shadow(0 0 8px rgba(255, 130, 50, 0.9))
      drop-shadow(0 0 18px rgba(255, 70, 0, 0.55)) drop-shadow(0 -4px 26px rgba(255, 220, 100, 0.45))
      drop-shadow(0 2px 4px rgba(255, 40, 0, 0.35));
  }
  20% {
    filter: drop-shadow(0 0 14px rgba(255, 170, 80, 1))
      drop-shadow(0 0 28px rgba(255, 100, 20, 0.65)) drop-shadow(0 -8px 36px rgba(255, 240, 140, 0.55))
      drop-shadow(0 1px 6px rgba(200, 30, 0, 0.5));
  }
  40% {
    filter: drop-shadow(0 0 6px rgba(255, 100, 40, 0.75))
      drop-shadow(0 0 14px rgba(255, 55, 0, 0.42)) drop-shadow(0 -2px 20px rgba(255, 180, 70, 0.32));
  }
  55% {
    filter: drop-shadow(0 0 16px rgba(255, 160, 70, 0.95))
      drop-shadow(0 0 32px rgba(255, 85, 15, 0.58)) drop-shadow(0 -6px 40px rgba(255, 230, 120, 0.48));
  }
  75% {
    filter: drop-shadow(0 0 5px rgba(255, 90, 35, 0.7))
      drop-shadow(0 0 12px rgba(255, 50, 0, 0.4)) drop-shadow(0 -3px 18px rgba(255, 200, 90, 0.3));
  }
  90% {
    filter: drop-shadow(0 0 11px rgba(255, 145, 60, 0.88))
      drop-shadow(0 0 22px rgba(255, 75, 0, 0.52)) drop-shadow(0 -5px 30px rgba(255, 210, 100, 0.42));
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(255, 130, 50, 0.9))
      drop-shadow(0 0 18px rgba(255, 70, 0, 0.55)) drop-shadow(0 -4px 26px rgba(255, 220, 100, 0.45))
      drop-shadow(0 2px 4px rgba(255, 40, 0, 0.35));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-logo__fx,
  .site-logo__inner::before,
  .site-logo__inner::after,
  .site-logo__img {
    animation: none !important;
  }

  .site-logo:hover {
    transform: none;
  }

  .site-logo__img {
    filter: drop-shadow(0 0 10px rgba(255, 110, 40, 0.55))
      drop-shadow(0 0 20px rgba(255, 70, 0, 0.35));
  }

  .site-logo__inner::before,
  .site-logo__inner::after {
    opacity: 0.65;
    transform: none;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: var(--surface-hover);
  color: var(--text);
}

/* —— Landing homepage (flow inspired by community DayZ sites) —— */
.gz-landing-body {
  background: #030304;
}

.site-header--landing {
  background: rgba(3, 3, 4, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.site-header__inner--landing {
  flex-wrap: wrap;
}

.site-nav--landing {
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav--landing a {
  padding: 0.5rem 0.65rem;
  border-radius: 0.25rem;
  color: rgba(240, 242, 245, 0.88);
}

.site-nav--landing a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.site-nav--landing a[aria-current="page"] {
  color: var(--accent-bright);
}

.landing-main {
  overflow-x: hidden;
}

.landing-hero {
  position: relative;
  min-height: calc(100vh - 5.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(212, 98, 42, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(180, 40, 0, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.72) 0%, rgba(8, 9, 12, 0.78) 45%, rgba(3, 3, 4, 0.85) 100%);
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, black 15%, transparent 70%);
  pointer-events: none;
}

.landing-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  text-align: center;
}

.landing-hero__title {
  margin: 0;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(4.5rem, 16vw, 11rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fafafa;
  text-shadow: 0 0 60px rgba(212, 98, 42, 0.25);
}

.landing-hero__title-line {
  display: block;
}

.landing-hero__title-line--second {
  font-size: 0.92em;
  color: var(--accent-bright);
  text-shadow: 0 0 40px rgba(232, 119, 58, 0.45);
}

.landing-hero__lead {
  margin: 2rem auto 0;
  max-width: 38rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.65;
  color: rgba(200, 206, 215, 0.92);
  font-weight: 500;
}

.landing-hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.landing-cta-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 242, 245, 0.75);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.landing-cta-link:hover {
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.landing-cta-link--store {
  color: var(--accent-bright);
  border-bottom-color: rgba(232, 119, 58, 0.5);
}

.landing-cta-link--store:hover {
  color: #ffb080;
  border-bottom-color: var(--accent-bright);
}

.landing-section {
  padding: 4.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #060708;
  scroll-margin-top: 5rem;
}

.landing-section--leaderboard {
  background: linear-gradient(180deg, #060708 0%, #050506 100%);
}

.landing-section__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.landing-section__label {
  margin: 0 0 1.5rem;
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: #f0f2f5;
}

.landing-prose p {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(180, 188, 200, 0.95);
}

.landing-prose__closing {
  margin-bottom: 0 !important;
  font-family: var(--font-display);
  font-size: 1.125rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright) !important;
}

.landing-leaderboard__text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(160, 168, 180, 0.95);
}

.landing-leaderboard__more {
  margin-top: 1.25rem;
}

.site-footer--landing {
  text-align: left;
  padding: 2.5rem 1.25rem 3rem;
  background: rgba(2, 2, 3, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__legal {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__legal a {
  color: rgba(200, 206, 215, 0.85);
  transition: color 0.15s ease;
}

.site-footer__legal a:hover {
  color: var(--accent-bright);
}

.site-footer__copyright {
  margin: 0;
  max-width: 52rem;
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(120, 128, 140, 0.9);
  text-transform: none;
  letter-spacing: normal;
}

.store-hero__sub {
  display: block;
  font-size: 0.85em;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.25em;
}

.store-hero--compact {
  padding-top: 2.75rem;
  padding-bottom: 1.75rem;
}

.store-hero .sub a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-hero .sub a:hover {
  color: #ffb080;
}

/* —— Donate / bundles store (layout inspired by community DayZ donate pages) —— */
.donate-page {
  background: transparent;
  color: var(--text);
}

.site-header--donate {
  background: rgba(5, 5, 6, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.donate-wrap {
  background: linear-gradient(
    180deg,
    rgba(8, 8, 10, 0.78) 0%,
    rgba(6, 6, 7, 0.85) 40%,
    rgba(5, 5, 6, 0.9) 100%
  );
}

.donate-hero {
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(ellipse 70% 80% at 50% -20%, rgba(212, 98, 42, 0.14) 0%, transparent 55%);
}

.donate-hero__inner {
  max-width: 48rem;
  margin: 0 auto;
}

.store-page__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(180, 190, 205, 0.85);
}

.donate-hero__title {
  margin: 0;
  font-family: var(--font-hero);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  color: #fafafa;
}

.donate-hero__line {
  display: block;
  font-size: clamp(3rem, 12vw, 7.5rem);
  letter-spacing: 0.02em;
}

.donate-hero__line--accent {
  color: var(--accent-bright);
  text-shadow: 0 0 50px rgba(232, 119, 58, 0.35);
}

.donate-hero__store {
  display: block;
  margin-top: 0.15em;
  font-size: clamp(2rem, 8vw, 4.5rem);
  letter-spacing: 0.28em;
  color: rgba(240, 242, 245, 0.95);
}

.donate-hero__intro {
  margin: 2rem 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(170, 178, 190, 0.95);
  text-align: left;
}

.donate-hero__intro a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.donate-hero__intro a:hover {
  color: #ffb080;
}

.donate-discord {
  padding: 2.25rem 1.25rem;
  background: linear-gradient(90deg, rgba(120, 25, 15, 0.45) 0%, rgba(40, 12, 8, 0.9) 50%, rgba(120, 25, 15, 0.4) 100%);
  border-bottom: 1px solid rgba(255, 80, 40, 0.2);
}

.donate-discord__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.donate-discord__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.donate-discord__sub {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 220, 210, 0.85);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.donate-discord__btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a0a06;
  background: linear-gradient(180deg, #ffb020 0%, var(--accent-bright) 100%);
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 200, 120, 0.4);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.donate-discord__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #1a0a06;
}

.donate-main {
  padding: 0 1rem 3.5rem;
}

.donate-layout {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .donate-layout {
    grid-template-columns: 1fr 300px;
  }

  .donate-layout.donate-layout--full {
    grid-template-columns: 1fr;
  }
}

.donate-layout.donate-layout--full {
  grid-template-columns: 1fr;
  max-width: 72rem;
}

.donate-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.donate-category {
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.donate-category:first-child {
  border-top: none;
  padding-top: 2rem;
}

/* Section bands — long-scroll donate layout (cf. community DayZ storefronts) */
.donate-categories .donate-category:nth-child(even) {
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: calc(1rem + 1.25rem);
  padding-right: calc(1rem + 1.25rem);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(18, 14, 12, 0.55) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
  border-top-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.donate-category__head {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .donate-category__head {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem 2.5rem;
  }

  .donate-category__title {
    flex: 0 1 42%;
    max-width: 28rem;
  }

  .donate-category__intro {
    flex: 1 1 45%;
  }
}

.donate-category__title {
  margin: 0;
  font-family: var(--font-hero);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fafafa;
  text-shadow: 0 0 40px rgba(232, 119, 58, 0.12);
}

.donate-category__title-inner {
  display: block;
}

.donate-category__title-strong {
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.donate-category__title-rest {
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(245, 247, 250, 0.92);
}

.donate-category__intro {
  flex: 1 1 280px;
  margin: 0;
  max-width: none;
  min-width: 0;
}

.donate-category__intro p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(155, 162, 175, 0.95);
  text-align: justify;
}

.donate-category__intro p:last-child {
  margin-bottom: 0;
}

.donate-includes {
  margin: 0 0 1.75rem;
  padding-left: 1.25rem;
  max-width: 48rem;
  color: rgba(190, 198, 210, 0.92);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.donate-includes li {
  margin-bottom: 0.35rem;
}

.donate-includes li::marker {
  color: var(--accent-bright);
}

.donate-product-list--crate {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .donate-product-list--crate {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .donate-product-list--crate {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product tiles — black frame + red CTA (community donate storefront style) */
.donate-product--crate {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #333333;
  border-radius: 0;
  background: #000000;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
}

.donate-product__card-title {
  margin: 0;
  padding: 0.55rem 0.65rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(0.625rem, 1.55vw, 0.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
}

.donate-crate {
  position: relative;
  flex: 1;
  min-height: 11.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  padding: 1.15rem 0.85rem 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.donate-crate__barcode {
  position: absolute;
  left: 8px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  width: 22px;
  height: 48px;
  background: repeating-linear-gradient(
    90deg,
    rgba(235, 235, 240, 0.55) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.38;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.donate-crate__face {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem 0 0.35rem;
}

/* Hazard tape + logo row — stripe matches logo height (tactical crate face) */
.donate-crate__media {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 100%;
}

.donate-crate__hazard {
  flex: 0 0 15px;
  width: 15px;
  min-height: 100%;
  align-self: stretch;
  border-radius: 1px 0 0 1px;
  background: repeating-linear-gradient(
    -42deg,
    #0b0b0b 0 6px,
    #f0be0a 6px 12px
  );
  box-shadow:
    inset -2px 0 4px rgba(0, 0, 0, 0.55),
    1px 0 0 rgba(0, 0, 0, 0.35);
}

.donate-crate__logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  line-height: 0;
  overflow: visible;
  padding: 0.5rem 0.65rem 0.65rem 0.45rem;
  perspective: 820px;
  transform-style: preserve-3d;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: none;
  border-radius: 0 2px 2px 0;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.92),
    0 10px 22px rgba(0, 0, 0, 0.75),
    0 4px 10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.donate-crate__brand {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1;
}

.donate-crate__wordmark {
  margin: 0 0 0.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
  font-family: var(--font-display);
  font-size: clamp(0.5625rem, 1.85vw, 0.6875rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.donate-crate__wordmark-line {
  font-weight: 800;
  color: #ffffff;
}

.donate-crate__wordmark-z {
  font-weight: 800;
  font-size: 1.2em;
  color: var(--accent-bright);
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(232, 119, 58, 0.35);
}

/* Moving highlight across the “crate face” (loot-box glint; sits under logo) */
.donate-crate__sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 0 3px 3px 0;
  overflow: hidden;
}

.donate-crate__sheen::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -60%;
  width: 55%;
  background: linear-gradient(
    88deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
  transform: skewX(-12deg);
  animation: crate-sheen-pass 5.5s ease-in-out infinite;
}

/* Soft pool of shadow under the “box” — dark only, no orange */
.donate-crate__fx {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 125%;
  height: 78%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 82% 58% at 50% 100%,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    transparent 72%
  );
  filter: blur(16px);
  opacity: 0.95;
  animation: crate-floor-shadow 4s ease-in-out infinite;
}

.donate-crate__logo {
  position: relative;
  z-index: 2;
  display: block;
  height: clamp(4.75rem, 14vw, 6rem);
  width: auto;
  max-width: min(100%, 200px);
  margin: 0 auto;
  object-fit: contain;
  transform: rotateY(-11deg) rotateX(3deg);
  transform-origin: center center;
  filter: drop-shadow(10px 18px 28px rgba(0, 0, 0, 0.92))
    drop-shadow(4px 8px 14px rgba(0, 0, 0, 0.65));
  animation: crate-logo-lift 5s ease-in-out infinite;
}

/* Category tag under logo — neon accent (storefront-style) */
.donate-crate__tag {
  position: static;
  display: block;
  margin: 0.35rem 0 0;
  padding: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(0.5625rem, 1.75vw, 0.6875rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #88ff00;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-shadow: 0 0 12px rgba(80, 255, 40, 0.35);
}

@keyframes crate-sheen-pass {
  0%,
  100% {
    transform: skewX(-12deg) translateX(-40%);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  45% {
    transform: skewX(-12deg) translateX(220%);
    opacity: 0.75;
  }
  55%,
  100% {
    opacity: 0;
  }
}

@keyframes crate-floor-shadow {
  0%,
  100% {
    opacity: 0.88;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.03);
  }
}

@keyframes crate-logo-lift {
  0%,
  100% {
    transform: rotateY(-11deg) rotateX(3deg) translateY(0);
    filter: drop-shadow(10px 18px 28px rgba(0, 0, 0, 0.92))
      drop-shadow(4px 8px 14px rgba(0, 0, 0, 0.65));
  }
  50% {
    transform: rotateY(-10deg) rotateX(3.5deg) translateY(-3px);
    filter: drop-shadow(12px 22px 34px rgba(0, 0, 0, 0.94))
      drop-shadow(5px 10px 16px rgba(0, 0, 0, 0.68));
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-crate__fx,
  .donate-crate__logo,
  .donate-crate__sheen::after {
    animation: none !important;
  }

  .donate-crate__logo {
    transform: rotateY(-11deg) rotateX(3deg);
    filter: drop-shadow(10px 18px 26px rgba(0, 0, 0, 0.88))
      drop-shadow(4px 8px 14px rgba(0, 0, 0, 0.62));
  }
}

.donate-product--crate .donate-product__buy {
  margin-top: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000;
}

.donate-product__strike--crate {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: rgba(130, 138, 150, 0.95);
  text-decoration: line-through;
  text-align: center;
  text-rendering: optimizeLegibility;
}

.donate-product__badge--crate {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 200, 150, 0.85);
  text-rendering: optimizeLegibility;
}

.btn-donate-buy {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: none;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 2.6vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
  text-align: center;
  transition: filter 0.15s ease, background 0.15s ease;
}

.btn-donate-buy--red {
  color: #fff;
  background: #b3200e;
  border: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-donate-buy--red:hover {
  background: #c92814;
  filter: brightness(1.05);
}

a.donate-buy-link,
a.btn-donate-buy {
  display: block;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
}

a.donate-buy-link:hover,
a.btn-donate-buy:hover {
  text-decoration: none;
}

.donate-buy-unconfigured {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.4;
  text-align: center;
  opacity: 0.75;
  cursor: default;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: rgba(190, 198, 210, 0.95);
  background: rgba(0, 0, 0, 0.2);
}

.donate-buy-unconfigured code {
  font-size: 0.85em;
}

a.btn-store-buy-link {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  border: 1px solid rgba(255, 180, 100, 0.35);
}

a.btn-store-buy-link:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn-store-buy-unconfigured {
  display: block;
  margin-top: 0.65rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: rgba(180, 188, 200, 0.95);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.btn-store-buy-unconfigured code {
  font-size: 0.85em;
}

.donate-cart {
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 16, 0.95);
  padding: 1.25rem;
}

@media (min-width: 1024px) {
  .donate-cart {
    position: sticky;
    top: 5.5rem;
  }
}

.donate-cart__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(240, 242, 245, 0.95);
}

.donate-cart .cart-lines {
  margin-top: 1rem;
}

.donate-cart .field-group label {
  color: rgba(170, 178, 190, 0.95);
}

.btn-checkout--donate {
  background: linear-gradient(180deg, #2a9d6a 0%, #1d7a52 100%);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-checkout--donate:hover {
  background: linear-gradient(180deg, #34b87d 0%, #248f62 100%);
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.donate-cart__checkout-hint {
  font-size: 0.8125rem;
  color: rgba(170, 178, 190, 0.95);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.site-footer--donate {
  margin-top: 0;
}

.site-nav .btn-admin {
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.site-nav .btn-admin:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 20px -4px var(--accent-glow);
}

/* Hero grid — store-hero-bg */
.store-hero-bg {
  background-color: var(--bg-elevated);
  background-image:
    linear-gradient(180deg, rgba(212, 98, 42, 0.06) 0%, transparent 42%),
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  background-position: center top, center center, center center;
  border-bottom: 1px solid var(--border);
}

.store-section-bg {
  background: linear-gradient(180deg, rgba(7, 8, 9, 0.82) 0%, rgba(10, 11, 14, 0.9) 100%);
  min-height: calc(100vh - 4rem);
}

/* Store layout — Storefront.tsx */
.store-main {
  min-height: 100vh;
  background: #0a0d12;
  color: #fff;
}

.store-hero {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem 2rem;
}

.store-hero .eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 1rem;
}

.store-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}

.store-hero .sub {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.store-grid {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .store-grid {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.category-block {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #11151d;
  padding: 1.25rem;
}

.category-block h2 {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.product-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f131a;
  padding: 1rem;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.product-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #a1a1aa;
}

.product-card .price-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.price-row .strike {
  font-size: 0.875rem;
  color: #71717a;
  text-decoration: line-through;
}

.price-row .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fb923c;
}

.price-row .badge-sale {
  border-radius: 0.25rem;
  background: rgba(249, 115, 22, 0.2);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: #fed7aa;
}

.btn-add-cart {
  margin-top: 1rem;
  width: 100%;
  border: none;
  border-radius: 0.25rem;
  background: #f97316;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-add-cart:hover {
  background: #fb923c;
}

.cart-aside {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #11151d;
  padding: 1.25rem;
  height: fit-content;
}

.cart-aside h2 {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.cart-lines {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cart-controls {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.cart-controls button {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0d1117;
  color: var(--text);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-controls button:hover {
  background: var(--surface-hover);
}

.field-group {
  margin-top: 1rem;
}

.field-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a1a1aa;
  margin-bottom: 0.25rem;
}

.field-group select,
.field-group input {
  width: 100%;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1117;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
}

.btn-checkout {
  margin-top: 1.25rem;
  width: 100%;
  border: none;
  border-radius: 0.25rem;
  background: #10b981;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.btn-checkout:hover {
  background: #34d399;
}

.btn-checkout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.msg-error {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #fca5a5;
}

.msg-success {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(6, 78, 59, 0.35);
  font-size: 0.875rem;
  color: #a7f3d0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 2.5rem 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted2);
}

.site-footer .sub {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}

.site-footer .site-footer__copyright {
  text-transform: none;
  letter-spacing: normal;
  color: rgba(120, 128, 140, 0.9);
  font-size: 0.75rem;
  line-height: 1.65;
  max-width: 52rem;
}

/* Legal / simple pages */
.page-simple {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.page-simple h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.page-simple p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.page-simple a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-simple a:hover {
  color: #ffb080;
}

.contact-redirect-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans), system-ui, sans-serif;
  background: var(--bg);
  color: var(--muted);
}

.contact-redirect-body a {
  color: var(--accent-bright);
}

/* Admin */
.admin-wrap {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.admin-wrap h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.admin-wrap .hint {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}

.admin-wrap .hint a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-wrap .hint a:hover {
  color: #ffb080;
}

.admin-panel {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.admin-panel h2 {
  font-size: 1rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.admin-panel textarea {
  width: 100%;
  min-height: 280px;
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  background: #0d1117;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  resize: vertical;
}

/* Catalog visual editor (admin.html) */
.catalog-editor-root {
  margin-top: 0.5rem;
}

.admin-editor-meta {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.admin-coupons-textarea {
  width: 100%;
  min-height: 5rem;
  font-family: inherit;
  font-size: 0.875rem;
  background: #0d1117;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  resize: vertical;
}

.admin-cat {
  border: 1px solid var(--border-strong);
  border-radius: 0.5rem;
  padding: 1rem 1rem 1.25rem;
  margin-bottom: 1.25rem;
  background: var(--surface2);
}

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

.admin-cat-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
}

.admin-cat-fields.row-fields {
  margin-bottom: 1rem;
}

.admin-cat-products {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.admin-prod {
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  background: #0d1117;
}

.admin-prod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.admin-prod-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.admin-prod .btn-danger {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
}

.admin-cat .btn-danger.admin-cat-remove {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
}

.admin-cat .admin-prod-add {
  margin-top: 0.5rem;
}

.field-group textarea.admin-cat-intro,
.field-group textarea.admin-cat-includes,
.field-group textarea.admin-prod-desc {
  width: 100%;
  min-height: 4rem;
  font-family: inherit;
  font-size: 0.875rem;
  background: #0d1117;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

.field-group textarea.admin-cat-includes {
  min-height: 3.5rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-actions button {
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-bright);
}

.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-hover);
}

.btn-danger {
  background: rgba(127, 29, 29, 0.5);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.row-fields {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .row-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.row-fields label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.row-fields input {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: #0d1117;
  color: var(--text);
}

.hidden {
  display: none !important;
}

.gz-order-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gz-order-modal__card {
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}

.text-zinc {
  color: #a1a1aa;
}

/* Admin dashboard tabs */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1.25rem 0 1rem;
}

.admin-tab-btn {
  padding: 0.4rem 0.65rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: #161b22;
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
}

.admin-tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.admin-tab-btn--active {
  border-color: var(--accent);
  background: rgba(212, 98, 42, 0.12);
  color: var(--accent-bright);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel--active {
  display: block;
}

.admin-dynamic-rows .admin-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 720px) {
  .admin-dynamic-rows .admin-nav-row {
    grid-template-columns: 1fr;
  }
}

.admin-nav-row .admin-row-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem 1rem;
  align-items: end;
  margin-bottom: 0.5rem;
}

@media (max-width: 720px) {
  .admin-footer-row {
    grid-template-columns: 1fr;
  }
}

.mock-checkout-banner {
  margin: 0;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
}

.donate-hero__intro--note {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-subheading {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--muted);
}

.pay-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pay-badge--ok {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.pay-badge--bad {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* —— Accessibility: skip link + visible focus (keyboard / professional polish) —— */
.gz-skip-link {
  position: absolute;
  left: 0.5rem;
  top: -120px;
  z-index: 10000;
  padding: 0.5rem 0.85rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: top 0.12s ease, box-shadow 0.12s ease;
}

.gz-skip-link:focus {
  outline: none;
}

.gz-skip-link:focus-visible {
  top: 0.5rem;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-bright);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.site-nav a:focus-visible {
  outline-offset: 4px;
}

/* Leaderboard page — inspired by public stats layout */
.gz-lb {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.gz-lb__page-head {
  text-align: center;
  margin-bottom: 2rem;
}

.gz-lb__title {
  margin: 0 0 1rem;
  font-family: var(--font-hero);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text);
}

.gz-lb__title-amp {
  display: block;
  font-size: 0.78em;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  margin-top: 0.35rem;
}

.gz-lb__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.gz-lb__server-id {
  margin: 0.35rem 0 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(240, 242, 245, 0.92);
}

.gz-lb__server-id--center {
  text-align: center;
  margin: 2rem 0 1.25rem;
}

.gz-lb__seasons-label {
  margin: 1.5rem 0 0.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.gz-lb__spotlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 720px) {
  .gz-lb__spotlights {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gz-lb__spot {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(18, 21, 26, 0.92);
  padding: 1.25rem 1rem;
  text-align: center;
}

.gz-lb__spot-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.gz-lb__spot-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.gz-lb__spot-metric {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent-bright);
}

.gz-lb__stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 auto 0.5rem;
  max-width: 48rem;
}

@media (min-width: 600px) {
  .gz-lb__stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .gz-lb__stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gz-lb__stat {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 12, 15, 0.65);
  padding: 1rem 1.1rem;
}

.gz-lb__stat--divider {
  grid-column: 1 / -1;
  border-style: dashed;
  background: transparent;
  padding: 0.65rem 1.1rem;
}

.gz-lb__stat-k {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.gz-lb__stat-v {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.gz-lb__stat-y {
  font-weight: 500;
  font-size: 0.95em;
  color: var(--muted2);
}

.gz-lb__refresh-note {
  margin: 0.75rem 0 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted2);
}

.gz-lb__spotlights--dup {
  margin-top: 0;
  margin-bottom: 2rem;
}

.gz-lb__table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(15, 17, 22, 0.85);
  margin-bottom: 3rem;
  -webkit-overflow-scrolling: touch;
}

.gz-lb__table-wrap--narrow {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.gz-lb__table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.gz-lb__table th,
.gz-lb__table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gz-lb__table th {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(7, 8, 9, 0.65);
  position: sticky;
  top: 0;
  z-index: 1;
}

.gz-lb__table tbody tr:hover td {
  background: rgba(212, 98, 42, 0.06);
}

.gz-lb__table--seasons {
  min-width: 0;
}

.gz-lb__table--seasons th,
.gz-lb__table--seasons td {
  text-align: left;
}

.gz-lb__seasons-block {
  margin-bottom: 2rem;
}

.gz-lb__seasons-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
}

.gz-lb__seasons-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted2);
}

.gz-lb__demo-note {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px dashed rgba(212, 98, 42, 0.35);
  background: rgba(212, 98, 42, 0.06);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
