/* =========================================================
   XQ Roleplay â€” site styles
   ========================================================= */

:root {
  --bg: #070506;
  --bg-soft: #0a0809;
  --bg-deep: #050404;
  --panel: #0e0b0c;
  --panel-2: #131012;
  --text: #f5f1f1;
  --muted: #aaa1a2;
  --muted-2: #7e7375;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #d31326;
  --accent-bright: #ff5562;
  --accent-deep: #8a0a15;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --violet: #8b5cf6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --container: 1240px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(224, 32, 47, 0.12), transparent 60%),
    radial-gradient(800px 500px at 90% 8%, rgba(160, 20, 34, 0.06), transparent 60%);
  pointer-events: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #070506;
}
::-webkit-scrollbar-thumb {
  background: #1c2230;
  border-radius: 99px;
  border: 2px solid #070506;
}
::-webkit-scrollbar-thumb:hover {
  background: #2b3548;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.pre {
  white-space: pre-wrap;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: middle;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Typography ---------- */

.hero-title,
.section-title,
.page-head h1,
.character-profile h1,
.thanks-inner h1,
.error-inner h1,
.login-quote h1 {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.94;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  line-height: 0.98;
  margin-top: 16px;
}

.character-profile h1 {
  margin-top: 14px;
  font-size: clamp(2.9rem, 5.9vw, 5.9rem);
  line-height: 0.92;
}

.section-title em,
.page-head h1 em,
.character-profile h1 em,
.thanks-inner h1 em,
.error-inner h1 em {
  font-style: normal;
  color: var(--accent-bright);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker i {
  font-style: normal;
  color: var(--accent-bright);
}

.kicker.light {
  color: rgba(255, 255, 255, 0.65);
}

.section-lede {
  margin-top: 22px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-bright);
  font-size: 15px;
  font-weight: 600;
  transition: gap 0.2s var(--ease), color 0.2s;
}
.text-link:hover {
  gap: 12px;
  color: #fff;
}
.text-link .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.22s, border-color 0.22s, box-shadow 0.22s, color 0.22s;
}
.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease);
}
.btn:hover .icon {
  transform: translateX(2px);
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, #e62335, #a90c18);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px -12px rgba(224, 32, 47, 0.8);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f43849, #c11220);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 40px -14px rgba(224, 32, 47, 0.9);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14.5px;
  border-radius: 8px;
}
.btn-lg {
  min-height: 54px;
  padding: 15px 26px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: background 0.3s, border-color 0.3s, padding 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  padding: 12px 0;
  background: rgba(6, 7, 11, 0.84);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, #e0202f, #7e0710);
  color: #fff;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 23px;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 24px -10px rgba(224, 32, 47, 0.9);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 88% 100%, 0 100%);
}
.brand-word {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ded6d6;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 85, 98, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 26px rgba(211, 19, 38, 0.25);
}
.site-footer .brand-logo {
  width: 48px;
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0 auto;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: #aab2c2;
  padding: 6px 0;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s, color 0.2s;
}
.status-chip:hover {
  border-color: var(--line-strong);
  color: #fff;
}
.status-chip.is-online {
  color: #bfe8d8;
  border-color: rgba(52, 211, 153, 0.2);
  background: rgba(52, 211, 153, 0.06);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}
.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
  animation: pulseDot 2.4s infinite;
}

.nav-cta {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 14.5px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  place-items: center;
}
.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 890;
  background: rgba(6, 7, 11, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.mobile-menu.is-open {
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-menu nav {
  padding: 18px 0 8px;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
  color: #d8d2d2;
}
.mobile-menu a.mobile-cta {
  margin-top: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
}
.mobile-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 26px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Reveal ---------- */

.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hero .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal.is-visible:nth-child(2) { transition-delay: 0.12s; }
.hero .reveal.is-visible:nth-child(3) { transition-delay: 0.2s; }
.hero .reveal.is-visible:nth-child(4) { transition-delay: 0.28s; }
.hero .reveal.is-visible:nth-child(5) { transition-delay: 0.36s; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 132px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.9) hue-rotate(-4deg);
  transform: scale(1.02);
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 7, 11, 0.96) 0%, rgba(6, 7, 11, 0.82) 36%, rgba(6, 7, 11, 0.42) 67%, rgba(6, 7, 11, 0.7) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 7, 11, 0.15) 45%, rgba(6, 7, 11, 0.5) 100%);
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 56px;
  padding-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c1c9d8;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(224, 32, 47, 0.18);
  animation: pulseDot 2.2s infinite;
}

.hero-title {
  margin: 22px 0 0;
  font-size: clamp(4rem, 8.2vw, 8rem);
  line-height: 0.93;
  letter-spacing: 0.01em;
}
.hero-title .line {
  display: block;
  white-space: nowrap;
}
.hero-title .outline {
  color: rgba(255, 255, 255, 0.035);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
}
.accent-dot {
  color: var(--accent-bright);
}

.hero-lede {
  max-width: 55ch;
  margin-top: 24px;
  color: #c5bcbc;
  font-size: 16.5px;
  line-height: 1.75;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8e97a9;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta .icon {
  width: 14px;
  height: 14px;
  color: var(--accent-bright);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 330px;
  margin-left: auto;
  padding-bottom: 6px;
}

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}

