:root {
  --bg: #030303;
  --bg-soft: #070809;
  --bg-raised: #0b0c0e;
  --panel: #0e1012;
  --panel-light: #15181b;
  --text: #f5f5f3;
  --muted: #959a9f;
  --muted-dark: #666b70;
  --line: rgba(226, 229, 232, 0.14);
  --line-bright: rgba(244, 245, 246, 0.28);
  --silver: #d5d8da;
  --silver-bright: #ffffff;
  --steel: #969ba0;
  --graphite: #2b2e31;
  --shadow: rgba(0, 0, 0, 0.65);
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  background:
    radial-gradient(circle at 75% 8%, rgba(220, 224, 227, 0.055), transparent 30%),
    linear-gradient(180deg, #020202 0%, #060708 50%, #020202 100%);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

button {
  font: inherit;
}

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

.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 223, 226, 0.09), transparent 68%);
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate3d(-500px, -500px, 0);
  will-change: transform;
  z-index: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  z-index: 100;
  background: linear-gradient(to bottom, rgba(2, 2, 2, 0.97), rgba(3, 3, 3, 0.55));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.site-header.scrolled {
  height: 76px;
  border-color: var(--line);
  background: rgba(4, 4, 4, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Orbitron, sans-serif;
  letter-spacing: 0.14em;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 0.82rem;
  color: var(--silver-bright);
}

.brand-copy small {
  font-size: 0.48rem;
  color: var(--steel);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  color: #b9bdc1;
  transition: 0.2s;
}

.nav a:hover {
  color: var(--silver-bright);
}

.nav-cta {
  position: relative;
  border: 1px solid var(--line-bright) !important;
  padding: 11px 18px;
  color: var(--silver-bright) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 0 30px rgba(255, 255, 255, 0.025);
}

.nav-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, var(--silver-bright), transparent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  max-width: var(--max);
  margin: auto;
  padding: 155px 28px 82px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 68px;
  position: relative;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  z-index: -2;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(225, 228, 230, 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: 720px;
  height: 720px;
  right: -250px;
  top: 70px;
}

.hero::after {
  width: 530px;
  height: 530px;
  right: -150px;
  top: 165px;
}

.hero-glow {
  position: absolute;
  right: 0;
  top: 17%;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 226, 228, 0.12), transparent 68%);
  filter: blur(22px);
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.69rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: #aeb2b6;
}

.eyebrow i {
  display: block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--silver-bright), var(--steel));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.eyebrow span,
.hero h1 span,
h2 span {
  color: var(--silver);
}

h1,
h2,
h3 {
  font-family: Orbitron, sans-serif;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4rem, 8vw, 7.8rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  margin: 24px 0 28px;
  text-shadow: 0 0 50px rgba(255, 255, 255, 0.035);
}

.hero h1 span,
.section-heading h2 span,
.trailer-content h2 span,
.join-panel h2 span {
  background: linear-gradient(120deg, #ffffff 5%, #9b9fa3 38%, #f5f5f4 62%, #777c80 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 620px;
  color: #a0a4a8;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.25s;
  background: transparent;
  color: var(--silver-bright);
}

.btn-primary {
  color: #090a0b;
  background: linear-gradient(135deg, #ffffff 0%, #b2b6b9 38%, #eceeed 70%, #7d8286 100%);
  border-color: #d9dcde;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.44), inset 0 1px rgba(255, 255, 255, 0.9);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.58), 0 0 26px rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.01));
  border-color: rgba(230, 232, 234, 0.22);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  border-color: var(--silver-bright);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.play {
  font-size: 0.65rem;
}

.hero-stats {
  display: flex;
  gap: 46px;
  margin-top: 56px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: Orbitron, sans-serif;
  font-size: 1.45rem;
}

.hero-stats strong::after {
  content: "+";
  color: var(--silver);
}

.hero-stats span {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glass-card {
  background:
    linear-gradient(145deg, rgba(24, 26, 29, 0.9), rgba(7, 8, 9, 0.82)),
    var(--bg-raised);
  border: 1px solid rgba(235, 237, 239, 0.14);
  box-shadow: 0 30px 80px var(--shadow), inset 0 1px rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

.logo-card {
  height: 585px;
  position: relative;
  overflow: hidden;
  padding: 25px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, transparent 38%, rgba(255, 255, 255, 0.055)),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.085), transparent 27%);
}

.logo-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.metal-corner {
  position: absolute;
  width: 86px;
  height: 86px;
  z-index: 3;
  pointer-events: none;
}

.corner-one {
  top: 12px;
  left: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  border-left: 2px solid rgba(255, 255, 255, 0.35);
}

.corner-two {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}

.scanline {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver-bright), transparent);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  animation: scan 5s linear infinite;
  opacity: 0.35;
  z-index: 4;
}

@keyframes scan {
  from { top: 0; }
  to { top: 100%; }
}

.status-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  color: #a1a5a9;
  position: relative;
  z-index: 5;
}

.status-row strong {
  margin-left: auto;
  color: var(--silver-bright);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--silver-bright);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.75);
  animation: statusPulse 2.2s ease-in-out infinite;
}

@keyframes statusPulse {
  50% { opacity: 0.45; box-shadow: 0 0 8px rgba(255, 255, 255, 0.25); }
}

