/* 
   Emergency London — United Kingdom Emergency Roleplay Network
   Intranet and Public Portal stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-darker: #0a0b0d; /* Roblox dark background */
  --bg-dark: #111216; /* Roblox side/panel dark */
  --bg-panel: rgba(25, 27, 31, 0.72); /* Translucent Roblox panel gray */
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 162, 255, 0.25); /* Cyan glow */
  --text-primary: #f5f6f8;
  --text-secondary: #cbd5e0; /* Roblox secondary text */
  --text-muted: #7f8c8d;

  /* Emergency Services Color Accents - Roblox Tones */
  --mps-blue: #00a2ff; /* Roblox hyperlink/logo blue */
  --mps-blue-glow: rgba(0, 162, 255, 0.4);
  --lfb-red: #ff3b30;
  --lfb-red-glow: rgba(255, 59, 48, 0.4);
  --las-green: #10b981;
  --las-green-glow: rgba(16, 185, 129, 0.4);
  --las-yellow: #f59e0b;
  --civ-orange: #f97316;
  --dispatch-gray: #6b7280;
}

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

body {
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ------------------------------------------------------------
   EMERGENCY LIGHTS SWEEP ANIMATION
   ------------------------------------------------------------ */
.emergency-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--mps-blue) 0%, 
    transparent 35%, 
    var(--lfb-red) 50%, 
    transparent 65%, 
    var(--mps-blue) 100%
  );
  background-size: 200% auto;
  animation: sweep 4s linear infinite;
  z-index: 100;
}

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

/* Background Glowing Sirens Ambient */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 119, 230, 0.1) 0%, rgba(230, 34, 34, 0.08) 50%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: ambientSweep 12s ease-in-out infinite alternate;
}

@keyframes ambientSweep {
  0% { filter: blur(80px) hue-rotate(0deg); opacity: 0.8; }
  100% { filter: blur(100px) hue-rotate(20deg); opacity: 1; }
}

/* ------------------------------------------------------------
   NAVBAR SECTION
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(10, 11, 14, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  z-index: 1000;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.nav-logo-icon {
  width: 26px;
  height: 26px;
  background: #ffffff;
  transform: rotate(-15deg);
  position: relative;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 162, 255, 0.4);
  color: transparent !important;
  font-size: 0 !important;
}

.nav-logo-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  background: #0a0b0d;
  border-radius: 1px;
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.nav-logo-text span {
  color: var(--mps-blue);
  text-shadow: 0 0 10px var(--mps-blue-glow);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link-btn {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-link-btn:hover, .nav-link-btn.active {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--mps-blue) 0%, #0088ff 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 162, 255, 0.4) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0088ff 0%, #00a2ff 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 162, 255, 0.6) !important;
}

.btn-secondary {
  background: rgba(16, 20, 30, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--lfb-red);
  color: #fff;
  box-shadow: 0 4px 15px rgba(230, 34, 34, 0.3);
}

.btn-danger:hover {
  background: #ff3333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 34, 34, 0.5);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
}

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

/* User Profile Nav Block */
.nav-profile-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  padding: 6px 14px 6px 6px;
  border-radius: 30px;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: background 0.2s;
}

.nav-profile-block:hover {
  background: rgba(255,255,255,0.08);
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--mps-blue);
}

.nav-user-details {
  display: flex;
  flex-direction: column;
}

.nav-user-name {
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-user-role {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   HERO / HOME TAB
   ------------------------------------------------------------ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 162, 255, 0.08) 0%, transparent 60%),
              linear-gradient(to bottom, rgba(10, 11, 13, 0.45) 0%, var(--bg-darker) 100%),
              url('/hero_police_scene.jpg');
  background-size: cover;
  background-position: center;
  padding: 110px 6% 60px 6%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Laser Scanning Line Animation */
@keyframes laserScan {
  0% { transform: translateY(-100vh); }
  100% { transform: translateY(100vh); }
}

.hero-clouds-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to top, var(--bg-darker) 12%, transparent 85%),
    radial-gradient(circle at 20% 50%, rgba(0, 162, 255, 0.04) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  pointer-events: none;
  z-index: 2;
}

.hero-clouds-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0, 162, 255, 0.12), transparent);
  opacity: 0.8;
  animation: laserScan 8s infinite linear;
  pointer-events: none;
}