.hero-status {
  padding: 20px;
}
.hero-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #b6acad;
}
.status-live.is-online {
  color: #8be3c2;
}
.hero-players {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}
.hero-players strong {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 70px;
  font-weight: 600;
  line-height: 0.85;
}
.hero-players span {
  font-family: var(--font-mono);
  font-size: 15.5px;
  color: var(--muted-2);
}
.hero-status > p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.hero-bar {
  height: 3px;
  margin: 18px 0 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.hero-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
  box-shadow: 0 0 14px rgba(224, 32, 47, 0.7);
}
.hero-status-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.hero-note {
  padding: 16px 18px;
  border-left: 2px solid var(--accent);
  background: rgba(4, 5, 9, 0.48);
  backdrop-filter: blur(8px);
}
.hero-note p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #b6acad;
}
.hero-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-bright);
}
.hero-note .icon {
  width: 13px;
  height: 13px;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 54px);
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stats strong {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}
.hero-stats span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: floatY 2.6s ease-in-out infinite;
}
.scroll-hint .icon {
  width: 13px;
  height: 13px;
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--accent);
  color: #04060c;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  display: block;
  padding: 12px 26px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 18px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.marquee-track b {
  font-weight: 600;
  opacity: 0.55;
  padding: 0 4px;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(84px, 10vw, 136px) 0;
}

.section-head {
  max-width: 800px;
  margin-bottom: clamp(40px, 5vw, 62px);
}
.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 60px;
}
.section-side {
  padding-bottom: 8px;
}
.section-side p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 44ch;
}
.section-side .text-link {
  margin-top: 18px;
}
.section-head.compact {
  margin-bottom: 34px;
}
.section-head.compact .section-title {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
}

/* ---------- About ---------- */

.about {
  background: linear-gradient(180deg, var(--bg) 0%, #0b0809 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-media {
  position: relative;
}
.media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.8) contrast(1.08);
  transition: transform 1.2s var(--ease);
}
.about-media:hover .media-frame img {
  transform: scale(1.035);
}
.media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 7, 11, 0.08) 20%, rgba(6, 7, 11, 0.9) 100%),
    linear-gradient(90deg, rgba(20, 45, 95, 0.22), transparent 65%);
}
.media-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(6, 7, 11, 0.55);
  backdrop-filter: blur(12px);
}
.media-badge span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #d1c9c9;
}
.media-badge strong {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}
.media-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
}
.media-caption p {
  margin-top: 5px;
  font-size: 15px;
  color: #d7ddea;
}
.media-quote {
  position: absolute;
  right: -24px;
  bottom: 56px;
  width: min(300px, 76%);
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(10, 12, 18, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -30px #000;
}
.media-quote span {
  position: absolute;
  top: 2px;
  left: 16px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
}
.media-quote p {
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: #c9d0de;
}

.about-copy .lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: #ced5e3;
}
.check-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.check-list li {
  display: flex;
  gap: 13px;
}
.check-list li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: rgba(224, 32, 47, 0.1);
  border: 1px solid rgba(224, 32, 47, 0.25);
  color: var(--accent-bright);
}
.check-list .icon {
  width: 14px;
  height: 14px;
}
.check-list strong {
  display: block;
  font-size: 15.5px;
  font-weight: 650;
}
.check-list p {
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.about-signature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.signature-line {
  width: 34px;
  height: 1px;
  background: var(--accent);
}
.about-signature strong {
  display: block;
  font-size: 15px;
}
.about-signature span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.about-signature a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-bright);
}
.about-signature .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Systems ---------- */

