/* ==========================================================================
   ATLANTIC ROLEPLAY — Beyond The Horizon
   Aesthetics inspired by next-gen cyber-minimal MTA:SA roleplay communities
   ========================================================================== */

:root {
  /* Color Tokens */
  --color-void: #07080a;
  --color-carbon: #101318;
  --color-carbon-light: #161b22;
  --color-steel: #232936;
  --color-ash: #8e99a8;
  --color-bone: #f4f6f9;
  
  /* Atlantic Neon Accent Palette */
  --color-cyan: #00e5ff;
  --color-cyan-glow: rgba(0, 229, 255, 0.4);
  --color-blue: #0088ff;
  --color-blue-deep: #0051b3;
  --color-ember: #00e5ff; /* Primary theme accent */
  --color-ember-deep: #0088ff;
  --color-accent-amber: #ffaa00;

  /* Line / Border Tokens */
  --color-line: rgba(244, 246, 249, 0.07);
  --color-line-strong: rgba(244, 246, 249, 0.16);
  --color-line-cyan: rgba(0, 229, 255, 0.25);

  /* Fonts */
  --font-display: 'Unbounded', 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Barlow', 'Unbounded', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

  /* Transitions & Easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  background-color: var(--color-void);
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-void);
  color: var(--color-bone);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-void);
}
::-webkit-scrollbar-thumb {
  background: var(--color-steel);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

::selection {
  background: var(--color-cyan);
  color: var(--color-void);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 900;
  pointer-events: none;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 10px var(--color-cyan);
  transition: transform 0.05s linear;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-void);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: clip-path 0.9s var(--ease-out-expo), opacity 0.6s ease, visibility 0.6s ease;
  clip-path: inset(0 0 0 0);
}

.preloader.preloader-done {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}

.preloader-svg-wrap {
  position: relative;
  width: 180px;
  height: 150px;
}

.preloader-svg-wrap svg {
  width: 100%;
  height: 100%;
}

.preloader-frame-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawFrame 1.4s var(--ease-out-expo) forwards;
}

.preloader-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeInLogo 0.8s ease forwards 0.6s;
  object-fit: contain;
}

.preloader-text {
  margin-top: 2rem;
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-bone);
  text-transform: lowercase;
}

.preloader-text span.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: charReveal 0.4s var(--ease-out-expo) forwards;
}

.preloader-text span.sub-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-ash);
  margin-left: 6px;
}

@keyframes drawFrame {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   BACKGROUND ATMOSPHERE & GRID
   ========================================================================== */
.ambient-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -10;
  overflow: hidden;
  background-color: var(--color-void);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(244, 246, 249, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 249, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, black 30%, transparent 75%);
}

.ambient-dots {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at center, rgba(0, 229, 255, 0.12) 1px, transparent 1.5px);
  background-size: 180px 180px;
  background-position: 30px 30px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 10%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 10%, black 20%, transparent 70%);
}

.aura-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.aura-orb-1 {
  width: 55vw;
  height: 55vw;
  top: -18vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(0, 136, 255, 0.03) 45%, transparent 70%);
  animation: auraDriftA 36s ease-in-out infinite;
}

.aura-orb-2 {
  width: 48vw;
  height: 48vw;
  bottom: -15vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.06) 0%, transparent 65%);
  animation: auraDriftB 44s ease-in-out infinite;
}

.grid-guide-left, .grid-guide-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-line);
}
.grid-guide-left {
  left: clamp(1.25rem, 4vw, 4rem);
}
.grid-guide-right {
  right: clamp(1.25rem, 4vw, 4rem);
}

@keyframes auraDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, 6vh) scale(1.12); }
}

@keyframes auraDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, -5vh) scale(1.08); }
}

/* ==========================================================================
   LAYOUT UTILITIES & COMMON COMPONENTS
   ========================================================================== */
.gutter {
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

.container-custom {
  max-width: 1280px;
  margin: 0 auto;
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--color-cyan);
}

.neon-text {
  color: var(--color-cyan);
  text-shadow: 0 0 16px var(--color-cyan-glow);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.neon-text:hover {
  color: #fff;
  text-shadow: 0 0 24px var(--color-cyan);
}

/* Node Frame (Corner Notch Cyber Aesthetic) */
.node-frame {
  position: relative;
  border: 1px solid var(--color-line);
  background: rgba(16, 19, 24, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.node-frame:hover {
  border-color: var(--color-line-strong);
}

.node-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-void);
  pointer-events: none;
  z-index: 1;
}

.node-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
  pointer-events: none;
  z-index: 2;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.node-frame:hover::after {
  transform: scale(1.3);
}

.node-frame-sm::before {
  width: 0.75rem;
  height: 0.75rem;
}

.node-frame-sm::after {
  width: 0.3rem;
  height: 0.3rem;
}

/* Buttons */
.btn-ember, .btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--color-cyan);
  color: var(--color-void);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.85rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  transition: all 0.3s var(--ease-out-expo);
  overflow: hidden;
}

