/* ===================================================================
   MEKAN ROLEPLAY - OFFICIAL PORTAL STYLESHEET
   Aesthetics: Modern Luxury Dark / Cyber Obsidian / Crimson Red Glow
   =================================================================== */

:root {
  --bg-obsidian: #08080a;
  --bg-card: rgba(18, 18, 24, 0.75);
  --bg-card-hover: rgba(28, 28, 38, 0.9);
  --bg-elevated: #121218;
  --bg-modal: #0e0e14;
  
  --primary-red: #ff1a40;
  --primary-red-hover: #e01234;
  --primary-crimson: #dc2626;
  --primary-glow: rgba(255, 26, 64, 0.45);
  --primary-glow-soft: rgba(220, 38, 38, 0.2);
  
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.4);
  --accent-blue: #38bdf8;
  --accent-green: #22c55e;
  --accent-purple: #a855f7;
  --accent-orange: #f97316;
  --accent-teal: #14b8a6;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-red: rgba(255, 26, 64, 0.35);
  --border-active: rgba(255, 26, 64, 0.7);

  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090d;
}
::-webkit-scrollbar-thumb {
  background: #2a2a38;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-crimson);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Colors & Highlights */
.text-neon-red {
  color: var(--primary-red);
  text-shadow: 0 0 18px var(--primary-glow);
}
.text-neon-green {
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}
.text-danger { color: var(--primary-red); }
.text-info { color: var(--accent-blue); }
.text-warning { color: var(--accent-orange); }
.text-amber { color: var(--accent-gold); }
.text-blue { color: var(--accent-blue); }
.text-green { color: var(--accent-green); }
.text-purple { color: var(--accent-purple); }
.text-teal { color: var(--accent-teal); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Atmospheric Background Fx */
.bg-fx-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}
.red-glow-1 {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
}
.red-glow-2 {
  bottom: 20%;
  left: -150px;
  background: radial-gradient(circle, #b91c1c 0%, transparent 70%);
}
.bg-fx-scanlines {
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 99;
  opacity: 0.6;
}

/* ===================================================================
   SCROLL PROGRESS BAR & FLOATING ISLAND NAVBAR
   Ultra-sleek, modern, uncluttered luxury gaming header
   =================================================================== */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff1a40, #ef4444, #f59e0b);
  box-shadow: 0 0 10px rgba(255, 26, 64, 0.7);
  z-index: 9999;
  width: 0%;
  pointer-events: none;
  transition: width 0.08s ease-out;
}

.floating-navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, calc(100% - 2.5rem));
  z-index: 1000;
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(220, 38, 38, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-navbar.scrolled {
  top: 0.65rem;
  background: rgba(8, 8, 12, 0.92);
  border-color: rgba(255, 26, 64, 0.25);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(220, 38, 38, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.15rem;
  gap: 0.85rem;
}

/* Brand Link */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand-monogram {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--border-red);
  box-shadow: 0 0 12px var(--primary-glow-soft);
  flex-shrink: 0;
}
.brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
}
.monogram-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 26, 64, 0.3) 0%, transparent 80%);
}
.brand-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.brand-motto-mini {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}

/* Compact Integrated Live Status Pill */
.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.server-status-pill:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: var(--border-red);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.25);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 1.8s infinite;
}
.status-count {
  color: #fff;
  font-weight: 700;
}
.status-ip {
  color: var(--text-muted);
  font-family: monospace;
  font-size: 0.72rem;
}
.status-copy-badge {
  color: var(--text-dim);
  font-size: 0.7rem;
}