.systems {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  position: relative;
  padding: 28px 26px;
  min-height: 232px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -60px;
  background: radial-gradient(circle, rgba(224, 32, 47, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}
.feature-card:hover {
  border-color: rgba(224, 32, 47, 0.4);
  transform: translateY(-4px);
  background: linear-gradient(160deg, rgba(224, 32, 47, 0.06), rgba(255, 255, 255, 0.005));
}
.feature-card:hover::after {
  opacity: 1;
}
.feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 34px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--accent-bright);
}
.feature-icon .icon {
  width: 20px;
  height: 20px;
}
.feature-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.feature-card h3 {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.feature-card p {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.systems-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.systems-strip div {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}
.systems-strip div:last-child {
  border-right: 0;
}
.systems-strip strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Character cards ---------- */

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.char-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.char-card:hover {
  border-color: rgba(224, 32, 47, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.95);
}
.char-card.is-featured {
  border-color: rgba(224, 32, 47, 0.35);
}
.char-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d090a;
}
.char-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
  filter: saturate(0.92);
}
.char-card:hover .char-media img {
  transform: scale(1.045);
  filter: saturate(1.05);
}
.char-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 20%, rgba(224, 32, 47, 0.26), transparent 45%),
    linear-gradient(155deg, #111826 0%, #0e0a0b 55%, #070a10 100%);
}
.char-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 14px);
  opacity: 0.55;
}
.char-fallback::after {
  content: "";
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 10%;
  right: -18%;
}
.char-fallback span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(64px, 7vw, 100px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.char-fallback i {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.25);
}
.char-fallback.tone-1 { background: radial-gradient(circle at 70% 18%, rgba(224,32,47,.3), transparent 46%), linear-gradient(155deg,#1b1012,#0d090a 60%,#070506); }
.char-fallback.tone-2 { background: radial-gradient(circle at 30% 22%, rgba(160,20,34,.26), transparent 46%), linear-gradient(155deg,#1d0e11,#100809 60%,#080506); }
.char-fallback.tone-3 { background: radial-gradient(circle at 72% 25%, rgba(190, 30, 45,.18), transparent 46%), linear-gradient(155deg,#1a1415,#0e0b0c 60%,#070506); }
.char-fallback.tone-4 { background: radial-gradient(circle at 35% 18%, rgba(251,191,36,.16), transparent 46%), linear-gradient(155deg,#1b1710,#0e0c08 60%,#080705); }
.char-fallback.tone-5 { background: radial-gradient(circle at 68% 20%, rgba(248,113,113,.18), transparent 46%), linear-gradient(155deg,#1b1114,#0f090b 60%,#080506); }

.char-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(5, 6, 10, 0.55) 66%, rgba(5, 6, 10, 0.95) 100%);
  pointer-events: none;
}
.char-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(224, 32, 47, 0.9);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: #fff;
  backdrop-filter: blur(8px);
}
.char-featured .icon {
  width: 10px;
  height: 10px;
}
.char-info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
}
.char-info h3 {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.char-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(7, 9, 14, 0.6);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d1c9c9;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.tag-leo { color: #ff9aa2; border-color: rgba(224, 32, 47, 0.35); background: rgba(224, 32, 47, 0.12); }
.tag-ems { color: #ffb0b0; border-color: rgba(248, 113, 113, 0.32); background: rgba(248, 113, 113, 0.1); }
.tag-gov { color: #e4b8bb; border-color: rgba(160, 20, 34, 0.32); background: rgba(160, 20, 34, 0.1); }
.tag-mechanic { color: #ffd79a; border-color: rgba(251, 191, 36, 0.32); background: rgba(251, 191, 36, 0.1); }
.tag-work { color: #c9b1b1; border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.1); }
.tag-gang { color: #ffadad; border-color: rgba(239, 68, 68, 0.3); background: rgba(239, 68, 68, 0.1); }
.tag-plain { color: #c2babb; }
.char-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.char-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.char-time .icon {
  width: 11px;
  height: 11px;
}
.char-arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.char-arrow .icon {
  width: 12px;
  height: 12px;
}
.char-card:hover .char-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.char-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.char-stats strong {
  display: block;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.char-stats span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.char-stats .btn {
  margin-left: auto;
}

/* ---------- Store ---------- */

.store-preview {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.pack-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.pack-card.is-featured {
  border-color: rgba(224, 32, 47, 0.5);
  background: linear-gradient(170deg, rgba(224, 32, 47, 0.14), rgba(8, 10, 16, 0.6) 55%);
  box-shadow: 0 24px 70px -40px rgba(224, 32, 47, 0.8);
}
.pack-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -110px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 32, 47, 0.35), transparent 65%);
  pointer-events: none;
}
.pack-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pack-cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pack-badge {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: #e3dcdc;
}
.pack-card.is-featured .pack-badge {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}
.pack-card h3 {
  margin-top: 18px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 27px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.pack-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  min-height: 63px;
}
.pack-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0;
}
.pack-amount {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}
.pack-amount small {
  font-family: var(--font-mono);
  font-size: 16.5px;
  font-weight: 500;
  margin-right: 2px;
  color: var(--muted);
}
.pack-old {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--muted-2);
  text-decoration: line-through;
}
.pack-features {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}
.pack-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  color: #d0c8c8;
}
.pack-features .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--accent-bright);
}
.pack-card .btn {
  margin-top: auto;
}
.store-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.store-note .icon {
  width: 18px;
  height: 18px;
  color: var(--accent-bright);
  margin-top: 1px;
}
.store-note p {
  font-size: 15px;
  color: var(--muted);
}
.store-note strong {
  color: var(--text);
}

/* ---------- Apply band ---------- */

.apply-band {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.apply-bg,
.apply-shade {
  position: absolute;
  inset: 0;
}
.apply-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.52) saturate(0.8);
}
.apply-shade {
  background: linear-gradient(90deg, rgba(6, 7, 11, 0.96) 0%, rgba(6, 7, 11, 0.78) 50%, rgba(6, 7, 11, 0.45) 100%);
}
.apply-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.apply-copy p {
  max-width: 56ch;
  margin-top: 20px;
  color: #c4bbbb;
  font-size: 16.5px;
  line-height: 1.75;
}
.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.apply-steps {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.apply-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.step-no {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 26px;
  line-height: 1;
  color: var(--accent-bright);
}
.apply-steps strong {
  font-size: 16.5px;
}
.apply-steps p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.6;
  color: #b8aeae;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.faq-head {
  position: sticky;
  top: 110px;
}
.faq-head p {
  margin: 20px 0 18px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--accent-bright);
}
.faq-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.3s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.faq-icon .icon {
  width: 13px;
  height: 13px;
}
.faq-list details[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.faq-body {
  padding: 0 40px 22px 0;
}
.faq-body p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- Discord band ---------- */

.discord-band {
  padding: 20px 0 clamp(80px, 9vw, 120px);
}
.discord-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(224, 32, 47, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 85% 10%, rgba(224, 32, 47, 0.22), transparent 60%),
    linear-gradient(145deg, #140a0c, #0b0809 70%);
  overflow: hidden;
}
.discord-ghost {
  position: absolute;
  right: 300px;
  top: -30px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 330px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
}
.discord-copy {
  position: relative;
  z-index: 1;
}
.discord-copy h2 {
  margin-top: 14px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.96;
}
.discord-copy h2 em {
  font-style: normal;
  color: var(--accent-bright);
}
.discord-copy p {
  max-width: 52ch;
  margin-top: 16px;
  color: #c0b7b7;
  font-size: 15.5px;
  line-height: 1.7;
}
.discord-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}
.discord-url {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.discord-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 260px;
}
.discord-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 30px;
  background: linear-gradient(145deg, #e0202f, #7e0710);
  color: #fff;
  box-shadow: 0 0 0 12px rgba(224, 32, 47, 0.08), 0 30px 70px -24px rgba(224, 32, 47, 0.9);
}
.discord-core .icon {
  width: 54px;
  height: 54px;
}
.discord-orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}
.orbit-1 {
  width: 200px;
  height: 200px;
  animation: spin 26s linear infinite;
}
.orbit-2 {
  width: 280px;
  height: 280px;
  animation: spin 40s linear infinite reverse;
}
.orbit-1::after,
.orbit-2::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  top: -3px;
  left: 50%;
  box-shadow: 0 0 14px var(--accent);
}
.orbit-2::after {
  background: #fff;
  opacity: 0.7;
  left: 20%;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 70px 0 26px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.65fr)) minmax(0, 0.95fr);
  gap: 42px;
}
.footer-brand p {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-socials a:hover {
  border-color: var(--accent);
  background: rgba(224, 32, 47, 0.1);
  color: #fff;
}
.footer-socials .icon {
  width: 16px;
  height: 16px;
}
.footer-col h4 {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-col > a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: #aeb6c6;
  transition: color 0.2s;
}
.footer-col > a:hover {
  color: #fff;
}
.server-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #c5bcbc;
}
.copy-ip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 13px;
  color: #d8d2d2;
  transition: border-color 0.2s, background 0.2s;
}
.copy-ip:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}
.copy-ip .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.footer-connect-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-bright);
}
.footer-connect-link .icon {
  width: 13px;
  height: 13px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}