.btn-ember:hover, .btn-primary:hover {
  background: #ffffff;
  color: var(--color-void);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.7);
  transform: translateY(-2px);
}

.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(16, 19, 24, 0.4);
  color: var(--color-bone);
  border: 1px solid var(--color-line-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.85rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-out-expo);
}

.btn-ghost:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  transform: translateY(-2px);
}

/* Skewed Discord CTA */
.cta-wrapper {
  display: flex;
  align-items: center;
}

.cta-wrapper .cta {
  display: flex;
  align-items: center;
  padding: 8px 24px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #0088ff, #0051b3);
  box-shadow: 4px 4px 0 #000;
  transform: skewX(-12deg);
  transition: all 0.35s ease;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.cta-wrapper .cta span {
  transform: skewX(12deg);
  display: inline-flex;
  align-items: center;
}

.cta-wrapper .cta:hover {
  background: linear-gradient(135deg, #00e5ff, #0088ff);
  box-shadow: 6px 6px 0 var(--color-cyan);
  color: var(--color-void);
}

.cta-arrows {
  display: inline-flex;
  position: relative;
  width: 20px;
  height: 16px;
  margin-left: 8px;
}

.cta-arrows svg {
  position: absolute;
  top: 1px;
  left: 0;
  transition: all 0.3s ease;
}

.cta:hover .cta-arrows svg.one {
  animation: arrowGlow 1s 0.1s infinite;
  left: 0px;
}
.cta:hover .cta-arrows svg.two {
  animation: arrowGlow 1s 0.3s infinite;
  left: 8px;
}
.cta:hover .cta-arrows svg.three {
  animation: arrowGlow 1s 0.5s infinite;
  left: 16px;
}

@keyframes arrowGlow {
  0%, 100% { color: var(--color-void); opacity: 0.3; }
  50% { color: var(--color-void); opacity: 1; text-shadow: 0 0 6px #fff; }
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 70;
  border-bottom: 1px solid var(--color-line);
  background: rgba(7, 8, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 8, 10, 0.95);
  border-bottom-color: var(--color-line-strong);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.brand-logo-frame {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: radial-gradient(circle at 40% 40%, rgba(0, 229, 255, 0.12), rgba(10, 14, 20, 0.92));
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.16), inset 0 0 15px rgba(0, 229, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-link:hover .brand-logo-frame {
  border-color: var(--color-cyan);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.4), inset 0 0 20px rgba(0, 229, 255, 0.18);
}

.brand-logo-frame img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 229, 255, 0.45));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.brand-link:hover .brand-logo-frame img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.85));
}

.brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.brand-link:hover .brand-title {
  color: var(--color-cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-top: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.brand-link:hover .brand-subtitle {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.9);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ash);
  transition: color 0.25s ease;
  position: relative;
  padding: 0.35rem 0;
  display: inline-block;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--color-bone);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--color-cyan);
  text-shadow: 0 0 14px var(--color-cyan-glow);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-line-strong);
  color: var(--color-bone);
  width: 42px;
  height: 42px;
  place-items: center;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(7, 8, 10, 0.98);
    border-bottom: 1px solid var(--color-line-strong);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-toggle {
    display: grid;
  }
  .header-right .cta-wrapper {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION WITH REAL-TIME 3D CITY CHASE (ZERO EMPTY GAP)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--color-void);
  padding-top: 5rem;
  padding-bottom: 4rem;
}

/* Three.js 3D WebGL Canvas */
#city-chase-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.hero-background-art {
  display: none;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 40%, rgba(7, 8, 10, 0.75) 90%),
    linear-gradient(to bottom, rgba(7, 8, 10, 0.75) 0%, transparent 20%, transparent 70%, var(--color-void) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  pointer-events: auto;
}

.hero-title {
  font-size: clamp(2.6rem, 7.5vw, 6.2rem);
  line-height: 1.02;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.95);
  filter: drop-shadow(0 10px 35px rgba(0, 229, 255, 0.4));
}