/* Nav Links Pill */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav-item {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}
.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-item.active {
  color: #fff;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.35);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}
.nav-item-highlight {
  color: #ff99a8;
  border: 1px solid rgba(255, 26, 64, 0.25);
}
.nav-item-highlight:hover {
  background: rgba(255, 26, 64, 0.2);
  color: #fff;
}

/* Nav Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-modern-staff {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(153, 27, 27, 0.45));
  border: 1px solid var(--border-red);
  color: #fff;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}
.btn-modern-staff:hover {
  background: linear-gradient(135deg, rgba(255, 26, 64, 0.5), rgba(220, 38, 38, 0.7));
  border-color: var(--primary-red);
  box-shadow: 0 0 25px var(--primary-glow);
  transform: translateY(-1px);
}
.staff-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-red);
  box-shadow: 0 0 6px var(--primary-red);
}
.staff-role-badge {
  font-size: 0.62rem;
  background: rgba(0, 0, 0, 0.5);
  color: var(--primary-red);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 26, 64, 0.3);
  font-weight: 800;
}

.btn-modern-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #5865F2;
  color: #fff;
  border: none;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}
.btn-modern-discord:hover {
  background: #4752c4;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.5);
  transform: translateY(-1px);
}

/* User Logged In Profile Pill in Navbar */
.user-profile-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem 0.25rem 0.3rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}
.user-profile-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}
.user-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary-red);
}
.user-pill-info {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.user-pill-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.user-pill-tag {
  font-size: 0.65rem;
  color: var(--accent-green);
}
.user-pill-tag.staff {
  color: var(--primary-red);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.15rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Floating Quick Dev / Test Switcher (Bottom Left) */
.dev-floating-pill {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
}
.btn-dev-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 14, 20, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(245, 158, 11, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-dev-pill:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}
.dev-dropdown {
  position: absolute;
  bottom: 125%;
  left: 0;
  width: 290px;
  background: #14141c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  padding: 0.6rem;
  z-index: 1000;
}
.dev-dropdown.open {
  display: flex;
  animation: modal-fade-in 0.2s ease-out;
}
.dev-drop-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-gold);
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.35rem;
}
.dev-drop-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}
.dev-drop-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}
.dev-drop-btn small {
  display: block;
  color: var(--text-dim);
  font-size: 0.7rem;
}
.dev-drop-staff {
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.08);
}
.dev-drop-staff:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: var(--primary-red);
}

/* ===================================================================
   HERO SECTION (Featuring User Uploaded Banner)
   =================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.hero-section:hover .hero-bg-img {
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 10, 0.85) 0%,
    rgba(8, 8, 10, 0.6) 40%,
    rgba(8, 8, 10, 0.95) 85%,
    var(--bg-obsidian) 100%
  );
}
.hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.9);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
}
.hero-badge-wrapper {
  margin-bottom: 1.2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid var(--border-red);
  color: #ffccd5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.25);
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}
.hero-motto {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.crescent-star {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary-red);
  filter: drop-shadow(0 0 8px var(--primary-red));
}
.hero-description {
  font-size: 1.15rem;
  color: #d1d5db;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Hero CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #ff1a40 0%, #b91c1c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px var(--primary-glow);
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 45px rgba(255, 26, 64, 0.7);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}
.btn-hero-secondary:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px var(--accent-gold-glow);
  transform: translateY(-2px);
}
.btn-hero-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(88, 101, 242, 0.15);
  color: #8da0ff;
  border: 1px solid rgba(88, 101, 242, 0.4);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}
.btn-hero-discord:hover {
  background: rgba(88, 101, 242, 0.3);
  color: #fff;
  border-color: #5865F2;
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}

/* Floating Server Stats */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: rgba(14, 14, 20, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Animated Scroll Down Indicator */
.scroll-down-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  opacity: 0.75;
  transition: var(--transition-fast);
}
.scroll-down-wrapper:hover {
  opacity: 1;
  transform: translateY(3px);
}
.scroll-text {
  font-size: 0.68rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--text-dim);
}
.mouse-scroll-icon {
  width: 22px;
  height: 34px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.mouse-wheel-dot {
  width: 4px;
  height: 6px;
  border-radius: 2px;
  background: var(--primary-red);
  box-shadow: 0 0 6px var(--primary-red);
  animation: mouse-scroll 1.8s infinite;
}
@keyframes mouse-scroll {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===================================================================
   SCROLL REVEAL ANIMATIONS
   =================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===================================================================
   SECTION HEADERS & SERVICES FILTER TABS
   =================================================================== */
.services-section, .donate-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.section-title {
  font-size: 2.85rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Modern Category Filter Bar for the 8 Services */
.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}
.srv-filter-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
}
.srv-filter-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.srv-filter-tab.active {
  background: rgba(220, 38, 38, 0.2);
  border-color: var(--primary-red);
  color: #fff;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.25);
}

/* ===================================================================
   SERVICES GRID (THE 8 SERVICES REQUESTED BY USER)
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  overflow: hidden;
}
.service-card.is-hidden {
  display: none !important;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 26, 64, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}
.card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.service-card:hover .card-glow {
  opacity: 0.45;
}

/* Card Headers & Icons */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition-fast);
}
.egm-icon {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-blue);
}
.jgk-icon {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent-green);
}
.adalet-icon {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
}
.saglik-icon {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--accent-teal);
}
.ban-icon {
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: var(--primary-red);
}
.feedback-icon {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--accent-purple);
}
.sikayet-icon {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent-orange);
}
.donate-icon {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--accent-gold);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(2deg);
}