.logo-stage {
  position: absolute;
  inset: 65px 22px 118px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-logo {
  width: min(94%, 480px);
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 3;
}

.logo-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(235, 237, 239, 0.1);
}

.orbit-one {
  width: 430px;
  height: 430px;
  animation: orbitSpin 18s linear infinite;
}

.orbit-two {
  width: 330px;
  height: 330px;
  border-style: dashed;
  opacity: 0.55;
  animation: orbitSpin 13s linear infinite reverse;
}

.logo-orbit::before,
.logo-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8dbdd;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.logo-orbit::before {
  top: -4px;
  left: 50%;
}

.logo-orbit::after {
  bottom: -4px;
  left: 25%;
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

.server-panel {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border: 1px solid var(--line);
  background: rgba(3, 3, 3, 0.84);
  z-index: 5;
}

.server-panel div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.server-panel div:last-child {
  border: 0;
}

.server-panel small,
.server-panel strong {
  display: block;
}

.server-panel small {
  font-size: 0.54rem;
  color: var(--muted);
  letter-spacing: 0.13em;
}

.server-panel strong {
  font-family: Orbitron, sans-serif;
  font-size: 0.78rem;
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 34px;
  left: 28px;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: #7f8489;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(-90deg);
  transform-origin: left;
}

.scroll-indicator span {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--silver-bright), var(--steel));
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #050505, #0b0c0d, #050505);
  padding: 14px 0;
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 34px;
  align-items: center;
  animation: ticker 28s linear infinite;
  font-family: Orbitron, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  color: #7f8489;
}

.ticker b {
  color: var(--silver);
}

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

.content-section {
  max-width: var(--max);
  margin: auto;
  padding: 120px 28px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 18px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered p {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
  margin-top: 70px;
}

.about-copy .lead {
  font-family: Orbitron, sans-serif;
  color: var(--silver-bright);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 20px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  color: var(--silver-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-top: 20px;
}

.text-link span {
  color: var(--silver);
}

.feature-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-card {
  padding: 28px;
  min-height: 190px;
  transition: 0.25s;
}

.mini-card:hover {
  transform: translateY(-5px);
  border-color: rgba(235, 237, 239, 0.38);
  background: linear-gradient(145deg, rgba(36, 39, 42, 0.92), rgba(8, 9, 10, 0.84));
}

.mini-card span {
  font-family: Orbitron, sans-serif;
  color: var(--silver);
  font-size: 0.65rem;
}

.mini-card h3 {
  font-size: 0.95rem;
  margin: 18px 0 8px;
}

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

.features-section {
  max-width: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 32%),
    linear-gradient(180deg, #050607, #0a0b0d, #050607);
  border-block: 1px solid rgba(255, 255, 255, 0.055);
}

.features-section > * {
  max-width: var(--max);
  margin-inline: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 64px;
  border: 1px solid var(--line);
}

.feature-card {
  background: #08090a;
  padding: 40px;
  min-height: 270px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -70% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 231, 233, 0.13), transparent 66%);
  transition: 0.3s;
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--silver-bright), transparent);
  transition: width 0.35s ease;
}

.feature-card:hover {
  background: #101214;
}

.feature-card:hover::before {
  transform: scale(1.4);
}

.feature-card:hover::after {
  width: 72%;
}

.feature-card .icon {
  font-size: 2rem;
  color: var(--silver);
}

.feature-card h3 {
  font-size: 1rem;
  margin: 25px 0 12px;
}

.feature-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

.card-index {
  position: absolute;
  right: 22px;
  top: 18px;
  font-family: Orbitron, sans-serif;
  color: #3e4246;
  font-size: 0.65rem;
}

.departments-section {
  position: relative;
}

.department-tabs {
  display: flex;
  gap: 8px;
  margin: 50px 0 18px;
  flex-wrap: wrap;
}

.tab {
  background: #0a0b0c;
  color: #858a8f;
  border: 1px solid var(--line);
  padding: 13px 22px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.tab.active,
.tab:hover {
  color: var(--silver-bright);
  border-color: var(--silver);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
}

.department-display {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  min-height: 460px;
  overflow: hidden;
}

.department-copy {
  padding: 55px;
}

.department-code {
  font-family: Orbitron, sans-serif;
  color: var(--silver);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}

.department-copy h3 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 18px 0;
}

.department-copy p {
  max-width: 650px;
  color: var(--muted);
}

.department-copy ul {
  list-style: none;
  margin: 25px 0 32px;
  display: grid;
  gap: 8px;
  color: #c7c9cb;
  font-size: 0.82rem;
}

.department-copy li::before {
  content: "//";
  color: var(--silver);
  margin-right: 12px;
}

.department-art {
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent),
    repeating-linear-gradient(90deg, transparent 0 35px, rgba(255, 255, 255, 0.025) 35px 36px),
    #070809;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.department-art > span {
  font-family: Orbitron, sans-serif;
  font-size: 13rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.032);
  position: absolute;
}

.radar {
  width: 250px;
  height: 250px;
  border: 1px solid rgba(225, 228, 230, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.055), inset 0 0 50px rgba(255, 255, 255, 0.04);
  position: relative;
  animation: pulse 3s ease-in-out infinite;
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  background: rgba(225, 228, 230, 0.28);
}