.hero-title-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-cyan) 85%, #0088ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-cyan);
  box-shadow: 0 0 20px var(--color-cyan), 0 0 35px var(--color-cyan);
  margin-bottom: 1.5rem;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 30px var(--color-cyan), 0 0 50px var(--color-blue); }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 680px;
  color: var(--color-ash);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.direct-connect-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: rgba(16, 19, 24, 0.85);
  border: 1px dashed var(--color-line-cyan);
  font-family: monospace;
  font-size: 0.8125rem;
  color: var(--color-cyan);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.direct-connect-pill:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.direct-connect-pill code {
  color: #fff;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-ash);
  opacity: 0.7;
  animation: bounceHint 2.5s infinite;
}

.scroll-hint-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--color-cyan), transparent);
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================================================
   INFINITE MARQUEE TICKER
   ========================================================================== */
.marquee-section {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(10, 12, 16, 0.95);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
  z-index: 20;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-ash);
  padding: 0 1.75rem;
  transition: color 0.3s ease;
}

.marquee-item:hover {
  color: var(--color-cyan);
}

.marquee-diamond {
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--color-cyan);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   STATUS & LIVE METRICS SECTION
   ========================================================================== */
.status-section {
  padding: 5rem 0;
  position: relative;
}

.status-card {
  max-width: 950px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.status-loader {
  width: 44px;
  height: 24px;
  --_g: no-repeat radial-gradient(farthest-side, var(--color-cyan) 94%, transparent);
  background: var(--_g) 50% 0, var(--_g) 100% 0;
  background-size: 10px 10px;
  position: relative;
  animation: l23-0 1.5s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.status-loader::before {
  content: "";
  position: absolute;
  height: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
  left: 0;
  top: 0;
  animation: l23-1 1.5s linear infinite, l23-2 0.5s cubic-bezier(0, 200, 0.8, 200) infinite;
}

@keyframes l23-0 {
  0%, 31% { background-position: 50% 0, 100% 0; }
  33% { background-position: 50% 100%, 100% 0; }
  43%, 64% { background-position: 50% 0, 100% 0; }
  66% { background-position: 50% 0, 100% 100%; }
  79% { background-position: 50% 0, 100% 0; }
  100% { transform: translateX(calc(-100% / 3)); }
}
@keyframes l23-1 { to { left: calc(100% + 5px); } }
@keyframes l23-2 { to { top: -0.1px; } }

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--color-bone);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 12px #00ff88;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--color-ash);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   FACTIONS SHOWCASE (LSPD / EMS / SYNDICATE)
   ========================================================================== */
.factions-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-line);
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 850px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-ash);
  max-width: 680px;
  line-height: 1.7;
}

.factions-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.faction-tab-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(16, 19, 24, 0.7);
  border: 1px solid var(--color-line);
  color: var(--color-ash);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faction-tab-btn:hover {
  border-color: var(--color-line-strong);
  color: var(--color-bone);
}

.faction-tab-btn.active {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  color: var(--color-void);
  box-shadow: 0 0 20px var(--color-cyan-glow);
}

.faction-display-card {
  position: relative;
  border: 1px solid var(--color-line);
  background: var(--color-carbon);
  overflow: hidden;
}

.faction-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 520px;
}

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

.faction-image-container {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}

.faction-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.faction-display-card:hover .faction-image-container img {
  transform: scale(1.04);
}

.faction-overlay-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(7, 8, 10, 0.85);
  border: 1px solid var(--color-line-cyan);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.faction-details {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 19, 24, 0.95), rgba(7, 8, 10, 0.98));
}

.faction-number {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-cyan);
  margin-bottom: 0.5rem;
}

.faction-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.faction-perks-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faction-perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-ash);
}

.faction-perk-item svg {
  color: var(--color-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   ABOUT & COMMUNITY 4-CARD MATRIX
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-line);
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.info-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: rgba(16, 19, 24, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-line-cyan);
}

.info-card-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-cyan);
}

.info-card-label {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-ash);
  margin-top: 0.75rem;
}

.info-card-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-bone);
  margin-top: 0.5rem;
}

.info-card-desc {
  font-size: 0.8125rem;
  color: var(--color-ash);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ==========================================================================
   SERVER FEATURES MATRIX
   ========================================================================== */
.features-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-line);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-box {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  background: rgba(16, 19, 24, 0.5);
  border: 1px solid var(--color-line);
  transition: all 0.35s ease;
}