.hero-left {
  position: relative;
  z-index: 10;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Pulsing Badge with neon accent */
@keyframes badgePulse {
  0%, 100% {
    border-color: rgba(0, 162, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.2), inset 0 0 5px rgba(0, 162, 255, 0.1);
  }
  50% {
    border-color: rgba(0, 255, 204, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5), inset 0 0 10px rgba(0, 255, 204, 0.2);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 11, 15, 0.8);
  border: 1px solid rgba(0, 162, 255, 0.4);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
  width: fit-content;
  backdrop-filter: blur(8px);
  animation: badgePulse 3s infinite ease-in-out;
}

.hero-badge i {
  color: #00ffcc;
  filter: drop-shadow(0 0 5px #00ffcc);
}

.hero-title {
  font-size: 5.2rem !important;
  font-weight: 950 !important;
  line-height: 0.98 !important;
  text-transform: uppercase;
  letter-spacing: -3px !important;
  color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 40%, #a4a6b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}

.hero-title span {
  background: linear-gradient(to right, #00c6ff, #0072ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  text-shadow: 0 0 40px rgba(0, 114, 255, 0.4) !important;
}

.hero-desc {
  font-size: 1.15rem !important;
  color: rgba(226, 232, 240, 0.9) !important;
  max-width: 650px;
  margin-bottom: 40px;
  line-height: 1.7 !important;
  text-shadow: 0 4px 10px rgba(0,0,0,0.8) !important;
}

.hero-btns {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 50px;
}

/* Stats Block */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 680px;
}

/* FEATURED CAROUSEL DIVISION CARD (MOCKUP STYLED) */
.featured-card-wrapper {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.featured-card-container {
  position: relative;
  width: 100%;
  height: 450px;
}

.featured-division-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateY(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.featured-division-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.featured-division-card:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: rgba(0, 162, 255, 0.45);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 162, 255, 0.3);
}

.featured-division-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-25deg);
  transition: 0.8s;
  pointer-events: none;
}

.featured-division-card:hover::after {
  left: 150%;
}

.division-badge {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-division-card:hover .division-badge {
  transform: rotate(360deg) scale(1.12);
  box-shadow: 0 0 15px currentColor;
}

/* Card Glow Effect based on Division */
.division-card-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 119, 230, 0.15) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
}

#feat-card-lfb .division-card-glow {
  background: radial-gradient(circle, rgba(230, 34, 34, 0.15) 0%, transparent 70%);
}

#feat-card-las .division-card-glow {
  background: radial-gradient(circle, rgba(0, 179, 89, 0.15) 0%, transparent 70%);
}

/* Card Header styles */
.division-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.division-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.division-badge.mps {
  background: var(--mps-blue);
  box-shadow: 0 0 15px var(--mps-blue-glow);
}

.division-badge.lfb {
  background: var(--lfb-red);
  box-shadow: 0 0 15px var(--lfb-red-glow);
}

.division-badge.las {
  background: var(--las-green);
  box-shadow: 0 0 15px var(--las-green-glow);
}

.division-header-text {
  display: flex;
  flex-direction: column;
}

.division-category {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 1px;
}

.division-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

/* Image section */
.division-image-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.division-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-division-card:hover .division-image {
  transform: scale(1.08);
}

/* Body / Description styles */
.division-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.division-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Meta info grid inside card */
.division-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border-glass);
  padding-top: 16px;
}

.division-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 0.8rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
}

.meta-value.mps-glow { color: var(--mps-blue); text-shadow: 0 0 5px var(--mps-blue-glow); }
.meta-value.lfb-glow { color: var(--lfb-red); text-shadow: 0 0 5px var(--lfb-red-glow); }
.meta-value.las-glow { color: var(--las-green); text-shadow: 0 0 5px var(--las-green-glow); }

.meta-value.status-open { color: var(--las-green); }

/* Footer action overlay */
.division-card-footer {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
}

.explore-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.featured-division-card:hover .explore-link {
  color: #fff;
}