.footer-disclaimer {
  max-width: 52ch;
  text-align: center;
}
.footer-admin {
  color: var(--muted-2);
  transition: color 0.2s;
}
.footer-admin:hover {
  color: var(--accent-bright);
}

/* ---------- Page heads ---------- */

.page-head {
  position: relative;
  padding: 166px 0 66px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 400px at 20% 0%, rgba(224, 32, 47, 0.1), transparent 60%);
}
.page-head-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
}
.page-head h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  line-height: 1.02;
}
.page-head-copy > p {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}
.page-head-meta {
  display: flex;
  gap: 34px;
  padding-bottom: 8px;
}
.page-head-meta strong {
  display: block;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.page-head-meta span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
  pointer-events: none;
}
.page-ghost {
  position: absolute;
  right: 1%;
  top: 40px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(120px, 20vw, 300px);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
}
.page-head-store,
.page-head-apply,
.page-head-team {
  background: radial-gradient(900px 500px at 18% 0%, rgba(224, 32, 47, 0.1), transparent 60%);
}

/* ---------- Forms (public) ---------- */

.apply-section {
  padding-top: clamp(40px, 5vw, 64px);
}
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.form-shell {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
}
.form-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.stepper-line {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}
.stepper-line span {
  display: block;
  width: 33.33%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
  transition: width 0.35s var(--ease);
}
.stepper-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border: 0;
  background: none;
  text-align: left;
  color: var(--muted-2);
  transition: color 0.2s;
}
.stepper-item > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.stepper-item strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.2;
}
.stepper-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.stepper-item.is-active {
  color: #fff;
}
.stepper-item.is-active > span {
  border-color: var(--accent);
  background: rgba(224, 32, 47, 0.14);
  color: var(--accent-bright);
}
.stepper-item.is-done > span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.apply-form {
  padding: clamp(22px, 3vw, 36px);
}
.form-step {
  display: none;
}
body.js-ready .form-step.is-active {
  display: block;
  animation: fadeUp 0.45s var(--ease);
}
body:not(.js-ready) .form-step {
  display: block;
  padding-bottom: 10px;
}
.form-step-head {
  margin-bottom: 28px;
}
.form-step-head h2 {
  margin-top: 6px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
}
.form-step-head p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 600;
  color: #dbe1ec;
}
.field label > span:first-of-type {
  color: var(--accent-bright);
}
.field label .opt {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted-2);
}
.field input[type="text"],
.field input[type="number"],
.field input[type="email"],
.field input[type="url"],
.field input[type="search"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0809;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.5;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #090c14;
  box-shadow: 0 0 0 3px rgba(224, 32, 47, 0.12);
  outline: 0;
}
.field small {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-2);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: rgba(248, 113, 113, 0.6);
}
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 6px;
  font-size: 13.5px;
  color: #ffb4b4;
}
.field-error .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-row-3 {
  grid-template-columns: 1fr 1fr 0.55fr;
}
.field-sm {
  max-width: none;
}
.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.radio-card {
  position: relative;
  cursor: pointer;
}
.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-card span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0809;
  font-size: 15px;
  color: #c2babb;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.radio-card span .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.radio-card input:checked + span {
  border-color: var(--accent);
  background: rgba(224, 32, 47, 0.1);
  color: #fff;
}
.radio-card input:checked + span .icon {
  color: var(--accent-bright);
}
.radio-card input:focus-visible + span {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.6;
  color: #c3cbd9;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkbox-box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #0b0809;
  color: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.checkbox-box .icon {
  width: 13px;
  height: 13px;
}
.checkbox input:checked + .checkbox-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.checkbox input:focus-visible + .checkbox-box {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
.checkbox a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox-field {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
}
.q-no {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-bright);
}
.submit-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 14px;
  border: 1px solid rgba(224, 32, 47, 0.2);
  border-radius: 8px;
  background: rgba(224, 32, 47, 0.05);
}
.submit-note .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
  margin-top: 1px;
}
.submit-note p {
  font-size: 14px;
  line-height: 1.6;
  color: #aeb8c9;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.form-actions-next {
  margin-top: 10px;
}
.draft-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.draft-note .icon {
  width: 13px;
  height: 13px;
}
body.js-ready .apply-form[data-step="3"] .form-actions-next {
  display: none;
}