.radar::before {
  width: 100%;
  height: 1px;
  top: 50%;
}

.radar::after {
  height: 100%;
  width: 1px;
  left: 50%;
}

@keyframes pulse {
  50% { transform: scale(1.06); opacity: 0.7; }
}

.rules-list {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.rules-list details {
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
}

.rules-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 27px 0;
  cursor: pointer;
  font-family: Orbitron, sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.rules-list summary::-webkit-details-marker,
.faq-grid summary::-webkit-details-marker {
  display: none;
}

.rules-list summary span {
  color: var(--silver);
  width: 60px;
}

.rules-list summary b {
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--silver);
  transition: transform 0.2s ease;
}

.rules-list details[open] summary b {
  transform: rotate(45deg);
}

.rules-list details p {
  color: var(--muted);
  padding: 0 0 25px 60px;
  max-width: 800px;
}

.trailer-section {
  height: 620px;
  position: relative;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(120deg, #030303, #111315 50%, #030303);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.trailer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, 0.024) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, 0.024) 79px 80px);
  transform: perspective(500px) rotateX(60deg) scale(1.5);
  transform-origin: bottom;
  opacity: 0.6;
}

.trailer-section::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 90px rgba(255, 255, 255, 0.025), inset 0 0 90px rgba(255, 255, 255, 0.025);
}

.trailer-content {
  position: relative;
  z-index: 2;
}

.trailer-content h2 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.9;
  margin: 22px 0 34px;
}

.trailer-button {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid var(--silver);
  background: rgba(255, 255, 255, 0.045);
  color: var(--silver-bright);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.08), inset 0 0 24px rgba(255, 255, 255, 0.035);
  transition: 0.25s;
}

.trailer-button:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #ffffff, #8f9498);
  color: #08090a;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-grid details {
  background: #090a0b;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-grid details[open] {
  border-color: rgba(230, 232, 234, 0.27);
  background: #0d0f11;
}

.faq-grid summary {
  list-style: none;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.faq-grid summary span {
  color: var(--silver);
}

.faq-grid p {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.83rem;
}

.join-section {
  padding: 30px 28px 120px;
}

.join-panel {
  max-width: var(--max);
  margin: auto;
  min-height: 390px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.075), transparent 36%),
    #0a0b0c;
  border: 1px solid rgba(230, 232, 234, 0.22);
  position: relative;
  overflow: hidden;
}

.join-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255, 255, 255, 0.012) 8px 9px);
}

.join-panel::after {
  content: "BLACKSTONE";
  position: absolute;
  right: -30px;
  bottom: -55px;
  font-family: Orbitron, sans-serif;
  font-size: 8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.022);
}

.join-panel > div {
  position: relative;
  z-index: 2;
}

.join-panel h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.95;
  margin: 18px 0;
}

.join-panel p {
  color: var(--muted);
}

.join-actions {
  display: grid;
  gap: 12px;
  min-width: 255px;
  position: relative;
  z-index: 2;
}

.join-actions small {
  text-align: center;
  color: var(--muted-dark);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  max-width: var(--max);
  margin: auto;
  padding: 35px 28px 50px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #72777c;
  font-size: 0.65rem;
}

.footer-brand {
  transform: scale(0.88);
  transform-origin: left;
}

footer p {
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--silver-bright);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.modal-content {
  width: min(900px, 100%);
  aspect-ratio: 16 / 9;
  background: #08090a;
  border: 1px solid var(--line-bright);
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 6px;
  border: 0;
  background: none;
  color: var(--silver-bright);
  font-size: 2rem;
  z-index: 3;
  cursor: pointer;
}

.video-placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.065), transparent 32%),
    linear-gradient(135deg, #050505, #0d0f11);
}

.video-placeholder img {
  width: min(310px, 60%);
  height: auto;
  object-fit: contain;
}

.video-placeholder p {
  color: var(--muted);
  margin-top: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animations-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.animations-ready .reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

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

@media (max-width: 960px) {
  .nav-toggle {
    display: grid;
    gap: 5px;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--silver-bright);
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 25px;
    display: none;
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 135px;
  }

  .hero::before,
  .hero::after {
    right: -360px;
  }

  .hero-visual {
    max-width: 650px;
    width: 100%;
    margin: auto;
  }

  .about-grid,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .department-display {
    grid-template-columns: 1fr;
  }

  .department-art {
    min-height: 300px;
  }

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

  .join-actions {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .join-actions small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 78px;
    padding-inline: 18px;
  }

  .site-header.scrolled {
    height: 70px;
  }

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

  .brand-copy strong {
    font-size: 0.68rem;
  }

  .hero,
  .content-section {
    padding-inline: 18px;
  }

  .hero {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-stats {
    gap: 22px;
    justify-content: space-between;
  }

  .hero-stats strong {
    font-size: 1.1rem;
  }

  .logo-card {
    height: 465px;
    padding: 16px;
    transform: none;
  }

  .logo-stage {
    inset: 55px 10px 132px;
  }

  .hero-logo {
    width: 96%;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 250px;
    height: 250px;
  }

  .server-panel {
    grid-template-columns: 1fr 1fr;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .server-panel div:first-child {
    grid-column: 1 / -1;
  }

  .server-panel div:nth-child(2),
  .server-panel div:last-child {
    border-top: 1px solid var(--line);
  }

  .feature-mini-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 2.6rem;
  }

  .department-copy {
    padding: 30px 22px;
  }

  .faq-section {
    gap: 35px;
  }

  .join-section {
    padding-inline: 14px;
  }

  .join-panel {
    padding: 42px 24px;
  }

  .join-actions {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    transform-origin: center;
  }

  .cursor-glow,
  .scroll-indicator {
    display: none;
  }
}

/* Imported Blackstone RP information, staff and social sections */
.nav {
  gap: 24px;
}

.announcement-bar {
  max-width: var(--max);
  min-height: 54px;
  margin: 92px auto 0;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.055), transparent),
    rgba(7, 8, 9, 0.9);
  color: #b6babf;
  font-size: 0.75rem;
  letter-spacing: 0.035em;
}