/* Carousel Indicators and Controls Wrapper */
.carousel-indicators-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.carousel-nav-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.indicator-btn {
  width: 24px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.indicator-btn.active {
  width: 48px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.stat-card {
  background: rgba(16, 20, 30, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px) !important;
  padding: 20px 14px !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.05) !important;
}

.stat-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 12px;
  opacity: 0.85;
}

.mps-glow-text {
  color: var(--mps-blue) !important;
  filter: drop-shadow(0 0 5px var(--mps-blue-glow));
}
.lfb-glow-text {
  color: var(--lfb-red) !important;
  filter: drop-shadow(0 0 5px var(--lfb-red-glow));
}
.las-glow-text {
  color: var(--las-green) !important;
  filter: drop-shadow(0 0 5px var(--las-green-glow));
}
.civ-glow-text {
  color: var(--civ-orange) !important;
  filter: drop-shadow(0 0 5px rgba(249,115,22,0.4));
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.stat-num.glowing-blue {
  color: var(--mps-blue);
  text-shadow: 0 0 10px var(--mps-blue-glow);
}

.stat-num.glowing-red {
  color: var(--lfb-red);
  text-shadow: 0 0 10px var(--lfb-red-glow);
}

.stat-num.glowing-green {
  color: var(--las-green);
  text-shadow: 0 0 10px var(--las-green-glow);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ------------------------------------------------------------
   PAGE STRUCTURE CONTAINER
   ------------------------------------------------------------ */
.app-view-container {
  width: 100%;
  padding: 6rem 4rem 4rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-pretitle {
  font-size: 0.75rem;
  color: var(--mps-blue);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

/* ------------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 50px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.about-feat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: 8px;
}

.about-feat-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-feat-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 2px solid var(--border-glass);
  padding-left: 20px;
  margin-top: 10px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mps-blue);
  border: 2px solid var(--bg-darker);
}

.timeline-date {
  font-size: 0.75rem;
  color: var(--mps-blue);
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.timeline-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   DEPARTMENTS SUB-PAGES
   ------------------------------------------------------------ */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dept-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.dept-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

.dept-banner-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background-color: #1a202c;
  position: relative;
}

.dept-badge-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.75);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dept-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.dept-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.dept-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.dept-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 12px;
  margin-top: auto;
}

.dept-status {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dept-status.open {
  color: var(--las-green);
}

.dept-status.closed {
  color: var(--lfb-red);
}

/* Individual Department Detail View */
.dept-detail-header {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-glass);
}

.dept-detail-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
  z-index: 1;
}

.dept-detail-header-content {
  position: relative;
  z-index: 2;
}

.dept-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.info-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.info-panel h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 10px;
}

.pipeline-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.pipeline-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mps-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.pipeline-text h5 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}

.pipeline-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   LIVE DISPATCH / MAP VIEW
   ------------------------------------------------------------ */
.cad-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  height: 620px;
}

/* Custom Interactive CAD Canvas Map */
.map-canvas-container {
  position: relative;
  background: #06070a;
  border: 1.5px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: inset 0 0 35px rgba(0,0,0,0.9);
}

/* High-tech Radar & CRT scanlines overlay */
.radar-sweep-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(0, 102, 255, 0.0) 45%, 
    rgba(0, 102, 255, 0.08) 50%, 
    transparent 55%
  );
  pointer-events: none;
  z-index: 5;
  animation: radarSweep 5s linear infinite;
}

@keyframes radarSweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.crt-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 6;
  opacity: 0.5;
}

/* Blueprint Grid Background */
.map-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cad-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.map-control-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid var(--border-glass);
  padding: 10px 16px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  display: flex;
  gap: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-indicator.blue { background: var(--mps-blue); box-shadow: 0 0 8px var(--mps-blue); }
.dot-indicator.red { background: var(--lfb-red); box-shadow: 0 0 8px var(--lfb-red); }
.dot-indicator.green { background: var(--las-green); box-shadow: 0 0 8px var(--las-green); }
.dot-indicator.orange { background: var(--civ-orange); box-shadow: 0 0 8px var(--civ-orange); }

.cad-feed-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.cad-log-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: calc(100% - 170px);
}

.cad-log-box h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #fff;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
}

.cad-logs-feed {
  flex-grow: 1;
  overflow-y: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: #38bdf8;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 8px;
}

.cad-log-line {
  line-height: 1.3;
}