.service-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}
.tag-blue { background: rgba(56, 189, 248, 0.15); color: var(--accent-blue); border: 1px solid rgba(56, 189, 248, 0.3); }
.tag-green { background: rgba(34, 197, 94, 0.15); color: var(--accent-green); border: 1px solid rgba(34, 197, 94, 0.3); }
.tag-gold { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); border: 1px solid rgba(245, 158, 11, 0.3); }
.tag-teal { background: rgba(20, 184, 166, 0.15); color: var(--accent-teal); border: 1px solid rgba(20, 184, 166, 0.3); }
.tag-red { background: rgba(220, 38, 38, 0.2); color: var(--primary-red); border: 1px solid rgba(220, 38, 38, 0.4); }
.tag-purple { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); border: 1px solid rgba(168, 85, 247, 0.3); }
.tag-orange { background: rgba(249, 115, 22, 0.15); color: var(--accent-orange); border: 1px solid rgba(249, 115, 22, 0.3); }
.tag-gold-glow { background: rgba(245, 158, 11, 0.25); color: var(--accent-gold); border: 1px solid var(--accent-gold); box-shadow: 0 0 10px var(--accent-gold-glow); }

/* Card Body */
.service-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.service-dept {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.95rem;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.service-perks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}
.service-perks li {
  font-size: 0.8rem;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Service Action Buttons */
.btn-service-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}
.btn-service-action:hover {
  transform: translateY(-2px);
}
.btn-blue {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent-blue);
}
.btn-blue:hover {
  background: var(--accent-blue);
  color: #000;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}
.btn-green {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--accent-green);
}
.btn-green:hover {
  background: var(--accent-green);
  color: #000;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}
.btn-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
}
.btn-gold:hover {
  background: var(--accent-gold);
  color: #000;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}
.btn-teal {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.3);
  color: var(--accent-teal);
}
.btn-teal:hover {
  background: var(--accent-teal);
  color: #000;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}
.btn-purple {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--accent-purple);
}
.btn-purple:hover {
  background: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}
.btn-orange {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--accent-orange);
}
.btn-orange:hover {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}
.btn-red-glow {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(153, 27, 27, 0.5));
  border-color: var(--border-red);
  color: #fff;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.25);
}
.btn-red-glow:hover {
  background: var(--primary-red);
  box-shadow: 0 0 25px var(--primary-glow);
}
.btn-gold-solid {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
}
.btn-gold-solid:hover {
  background: #fbbf24;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}

/* Highlighted Cards (Ban Affı & Donate) */
.highlight-card {
  border-color: var(--border-red);
  background: rgba(24, 14, 18, 0.85);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
}
.highlight-donate {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(26, 20, 12, 0.85);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

/* ===================================================================
   DONATE STORE / MARKET
   =================================================================== */
.store-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.store-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}
.store-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.store-tab.active {
  background: rgba(220, 38, 38, 0.2);
  border-color: var(--primary-red);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow-soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  backdrop-filter: blur(16px);
}
.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}
.product-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}
.product-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.product-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.product-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.85rem;
  flex-grow: 1;
}
.product-features li {
  font-size: 0.86rem;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.product-features li i {
  color: var(--accent-green);
  font-size: 0.8rem;
}
.btn-buy-product {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: var(--transition-fast);
}
.btn-buy-product:hover {
  background: #fbbf24;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

/* ===================================================================
   MODALS SYSTEM (Universal Glassmorphic Backdrop)
   =================================================================== */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}
.custom-modal-backdrop.open {
  display: flex;
  animation: modal-fade-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-fade-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.custom-modal {
  background: var(--bg-modal);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.modal-md { max-width: 540px; }
.modal-lg { max-width: 780px; }
.modal-xl { max-width: 1240px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}
.modal-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

/* User Info Bar inside Application Modal */
.app-applicant-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}
.applicant-info-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.applicant-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-red);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.35rem;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.45rem;
}
.form-input, .form-select, .form-textarea, .form-select-sm {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px var(--primary-glow-soft);
}
.form-select-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  width: auto;
  border-radius: var(--radius-sm);
}
.form-textarea {
  resize: vertical;
}