.announcement-bar p {
  margin: 0;
}

.announcement-bar a {
  margin-left: auto;
  color: var(--silver-bright);
  font-family: Orbitron, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  min-height: calc(100vh - 54px);
  padding-top: 95px;
}

.hero-stats {
  gap: 34px;
}

.hero-stats strong {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.hero-stats strong::after {
  content: none;
}

.staff-section {
  position: relative;
}

.staff-section::before {
  content: "";
  position: absolute;
  inset: 8% -25% auto;
  height: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.045), transparent 66%);
  pointer-events: none;
  z-index: -1;
}

.staff-group {
  margin-top: 70px;
}

.staff-group + .staff-group {
  margin-top: 55px;
}

.staff-group-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.staff-group-heading > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  color: var(--silver);
  font-family: Orbitron, sans-serif;
  font-size: 0.64rem;
}

.staff-group-heading h3 {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

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

.staff-grid-single {
  grid-template-columns: minmax(260px, 300px);
}


.staff-grid-two {
  grid-template-columns: repeat(2, minmax(260px, 300px));
}
.staff-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background:
    linear-gradient(145deg, rgba(23, 25, 28, 0.92), rgba(6, 7, 8, 0.96)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.045);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.staff-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.08)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.staff-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-bright);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.56), 0 0 34px rgba(255, 255, 255, 0.035);
}

.staff-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #030303;
  border-bottom: 1px solid var(--line);
}

.staff-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(3, 3, 3, 0.82), transparent);
  pointer-events: none;
}

.staff-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.staff-card:hover .staff-image img {
  transform: scale(1.045);
  filter: contrast(1.04) brightness(1.03);
}

.staff-logo-image img {
  object-fit: contain;
  padding: 24px;
}

.staff-copy {
  min-height: 160px;
  padding: 22px;
}

.staff-copy > span {
  display: block;
  color: var(--steel);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.staff-copy h3 {
  margin: 7px 0 9px;
  color: var(--silver-bright);
  font-size: clamp(0.86rem, 1.4vw, 1.05rem);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.staff-copy p {
  color: var(--muted);
  font-size: 0.82rem;
}

.gallery-section {
  padding-top: 70px;
}

.gallery-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 50px;
  padding: 50px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 42%),
    linear-gradient(145deg, #0d0f11, #040404);
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.045);
}

.gallery-panel h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.gallery-panel p {
  margin-top: 20px;
  color: var(--muted);
}

.gallery-placeholder {
  min-height: 330px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #050505;
  background-size: 32px 32px;
}

.gallery-placeholder img {
  width: min(220px, 70%);
  height: auto;
  object-fit: contain;
  margin-bottom: 22px;
}

.gallery-placeholder strong {
  font-family: Orbitron, sans-serif;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.gallery-placeholder span {
  margin-top: 9px;
  color: var(--muted-dark);
  font-size: 0.72rem;
}

.socials-section {
  padding-top: 80px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 55px;
}

.social-card {
  min-height: 108px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  padding: 23px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(20, 22, 25, 0.86), rgba(5, 5, 5, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-bright);
  background: linear-gradient(145deg, rgba(28, 30, 33, 0.92), rgba(7, 7, 7, 0.96));
}

.social-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  color: var(--silver-bright);
  font-family: Orbitron, sans-serif;
  font-size: 0.72rem;
}

.social-card small,
.social-card strong {
  display: block;
}

.social-card small {
  color: var(--steel);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
}