/* Callouts list */
.cad-callouts-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
  height: 150px;
  overflow-y: auto;
}

.cad-callouts-box h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #fff;
}

.cad-callout-item {
  font-size: 0.72rem;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--lfb-red);
  margin-bottom: 6px;
}

/* ------------------------------------------------------------
   APPLICATIONS TAB
   ------------------------------------------------------------ */
.app-form-panel {
  max-width: 750px;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 40px;
}

.app-form-step {
  display: none;
}

.app-form-step.active {
  display: block;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(5,5,8,0.7);
  border: 1px solid var(--border-glass);
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--mps-blue);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}

/* ------------------------------------------------------------
   MEMBER DASHBOARD
   ------------------------------------------------------------ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 30px;
}

.dash-user-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.dash-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  border: 2px solid var(--mps-blue);
  object-fit: cover;
}

.dash-user-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 4px;
}

.dash-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(0, 119, 230, 0.15);
  color: var(--mps-blue);
  margin-bottom: 20px;
}

.dash-details-list {
  text-align: left;
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.dash-detail-label {
  color: var(--text-secondary);
}

.dash-detail-val {
  font-weight: 700;
  color: #fff;
}

.dash-content-panels {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dash-action-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-action-info h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}

.dash-action-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Warnings strikes tracker */
.strikes-grid {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.strike-box {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.strike-box.active {
  background: rgba(230, 34, 34, 0.2);
  border-color: var(--lfb-red);
  color: var(--lfb-red);
}

/* ------------------------------------------------------------
   STAFF PANEL
   ------------------------------------------------------------ */
.staff-container {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 30px;
}

.staff-sidebar-menu {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staff-sidebar-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.staff-sidebar-btn:hover, .staff-sidebar-btn.active {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.staff-sidebar-btn.active {
  border-left: 3px solid var(--mps-blue);
}

.staff-panel-view {
  display: none;
}

.staff-panel-view.active {
  display: block;
}

/* Lists and Tables */
.data-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

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

.data-table th {
  background: rgba(255,255,255,0.02);
  padding: 14px 16px;
  color: #fff;
  font-weight: 700;
  border-bottom: 1.5px solid var(--border-glass);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-glass);
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.01);
}

/* Toast and notification alerts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  background: #0f172a;
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: 8px;
  min-width: 300px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 2px;
}

.toast-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.toast-close {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

.toast.success { border-left: 4px solid var(--las-green); }
.toast.error { border-left: 4px solid var(--lfb-red); }
.toast.info { border-left: 4px solid var(--mps-blue); }

/* ------------------------------------------------------------
   FOOTER SECTION
   ------------------------------------------------------------ */
.footer {
  width: 100%;
  background: #050508;
  border-top: 1px solid var(--border-glass);
  padding: 4rem;
  text-align: center;
  margin-top: 50px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.footer-brand span {
  color: var(--mps-blue);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   COMPREHENSIVE EXPANDED PAGE TRANSITIONS
   ------------------------------------------------------------ */
.faq-header:hover {
  background: rgba(255, 255, 255, 0.02) !important;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-img {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-content-view {
  display: none;
  opacity: 0;
}

.service-content-view.active {
  display: block;
  opacity: 1;
  animation: fadeInServices 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Premium Careers Cards & Modal Styles */
.career-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 26, 38, 0.7), rgba(12, 16, 26, 0.9)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 28px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden;
}

.career-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 255, 255, 0.02) !important;
}

.career-req-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 18px;
  border-radius: 10px;
  border-left: 3px solid var(--mps-blue);
  margin-bottom: 24px;
}

.career-badge-open {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.career-badge-dept {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.8px;
  font-family: 'Outfit', sans-serif;
}

/* ------------------------------------------------------------
   GDS TICKET CHAT BUBBLES
   ------------------------------------------------------------ */
.ticket-message {
  padding: 12px 16px;
  border-radius: 8px;
  max-width: 80%;
  font-size: 0.85rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}
.ticket-message.user {
  background-color: rgba(0, 102, 204, 0.1);
  border: 1px solid rgba(0, 102, 204, 0.2);
  color: #e2e8f0;
  align-self: flex-start;
}
.ticket-message.staff {
  background-color: rgba(0, 112, 60, 0.1);
  border: 1px solid rgba(0, 112, 60, 0.2);
  color: #ccffeb;
  align-self: flex-end;
}
.ticket-message.system {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-glass);
  color: var(--text-secondary);
  align-self: center;
  text-align: center;
  max-width: 95%;
  font-size: 0.8rem;
}
.ticket-message-header {
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}
#support-dropdown-menu li a:hover, #el-dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Nav Dropdown Hover functionality */
.nav-dropdown-item {
  position: relative;
}

.nav-dropdown-item:hover .dropdown-menu {
  display: flex !important;
}

.dropdown-menu a:hover {
  background: rgba(0, 162, 255, 0.12) !important;
  color: #fff !important;
  border-left: 3px solid #00a2ff;
}

/* Glass panel Roblox theme overrides */
.glass-panel {
  background: rgba(25, 27, 31, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(16px) !important;
}

.dropdown-menu {
  background: rgba(25, 27, 31, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65) !important;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

.btn:active {
  transform: scale(0.96) !important;
}

/* ============================================================
   EMERGENCY LONDON WIKI STYLE SYSTEM (ROBLOX DARK THEME)
   ============================================================ */
#view-wiki {
  background: #111215 !important;
  color: #e2e8f0 !important;
  font-family: 'Inter', sans-serif !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  border: none !important;
  height: calc(100vh - 70px) !important;
}

#view-wiki h1,
#view-wiki h2,
#view-wiki h3,
#view-wiki h4 {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  text-shadow: none !important;
  letter-spacing: normal !important;
}

#view-wiki p,
#view-wiki span,
#view-wiki li,
#view-wiki label {
  color: #a4a6b0 !important;
  font-family: 'Inter', sans-serif !important;
}

#view-wiki a {
  color: #00a2ff !important;
  text-decoration: none;
}