.apply-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.side-card h3 {
  margin-top: 5px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
}
.mini-steps {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}
.mini-steps li {
  display: flex;
  gap: 11px;
}
.mini-steps li > span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-bright);
  padding-top: 2px;
}
.mini-steps strong {
  font-size: 14.5px;
}
.mini-steps p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 2px;
}
.status-lookup form {
  margin-top: 14px;
}
.status-lookup .field {
  margin-bottom: 12px;
}
.status-lookup .field label {
  font-size: 13.5px;
}
.side-discord {
  background: linear-gradient(160deg, rgba(224, 32, 47, 0.12), rgba(13, 16, 23, 0.9));
  border-color: rgba(224, 32, 47, 0.26);
}
.discord-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(224, 32, 47, 0.18);
  color: var(--accent-bright);
  margin-bottom: 12px;
}
.side-discord p {
  margin: 7px 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.status-card {
  padding: 22px;
}
.status-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.status-appno {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.status-name {
  margin-top: 2px;
  font-size: 14.5px;
  color: var(--muted);
}
.status-timeline {
  display: grid;
  gap: 0;
  margin-top: 18px;
}
.status-node {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 0 0 16px;
  color: var(--muted-2);
}
.status-node::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.status-node:last-child {
  padding-bottom: 0;
}
.status-node:last-child::before {
  display: none;
}
.status-node > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #0a0c12;
}
.status-node .icon {
  width: 11px;
  height: 11px;
}
.status-node strong {
  display: block;
  font-size: 14px;
  color: #b2bac9;
  line-height: 1.4;
}
.status-node small {
  font-size: 12px;
  color: var(--muted-2);
}
.status-node.is-done > span {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--green);
}
.status-node.is-done strong {
  color: #d7f5ea;
}
.status-node.is-active > span {
  background: rgba(224, 32, 47, 0.15);
  border-color: var(--accent);
  color: var(--accent-bright);
}
.status-node.is-rejected > span {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.1);
  color: var(--red);
}
.status-note {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.status-note strong {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-note p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: #c2cad8;
}
.status-help {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-pending { color: #c8d5ea; background: rgba(148, 163, 184, 0.1); border-color: rgba(148, 163, 184, 0.3); }
.badge-interview { color: #ffe0a3; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.badge-accepted { color: #a9d4bd; background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.3); }
.badge-rejected { color: #ffb3b3; background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.3); }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.notice > span {
  color: var(--accent-bright);
  margin-top: 1px;
}
.notice strong {
  font-size: 15px;
}
.notice p {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.notice-warn {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.05);
}
.notice-warn > span {
  color: var(--amber);
}
.notice-error {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.06);
}
.notice-error > span {
  color: var(--red);
}
.notice-info {
  margin-bottom: 24px;
}

/* ---------- Thank you ---------- */

.thanks-section {
  position: relative;
  min-height: 84vh;
  display: grid;
  place-items: center;
  padding: 170px 0 100px;
  overflow: hidden;
}
.thanks-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224, 32, 47, 0.18), transparent 65%);
  pointer-events: none;
}
.thanks-inner {
  position: relative;
  max-width: 820px;
  text-align: center;
}
.thanks-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
}
.thanks-icon .icon {
  width: 28px;
  height: 28px;
}
.thanks-inner h1 {
  margin-top: 14px;
  font-size: clamp(3.2rem, 6.6vw, 6.2rem);
}
.thanks-lede {
  max-width: 58ch;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}
.app-number-card {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  padding: 20px 26px;
  border: 1px dashed rgba(224, 32, 47, 0.45);
  border-radius: 14px;
  background: rgba(224, 32, 47, 0.06);
}
.app-number-card > span {
  width: 100%;
}
.app-number-card strong {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  color: #fff;
}
.app-number-card p {
  width: 100%;
  font-size: 13.5px;
  color: var(--muted);
}
.thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}
.thanks-steps > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.thanks-steps span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent-bright);
}
.thanks-steps strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 15px;
}
.thanks-steps p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.thanks-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted-2);
}
.thanks-note .icon {
  width: 13px;
  height: 13px;
}

/* ---------- Store page ---------- */

.page-head-store {
  border-bottom: 0;
}
.page-head-bg,
.page-head-shade {
  position: absolute;
  inset: 0;
}
.page-head-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.8);
}
.page-head-shade {
  background: linear-gradient(90deg, rgba(6, 7, 11, 0.96), rgba(6, 7, 11, 0.6) 60%, rgba(6, 7, 11, 0.9));
}
.page-head-store .page-head-inner {
  position: relative;
}
.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-tab span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}
.filter-tab:hover {
  border-color: var(--line-strong);
  color: #fff;
}
.filter-tab.is-active {
  background: rgba(224, 32, 47, 0.12);
  border-color: rgba(224, 32, 47, 0.4);
  color: #fff;
}
.filter-tab.is-active span {
  color: var(--accent-bright);
}
.store-toolbar-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.store-toolbar-note .icon {
  width: 13px;
  height: 13px;
  color: var(--accent-bright);
}
.pack-grid-store {
  align-items: stretch;
}
.pack-wrap {
  display: flex;
}
.pack-wrap .pack-card {
  width: 100%;
}
.pack-wrap.is-hidden {
  display: none;
}
.store-empty-filter {
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
}
.store-disclaimer {
  margin-top: 28px;
}
.store-how {
  margin-top: clamp(60px, 8vw, 96px);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.how-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}