/* Checkbox Rule */
.form-check-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}
.form-check-group input[type="checkbox"] {
  accent-color: var(--primary-red);
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}
.form-check-group label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Modal Action Buttons */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}
.btn-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-submit {
  background: linear-gradient(135deg, #ff1a40, #dc2626);
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-fast);
  box-shadow: 0 0 20px var(--primary-glow);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-glow);
}

/* ===================================================================
   LOGIN / DEMO MODAL
   =================================================================== */
.login-brand-art {
  position: relative;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-red);
}
.login-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}
.login-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 14, 20, 0.95) 100%);
}
.login-art-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-red);
}
.login-notice {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}
.btn-discord-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #5865F2;
  color: #fff;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-fast);
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.35);
}
.btn-discord-full:hover {
  background: #4752c4;
  box-shadow: 0 5px 25px rgba(88, 101, 242, 0.5);
  transform: translateY(-2px);
}
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.75rem 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.divider span {
  padding: 0 0.75rem;
}
.demo-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-demo-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}
.btn-demo-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}
.btn-demo-card.staff-demo {
  border-color: var(--border-red);
  background: rgba(220, 38, 38, 0.12);
}
.btn-demo-card.staff-demo:hover {
  background: rgba(220, 38, 38, 0.22);
  border-color: var(--primary-red);
}
.demo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.demo-info {
  flex-grow: 1;
}
.demo-info strong {
  display: block;
  font-size: 0.92rem;
}
.demo-info small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===================================================================
   YETKİLİ PANELİ (STAFF MANAGEMENT PORTAL) - FULL EXPERIENCE
   =================================================================== */
.staff-modal-fullscreen {
  height: 94vh;
  max-width: 1380px;
  display: flex;
  flex-direction: column;
}
.staff-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #09090e;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.75rem;
}
.staff-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.staff-badge-pulse {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 0 15px var(--primary-glow-soft);
}
.staff-header-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.staff-header-sub {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
}
.role-pill-active {
  color: var(--accent-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.staff-user-tag {
  color: var(--text-muted);
}
.staff-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-staff-refresh {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}
.btn-staff-refresh:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Access Denied View */
.staff-denied-view {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
}
.denied-box {
  background: rgba(20, 14, 16, 0.85);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 580px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.denied-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.2);
  color: var(--primary-red);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--border-red);
}
.denied-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: #fff;
}
.denied-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.denied-card-info {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.75rem;
  text-align: left;
  font-size: 0.85rem;
}
.denied-card-info p {
  margin-bottom: 0.4rem;
}
.badge-denied {
  background: rgba(220, 38, 38, 0.25);
  color: var(--primary-red);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 700;
}
.denied-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-demo-switch-staff {
  background: linear-gradient(135deg, #ff1a40, #b91c1c);
  color: #fff;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Authorized Dashboard */
.staff-dashboard-view {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.staff-stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: rgba(14, 14, 20, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}
.staff-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.s-icon {
  font-size: 1.5rem;
}
.s-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.s-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Staff Nav Tabs */
.staff-nav-tabs {
  display: flex;
  background: #0b0b10;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 1.75rem;
  overflow-x: auto;
}
.s-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}
.s-tab:hover {
  color: #fff;
}
.s-tab.active {
  color: #fff;
  border-bottom-color: var(--primary-red);
}
.badge-count {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}
.s-tab.active .badge-count {
  background: var(--primary-red);
}

/* Staff Tab Contents */
.staff-tab-content {
  display: none;
  flex-grow: 1;
  padding: 1.75rem;
  overflow-y: auto;
}
.staff-tab-content.active {
  display: block;
}
.staff-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.staff-content-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.header-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Staff Cards List */
.staff-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.staff-item-card {
  background: rgba(20, 20, 28, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-fast);
}
.staff-item-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(24, 24, 34, 0.9);
}
.staff-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.applicant-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.applicant-avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-red);
}
.applicant-details h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.applicant-details small {
  color: var(--text-dim);
  font-size: 0.78rem;
}
.badge-status {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.status-pending { background: rgba(245, 158, 11, 0.18); color: var(--accent-gold); border: 1px solid rgba(245, 158, 11, 0.4); }
.status-approved { background: rgba(34, 197, 94, 0.18); color: var(--accent-green); border: 1px solid rgba(34, 197, 94, 0.4); }
.status-rejected { background: rgba(220, 38, 38, 0.18); color: var(--primary-red); border: 1px solid rgba(220, 38, 38, 0.4); }

.staff-item-body {
  margin-bottom: 1.25rem;
}
.staff-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.data-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
}
.data-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}
.data-val {
  font-size: 0.88rem;
  color: #f3f4f6;
  font-weight: 600;
}
.data-full-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