#view-wiki a:hover {
  text-decoration: underline;
}

/* Sidebar Styling */
.wiki-dark-sidebar {
  width: 250px;
  background: #16171d;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 15px 10px;
  gap: 15px;
  box-sizing: border-box;
}

.wiki-sidebar-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff9f1c; /* Orange group header */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 15px 0 5px 10px;
}

.wiki-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #a4a6b0 !important;
  font-size: 0.85rem;
  text-decoration: none !important;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wiki-sidebar-link:hover {
  background: rgba(255,255,255,0.04);
  color: #ffffff !important;
}

.wiki-sidebar-link.active {
  background: rgba(255, 159, 28, 0.1);
  color: #ff9f1c !important;
  font-weight: 600;
}

.wiki-sidebar-link.active i {
  color: #ff9f1c !important;
}

/* Mid Column Content Contents */
.wiki-mid-col {
  width: 220px;
  background: #111215;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.wiki-mid-box {
  background: #16171d;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 15px;
}

.wiki-mid-box-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00a2ff;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.wiki-content-index-item {
  display: block;
  font-size: 0.8rem;
  color: #a4a6b0 !important;
  text-decoration: none !important;
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.2s;
}

.wiki-content-index-item:hover {
  color: #ffffff !important;
}

/* Home Welcome Hero Banner */
.wiki-hero-banner {
  background: linear-gradient(135deg, rgba(229, 142, 38, 0.9) 0%, rgba(28, 29, 36, 0.9) 70%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 40px 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.wiki-hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.wiki-hero-title {
  font-size: 2.8rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: -1px;
}

.wiki-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7) !important;
  margin: 0;
}

/* Action buttons / quick links */
.wiki-quick-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}

.wiki-quick-link-btn {
  background: #ff9f1c;
  color: #111215 !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.wiki-quick-link-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.wiki-quick-link-btn:active {
  transform: translateY(0);
}

/* Category Grid Cards */
.wiki-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.wiki-cat-card {
  background: #16171d;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 25px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: border-color 0.2s, transform 0.2s;
}

.wiki-cat-card:hover {
  border-color: rgba(255, 159, 28, 0.4);
  transform: translateY(-2px);
}

.wiki-cat-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 159, 28, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9f1c;
}

.wiki-cat-card-title {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: #ffffff !important;
}

.wiki-cat-card-desc {
  font-size: 0.85rem;
  color: #a4a6b0 !important;
  margin: 0;
  line-height: 1.4;
}