.social-card strong {
  margin-top: 4px;
  font-family: Orbitron, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.social-card > b {
  color: var(--silver);
  font-weight: 400;
}

@media (max-width: 1100px) {
  .nav {
    gap: 18px;
    font-size: 0.7rem;
  }

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

  .staff-grid-single {
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  }
}

@media (max-width: 960px) {
  .announcement-bar {
    margin-top: 92px;
    padding-inline: 24px;
  }

  .hero {
    padding-top: 85px;
  }

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

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

@media (max-width: 640px) {
  .announcement-bar {
    margin-top: 78px;
    padding: 13px 18px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.4;
  }

  .announcement-bar .live-dot {
    margin-top: 5px;
  }

  .announcement-bar p {
    flex: 1 1 calc(100% - 28px);
  }

  .announcement-bar a {
    margin: 2px 0 0 22px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .hero-stats div:last-child {
    grid-column: 1 / -1;
  }

  .staff-grid,
  .staff-grid-single {
    grid-template-columns: 1fr;
  }

  .staff-group {
    margin-top: 48px;
  }

  .staff-copy {
    min-height: auto;
  }

  .gallery-panel {
    padding: 28px 20px;
  }

  .gallery-placeholder {
    min-height: 260px;
  }

  .social-card {
    padding: 19px;
  }

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


/* Live FiveM server updates */
.live-status-section {
  padding-top: 105px;
  padding-bottom: 90px;
}

.live-server-card {
  position: relative;
  overflow: hidden;
  margin-top: 55px;
  padding: 42px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.045), transparent 42%),
    linear-gradient(145deg, #0e1012, #040404 72%);
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.05);
}

.live-server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.live-server-overview,
.live-stat-grid,
.capacity-row,
.live-server-actions {
  position: relative;
  z-index: 1;
}

.live-server-overview {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.live-status-label {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 230px;
}

.server-live-indicator {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--steel);
  background: var(--graphite);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.025);
}

.live-server-card[data-state="online"] .server-live-indicator {
  background: var(--silver-bright);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04), 0 0 22px rgba(255, 255, 255, 0.35);
  animation: livePulse 1.8s ease-in-out infinite;
}

.live-server-card[data-state="offline"] .server-live-indicator {
  background: #24272a;
  border-color: #565b60;
}

.live-server-card[data-state="checking"] .server-live-indicator {
  animation: checkingPulse 1.15s ease-in-out infinite;
}

@keyframes livePulse {
  50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes checkingPulse {
  50% { opacity: 0.35; }
}

.live-status-label small,
.live-server-name small,
.live-stat small {
  display: block;
  color: var(--steel);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
}

.live-status-label strong {
  display: block;
  margin-top: 4px;
  font-family: Orbitron, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.live-server-name {
  max-width: 620px;
  text-align: right;
}

.live-server-name h3 {
  margin-top: 5px;
  font-family: Orbitron, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 2.1rem);
  letter-spacing: 0.035em;
}

.live-server-name p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.live-stat-grid {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.65fr 1fr;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: rgba(2, 2, 2, 0.62);
}

.live-stat {
  min-width: 0;
  min-height: 114px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.live-stat:last-child {
  border-right: 0;
}

.live-stat > strong {
  display: block;
  margin-top: 7px;
  font-family: Orbitron, sans-serif;
  font-size: clamp(1rem, 2.1vw, 1.65rem);
  overflow-wrap: anywhere;
}

.endpoint-stat > strong {
  font-size: clamp(0.72rem, 1.35vw, 1.05rem);
}

.copy-endpoint,
.refresh-status {
  cursor: pointer;
  color: var(--silver);
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.035);
  font-family: Orbitron, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  transition: 0.2s ease;
}

.copy-endpoint {
  margin-top: 12px;
  padding: 7px 10px;
}

.copy-endpoint:hover,
.refresh-status:hover {
  color: var(--silver-bright);
  border-color: var(--silver);
  background: rgba(255, 255, 255, 0.075);
}

.capacity-row {
  margin-top: 28px;
}

.capacity-track {
  height: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
}

.capacity-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--graphite), var(--silver-bright));
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
  transition: width 0.55s ease;
}

.capacity-row > small {
  display: block;
  margin-top: 9px;
  color: var(--muted-dark);
  font-size: 0.63rem;
  letter-spacing: 0.05em;
}

.live-server-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.refresh-status {
  min-height: 48px;
  padding: 0 18px;
}

.refresh-status:disabled {
  cursor: wait;
  opacity: 0.5;
}

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

  .live-stat:nth-child(2) {
    border-right: 0;
  }

  .live-stat:nth-child(3),
  .live-stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .live-status-section {
    padding-top: 78px;
    padding-bottom: 64px;
  }

  .live-server-card {
    margin-top: 38px;
    padding: 25px 18px;
  }

  .live-server-overview {
    display: grid;
    gap: 25px;
  }

  .live-server-name {
    text-align: left;
  }

  .live-stat-grid {
    grid-template-columns: 1fr;
  }

  .live-stat,
  .live-stat:nth-child(2) {
    border-right: 0;
  }

  .live-stat + .live-stat {
    border-top: 1px solid var(--line);
  }

  .live-server-actions {
    display: grid;
  }

  .live-server-actions .btn,
  .refresh-status {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Official Blackstone RP rules document */
.rules-section .section-heading p {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
}

.rules-document-shell {
  max-width: 1240px;
  margin: 56px auto 0;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    #08090a;
  border: 1px solid var(--line-bright);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.055);
}

.rules-document-toolbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 10px 22px;
}

.rules-document-toolbar small,
.rules-document-toolbar strong { display: block; }