.feature-box:hover {
  border-color: var(--color-cyan);
  background: rgba(16, 19, 24, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--color-line-cyan);
  color: var(--color-cyan);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-wrap {
  background: var(--color-cyan);
  color: var(--color-void);
  box-shadow: 0 0 20px var(--color-cyan-glow);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.875rem;
  color: var(--color-ash);
  line-height: 1.6;
}

/* ==========================================================================
   FEEDBACK & V2 INSIGHTS BANNER
   ========================================================================== */
.insights-banner-section {
  padding: 5rem 0;
  border-top: 1px solid var(--color-line);
}

.insights-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SOCIAL HUB
   ========================================================================== */
.socials-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-line);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.social-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: rgba(16, 19, 24, 0.6);
  border: 1px solid var(--color-line);
  transition: all 0.3s ease;
}

.social-card:hover {
  border-color: var(--color-line-cyan);
  background: rgba(16, 19, 24, 0.95);
  transform: translateY(-3px);
}

.social-icon-box {
  font-size: 1.75rem;
  color: var(--color-ash);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-card:hover .social-icon-box {
  color: var(--color-cyan);
  transform: scale(1.15);
}

.social-meta-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-bone);
}

.social-meta-handle {
  font-size: 0.8125rem;
  color: var(--color-ash);
  margin-top: 2px;
}

/* ==========================================================================
   GIANT WORDMARK FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  border-top: 1px solid var(--color-line);
  background: var(--color-void);
  overflow: hidden;
}

.footer-wordmark-container {
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 2rem;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 14vw, 12rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(244, 246, 249, 0.06);
  user-select: none;
  transition: color 0.6s ease, text-shadow 0.6s ease;
}

.footer-wordmark:hover {
  color: var(--color-cyan);
  text-shadow: 0 0 100px rgba(0, 229, 255, 0.45);
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--color-line);
  flex-wrap: wrap;
}

.footer-credits {
  font-size: 0.8125rem;
  color: var(--color-ash);
  line-height: 1.8;
}

.footer-credits strong {
  color: var(--color-bone);
}

.footer-credits a {
  color: var(--color-cyan);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
}

.footer-icon-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(16, 19, 24, 0.8);
  border: 1px solid var(--color-line);
  color: var(--color-ash);
  transition: all 0.3s ease;
}

.footer-icon-link:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: 0 0 15px var(--color-cyan-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   MODAL / INSIGHTS / RULES POPUP
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 640px;
  background: var(--color-carbon);
  border: 1px solid var(--color-line-cyan);
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-out-expo);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-backdrop.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-ash);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-close-btn:hover {
  border-color: var(--color-cyan);
  color: #fff;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bone);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(7, 8, 10, 0.7);
  border: 1px solid var(--color-line);
  color: var(--color-bone);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.feedback-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.feedback-tag-pill {
  padding: 0.45rem 1rem;
  background: rgba(7, 8, 10, 0.6);
  border: 1px solid var(--color-line-strong);
  color: var(--color-ash);
  border-radius: 999px;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.feedback-tag-pill.active, .feedback-tag-pill:hover {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  color: var(--color-void);
  font-weight: 700;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-carbon);
  border: 1px solid var(--color-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--color-cyan-glow);
  padding: 1rem 1.75rem;
  color: var(--color-bone);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   PAGE HERO / SUBPAGE HEADER SECTION
   ========================================================================== */
.page-hero {
  padding-top: calc(75px + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
  background: radial-gradient(circle at 50% -20%, rgba(0, 229, 255, 0.08) 0%, transparent 60%);
}

.page-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.page-hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--color-ash);
  max-width: 780px;
  line-height: 1.7;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ash);
  margin-bottom: 1.25rem;
}

.breadcrumb-bar a {
  color: var(--color-cyan);
  transition: opacity 0.2s;
}

.breadcrumb-bar a:hover {
  opacity: 0.8;
}

/* ==========================================================================
   RULES PAGE COMPONENTS
   ========================================================================== */
.rules-controls-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: rgba(16, 19, 24, 0.5);
  border: 1px solid var(--color-line);
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input-wrapper svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-ash);
  pointer-events: none;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.75rem;
  background: rgba(7, 8, 10, 0.8);
  border: 1px solid var(--color-line-strong);
  color: var(--color-bone);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.category-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill-btn {
  padding: 0.55rem 1.1rem;
  background: rgba(7, 8, 10, 0.6);
  border: 1px solid var(--color-line);
  color: var(--color-ash);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-pill-btn:hover, .filter-pill-btn.active {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  color: var(--color-void);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.rules-category-section {
  margin-bottom: 3.5rem;
}

.rules-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-line-strong);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
}