/* Main Area markup rendering overrides */
.wiki-dark-body h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-top: 30px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding-bottom: 6px !important;
}

.wiki-dark-body p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #a4a6b0 !important;
  margin-bottom: 16px !important;
}

.wiki-dark-body ul {
  padding-left: 20px !important;
  margin-bottom: 20px !important;
}

.wiki-dark-body li {
  color: #a4a6b0 !important;
  font-size: 0.95rem !important;
  margin-bottom: 6px !important;
}

.wiki-dark-body strong {
  color: #ffffff !important;
}

/* ============================================================
   MEMBER DASHBOARD HIGHER-FIDELITY SKINS
   ============================================================ */

/* Department Variables Definition */
#view-dashboard {
  --dept-color: #00a2ff;
  --dept-color-rgb: 0, 162, 255;
  --dept-glow: rgba(0, 162, 255, 0.3);
  transition: all 0.4s ease;
}

#view-dashboard.dept-mps {
  --dept-color: #00a2ff;
  --dept-color-rgb: 0, 162, 255;
  --dept-glow: rgba(0, 162, 255, 0.3);
}

#view-dashboard.dept-lfb {
  --dept-color: #ff3b30;
  --dept-color-rgb: 255, 59, 48;
  --dept-glow: rgba(255, 59, 48, 0.3);
}

#view-dashboard.dept-las {
  --dept-color: #10b981;
  --dept-color-rgb: 16, 185, 129;
  --dept-glow: rgba(16, 185, 129, 0.3);
}

#view-dashboard.dept-civilian {
  --dept-color: #ff9f1c;
  --dept-color-rgb: 255, 159, 28;
  --dept-glow: rgba(255, 159, 28, 0.3);
}

/* Professional User Metadata Card Overlay */
#view-dashboard .dash-user-card {
  background: linear-gradient(135deg, rgba(20, 22, 28, 0.85) 0%, rgba(13, 14, 18, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  border-top: 3px solid var(--dept-color) !important;
  border-radius: 12px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

#view-dashboard .dash-user-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px var(--dept-glow) !important;
  border-color: rgba(var(--dept-color-rgb), 0.2) !important;
}

#view-dashboard .dash-avatar {
  border: 3px solid var(--dept-color) !important;
  box-shadow: 0 0 15px var(--dept-glow) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

#view-dashboard .dash-avatar:hover {
  transform: scale(1.05);
}

#view-dashboard .dash-badge {
  background: linear-gradient(135deg, rgba(var(--dept-color-rgb), 0.2) 0%, rgba(var(--dept-color-rgb), 0.05) 100%) !important;
  border: 1px solid rgba(var(--dept-color-rgb), 0.4) !important;
  box-shadow: 0 0 10px rgba(var(--dept-color-rgb), 0.15);
  color: var(--dept-color) !important;
  font-weight: 800 !important;
  padding: 5px 14px !important;
  border-radius: 6px !important;
  transition: all 0.4s ease !important;
}

#view-dashboard .dash-details-list {
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}

#view-dashboard .dash-detail-row {
  border-bottom: 1px solid rgba(255,255,255,0.03) !important;
  padding: 10px 0 !important;
}

#view-dashboard .dash-detail-row:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

#view-dashboard .dash-detail-label {
  color: #a4a6b0 !important;
  font-weight: 500 !important;
  display: inline-flex;
  align-items: center;
}

.dash-detail-icon {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

#view-dashboard .dash-detail-val {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Premium Info Panels on Dashboard */
#view-dashboard .info-panel {
  background: linear-gradient(135deg, rgba(20, 22, 28, 0.85) 0%, rgba(13, 14, 18, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  border-radius: 12px !important;
  border-left: 3px solid var(--dept-color) !important; /* Left glow strip */
  transition: border-left-color 0.4s ease !important;
}

#view-dashboard .info-panel h3 {
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
  font-size: 1.25rem !important;
  font-family: 'Outfit', sans-serif !important;
}

/* On/Off duty Card */
#view-dashboard .dash-action-card {
  background: linear-gradient(135deg, rgba(20, 22, 28, 0.85) 0%, rgba(13, 14, 18, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  border-left: 3px solid var(--dept-color) !important;
  transition: border-left-color 0.4s ease !important;
}

#view-dashboard .dash-action-info h4 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.1rem !important;
  color: #fff !important;
  margin-bottom: 4px !important;
}

/* Glowing Disciplinary Strike boxes */
#view-dashboard .strike-box {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  color: #a4a6b0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
}