.rules-document-toolbar small {
  margin-bottom: 7px;
  color: var(--steel);
  font-family: Orbitron, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.rules-document-toolbar strong {
  color: var(--silver-bright);
  font-family: Orbitron, sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rules-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  background: #0b0c0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rules-toc {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #111316, #090a0c);
}

.rules-toc > small {
  display: block;
  margin: 0 10px 14px;
  color: var(--steel);
  font-family: Orbitron, sans-serif;
  font-size: 0.61rem;
  letter-spacing: 0.18em;
}

.rules-toc a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  padding: 7px 9px;
  color: #aeb1b4;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  font-size: 0.78rem;
  line-height: 1.35;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.rules-toc a:hover {
  color: #fff;
  background: rgba(255,255,255,0.045);
  transform: translateX(3px);
}

.rules-toc a span {
  color: var(--silver-bright);
  font-family: Orbitron, sans-serif;
  font-size: 0.68rem;
}

.rules-content {
  min-width: 0;
  padding: clamp(22px, 4vw, 52px);
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.055), transparent 36%),
    #0d0f11;
}

.rules-introduction {
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.12);
}

.rule-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--steel);
  font-family: Orbitron, sans-serif;
  font-size: .62rem;
  letter-spacing: .2em;
}

.rules-introduction h3,
.rules-notes h3,
.rule-chapter h3 {
  font-family: Orbitron, sans-serif;
  text-transform: uppercase;
}