.rules-category-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-bone);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rule-card {
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  background: rgba(16, 19, 24, 0.6);
  border: 1px solid var(--color-line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rule-card:hover {
  border-color: var(--color-line-cyan);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

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

.rule-id {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-cyan);
  text-transform: uppercase;
}

.rule-badge {
  padding: 0.25rem 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
}

.rule-badge-critical {
  background: rgba(255, 60, 60, 0.15);
  border: 1px solid rgba(255, 60, 60, 0.5);
  color: #ff5555;
}

.rule-badge-warning {
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid rgba(255, 170, 0, 0.5);
  color: #ffaa00;
}

.rule-badge-standard {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--color-cyan);
}

.rule-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-bone);
  margin-bottom: 0.75rem;
}

.rule-desc {
  color: var(--color-ash);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.rule-examples-box {
  background: rgba(7, 8, 10, 0.6);
  border-left: 3px solid var(--color-cyan);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .rule-examples-box {
    grid-template-columns: 1fr;
  }
}

.rule-example-col strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.rule-example-col.do strong {
  color: #00e676;
}

.rule-example-col.dont strong {
  color: #ff5252;
}

.rule-example-col p {
  font-size: 0.85rem;
  color: var(--color-ash);
  line-height: 1.5;
}

/* Sanctions Matrix Table */
.sanctions-table-container {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.sanctions-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.sanctions-table th {
  background: rgba(16, 19, 24, 0.9);
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyan);
  border-bottom: 1px solid var(--color-line-cyan);
}

.sanctions-table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ash);
}

.sanctions-table tr:hover td {
  background: rgba(0, 229, 255, 0.03);
  color: var(--color-bone);
}

/* ==========================================================================
   SUPPORT PAGE COMPONENTS
   ========================================================================== */
.status-indicators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.status-node {
  padding: 1.25rem;
  background: rgba(16, 19, 24, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--color-line);
}

.status-node-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.status-node-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ash);
}

.status-node-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-bone);
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: #00e676;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 10px #00e676;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Support Categories Grid */
.support-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.support-action-card {
  padding: 2rem;
  background: rgba(16, 19, 24, 0.6);
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}

.support-action-card:hover {
  border-color: var(--color-line-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.support-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--color-line-cyan);
  color: var(--color-cyan);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

.support-action-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-bone);
  margin-bottom: 0.75rem;
}

.support-action-card p {
  color: var(--color-ash);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Accordion FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-line);
  background: rgba(16, 19, 24, 0.5);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: var(--color-line-cyan);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-bone);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-question svg {
  color: var(--color-cyan);
  transition: transform 0.3s var(--ease-out-expo);
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--color-ash);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ==========================================================================
   TEAM PAGE COMPONENTS
   ========================================================================== */
.team-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.team-stat-card {
  padding: 1.5rem;
  background: rgba(16, 19, 24, 0.5);
  border: 1px solid var(--color-line);
  text-align: center;
}

.team-stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-cyan);
  margin-bottom: 0.25rem;
}

.team-stat-card .stat-desc {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-ash);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.team-card {
  padding: 2rem 1.75rem;
  background: rgba(16, 19, 24, 0.6);
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s var(--ease-out-expo);
}

.team-card:hover {
  border-color: var(--color-line-cyan);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.team-card-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
}

.team-card-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-void);
  border: 1px solid var(--color-line-strong);
}

.team-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #00e676;
  border: 2px solid var(--color-carbon);
  border-radius: 50%;
}

.team-role-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  border-radius: 2px;
}

.role-founder {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
}

.role-developer {
  background: rgba(0, 136, 255, 0.15);
  border: 1px solid #0088ff;
  color: #00a2ff;
}

.role-admin {
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid #ffaa00;
  color: #ffaa00;
}

.role-dept {
  background: rgba(180, 100, 255, 0.15);
  border: 1px solid #b464ff;
  color: #d199ff;
}

.team-member-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-bone);
  margin-bottom: 0.25rem;
}

.team-discord-handle {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-ash);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--color-ash);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}

.team-specialty-pill {
  padding: 0.2rem 0.55rem;
  background: rgba(7, 8, 10, 0.8);
  border: 1px solid var(--color-line);
  font-size: 0.7rem;
  color: var(--color-ash);
}

/* Staff Application Banner */
.join-staff-banner {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, rgba(16, 19, 24, 0.95), rgba(7, 8, 10, 0.98));
  border: 1px solid var(--color-line-cyan);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}