#view-dashboard .strike-box.active {
  background: rgba(230, 34, 34, 0.15) !important;
  border-color: #ff3b30 !important;
  color: #ff3b30 !important;
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.3) !important;
  text-shadow: 0 0 6px rgba(255, 59, 48, 0.6) !important;
}

/* Connection Cards styling with hover */
#view-dashboard .connection-card {
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all 0.25s ease !important;
}

#view-dashboard .connection-card:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(var(--dept-color-rgb), 0.25) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25), 0 0 10px rgba(var(--dept-color-rgb), 0.05) !important;
  transform: translateY(-1px);
}

/* Professional data grids for certifications */
#view-dashboard .data-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid rgba(255,255,255,0.04) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

#view-dashboard .data-table th {
  background: rgba(255,255,255,0.02) !important;
  border-bottom: 2px solid rgba(var(--dept-color-rgb), 0.25) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px 14px !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  transition: border-bottom-color 0.4s ease !important;
}

#view-dashboard .data-table td {
  border-bottom: 1px solid rgba(255,255,255,0.03) !important;
  padding: 12px 14px !important;
  color: #cbd5e0 !important;
  font-size: 0.85rem !important;
}

#view-dashboard .data-table tr:hover td {
  background-color: rgba(var(--dept-color-rgb), 0.04) !important;
  color: #ffffff !important;
}

/* Certification tag */
.cert-tag {
  background: rgba(var(--dept-color-rgb), 0.08) !important;
  border: 1px solid rgba(var(--dept-color-rgb), 0.25) !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  display: inline-block !important;
  transition: all 0.4s ease !important;
}

/* Store View Overrides */
#view-store .section-header {
  position: relative;
  padding: 40px;
  background: radial-gradient(circle at center, rgba(0, 162, 255, 0.04) 0%, transparent 70%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  margin-bottom: 50px !important;
}

.store-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: linear-gradient(135deg, rgba(20, 24, 33, 0.75) 0%, rgba(11, 13, 17, 0.95) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.store-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(0, 162, 255, 0.3) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 162, 255, 0.15) !important;
}

.store-image-wrapper {
  overflow: hidden;
  height: 190px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.store-card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.store-card:hover .store-card-image {
  transform: scale(1.08) !important;
}

.store-cat-pill {
  font-size: 0.72rem;
  color: #00a2ff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  margin-bottom: 4px;
}

.store-price-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 184, 0, 0.08) !important;
  border: 1px solid rgba(255, 184, 0, 0.2) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #ffb800 !important;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.05);
  transition: all 0.3s ease;
}

.store-card:hover .store-price-badge {
  background: rgba(255, 184, 0, 0.15) !important;
  border-color: rgba(255, 184, 0, 0.35) !important;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.15);
}