.rules-introduction h3 {
  margin: 0 0 20px;
  color: var(--silver-bright);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.rules-introduction p,
.rule-chapter-body p,
.rules-legal p {
  margin: 0;
  color: #c2c4c7;
  font-size: .94rem;
  line-height: 1.8;
}

.rules-introduction p + p,
.rule-chapter-body p + p { margin-top: 13px; }

.rules-notes {
  margin: 28px 0;
  padding: 24px 26px;
  border-left: 3px solid var(--silver);
  background: rgba(255,255,255,.035);
}

.rules-notes h3 {
  margin: 0 0 14px;
  color: #f0f1f2;
  font-size: .94rem;
  letter-spacing: .06em;
}

.rules-notes ul,
.rule-list {
  margin: 0;
  padding-left: 21px;
  color: #b9bcc0;
}

.rules-notes li,
.rule-list li {
  padding-left: 5px;
  line-height: 1.7;
}

.rules-notes li + li,
.rule-list li + li { margin-top: 8px; }

.rule-chapter {
  scroll-margin-top: 100px;
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(150deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.rule-chapter-heading {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: stretch;
  min-height: 74px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.rule-chapter-heading > span {
  display: grid;
  place-items: center;
  color: #08090a;
  background: linear-gradient(135deg, #f2f3f4, #8d9196);
  font-family: Orbitron, sans-serif;
  font-size: .82rem;
  font-weight: 800;
}

.rule-chapter-heading h3 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 17px 22px;
  color: #eef0f2;
  font-size: clamp(.9rem, 2vw, 1.15rem);
  letter-spacing: .055em;
}

.rule-chapter-body { padding: clamp(22px, 3vw, 32px); }

/* Display every separate rule statement as a clear dot point. */
.rule-chapter-body > p {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

.rule-chapter-body > p::before {
  content: "•";
  color: var(--silver-bright);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.62;
}

.rules-notes li::marker,
.rule-list li::marker {
  color: var(--silver-bright);
}

.rule-chapter-body .rule-lead {
  margin-top: 20px;
  color: #f2f3f4;
  font-weight: 700;
}

.rule-chapter-body .rule-lead:first-child { margin-top: 0; }

.rule-list {
  margin: 14px 0 18px;
  color: #c2c4c7;
  font-size: .94rem;
}

.rules-legal {
  margin-top: 30px;
  padding: 26px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.13);
  background: #08090a;
}

.rules-legal p { color: #999da1; font-size: .78rem; }
.rules-legal p:last-child {
  margin-top: 14px;
  color: #e2e4e6;
  font-family: Orbitron, sans-serif;
  letter-spacing: .08em;
}

@media (max-width: 900px) {
  .rules-layout { grid-template-columns: 1fr; }
  .rules-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .rules-toc > small { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .rules-document-shell { margin-top: 38px; padding: 10px; }
  .rules-document-toolbar { align-items: stretch; flex-direction: column; padding: 12px 6px 16px; }
  .rules-document-toolbar .btn { width: 100%; justify-content: center; }
  .rules-toc { grid-template-columns: 1fr; padding: 18px 12px; }
  .rules-content { padding: 14px; }
  .rules-introduction { padding: 22px 18px; }
  .rule-chapter-heading { grid-template-columns: 50px 1fr; }
  .rule-chapter-heading h3 { padding: 14px; }
  .rule-chapter-body { padding: 20px 17px; }
}



/* Reliability fixes: rules stay readable even when JavaScript is blocked. */
.rules-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.status-source {
  display: block;
  margin-top: 9px;
  color: #84898f;
  font-family: Orbitron, sans-serif;
  font-size: .52rem;
  letter-spacing: .13em;
}

.rules-standalone {
  padding-top: 138px;
  min-height: 100vh;
}

.rules-page .site-header {
  background: rgba(5, 5, 5, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.rules-page .rules-document-shell {
  margin-top: 38px;
}

.rules-page footer {
  margin-top: 0;
}

@media (max-width: 640px) {
  .rules-toolbar-actions {
    width: 100%;
    justify-content: stretch;
  }
  .rules-toolbar-actions .btn {
    width: 100%;
  }
  .rules-standalone {
    padding-top: 105px;
  }
}

/* Updated live status details */
.live-status-meta {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.live-status-meta span {
  color: var(--muted-dark);
  font-family: Orbitron, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.09em;
}

.live-status-meta strong {
  margin-left: 5px;
  color: var(--silver-bright);
  font-size: 0.62rem;
}

.live-players-panel {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(2, 2, 2, 0.55);
}

.live-players-panel[hidden] {
  display: none;
}

.live-players-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.live-players-heading span {
  color: var(--silver);
  font-family: Orbitron, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
}

.live-players-heading small {
  color: var(--muted-dark);
  font-size: 0.62rem;
}

.live-player-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.live-player-name {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.7rem;
}

.live-player-name::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--silver-bright);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

@media (max-width: 640px) {
  .live-status-meta {
    justify-content: flex-start;
  }

  .live-players-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}


/* Discord-powered server gallery */
.gallery-panel {
  display: block;
}

.gallery-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.gallery-intro > div:first-child {
  max-width: 760px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  min-width: min(100%, 320px);
}

.gallery-controls > span {
  color: var(--muted-dark);
  font-family: Orbitron, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-align: right;
}

.refresh-gallery {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.035);
  color: var(--silver-bright);
  font-family: Orbitron, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.refresh-gallery:hover:not(:disabled) {
  border-color: var(--silver-bright);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.refresh-gallery:disabled {
  cursor: wait;
  opacity: 0.55;
}

.discord-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.discord-gallery[aria-busy="true"] {
  min-height: 460px;
}

.gallery-skeleton {
  min-height: 240px;
  border: 1px solid var(--line);
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.07) 50%, transparent 70%),
    #08090a;
  background-size: 220% 100%;
  animation: galleryLoading 1.35s linear infinite;
}

@keyframes galleryLoading {
  to { background-position: -220% 0; }
}

.gallery-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070809;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.42);
}

.gallery-image-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #030303;
  cursor: zoom-in;
}

.gallery-image-button::after {
  content: "VIEW";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-family: Orbitron, sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover .gallery-image-button::after,
.gallery-image-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item:hover .gallery-image-button img {
  transform: scale(1.025);
  filter: brightness(1.05);
}

.gallery-item-copy {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  min-height: 78px;
  padding: 14px 15px 15px;
}

.gallery-caption {
  min-width: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gallery-date {
  flex: 0 0 auto;
  color: var(--muted-dark);
  font-family: Orbitron, sans-serif;
  font-size: 0.49rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.gallery-empty {
  min-height: 350px;
  margin-top: 34px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    #050505;
  background-size: 32px 32px;
  text-align: center;
}

.gallery-empty[hidden] {
  display: none;
}

.gallery-empty img {
  width: min(180px, 52vw);
  margin-bottom: 8px;
}

.gallery-empty strong {
  color: var(--silver-bright);
  font-family: Orbitron, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.gallery-empty > span {
  max-width: 530px;
  color: var(--muted-dark);
  font-size: 0.72rem;
  line-height: 1.6;
}

.gallery-empty .btn {
  margin-top: 12px;
}

.gallery-lightbox {
  padding: 24px;
}

.gallery-lightbox-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid var(--line-bright);
  background: #030303;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.78);
}

.gallery-lightbox-content img {
  width: 100%;
  min-height: 0;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  background: #000;
}

.gallery-lightbox-content figcaption {
  min-height: 54px;
  padding: 16px 58px 16px 18px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

body.gallery-modal-open {
  overflow: hidden;
}

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

@media (max-width: 760px) {
  .gallery-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .gallery-controls {
    width: 100%;
    justify-content: space-between;
  }

  .gallery-controls > span {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .discord-gallery {
    grid-template-columns: 1fr;
  }

  .discord-gallery[aria-busy="true"] {
    min-height: 350px;
  }

  .gallery-skeleton {
    min-height: 220px;
  }

  .gallery-item-copy {
    min-height: 68px;
  }

  .gallery-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .refresh-gallery {
    width: 100%;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox-content {
    max-height: calc(100vh - 24px);
  }

  .gallery-lightbox-content img {
    max-height: calc(100vh - 120px);
  }
}

/* Community portal and staff administration entry points */
.hub-section {
  position: relative;
}

.hub-section::before {
  content: "";
  position: absolute;
  inset: 5% 10% auto;
  height: 360px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(229, 232, 234, 0.08), transparent 68%);
  filter: blur(28px);
}

.hub-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 62px;
}

.hub-card {
  position: relative;
  min-height: 470px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
    #08090a;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hub-card::after {
  content: "";
  position: absolute;
  right: -85px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 224, 227, 0.12), transparent 68%);
}

.hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 228, 231, 0.35);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 40%),
    #0c0e10;
}

.hub-card > * {
  position: relative;
  z-index: 1;
}

.hub-number {
  position: absolute;
  top: 22px;
  right: 24px;
  font: 700 0.65rem/1 Orbitron, sans-serif;
  letter-spacing: 0.18em;
  color: #555b60;
}

.hub-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 231, 233, 0.22);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.015));
  color: var(--silver-bright);
  font-size: 1.45rem;
}