/* ==========================================================================
   18. ULTRA-PREMIUM 3D BACKGROUND & KINETIC TEXT ANIMATION ENGINE
   ========================================================================== */

/* 3D Perspective Tilt Container */
[data-tilt] {
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  will-change: transform;
  overflow: hidden;
}

[data-tilt] > * {
  transform: translateZ(24px);
  transform-style: preserve-3d;
}

[data-tilt] img {
  transform: translateZ(36px);
  transition: transform 0.35s ease;
}

/* Dynamic Specular Glare Reflection on Tilt Cards */
[data-tilt]::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle 380px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(0, 229, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

[data-tilt]:hover::before {
  opacity: 1;
}

[data-tilt]:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 16px 40px -10px rgba(0, 229, 255, 0.22), 0 0 25px rgba(0, 229, 255, 0.08);
}

/* ==========================================================================
   CINEMATIC STAGGER & SMOOTH BLUR-UP TYPOGRAPHY ENGINE
   ========================================================================== */

/* Character Masking Container */
.cinematic-char-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.12;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

/* Individual Cinematic Animated Character */
.cinematic-char {
  display: inline-block;
  transform: translateY(115%) rotateX(-20deg);
  opacity: 0;
  filter: blur(10px);
  transform-origin: bottom center;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.75s ease, 
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease,
              text-shadow 0.3s ease;
  will-change: transform, opacity, filter;
  transition-delay: calc(var(--char-index, 0) * 0.024s);
}

/* Revealed State */
.is-animated .cinematic-char,
.cinematic-char.is-in-view {
  transform: translateY(0%) rotateX(0deg);
  opacity: 1;
  filter: blur(0px);
}

/* Word Masking */
.cinematic-word-mask {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.28em;
  vertical-align: top;
}

.cinematic-word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  filter: blur(8px);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
  transition-delay: calc(var(--word-index, 0) * 0.07s);
  will-change: transform, opacity, filter;
}

.is-animated .cinematic-word,
.cinematic-word.is-in-view {
  transform: translateY(0%);
  opacity: 1;
  filter: blur(0px);
}

.hero-title-gradient .cinematic-char,
.text-glow-shimmer .cinematic-char {
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hover Kinetic Ripple Wave */
[data-cinematic-text]:hover .cinematic-char,
.section-title:hover .cinematic-char {
  animation: charHoverWave 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--char-index, 0) * 0.018s);
}

@keyframes charHoverWave {
  0% { transform: translateY(0px) scale(1); filter: brightness(1); }
  50% { transform: translateY(-5px) scale(1.05); filter: brightness(1.35) drop-shadow(0 0 10px var(--color-cyan)); color: #fff; }
  100% { transform: translateY(0px) scale(1); filter: brightness(1); }
}

.hero-title {
  position: relative;
  letter-spacing: -0.02em;
}

.hero-title span.block {
  display: block;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 229, 255, 0.35);
}

/* Holographic Shimmer & Laser Sweep on Text */
.text-glow-shimmer {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    var(--color-cyan) 30%,
    #ffffff 50%,
    #0088ff 70%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: laserTextSweep 5s linear infinite;
  display: inline-block;
}

@keyframes laserTextSweep {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Hardware-Accelerated Smooth Text Reveal */
.text-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.text-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Off-Screen Section GPU Acceleration & Rendering Containment */
.factions-section,
.features-section,
.rules-category-section,
.team-category-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

/* Section Title Animated Underline Beam */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan), transparent);
  box-shadow: 0 0 10px var(--color-cyan);
  transition: width 0.6s var(--ease-out-expo);
}

.section-title:hover::after {
  width: 100%;
}

/* Pulsing Cyber Radar Beacon */
.status-loader {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--color-cyan);
  border-radius: 50%;
  position: relative;
  margin-left: 0.5rem;
  vertical-align: middle;
  box-shadow: 0 0 12px var(--color-cyan);
  animation: pulseDot 2s ease-in-out infinite;
}

.status-loader::before, .status-loader::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--color-cyan);
  opacity: 0.8;
  animation: radarRing 2s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

.status-loader::after {
  animation-delay: 0.75s;
}

@keyframes radarRing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(3.2); opacity: 0; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.3); filter: brightness(1.6); }
}

/* 3D Depth Floating Keyframes for Showcase Elements */
.float-3d-element {
  animation: float3d 5s ease-in-out infinite alternate;
}

@keyframes float3d {
  0% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  }
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
}

/* Magnetic Button Glow Ripple */
.btn-ember, .cta {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