.store-buy-btn {
  background: linear-gradient(135deg, #0078d7 0%, #00a2ff 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 162, 255, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.store-buy-btn:hover {
  background: linear-gradient(135deg, #0088f7 0%, #33b5ff 100%) !important;
  box-shadow: 0 6px 20px rgba(0, 162, 255, 0.45), 0 0 10px rgba(0, 162, 255, 0.2) !important;
  transform: translateY(-1px);
}

.store-buy-btn:active {
  transform: scale(0.97) !important;
}

.store-info-box {
  background: linear-gradient(90deg, rgba(0, 162, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(0, 162, 255, 0.15);
  border-left: 4px solid #00a2ff;
  border-radius: 12px;
  padding: 20px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.store-info-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  font-family: 'Outfit', sans-serif;
}

.store-info-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* Store Filter Navigation */
.store-filter-btn {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-secondary) !important;
  padding: 10px 20px !important;
  border-radius: 20px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.store-filter-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.store-filter-btn.active {
  background: rgba(0, 162, 255, 0.1) !important;
  border-color: #00a2ff !important;
  color: #00a2ff !important;
  box-shadow: 0 0 15px rgba(0, 162, 255, 0.2) !important;
}

.store-category-header {
  font-size: 1.5rem !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-left: 3px solid #00a2ff !important;
  padding-left: 12px !important;
}

/* Category indicator border colors */
.store-category-header.whitelists {
  border-left-color: #00a2ff !important;
}
.store-category-header.vehicles {
  border-left-color: #ff3b30 !important;
}
.store-category-header.perks {
  border-left-color: #ff9f1c !important;
}

/* Fade animation for store filters */
@keyframes storeFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.store-fade-in {
  animation: storeFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Aurora Background System */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -100;
  background: radial-gradient(
      ellipse at 20% 30%,
      rgba(138, 43, 226, 0.4) 0%,
      rgba(138, 43, 226, 0) 60%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(0, 191, 255, 0.35) 0%,
      rgba(0, 191, 255, 0) 70%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(50, 205, 50, 0.3) 0%,
      rgba(50, 205, 50, 0) 65%
    ),
    linear-gradient(135deg, #000000 0%, #0a0520 100%);
  background-blend-mode: overlay, screen, hard-light;
  overflow: hidden;
  animation: aurora-drift 25s infinite alternate ease-in-out;
  pointer-events: none;
}

.aurora-bg::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 60px
    );
  animation: grid-shift 20s linear infinite;
  pointer-events: none;
}

.aurora-bg::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 70%,
    rgba(10, 5, 32, 0.9) 100%
  );
  animation: aurora-pulse 8s infinite alternate;
  pointer-events: none;
}

@keyframes aurora-drift {
  0% {
    background-position:
      0% 0%,
      0% 0%,
      0% 0%;
    filter: hue-rotate(0deg) brightness(1);
  }
  50% {
    background-position:
      -10% -5%,
      5% 10%,
      0% 15%;
    filter: hue-rotate(30deg) brightness(1.2);
  }
  100% {
    background-position:
      5% 10%,
      -10% -5%,
      15% 0%;
    filter: hue-rotate(60deg) brightness(1);
  }
}

@keyframes grid-shift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

@keyframes aurora-pulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
}

/* Horizontal Career List Layout */
.careers-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.careers-list-container .career-card {
  display: grid !important;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 28px 36px !important;
}

.careers-list-container .career-card .career-main-col {
  display: flex;
  flex-direction: column;
}

.careers-list-container .career-card .career-reqs-col {
  display: flex;
  flex-direction: column;
}

.careers-list-container .career-card .career-action-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.btn-career-apply {
  min-width: 160px;
  box-shadow: 0 4px 14px rgba(230, 92, 0, 0.25) !important;
}

/* Responsiveness for Career Rows */
@media (max-width: 992px) {
  .careers-list-container .career-card {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .careers-list-container .career-card .career-action-col {
    grid-column: span 2;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .careers-list-container .career-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px !important;
  }
  .careers-list-container .career-card .career-action-col {
    grid-column: span 1;
  }
}

/* Aurora Drift and Glow Styles for Homepage */
.aurora-glow-1 {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.16) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: aurora-drift-1 20s infinite alternate ease-in-out;
}

.aurora-glow-2 {
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(230, 92, 0, 0.1) 0%, transparent 75%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  animation: aurora-drift-2 25s infinite alternate ease-in-out;
}

@keyframes aurora-drift-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 40px) scale(1.15); }
  100% { transform: translate(-40px, -60px) scale(0.9); }
}

@keyframes aurora-drift-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 80px) scale(1.1); }
  100% { transform: translate(50px, -40px) scale(0.95); }
}

/* Enhancing Hero and Stat Cards with subtle glass shadows and glows */
.hero-badge {
  box-shadow: 0 0 20px rgba(0, 162, 255, 0.15), inset 0 1px 0 rgba(255,255,255,0.1) !important;
  transition: all 0.3s ease !important;
}

.hero-badge:hover {
  border-color: rgba(0, 162, 255, 0.8) !important;
  box-shadow: 0 0 30px rgba(0, 162, 255, 0.35) !important;
}

.hero-btns .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-btns .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: all 0.6s ease;
}

.hero-btns .btn:hover::before {
  left: 100%;
}

.stat-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
}