.hub-card h3 {
  margin: 30px 0 14px;
  font-size: 1.12rem;
}

.hub-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.hub-card ul {
  margin: 25px 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hub-card li {
  position: relative;
  padding-left: 20px;
  color: #a9adb1;
  font-size: 0.78rem;
}

.hub-card li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.08em;
  color: var(--silver);
  font-size: 0.55rem;
}

.hub-card .btn {
  width: 100%;
  margin-top: auto;
}

.staff-admin-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    linear-gradient(180deg, #0d0f11, #070809);
}

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

  .hub-card {
    min-height: 0;
  }
}
.footer-links{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:640px){.footer-links{justify-content:center;gap:14px 18px}}
.gallery-page-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}


/* Performance: skip layout and paint work for sections until they approach the viewport. */
@supports (content-visibility: auto) {
  main > section:not(.hero):not(.ticker),
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 780px;
  }

  .staff-section,
  .gallery-section,
  .rules-section {
    contain-intrinsic-size: auto 1100px;
  }
}


/* v4.6 — public shop managed through the administration panel */
.shop-section {
  max-width: none;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.06), transparent 28%),
    radial-gradient(circle at 80% 100%, rgba(255,255,255,.035), transparent 30%),
    linear-gradient(180deg, #050607, #0a0b0c 52%, #050607);
  border-block: 1px solid rgba(255,255,255,.06);
}
.shop-section > * {
  max-width: var(--max);
  margin-inline: auto;
}
.shop-status {
  margin-top: 42px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.018);
  color: var(--muted);
  font-family: Orbitron, sans-serif;
  font-size: .58rem;
  letter-spacing: .14em;
  text-align: center;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.shop-card,
.shop-empty {
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(21,23,25,.95), rgba(6,7,8,.96));
}
.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.shop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(235,237,239,.34);
  background: linear-gradient(150deg, rgba(27,30,33,.98), rgba(7,8,9,.98));
}
.shop-card.featured::before {
  content: "FEATURED";
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  background: #ececea;
  color: #050505;
  font-family: Orbitron, sans-serif;
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.shop-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.1), transparent 35%),
    #050607;
  border-bottom: 1px solid var(--line);
}
.shop-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.shop-card:hover .shop-image img { transform: scale(1.035); }
.shop-image.logo-fallback img {
  object-fit: contain;
  padding: 36px;
  opacity: .72;
}
.shop-stock {
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(3,3,3,.82);
  color: #d7d9da;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .1em;
  backdrop-filter: blur(10px);
}
.shop-stock.sold-out { color: #d2a4a4; }
.shop-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}
.shop-card-copy > span {
  color: var(--muted);
  font-family: Orbitron, sans-serif;
  font-size: .54rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.shop-card-copy h3 {
  margin: 12px 0 10px;
  font-size: 1.05rem;
}
.shop-card-copy p {
  color: var(--muted);
  font-size: .82rem;
  flex: 1;
}
.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.shop-price {
  color: var(--silver-bright);
  font-family: Orbitron, sans-serif;
  font-size: .86rem;
  font-weight: 800;
}
.shop-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 13px;
  border: 1px solid var(--line2);
  background: #ececea;
  color: #050505;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shop-action:hover { background: #fff; }
.shop-action.disabled {
  background: rgba(255,255,255,.035);
  color: #777c80;
  border-color: var(--line);
  cursor: not-allowed;
}
.shop-empty {
  grid-column: 1 / -1;
  padding: 55px 30px;
  text-align: center;
}
.shop-empty > span {
  color: var(--muted);
  font-family: Orbitron, sans-serif;
  font-size: .55rem;
  letter-spacing: .16em;
}
.shop-empty h3 {
  margin: 13px 0 9px;
  font-size: 1.2rem;
}
.shop-empty p {
  max-width: 620px;
  margin-inline: auto;
  color: var(--muted);
  font-size: .83rem;
}
@media (max-width: 980px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card-footer { align-items: stretch; flex-direction: column; }
  .shop-action { width: 100%; }
}

.rules-nav{display:flex}

/* Performance: skip layout/paint work for sections well below the viewport. */
@supports (content-visibility: auto) {
  main > section:not(.hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none !important; }
}

/* Tebex store integration */
.tebex-store-bar{max-width:1180px;margin:0 auto 22px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.035);backdrop-filter:blur(12px)}
.tebex-store-bar[hidden]{display:none!important}.tebex-store-bar div{display:grid;gap:4px}.tebex-store-bar span{font-size:.68rem;letter-spacing:.18em;color:#9aa6b5}.tebex-store-bar strong{font-size:1rem;letter-spacing:.04em}.tebex-store-bar a{white-space:nowrap;padding:12px 16px;border:1px solid rgba(255,255,255,.28);text-decoration:none;color:#fff;font-size:.72rem;letter-spacing:.12em;transition:background .2s ease,transform .2s ease}.tebex-store-bar a:hover{background:#fff;color:#080a0d;transform:translateY(-1px)}
@media(max-width:700px){.tebex-store-bar{align-items:flex-start;flex-direction:column}.tebex-store-bar a{width:100%;text-align:center}}


@media (max-width: 680px) {
  .staff-grid-two {
    grid-template-columns: minmax(0, 1fr);
  }
}