.how-no {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
}
.how-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--accent-bright);
}
.how-card h3 {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}
.how-card p {
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.store-faq {
  max-width: 820px;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.store-faq details {
  border-bottom: 1px solid var(--line);
}
.store-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.store-faq summary::-webkit-details-marker {
  display: none;
}
.store-faq details[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.store-faq .faq-body {
  padding-bottom: 18px;
}

/* ---------- Characters page ---------- */

.character-section {
  padding-top: clamp(36px, 5vw, 56px);
}
.character-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.character-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-input {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input .icon {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  color: var(--muted-2);
  pointer-events: none;
}
.search-input input {
  width: 270px;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0809;
  font-size: 14.5px;
  color: var(--text);
}
.character-search select {
  padding: 10px 30px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0809;
  font-size: 14.5px;
  color: var(--text);
}
.character-search input:focus,
.character-search select:focus {
  border-color: var(--accent);
  outline: 0;
}
.character-search .btn {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}
.filter-clear {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.character-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.character-count strong {
  color: var(--text);
}
.char-grid-page {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.other-characters .char-grid-page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.character-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}
.character-note-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(224, 32, 47, 0.3);
  border-radius: 10px;
  background: rgba(224, 32, 47, 0.1);
  color: var(--accent-bright);
}
.character-note strong {
  font-size: 15px;
}
.character-note p {
  margin-top: 3px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.character-note code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0b0809;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-bright);
}
.character-note .btn {
  margin-left: auto;
  flex: 0 0 auto;
}
.character-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.character-cta h2 {
  margin-top: 8px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}
.character-cta .btn {
  flex: 0 0 auto;
}

.empty-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.012);
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--accent-bright);
}
.empty-panel h3 {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}
.empty-panel p {
  max-width: 44ch;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.empty-panel .btn {
  margin-top: 18px;
}

/* ---------- Character detail ---------- */

.character-hero {
  position: relative;
  padding: 150px 0 100px;
  overflow: hidden;
}
.character-hero-bg {
  position: absolute;
  width: 900px;
  height: 900px;
  top: -300px;
  right: -200px;
  background: radial-gradient(circle, rgba(224, 32, 47, 0.14), transparent 65%);
  pointer-events: none;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.back-link:hover {
  color: #fff;
}
.back-link .icon {
  width: 13px;
  height: 13px;
}
.character-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}
.profile-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  background: #0d090a;
}
.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.profile-fallback span {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(100px, 12vw, 170px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  z-index: 1;
}
.profile-fallback i {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-style: normal;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
}
.profile-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 10, 0.9));
}
.profile-media-foot {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.profile-copy {
  padding-top: 10px;
}
.profile-copy h1 {
  margin-top: 14px;
  font-size: clamp(3rem, 6vw, 6rem);
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.profile-quote {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: #e0d8d8;
  font-size: 18px;
  line-height: 1.6;
}
.profile-bio {
  max-width: 64ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.profile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.profile-meta > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.profile-meta dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.profile-meta dt .icon {
  width: 12px;
  height: 12px;
  color: var(--accent-bright);
}
.profile-meta dd {
  margin-top: 4px;
  font-size: 15px;
  color: #ddd5d5;
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.other-characters {
  margin-top: 90px;
}

/* ---------- Team ---------- */

.team-section {
  padding-top: clamp(40px, 6vw, 70px);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.team-card {
  display: flex;
  gap: 21px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.team-card:hover {
  border-color: rgba(224, 32, 47, 0.35);
  transform: translateY(-3px);
}
.team-avatar {
  position: relative;
  width: 118px;
  height: 118px;
  flex: 0 0 auto;
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(145deg, #1c1113, #0e0a0b);
  display: grid;
  place-items: center;
}
.team-avatar span {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.9);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-index {
  position: absolute;
  right: 7px;
  bottom: 5px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}
.team-info {
  padding-top: 4px;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.team-info h2 {
  margin-top: 4px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
}
.team-info p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.team-info .text-link {
  margin-top: 9px;
  font-size: 13.5px;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.role-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}
.role-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--accent-bright);
}
.role-no {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}
.role-card h3 {
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}
.role-card p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.team-coming {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
}
.team-coming .empty-icon {
  margin: 0;
  flex: 0 0 auto;
}
.team-coming strong {
  font-size: 15px;
}
.team-coming p {
  font-size: 14px;
  color: var(--muted);
}
.team-coming .btn {
  margin-left: auto;
}
.team-ethos {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  margin-top: clamp(50px, 7vw, 80px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(224, 32, 47, 0.07), rgba(255, 255, 255, 0.01) 60%);
}
.ethos-copy h2 {
  margin-top: 12px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}
.ethos-copy h2 em {
  font-style: normal;
  color: var(--accent-bright);
}
.ethos-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.ethos-list {
  display: grid;
  gap: 12px;
}
.ethos-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 14.5px;
  color: #d7cfcf;
}
.ethos-list span {
  color: var(--green);
  display: grid;
  place-items: center;
}
.ethos-list .icon {
  width: 14px;
  height: 14px;
}
.team-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(224, 32, 47, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(224, 32, 47, 0.14), rgba(8, 10, 16, 0.7));
}
.team-apply h2 {
  margin-top: 8px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}
.team-apply p {
  max-width: 62ch;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.team-apply .btn {
  flex: 0 0 auto;
}

/* ---------- Rules ---------- */

.rules-section {
  padding-top: clamp(36px, 5vw, 60px);
}
.rules-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
.toc-card {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.toc-card > nav {
  display: grid;
  margin-top: 12px;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 4px;
}
.toc-card nav a {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}
.toc-card nav a:hover {
  color: #fff;
  padding-left: 3px;
}
.toc-cta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.toc-cta p {
  margin-bottom: 9px;
  font-size: 13.5px;
  color: var(--muted);
}
.rules-content {
  min-width: 0;
}
.prose {
  max-width: 800px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}
.prose h1 {
  display: none;
}
.prose h2 {
  margin: 52px 0 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.05;
  scroll-margin-top: 100px;
}
.prose h2:first-of-type {
  margin-top: 30px;
}
.prose h3 {
  margin: 28px 0 10px;
  color: #eee8e8;
  font-size: 15.5px;
  font-weight: 700;
}
.prose p {
  margin: 11px 0;
}
.prose strong {
  color: #e9edf5;
  font-weight: 650;
}
.prose a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose ul,
.prose ol {
  margin: 12px 0;
  padding-left: 20px;
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin: 5px 0;
}
.prose blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: rgba(224, 32, 47, 0.055);
  color: #d6cece;
  font-size: 15px;
}
.prose blockquote p {
  margin: 3px 0;
}
.prose hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.prose code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0b0809;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--accent-bright);
}
.prose table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 650;
}
.rules-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  padding: 30px;
  border: 1px solid rgba(224, 32, 47, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(224, 32, 47, 0.13), rgba(8, 10, 16, 0.7));
}
.rules-footer-cta h2 {
  margin-top: 7px;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}
.rules-footer-cta .btn {
  flex: 0 0 auto;
}

/* ---------- Error / maintenance ---------- */

.error-section {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 150px 0 100px;
  overflow: hidden;
}
.error-ghost {
  position: absolute;
  font-family: var(--font-display); letter-spacing: 0.015em;
  font-size: clamp(220px, 38vw, 520px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  user-select: none;
}
.error-inner {
  position: relative;
  max-width: 680px;
  text-align: center;
}
.error-inner h1 {
  margin-top: 16px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}
.error-inner > p {
  max-width: 52ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.maintenance-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border: 1px solid rgba(224, 32, 47, 0.35);
  border-radius: 50%;
  background: rgba(224, 32, 47, 0.1);
  color: var(--accent-bright);
}
.maintenance-icon .icon {
  width: 26px;
  height: 26px;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10000;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #120d0e;
  color: #e8e1e1;
  font-size: 14.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 18px 50px -20px #000;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Motion ---------- */

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1160px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .status-chip { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.6fr); gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.3fr 0.7fr 0.7fr; }
  .footer-connect { grid-column: 1 / -1; max-width: 380px; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .mobile-menu { display: block; }
  .nav-inner { gap: 18px; }
  .nav-actions { margin-left: auto; }

  .hero { min-height: auto; padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; align-items: start; gap: 34px; }
  .hero-side { flex-direction: row; flex-wrap: wrap; max-width: none; margin: 0; }
  .hero-status { flex: 1 1 270px; }
  .hero-note { flex: 1 1 230px; }
  .hero-bottom { flex-wrap: wrap; }

  .section-head.split { grid-template-columns: 1fr; gap: 22px; }
  .section-side { padding-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { max-width: 520px; }
  .media-quote { right: 0; }

  .char-grid, .char-grid-page { grid-template-columns: repeat(3, 1fr); }
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-inner { grid-template-columns: 1fr; gap: 42px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .discord-panel { grid-template-columns: 1fr; }
  .discord-art { display: none; }

  .page-head-inner { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .page-head-meta { padding-bottom: 0; }

  .apply-layout { grid-template-columns: 1fr; }
  .apply-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .apply-side .status-card,
  .apply-side .notice { grid-column: 1 / -1; }

  .character-profile { grid-template-columns: 1fr; }
  .profile-media { max-width: 440px; }

  .rules-layout { grid-template-columns: 1fr; }
  .toc-card { position: static; }
  .toc-card > nav { max-height: none; grid-template-columns: 1fr 1fr; gap: 0 20px; }

  .team-grid { grid-template-columns: 1fr; }
  .team-ethos { grid-template-columns: 1fr; }
  .team-apply, .rules-footer-cta, .character-cta { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-connect { grid-column: auto; max-width: none; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-disclaimer { order: 3; max-width: none; text-align: left; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 70px 0; }

  .hero { padding-top: 112px; }
  .hero-title { font-size: clamp(3.2rem, 14vw, 5.4rem); }
  .hero-lede { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-meta { gap: 12px 18px; }
  .hero-side { flex-direction: column; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
  .scroll-hint { display: none; }
  .hero-bottom { padding-top: 20px; }

  .marquee-track span { font-size: 15.5px; padding: 10px 18px; }

  .about-signature { flex-wrap: wrap; }
  .about-signature a { margin-left: 0; width: 100%; }
  .media-quote { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; border-radius: 0 12px 12px 0; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .systems-strip { grid-template-columns: 1fr 1fr; }
  .systems-strip div:nth-child(2) { border-right: 0; }
  .systems-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .char-grid, .char-grid-page { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .char-info { left: 12px; right: 12px; bottom: 11px; }
  .char-info h3 { font-size: 18px; }
  .char-foot { padding: 10px 12px; font-size: 12.5px; }
  .char-stats { gap: 22px; }
  .char-stats .btn { margin-left: 0; width: 100%; }

  .pack-grid { grid-template-columns: 1fr; }
  .pack-desc { min-height: 0; }

  .apply-steps li { grid-template-columns: 42px 1fr; }
  .faq-list summary { font-size: 15.5px; }

  .discord-panel { padding: 26px 22px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-disclaimer { order: 0; }

  .page-head { padding: 132px 0 46px; }
  .page-head h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .page-head-meta { flex-wrap: wrap; gap: 22px; }
  .page-head-meta strong { font-size: 26px; }

  .form-stepper { padding: 16px 16px; }
  .stepper-item > span { width: 24px; height: 24px; font-size: 10.5px; }
  .stepper-item strong { font-size: 13.5px; }
  .stepper-item small { display: none; }
  .apply-form { padding: 20px 16px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; gap: 0; }
  .radio-cards { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .btn { width: 100%; }
  .draft-note { display: none; }
  .apply-side { grid-template-columns: 1fr; }

  .thanks-steps { grid-template-columns: 1fr; }
  .app-number-card strong { font-size: 32px; }

  .store-toolbar { flex-direction: column; align-items: flex-start; }
  .store-toolbar-note { white-space: normal; }
  .how-grid { grid-template-columns: 1fr; }

  .character-toolbar { flex-direction: column; align-items: flex-start; }
  .character-search { width: 100%; }
  .search-input { flex: 1; }
  .search-input input { width: 100%; }
  .character-note { flex-wrap: wrap; }
  .character-note .btn { margin-left: 0; width: 100%; }
  .character-cta .btn { width: 100%; }

  .profile-meta { grid-template-columns: 1fr; }
  .other-characters { margin-top: 56px; }

  .team-card { flex-direction: column; }
  .team-avatar { width: 100%; height: auto; aspect-ratio: 1.6; }
  .team-avatar span { font-size: 56px; }
  .team-apply .btn, .rules-footer-cta .btn { width: 100%; }
  .role-grid { grid-template-columns: 1fr; }

  .toc-card > nav { grid-template-columns: 1fr; }
  .prose { font-size: 15.5px; }
  .prose table { display: block; overflow-x: auto; }
  .rules-footer-cta { padding: 22px; }
}

@media (max-width: 460px) {
  .char-grid, .char-grid-page { grid-template-columns: 1fr; }
  .char-media { aspect-ratio: 4 / 4.6; }
  .nav-cta { display: none; }
  .brand-word { display: none; }
  .hero-title { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .pack-card { padding: 22px; }
  .hero-players strong { font-size: 52px; }
  .page-head-meta { gap: 18px; }
  .section-title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
}

.char-counter {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-align: right;
  color: var(--muted-2);
}
.char-counter.is-ok { color: var(--green); }
.char-counter.is-over { color: var(--amber); }



@media (max-width: 760px) {
  .page-ghost { display: none; }
  .character-search { display: grid; grid-template-columns: 1fr auto; width: 100%; }
  .character-search .search-input { grid-column: 1 / -1; }
  .character-search .search-input input { width: 100%; }
  .character-search select { width: 100%; }
  .character-search .btn { width: 100%; }
}


@media (max-width: 760px) {
  .other-characters .char-grid-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .other-characters .char-grid-page { grid-template-columns: 1fr; }
}


/* XQ emblem + red/black retune */
.hero-emblem {
  position: absolute;
  z-index: 0;
  top: 13%;
  right: 2.5%;
  width: min(38vw, 540px);
  opacity: 0.11;
  pointer-events: none;
  transform: rotate(-4deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 72%);
}
.hero-inner, .hero-bottom { position: relative; z-index: 2; }
.hero-title .outline {
  color: rgba(255, 85, 98, 0.12);
  -webkit-text-stroke: 1.5px rgba(255, 95, 105, 0.8);
}
.btn { border-radius: 5px; }
.btn-sm { border-radius: 4px; }
.hero-status, .hero-note, .media-frame, .feature-card, .char-card, .pack-card, .side-card, .team-card, .role-card, .discord-panel { border-radius: 12px; }
.apply-shade {
  background:
    linear-gradient(90deg, rgba(7, 5, 6, 0.96) 0%, rgba(7, 5, 6, 0.76) 52%, rgba(7, 5, 6, 0.5) 100%),
    linear-gradient(0deg, rgba(120, 8, 18, 0.3), transparent 62%);
}
.page-head-shade {
  background:
    linear-gradient(90deg, rgba(7, 5, 6, 0.96), rgba(7, 5, 6, 0.6) 60%, rgba(7, 5, 6, 0.9)),
    linear-gradient(0deg, rgba(120, 8, 18, 0.22), transparent 70%);
}
.discord-ghost { display: none; }
.discord-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 300px;
}
.discord-emblem {
  position: relative;
  z-index: 1;
  width: min(280px, 82%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 90px -30px rgba(211, 19, 38, 0.7);
}
.discord-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.discord-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-top-color: var(--accent-bright);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.nav-links a { font-size: 13.5px; }
@media (max-width: 1240px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12.5px; }
  .brand-word { display: none; }
}
@media (max-width: 1000px) {
  .hero-emblem { display: none; }
}
@media (max-width: 760px) {
  .hero-lede { font-size: 16px; }
  .discord-art { display: none; }
}

/* apply band + small readability */
.apply-copy .section-title { font-size: clamp(2.6rem, 4.9vw, 4.8rem); line-height: 1; }
.apply-bg img { filter: brightness(0.55) saturate(0.5) sepia(0.22) hue-rotate(-16deg); }
.discord-url { font-size: 13px; }
.hero-lede { font-size: 17px; }
.footer-brand p { font-size: 14px; }
.footer-col > a { font-size: 14px; }

/* final readability pass */
.brand-logo { filter: brightness(1.28) contrast(1.04); }
.brand-word { font-size: 12px; letter-spacing: 0.18em; }
.hero-meta { color: #b8adae; font-size: 12px; }
.hero-stats span, .page-head-meta span { font-size: 11.5px; }
.char-foot { font-size: 10.5px; }
.pack-cat, .pack-badge { font-size: 10.5px; }
.footer-col h4 { font-size: 12px; }
.footer-bottom { font-size: 12.5px; }
.status-chip { border-radius: 4px; }
.eyebrow { border-radius: 4px; }

/* final type tuning */
.prose { font-size: 16px; }
.tag { font-size: 11px; }
.char-featured { font-size: 10.5px; }
.char-foot { font-size: 11px; }
.hero-stats span, .page-head-meta span { font-size: 12px; }

.marquee {
  background-image: repeating-linear-gradient(118deg, rgba(0, 0, 0, 0.09) 0 2px, transparent 2px 11px);
}
.section-head .kicker i {
  position: relative;
  padding-right: 12px;
}
.section-head .kicker i::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 1px;
  background: var(--accent);
}