/* Staff Action Row with Approve / Reject buttons */
.staff-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}
.btn-action-approve {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: none;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}
.btn-action-approve:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.5);
}
.btn-action-reject {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid var(--border-red);
  color: var(--primary-red);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
}
.btn-action-reject:hover {
  background: var(--primary-red);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Discord Log Live Terminal */
.discord-log-terminal {
  background: #07070a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 520px;
  overflow-y: auto;
}
.terminal-entry {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-blue);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.terminal-entry.approved { border-left-color: var(--accent-green); }
.terminal-entry.rejected { border-left-color: var(--primary-red); }
.terminal-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
}
.terminal-content {
  color: #e5e7eb;
}
.terminal-embed-box {
  background: #0f1017;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.btn-test-action {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: #8da0ff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}
.btn-test-action:hover {
  background: #5865F2;
  color: #fff;
}

/* Decision Modal Actions */
.btn-decision-confirm {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-decision-confirm.reject-confirm {
  background: linear-gradient(135deg, #ff1a40, #dc2626);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: #050507;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 2;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border-red);
}
.f-brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.f-brand-motto {
  font-size: 0.72rem;
  color: var(--primary-red);
  letter-spacing: 2px;
  font-weight: 700;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 360px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--primary-red);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===================================================================
   TOAST NOTIFICATIONS
   =================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast-msg {
  pointer-events: auto;
  background: rgba(14, 14, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.35rem;
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 420px;
  backdrop-filter: blur(12px);
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.toast-success { border-color: var(--accent-green); }
.toast-success i { color: var(--accent-green); font-size: 1.1rem; }
.toast-danger { border-color: var(--primary-red); }
.toast-danger i { color: var(--primary-red); font-size: 1.1rem; }
.toast-info { border-color: var(--accent-blue); }
.toast-info i { color: var(--accent-blue); font-size: 1.1rem; }

/* ===================================================================
   RESPONSIVE QUERIES
   =================================================================== */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-stats-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-title { font-size: 3rem; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .desktop-only { display: none !important; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    background: rgba(14, 14, 22, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
  }
  .nav-links.mobile-open {
    display: flex;
    animation: modal-fade-in 0.25s ease-out;
  }
  .mobile-toggle { display: block; }
  .staff-data-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .floating-navbar {
    width: calc(100% - 1.25rem);
    top: 0.75rem;
  }
  .hero-title { font-size: 2.2rem; }
  .hero-motto { font-size: 1.05rem; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-stats-grid { grid-template-columns: 1fr; }
  .staff-stats-strip { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .btn-text { display: none; }
  .brand-motto-mini { display: none; }
  .services-filter-bar { gap: 0.35rem; }
  .srv-filter-tab { font-size: 0.75rem; padding: 0.35rem 0.8rem; }
}

/* ===================================================================
   USER DROPDOWN MENU - Missing Classes Fixed
   =================================================================== */
.demo-drop-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.4rem 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.demo-drop-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
}
.demo-drop-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.demo-drop-item strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}
.demo-drop-item small {
  display: block;
  color: var(--text-dim);
  font-size: 0.7rem;
}

/* Staff button authorized glow state */
.btn-modern-staff.authorized {
  background: linear-gradient(135deg, rgba(255, 26, 64, 0.45), rgba(220, 38, 38, 0.65));
  border-color: var(--primary-red);
  animation: staff-glow-pulse 2s infinite;
}

@keyframes staff-glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 26, 64, 0.35); }
  50% { box-shadow: 0 0 35px rgba(255, 26, 64, 0.65); }
}

/* Color helpers missing */
.text-gold { color: var(--accent-gold); }
.text-orange { color: var(--accent-orange); }

/* Decision action buttons */
.btn-decision-confirm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-green), #16a34a);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}
.btn-decision-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}
.btn-decision-confirm.reject-confirm {
  background: linear-gradient(135deg, var(--primary-red), #b91c1c);
  box-shadow: 0 4px 15px rgba(255, 26, 64, 0.3);
}
.btn-decision-confirm.reject-confirm:hover {
  box-shadow: 0 6px 20px rgba(255, 26, 64, 0.5);
}
.decision-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}
.decision-app-card {
  margin-bottom: 1rem;
}

/* ===================================================================
   POLISHED LAYOUT & RESPONSIVE REFINEMENTS
   =================================================================== */
:root {
  --bg-obsidian: #090a0e;
  --bg-card: rgba(17, 19, 25, 0.88);
  --bg-card-hover: rgba(24, 26, 34, 0.96);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --radius-md: 14px;
  --radius-lg: 22px;
}

html {
  scroll-padding-top: 6rem;
  overflow-x: clip;
}

body {
  background-image:
    radial-gradient(ellipse at 50% -18%, rgba(154, 23, 43, 0.16), transparent 48%),
    linear-gradient(180deg, #090a0e 0%, #0b0b10 48%, #090a0e 100%);
}

.bg-fx-glow {
  opacity: 0.1;
}

.bg-fx-scanlines {
  opacity: 0.12;
}

.container {
  width: min(100% - 3rem, 1240px);
  padding: 0;
}

.floating-navbar {
  width: min(1380px, calc(100% - 3rem));
  background: rgba(12, 13, 18, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-inner {
  min-height: 66px;
  padding: 0.5rem 1rem;
  gap: 0.65rem;
}

.nav-links {
  gap: 0.15rem;
}

.nav-item {
  white-space: nowrap;
}

.hero-section {
  min-height: min(900px, 100svh);
  padding: 8.5rem 0 4.5rem;
}

.hero-content {
  max-width: 1040px;
}

.hero-bg-img {
  object-position: center 38%;
  filter: brightness(0.52) contrast(1.08) saturate(0.82);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.48), rgba(8, 8, 10, 0.12) 50%, rgba(8, 8, 10, 0.48)),
    linear-gradient(180deg, rgba(8, 8, 10, 0.74) 0%, rgba(8, 8, 10, 0.34) 38%, rgba(8, 8, 10, 0.94) 86%, var(--bg-obsidian) 100%);
}

.hero-title {
  font-size: clamp(3.25rem, 7.2vw, 5.75rem);
  letter-spacing: 0.045em;
}

.hero-description {
  max-width: 700px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-actions {
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.btn-hero-primary,
.btn-hero-secondary,
.btn-hero-discord {
  min-height: 54px;
  border-radius: 14px;
}

.hero-stats-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: rgba(13, 14, 19, 0.76);
  border-color: rgba(255, 255, 255, 0.12);
}

.services-section,
.donate-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.services-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 42%);
}

.section-header {
  max-width: 880px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1;
}

.section-subtitle {
  line-height: 1.75;
}

.services-filter-bar,
.store-tabs {
  gap: 0.55rem;
}

.srv-filter-tab,
.store-tab {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.1);
}

.services-grid,
.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.service-card,
.product-card {
  min-width: 0;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(20, 21, 28, 0.94), rgba(13, 14, 19, 0.94));
}

.service-card {
  min-height: 100%;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
}

.service-name,
.product-title {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-dept,
.service-desc,
.service-perks li,
.product-features li {
  line-height: 1.55;
}

.service-perks li {
  align-items: flex-start;
}

.service-perks li i {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.btn-service-action,
.btn-buy-product {
  min-height: 46px;
  border-radius: 12px;
}

.custom-modal-backdrop {
  padding: clamp(0.75rem, 3vw, 1.5rem);
}

.custom-modal {
  border-radius: 20px;
  max-height: min(90vh, 900px);
}

.modal-header {
  gap: 1rem;
  padding: 1rem 1.35rem;
}

.modal-title {
  min-width: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.modal-body {
  padding: clamp(1rem, 3vw, 1.75rem);
}

.footer {
  padding-top: 4rem;
}

.footer-container {
  gap: 2rem;
}

.dev-floating-pill {
  bottom: 1rem;
  left: 1rem;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #ff6b82;
  outline-offset: 3px;
}

@media (max-width: 1250px) {
  .desktop-only {
    display: none !important;
  }

  .nav-inner {
    padding-inline: 0.85rem;
  }

  .nav-item {
    padding-inline: 0.65rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 1050px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    align-items: stretch;
    padding: 0.65rem;
    gap: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(12, 13, 18, 0.97);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-item {
    padding: 0.75rem 0.9rem;
  }

  .nav-item.active {
    border-color: transparent;
    box-shadow: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

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

  .hero-section {
    min-height: 760px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 2rem, 1240px);
  }

  .floating-navbar {
    top: 0.65rem;
    width: calc(100% - 1rem);
    border-radius: 18px;
  }

  .nav-inner {
    min-height: 58px;
    padding: 0.4rem 0.55rem;
  }

  .nav-brand {
    gap: 0.5rem;
  }

  .brand-monogram {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-motto-mini {
    display: none;
  }

  .nav-controls {
    gap: 0.4rem;
  }

  .btn-modern-staff {
    padding: 0.55rem 0.7rem;
  }

  .staff-role-badge,
  .btn-modern-staff .btn-text {
    display: none;
  }

  .btn-modern-discord {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
  }

  .btn-modern-discord span {
    display: none;
  }

  .user-pill-info {
    display: none;
  }

  .user-profile-pill {
    padding: 0.25rem;
  }

  .hero-section {
    min-height: auto;
    padding: 8.5rem 0 4rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3.65rem);
    letter-spacing: 0.025em;
  }

  .hero-badge {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
  }

  .hero-motto {
    gap: 0.45rem;
    font-size: clamp(1rem, 4.3vw, 1.35rem);
    letter-spacing: 0.12em;
  }

  .hero-description {
    margin-bottom: 1.75rem;
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 2rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-hero-discord {
    justify-content: center;
    width: 100%;
    padding-inline: 1rem;
    font-size: 0.95rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 1rem;
  }

  .stat-card {
    gap: 0.65rem;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .stat-value {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .scroll-down-wrapper {
    margin-top: 1.75rem;
  }

  .services-section,
  .donate-section {
    padding: 3.75rem 0;
  }

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

  .section-badge {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .section-subtitle {
    font-size: 0.93rem;
  }

  .services-filter-bar,
  .store-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -1rem;
    padding: 0.25rem 1rem 0.65rem;
    scrollbar-width: thin;
  }

  .srv-filter-tab,
  .store-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .service-card,
  .product-card {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }

  .footer-left {
    grid-column: 1 / -1;
  }

  .footer-bottom-flex {
    align-items: flex-start;
    flex-direction: column;
  }

  .dev-floating-pill {
    display: none;
  }

  .toast-container {
    right: 0.75rem;
    bottom: 4rem;
    left: 0.75rem;
  }

  .toast-msg {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .staff-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.85rem;
  }

  .staff-stat-card {
    padding: 0.7rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 1.5rem, 1240px);
  }

  .brand-titles {
    max-width: 100px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .btn-modern-staff {
    gap: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .hero-stats-grid {
    gap: 0.65rem;
  }

  .stat-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-left {
    grid-column: auto;
  }

  .modal-header {
    padding: 0.85rem 1rem;
  }

  .modal-body {
    padding: 1rem;
  }
}

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

/* Final layout checks: keep product copy readable and prevent image bleed. */
.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-bg-img,
.hero-section:hover .hero-bg-img {
  transform: none;
}

.service-card::after,
.product-card::after {
  content: '';
  position: absolute;
  inset: 0 1.25rem auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.service-card.highlight-card {
  border-color: rgba(255, 26, 64, 0.3);
  background: linear-gradient(145deg, rgba(32, 17, 23, 0.94), rgba(15, 14, 19, 0.96));
}

.service-card.highlight-donate {
  border-color: rgba(245, 158, 11, 0.34);
  background: linear-gradient(145deg, rgba(33, 26, 16, 0.94), rgba(15, 14, 19, 0.96));
}

.service-card.highlight-card::after {
  background: linear-gradient(90deg, transparent, rgba(255, 26, 64, 0.55), transparent);
}

.service-card.highlight-donate::after {
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent);
}

.products-grid .product-card {
  min-height: 100%;
}

.product-badge {
  letter-spacing: 0.02em;
}

.btn-dev-pill {
  max-width: 42px;
  overflow: hidden;
  white-space: nowrap;
  padding-inline: 0.7rem;
  opacity: 0.58;
  transition: max-width 0.25s ease, opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-dev-pill:hover,
.dev-floating-pill:focus-within .btn-dev-pill {
  max-width: 220px;
  opacity: 1;
}

.footer {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255, 26, 64, 0.08), transparent 42%),
    #07080b;
}

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

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

  .staff-modal-fullscreen {
    height: min(90vh, 900px);
    max-height: 90vh;
  }

  .staff-header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .staff-header-left {
    min-width: 0;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .staff-header-left > div:last-child {
    min-width: 0;
  }

  .staff-badge-pulse {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    font-size: 1.1rem;
  }

  .staff-header-title {
    font-size: 0.98rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .staff-header-sub {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.35rem;
  }

  .role-pill-active {
    flex-wrap: wrap;
  }

  .staff-header-right {
    gap: 0.35rem;
  }

  .btn-staff-refresh {
    width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .btn-staff-refresh i {
    font-size: 0.95rem;
  }

  .staff-denied-view {
    min-height: 0;
    flex: 1 1 auto;
    align-items: flex-start;
    overflow-y: auto;
    padding: 1rem;
  }

  .denied-box {
    width: 100%;
    padding: 1.25rem;
  }

  .denied-title {
    font-size: 1.25rem;
  }

  .badge-denied {
    white-space: nowrap;
  }

  .denied-actions .btn-demo-switch-staff {
    line-height: 1.4;
  }
}

.prelaunch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.08);
  color: #f6c66a;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.prelaunch-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.65);
}

.hero-badge {
  border-color: rgba(245, 158, 11, 0.38);
  background: rgba(45, 34, 17, 0.62);
  color: #ffe4ab;
}

.hero-badge > i {
  color: var(--accent-gold);
}

.hero-stats-grid {
  max-width: 1000px;
}

.stat-card {
  min-width: 0;
}

.stat-info {
  min-width: 0;
}

.stat-value {
  overflow-wrap: anywhere;
}

.about-section,
.faq-section {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.about-section {
  background:
    radial-gradient(ellipse at 92% 12%, rgba(255, 26, 64, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(24, 25, 33, 0.96), rgba(13, 14, 19, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.about-copy .section-title {
  max-width: 650px;
}

.about-copy .section-subtitle {
  max-width: 620px;
  margin: 0;
  text-align: left;
}

.about-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.12);
  color: #c5cbff;
  font-weight: 700;
  transition: var(--transition-fast);
}

.about-discord-link:hover {
  transform: translateY(-2px);
  border-color: #5865f2;
  background: rgba(88, 101, 242, 0.2);
  color: #fff;
}

.about-highlights {
  display: grid;
  gap: 0.75rem;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.about-highlight-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 26, 64, 0.24);
  border-radius: 12px;
  background: rgba(255, 26, 64, 0.1);
  color: #ff6b82;
}

.about-highlight h3 {
  margin-bottom: 0.15rem;
  color: #fff;
  font-size: 1rem;
}

.about-highlight p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.faq-section {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(154, 23, 43, 0.08), transparent 46%);
}

.faq-section .section-header {
  margin-bottom: 2rem;
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 0.75rem;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(17, 19, 25, 0.78);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(255, 26, 64, 0.32);
  background: rgba(20, 19, 25, 0.96);
}

.faq-item summary {
  position: relative;
  padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  color: #f4f4f6;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.25rem;
  color: var(--primary-red);
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 1.25rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.faq-item p a {
  color: #aeb7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-prelaunch-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
  text-align: center;
}

.login-prelaunch-note a {
  color: #aeb7ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-buy-product:disabled {
  border: 1px solid rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.09);
  color: #d6b879;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-buy-product:disabled:hover {
  background: rgba(245, 158, 11, 0.09);
  box-shadow: none;
  transform: none;
}

@media (max-width: 900px) {
  .about-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .about-section,
  .faq-section {
    padding: 3.75rem 0;
  }

  .about-panel {
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 20px;
  }

  .about-copy .section-subtitle {
    font-size: 0.93rem;
  }

  .about-discord-link {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
  }

  .faq-item summary {
    padding: 1rem 2.75rem 1rem 1rem;
    font-size: 0.94rem;
  }

  .faq-item summary::after {
    right: 1rem;
  }

  .faq-item p {
    padding: 0 1rem 1rem;
    font-size: 0.88rem;
  }
}
