/* ==========================================================================
   DEEP TOWN ROLEPLAY - CYBERPUNK / HIGH-END GAMING DESIGN SYSTEM
   ========================================================================== */

:root {
  --bg-dark: #07070A;
  --bg-surface: #0E0E14;
  --bg-card: rgba(18, 18, 26, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-orange: rgba(255, 107, 0, 0.5);

  --primary-orange: #FF6B00;
  --primary-orange-hover: #FF8800;
  --primary-glow: rgba(255, 107, 0, 0.45);
  --accent-gold: #FFB800;

  --text-white: #FFFFFF;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;

  --status-green: #10B981;
  --status-yellow: #F59E0B;
  --status-red: #EF4444;
  --status-blue: #3B82F6;
  --partner-green: #00FF88;

  --font-main: 'Tajawal', 'Cairo', 'Outfit', 'Inter', -apple-system, sans-serif;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(255, 107, 0, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(255, 140, 0, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #07070A;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF6B00, #FF8800);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF9900;
}

/* RTL / LTR Helpers */
[dir="rtl"] {
  text-align: right;
}

[dir="ltr"] {
  text-align: left;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Common Styling */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--primary-orange);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #FFF;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 15px 45px rgba(255, 107, 0, 0.18);
  transform: translateY(-4px);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
  color: #FFF;
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 107, 0, 0.65);
  filter: brightness(1.1);
  color: #FFF;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #FFF;
}

.btn-discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #FFF;
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-discord:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.6);
  color: #FFF;
}

.btn-outline-orange {
  background: transparent;
  color: var(--primary-orange);
  border: 1.5px solid var(--primary-orange);
}

.btn-outline-orange:hover {
  background: rgba(255, 107, 0, 0.18);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--status-red);
  color: #FFF;
}

.btn-danger:hover {
  background: #DC2626;
}

.btn-success {
  background: var(--status-green);
  color: #FFF;
}

.btn-success:hover {
  background: #059669;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}

/* ==========================================================================
   HEADER & NAVBAR (NEW PILL DESIGN)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 7, 10, 0.75);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 7, 10, 0.95);
  border-bottom-color: rgba(255, 107, 0, 0.2);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-wrap {
  position: relative;
  width: 46px;
  height: 46px;
}

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: transparent;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 0, 0.35));
  transition: var(--transition-fast);
}

.logo-pulse {
  display: none;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #FFFFFF;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.logo-text span {
  color: var(--primary-orange, #FF6B00);
}

.logo-container:hover .logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.6));
}

/* Nav Pill Bar & Sliding Indicator */
.nav-pill-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.32rem 0.4rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-glider {
  position: absolute;
  top: 0;
  left: 0;
  height: 2.5px;
  border-radius: 4px;
  background: linear-gradient(90deg, #FF6B00 0%, #FFAE19 50%, #FF6B00 100%);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.85), 0 0 18px rgba(255, 174, 25, 0.45);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  border: none;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
  will-change: transform, width, opacity;
}

.npill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 50px;
  color: #A1A1AA;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
  background: transparent;
}

.npill:hover {
  color: var(--text-white);
}

.npill.active {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.35);
  background: transparent;
  box-shadow: none;
}

.npill-partner {
  color: #00FF88 !important;
}

.npill-partner:hover {
  color: #00FF88 !important;
}

.npill-dash {
  color: var(--primary-orange) !important;
  border: 1px solid rgba(255, 107, 0, 0.4) !important;
  background: rgba(255, 107, 0, 0.08) !important;
}

.npill-dash:hover {
  background: rgba(255, 107, 0, 0.22) !important;
  color: #FFF !important;
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.4);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #A1A1AA;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-btn:hover {
  border-color: rgba(255, 107, 0, 0.4);
  color: var(--primary-orange);
  background: rgba(255, 107, 0, 0.08);
}

/* New Login Button */
.btn-login-new {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.4);
}

.btn-login-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.6);
  filter: brightness(1.1);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==========================================================================
   USER PROFILE & DISCORD AUTH MENU
   ========================================================================== */
.user-profile-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.3rem 0.85rem 0.3rem 0.45rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-white);
  font-family: var(--font-main);
  height: 40px;
  max-width: 170px;
}

[dir="rtl"] .user-btn {
  padding: 0.3rem 0.45rem 0.3rem 0.85rem;
}

.user-btn:hover {
  background: rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.4);
}

.user-avatar {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid var(--primary-orange) !important;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.35);
  display: block !important;
  flex-shrink: 0;
}

.user-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #FFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0E0E14;
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 14px;
  padding: 0.45rem;
  min-width: 200px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 107, 0, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none !important;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1200;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[dir="rtl"] .user-dropdown {
  right: auto;
  left: 0;
}

.user-dropdown.show {
  display: flex !important;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: #D4D4D8;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(255, 107, 0, 0.15);
  color: #FFF;
}

.dropdown-item i {
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
  color: var(--primary-orange);
}

.dropdown-item#logoutBtn i {
  color: var(--status-red);
}

/* ==========================================================================
   CINEMATIC HERO SECTION (MIX: OUTLAW RP + MYSTERY TOWN + RESPECT RP)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: var(--bg-dark);
  padding: 0;
}

/* ==========================================================================
   MINIMALIST DEEP BLACK & SUBTLE GLOWING ORANGE LINES HERO
   ========================================================================== */
.hero-cyber-lines-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #020204;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 75%, rgba(255, 75, 0, 0.03) 0%, transparent 50%),
    #020204;
  z-index: 0;
}

/* Subtle SVG Lines Container */
.cyber-svg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Subtle Orange Lines */
.subtle-line {
  opacity: 0.65;
  filter: drop-shadow(0 0 3px rgba(255, 107, 0, 0.45));
}

/* Faint, slow-traveling neon light pulses along the curves */
.subtle-pulse-1 {
  stroke-dasharray: 140 750;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 5px #FF8F3D) drop-shadow(0 0 12px rgba(255, 107, 0, 0.4));
  animation: pulseTravel1 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.subtle-pulse-2 {
  stroke-dasharray: 120 650;
  stroke-dashoffset: 200;
  filter: drop-shadow(0 0 5px #FFAE19) drop-shadow(0 0 10px rgba(255, 107, 0, 0.35));
  animation: pulseTravel2 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pulseTravel1 {
  0% {
    stroke-dashoffset: 1800;
    opacity: 0.1;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.1;
  }
}

@keyframes pulseTravel2 {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.1;
  }

  50% {
    opacity: 0.65;
  }

  100% {
    stroke-dashoffset: -1700;
    opacity: 0.1;
  }
}

/* Deep Black Scrim Gradients */
.hero-scrim-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 2, 4, 0.65) 0%, rgba(2, 2, 4, 0.1) 40%, rgba(2, 2, 4, 0.5) 80%, #020204 100%),
    linear-gradient(90deg, rgba(2, 2, 4, 0.75) 0%, rgba(2, 2, 4, 0.1) 50%, rgba(2, 2, 4, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 85% at 50% 45%, transparent 40%, rgba(2, 2, 4, 0.85) 92%);
  pointer-events: none;
  z-index: 1;
}

/* Vertical Watermark Edge Letters (Outlaw RP style) */
.hero-wm {
  position: absolute;
  top: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

.hero-wm-right {
  right: 1.5rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center right;
}

.hero-wm-left {
  left: 1.5rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center left;
}

/* Hero Inner Layout */
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  flex: 1;
  padding: 4.5rem 1.5rem 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

/* Left: Content Column */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Outlaw Kicker Tagline */
.hero-kicker-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #00FFCC;
  letter-spacing: 1px;
  text-shadow: 0 0 16px rgba(0, 255, 204, 0.5);
  width: fit-content;
}

.hero-kicker-bar i {
  color: var(--primary-orange);
  font-size: 1rem;
}

/* Mystery Town Live Badge */
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: #FFF;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  width: fit-content;
  box-shadow: 0 0 24px rgba(255, 107, 0, 0.25);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-orange);
  box-shadow: 0 0 12px var(--primary-orange);
  animation: liveBlink 1.4s ease-in-out infinite;
}

@keyframes liveBlink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.85);
  }
}

/* Massive Cinematic Title */
.hero-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  width: 100%;
}

.ht-sub-arabic {
  font-size: 1.6rem;
  font-weight: 800;
  color: #D4D4D8;
  letter-spacing: 3px;
  line-height: 1;
}

.hero-massive-title {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  margin: 0.2rem 0;
  user-select: none;
  width: 100%;
}

[dir="rtl"] .hero-massive-title,
html[dir="rtl"] .hero-massive-title,
[dir="rtl"] .hero-title-group,
[dir="rtl"] .hmt-stacked {
  text-align: right;
  align-items: flex-start;
}

[dir="ltr"] .hero-massive-title,
html[dir="ltr"] .hero-massive-title,
[dir="ltr"] .hero-title-group,
[dir="ltr"] .hmt-stacked {
  text-align: left;
  align-items: flex-start;
}

.hmt-stacked {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.28em;
  direction: ltr;
  line-height: 1;
}

.hmt-word {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 5.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -1px;
  display: inline-block;
}

.hmt-deep {
  color: #FFFFFF;
}

.hmt-town {
  color: #FF7A00;
  text-shadow: 0 0 40px rgba(255, 107, 0, 0.35);
}

.hmt-rp {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 10px;
  text-transform: uppercase;
  display: block;
  margin-top: 0.6rem;
}

/* Arabic accent subtitle */
.ht-arabic-glow {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.8;
  max-width: 580px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.8rem;
  background: linear-gradient(135deg, #FF6B00 0%, #FF4500 100%);
  color: #FFF;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 900;
  transition: all 0.3s ease;
  box-shadow: 0 8px 36px rgba(255, 107, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 48px rgba(255, 107, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #FFF;
}

.hbtn-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hbtn-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.hbtn-label {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
}

.hbtn-sub {
  font-size: 0.72rem;
  opacity: 0.8;
  font-weight: 500;
  margin-top: 2px;
}

.hbtn-arrow {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.hero-btn-primary:hover .hbtn-arrow {
  opacity: 1;
  transform: translateX(-4px);
}

.hero-btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  background: rgba(88, 101, 242, 0.16);
  color: #A5B4FC;
  border: 1.5px solid rgba(88, 101, 242, 0.4);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.hero-btn-discord:hover {
  background: rgba(88, 101, 242, 0.3);
  border-color: rgba(88, 101, 242, 0.7);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.hbtn-badge {
  background: rgba(88, 101, 242, 0.4);
  color: #FFF;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Compact Hero Trailer Play Button */
.hero-btn-trailer {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #FFF;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  font-family: var(--font-main);
}

.hero-btn-trailer:hover {
  background: rgba(255, 107, 0, 0.18);
  border-color: rgba(255, 107, 0, 0.55);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.28);
}

.hero-btn-trailer i {
  color: var(--primary-orange);
  font-size: 1rem;
}

/* ==========================================================================
   RIGHT SIDE: SERVER PORTAL CARD (MYSTERY TOWN + RESPECT RP HUB)
   ========================================================================== */
.hero-right {
  animation: heroSlideUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.server-portal-card {
  background: rgba(12, 12, 18, 0.82);
  border: 1.5px solid rgba(255, 107, 0, 0.25);
  border-radius: 26px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(255, 107, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.server-portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF6B00, transparent);
}

.spc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spc-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--status-green);
  letter-spacing: 1px;
}

.spc-ping {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.spc-ping i {
  color: var(--primary-orange);
}

/* Live Players Progress */
.spc-players {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
}

.spcp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.spcp-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.spcp-capacity {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.spcp-count {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 107, 0, 0.5);
  font-family: 'Outfit', 'Cairo', sans-serif;
}

/* Fast IP Bar */
.spc-ip-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.85rem;
  color: #D4D4D8;
  font-family: 'Courier New', monospace;
}

.spc-ip-bar i {
  color: var(--primary-orange);
}

.spc-ip-bar span {
  flex: 1;
  letter-spacing: 0.5px;
}

.spc-ip-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFF;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.spc-ip-copy:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #FFF;
}

/* Streamlined Compact Action Grid */
.spc-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.spc-action-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-main);
  background: rgba(255, 255, 255, 0.04);
}

[dir="ltr"] .spc-action-card {
  text-align: left;
}

.spc-action-orange {
  background: rgba(255, 107, 0, 0.1);
  border-color: rgba(255, 107, 0, 0.3);
}

.spc-action-orange:hover {
  background: rgba(255, 107, 0, 0.22);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.spc-action-glass {
  background: rgba(255, 255, 255, 0.04);
}

.spc-action-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.spc-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.spc-action-orange .spc-action-icon {
  background: rgba(255, 107, 0, 0.25);
  color: var(--primary-orange);
}

.spc-action-glass .spc-action-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.spc-action-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.spc-action-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFF;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spc-action-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.spc-action-arrow {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.spc-action-card:hover .spc-action-arrow {
  color: #FFF;
  transform: translateX(-3px);
}

[dir="ltr"] .spc-action-card:hover .spc-action-arrow {
  transform: translateX(3px);
}

/* Micro Specs Strip */
.spc-specs {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.spc-spec {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-dim);
  font-weight: 700;
}

.spc-spec i {
  color: var(--primary-orange);
}

/* Mouse Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 700;
  animation: fadeInUp 1s 1s ease both;
  letter-spacing: 1px;
  z-index: 4;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary-orange);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* ==========================================================================
   SPA IN-APP VIEWS SYSTEM (ANIMATED OVERLAYS FOR WHITELIST & APPLICATIONS)
   ========================================================================== */
.spa-view-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(7, 7, 10, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s;
  overflow-y: auto;
  padding: 2.5rem 1.5rem 4rem;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(255, 107, 0, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(88, 101, 242, 0.1) 0%, transparent 50%);
}

.spa-view-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.spa-view-container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: spaContentFade 0.4s 0.1s ease both;
}

@keyframes spaContentFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spa-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.2rem;
}

.spa-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFF;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.spa-back-btn:hover {
  background: rgba(255, 107, 0, 0.18);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateX(4px);
}

.spa-back-btn kbd {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
  font-family: monospace;
  color: var(--text-dim);
}

.spa-view-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-orange);
  letter-spacing: 0.8px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-orange);
  box-shadow: 0 0 10px var(--primary-orange);
}

.spa-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.2rem 0.5rem;
}

.spa-close-btn:hover {
  color: #FFF;
}

.spa-hero-banner {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.spa-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: var(--primary-orange);
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.spa-view-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 0.6rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.spa-view-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.spa-view-content {
  margin-top: 1rem;
}

/* ==========================================================================
   SPACIOUS & LUXURIOUS WHITELIST & DEPT QUIZ CARD
   ========================================================================== */
.quiz-card {
  padding: 2.8rem 3.2rem;
  background: rgba(14, 16, 24, 0.94);
  border: 1.5px solid rgba(255, 107, 0, 0.25);
  border-radius: 26px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 107, 0, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  width: 100%;
}

.quiz-form-spacious {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.quiz-form-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.6rem;
  margin-bottom: 0.5rem;
}

.quiz-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-orange);
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.quiz-header-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 0.4rem;
}

.quiz-header-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.quiz-questions-stack {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.quiz-q-box {
  background: rgba(19, 22, 33, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.8rem 2.2rem;
  transition: all 0.25s ease;
}

.quiz-q-box:hover,
.quiz-q-box:focus-within {
  border-color: rgba(255, 107, 0, 0.45);
  background: rgba(22, 26, 38, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 107, 0, 0.12);
  transform: translateY(-2px);
}

.quiz-q-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.quiz-q-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: var(--primary-orange);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.quiz-q-req {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.quiz-q-req i {
  color: #EF4444;
  font-size: 0.65rem;
}

.quiz-q-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.quiz-q-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.quiz-textarea {
  width: 100%;
  min-height: 140px;
  padding: 1.15rem 1.4rem;
  background: rgba(9, 10, 15, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #FFF;
  font-family: var(--font-main);
  font-size: 1.02rem;
  line-height: 1.7;
  outline: none;
  resize: vertical;
  transition: all 0.25s ease;
}

.quiz-textarea:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.3);
  background: rgba(12, 13, 20, 0.98);
}

.quiz-textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.quiz-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.quiz-submit-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 600px;
  line-height: 1.5;
}

.quiz-submit-note i {
  color: var(--primary-orange);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.quiz-btn-submit {
  padding: 1rem 2.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

@media (max-width: 768px) {
  .quiz-card {
    padding: 1.8rem 1.4rem;
  }

  .quiz-q-box {
    padding: 1.4rem 1.2rem;
  }

  .quiz-submit-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .quiz-btn-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   HERO STATS STRIP & TICKER
   ========================================================================== */

/* Stats Strip */
.hero-stats-strip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.2rem 2rem;
  margin-top: auto;
  animation: heroFadeIn 0.8s 0.4s ease both;
}

.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0 2.5rem;
  text-align: center;
}

.hstat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
  font-family: 'Outfit', sans-serif;
}

.hstat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}

.hstat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* Animated Ticker */
.hero-ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: rgba(255, 107, 0, 0.06);
  border-top: 1px solid rgba(255, 107, 0, 0.12);
  padding: 0.65rem 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 107, 0, 0.75);
  padding: 0 1rem;
}

.ticker-track span i {
  color: var(--primary-orange);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .ticker-track {
  animation: tickerScrollRTL 30s linear infinite;
}

@keyframes tickerScrollRTL {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}


.widget-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-dot {
  width: 16px;
  height: 16px;
  background-color: var(--status-green);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--status-green);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.status-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}

.status-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.widget-players {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 200px;
}

.players-count {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.progress-bar-bg {
  width: 100%;
  height: 9px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6B00, #FF9900);
  border-radius: 5px;
  box-shadow: 0 0 10px #FF6B00;
  transition: width 0.8s ease;
}

/* ==========================================================================
   STATS GRID & FEATURE CARDS
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-box {
  background: rgba(18, 18, 26, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.stat-box:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-card {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 107, 0, 0.14);
  border: 1px solid rgba(255, 107, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-orange);
  margin-bottom: 1.4rem;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

/* ==========================================================================
   TEAM SECTION CINEMATIC SLIDER (MATCHING REFERENCE DESIGN)
   ========================================================================== */
.team-section-cinematic {
  padding: 6rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
}

.team-header-clean {
  text-align: left;
  margin-bottom: 2.5rem;
}

[dir="rtl"] .team-header-clean {
  text-align: right;
}

.team-eyebrow {
  display: inline-block;
  color: var(--primary-orange);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 16px rgba(255, 107, 0, 0.5);
}

.team-main-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFF;
  letter-spacing: -0.5px;
}

.text-orange-gradient,
.text-cyan-gradient {
  background: linear-gradient(135deg, #FF6B00 0%, #FFA726 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 107, 0, 0.6));
}

.team-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 7.5rem 0 2rem;
  margin-top: -5.5rem;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.team-track-infinite {
  display: flex;
  gap: 1.8rem;
  width: max-content;
  animation: teamScrollRightRTL 30s linear infinite;
  padding: 0.5rem 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.team-slider-wrapper:hover .team-track-infinite {
  animation-play-state: paused;
}

/* Continuous smooth scroll to the right ("يمشي لحاله يمين") */
[dir="rtl"] .team-track-infinite {
  animation: teamScrollRightRTL 32s linear infinite;
}

@keyframes teamScrollRightRTL {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(25%);
  }
}

[dir="ltr"] .team-track-infinite {
  animation: teamScrollRightLTR 32s linear infinite;
}

@keyframes teamScrollRightLTR {
  0% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(0);
  }
}

/* RTL / LTR Directional arrow flips */
[dir="ltr"] .hero-btn-primary .hbtn-arrow i,
[dir="ltr"] .tier-cta-btn i,
[dir="ltr"] .spc-action-arrow i,
[dir="ltr"] .spa-back-btn i {
  transform: rotate(180deg);
}

.team-card-cinematic {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  background: rgba(18, 14, 12, 0.78);
  border: 1px solid rgba(255, 107, 0, 0.22);
  border-radius: 22px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Team Member Bio Tooltip / Popover */
.team-bio-popup {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.94);
  width: 250px;
  max-width: 90vw;
  background: rgba(18, 14, 12, 0.98);
  border: 1.5px solid #FF6B00;
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 107, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  text-align: center;
}

.team-bio-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #FF6B00 transparent transparent transparent;
}

.team-card-cinematic:hover .team-bio-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.team-bio-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #FF8800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.team-bio-text {
  font-size: 0.82rem;
  color: #F8FAFC;
  line-height: 1.45;
  margin: 0;
  font-weight: 600;
  word-break: break-word;
}

.team-card-cinematic:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #FF6B00;
  box-shadow: 0 18px 45px rgba(255, 107, 0, 0.35), 0 0 25px rgba(255, 107, 0, 0.2);
  background: rgba(28, 18, 14, 0.94);
}

.team-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 107, 0, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: #07070A;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.team-card-cinematic:hover .team-avatar-img {
  transform: scale(1.08);
}

.team-member-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFF;
  margin-top: 0.9rem;
  margin-bottom: 0.2rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.team-member-role {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FF8800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}

.team-dots-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.tdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.tdot.active {
  width: 24px;
  height: 8px;
  border-radius: 10px;
  background: #FF6B00;
  box-shadow: 0 0 14px #FF6B00;
}


/* ==========================================================================
   OFFICIAL PARTNER SECTION (CIRTA STUDIO - NEON EMERALD GREEN)
   ========================================================================== */
.partner-section {
  position: relative;
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
}

.partner-card-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.stats-grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 820px) {
  .stats-grid-3 {
    grid-template-columns: 1fr !important;
  }
}

.partner-card {
  position: relative;
  background: #08120E;
  border: 1.5px solid rgba(0, 255, 136, 0.5);
  border-radius: var(--radius-xl);
  padding: 3.2rem 3.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 255, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #00FF88, #34D399);
  z-index: 4;
}

.partner-card-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.16;
  filter: saturate(1.2);
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.partner-card:hover .partner-card-bg {
  opacity: 0.28;
  transform: scale(1.03);
}

.partner-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 18, 14, 0.94) 0%, rgba(8, 18, 14, 0.82) 55%, rgba(0, 255, 136, 0.08) 100%);
  pointer-events: none;
  z-index: 2;
}

.partner-content {
  position: relative;
  z-index: 3;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 255, 136, 0.35);
  border-color: #00FF88;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.5);
  color: #00FF88;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.partner-name {
  font-size: 2.6rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}

.partner-name span {
  color: #00FF88;
  text-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
}

.partner-desc {
  color: #D4D4D8;
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.8;
}

.partner-avatar-box {
  position: relative;
  z-index: 3;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 28px;
  background: #08120E;
  border: 2px solid #00FF88;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-partner-green {
  background: linear-gradient(135deg, #00FF88 0%, #10B981 100%);
  color: #000;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
  border: none;
}

.btn-partner-green:hover {
  background: linear-gradient(135deg, #34D399 0%, #00FF88 100%);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.6);
  transform: translateY(-2px);
  color: #000;
}

/* ==========================================================================
   CUSTOM PROMPT MODAL (DARK MODE, BACKDROP BLUR)
   ========================================================================== */
.custom-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.25s ease-out;
  padding: 1.5rem;
}

.custom-prompt-overlay.show {
  opacity: 1;
}

.custom-prompt-box {
  width: 100%;
  max-width: 450px;
  background: rgba(18, 18, 26, 0.95);
  border: 1.5px solid rgba(255, 107, 0, 0.5);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 107, 0, 0.2);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-prompt-overlay.show .custom-prompt-box {
  transform: scale(1) translateY(0);
}

.custom-prompt-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.custom-prompt-header i {
  font-size: 1.6rem;
  color: var(--primary-orange);
  background: rgba(255, 107, 0, 0.15);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.custom-prompt-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
}

.custom-prompt-body {
  margin-bottom: 1.6rem;
}

.custom-prompt-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 0.98rem;
  outline: none;
  transition: var(--transition-fast);
}

.custom-prompt-input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.4);
  background: rgba(15, 15, 22, 0.98);
}

.custom-prompt-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

/* ==========================================================================
   APP-LIKE VIEW TRANSITIONS FOR WHITELIST & TEAM
   ========================================================================== */
.app-view-animated {
  animation: appViewEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appViewEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   FAQ ACCORDION & GOALS & SYSTEMS
   ========================================================================== */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 107, 0, 0.4);
}

.faq-question {
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
  user-select: none;
}

.faq-answer {
  padding: 0 1.8rem 1.4rem 1.8rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  display: none;
}

.faq-item.active .faq-answer,
.faq-card.active .faq-answer {
  display: block !important;
}

.faq-item.active .faq-question i,
.faq-card.active .faq-question i,
.faq-card.active .faq-chevron {
  transform: rotate(180deg) !important;
  color: var(--primary-orange) !important;
}

.goals-grid,
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.goal-card,
.system-card {
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.goal-card:hover,
.system-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-orange);
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.2);
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-bottom: 1.4rem;
}

/* ==========================================================================
   DASHBOARD MODAL & TABLES
   ========================================================================== */
.dashboard-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #08090C;
  display: none;
  overflow: hidden;
  animation: dashFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes dashFadeIn {
  from {
    opacity: 0;
    transform: scale(0.99);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dashboard-modal.show {
  display: flex;
  flex-direction: column;
}

/* Dashboard Topbar */
.dash-topbar {
  height: 60px;
  background: rgba(11, 13, 19, 0.96);
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.8rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-shrink: 0;
  z-index: 10;
}

.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.dash-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-topbar-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.dash-topbar-text {
  display: flex;
  flex-direction: column;
}

.dtt-main {
  font-size: 0.95rem;
  font-weight: 900;
  color: #FFF;
  letter-spacing: 0.5px;
}

.dtt-sub {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--primary-orange);
  letter-spacing: 1.5px;
}

.dash-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 107, 0, 0.12);
  color: var(--primary-orange);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.dash-topbar-admin-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.8rem 0.25rem 0.4rem;
  border-radius: 50px;
}

.dash-top-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--primary-orange);
}

.dash-top-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFF;
}

.dash-close-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-main);
}

.dash-close-pill-btn:hover {
  background: rgba(239, 68, 68, 0.28);
  border-color: #EF4444;
  color: #FFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
}

/* Dashboard Layout */
.dashboard-layout {
  display: flex;
  height: calc(100vh - 60px);
  flex: 1;
  overflow: hidden;
}

.dash-sidebar {
  width: 290px;
  background: rgba(12, 13, 20, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  overflow-y: auto;
}

[dir="rtl"] .dash-sidebar {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  margin-bottom: 1.2rem;
}

.dash-brand-icon-wrap {
  position: relative;
  width: 38px;
  height: 38px;
}

.dash-brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dash-online-pulse {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0C0D14;
  box-shadow: 0 0 8px #10B981;
}

.dash-brand-title {
  font-size: 0.98rem;
  font-weight: 900;
  color: #FFF;
  margin: 0;
  line-height: 1.2;
}

.dash-brand-role {
  font-size: 0.72rem;
  color: var(--primary-orange);
  font-weight: 700;
}

.dash-nav-category {
  font-size: 0.68rem;
  font-weight: 900;
  color: #71717A;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.8rem 0.8rem 0.35rem;
}

.dash-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  color: #A1A1AA;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.dash-nav-link i {
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
  color: #71717A;
  transition: color 0.2s ease;
}

.dash-nav-link:hover {
  background: rgba(255, 107, 0, 0.08);
  color: #FFF;
}

.dash-nav-link:hover i {
  color: var(--primary-orange);
}

.dash-nav-link.active {
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.18) 0%, rgba(255, 107, 0, 0.04) 100%);
  color: var(--primary-orange);
  font-weight: 800;
  border-left: 3px solid var(--primary-orange);
}

[dir="rtl"] .dash-nav-link.active {
  border-left: none;
  border-right: 3px solid var(--primary-orange);
  background: linear-gradient(270deg, rgba(255, 107, 0, 0.18) 0%, rgba(255, 107, 0, 0.04) 100%);
}

.dash-nav-link.active i {
  color: var(--primary-orange);
}

.dash-sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-exit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #D4D4D8;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-main);
}

.dash-exit-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #F87171;
}

/* Dashboard Main Content Area */
.dash-content {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
  background: radial-gradient(circle at 85% 15%, rgba(255, 107, 0, 0.035) 0%, transparent 65%), #08090C;
}

.dash-tab-pane {
  display: none;
  animation: tabFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dash-tab-pane.active {
  display: block;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #FFF;
  letter-spacing: -0.5px;
}

.live-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.blink-dot {
  font-size: 0.5rem;
  animation: liveBlink 1.4s ease-in-out infinite;
}

/* Primary KPI Grid */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-stat-card {
  background: rgba(14, 16, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
}

.dash-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 107, 0, 0.12);
}

.dash-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.16);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.icon-orange {
  background: rgba(255, 107, 0, 0.16);
  color: #FF6B00;
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.icon-purple {
  background: rgba(168, 85, 247, 0.16);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.icon-amber {
  background: rgba(245, 158, 11, 0.16);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.16);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-rose {
  background: rgba(239, 68, 68, 0.16);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.dash-stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.dash-stat-label {
  font-size: 0.78rem;
  color: #A1A1AA;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: #FFF;
  line-height: 1.1;
  font-family: 'Outfit', 'Cairo', sans-serif;
}

.dash-stat-subtext {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.badge-rate {
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
}

.badge-orange {
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary-orange);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Secondary Quick Metrics */
.dash-quick-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.85rem;
  color: #D4D4D8;
}

/* Analytics Charts Grid */
.dash-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dash-chart-card {
  padding: 1.8rem;
  border-radius: 20px;
  background: rgba(14, 16, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.chart-header {
  margin-bottom: 1.4rem;
}

.chart-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFF;
}

.chart-subtitle {
  font-size: 0.8rem;
  color: #71717A;
  margin-top: 0.2rem;
}

.chart-canvas-container {
  position: relative;
  height: 280px;
  width: 100%;
}

/* Tables Styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 14, 21, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 1.05rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[dir="rtl"] .table th,
[dir="rtl"] .table td {
  text-align: right;
}

.table th {
  background: rgba(255, 255, 255, 0.035);
  color: #A1A1AA;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.table td {
  font-size: 0.9rem;
  color: #E4E4E7;
  vertical-align: middle;
}

.table tr:hover td {
  background: rgba(255, 107, 0, 0.035);
}

.badge-status {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-block;
}

.badge-approved {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FBBF24;
}

.badge-rejected {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
}

/* Search Box */
.dash-search-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(14, 16, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.75rem 1.2rem;
  margin-bottom: 1.5rem;
  transition: all 0.25s ease;
}

.dash-search-box:focus-within {
  border-color: var(--primary-orange);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.dash-search-icon {
  color: var(--primary-orange);
  font-size: 1rem;
}

.dash-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #FFF;
  width: 100%;
  font-size: 0.92rem;
  font-family: var(--font-main);
}

.dash-search-input::placeholder {
  color: #71717A;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3500;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: 2.5rem 1rem;
}

.modal-overlay.show {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

.modal-box {
  margin: auto;
  width: 100%;
  max-width: 650px;
  max-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  background: #0E0E14;
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
  position: relative;
}

.modal-scroll-body {
  overflow-y: auto !important;
  flex: 1;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-orange) #0E0E14;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 15, 20, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-orange);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

[dir="rtl"] .toast-container {
  right: auto;
  left: 2rem;
}

.toast {
  background: #0E0E14;
  border: 1px solid var(--primary-orange);
  color: #FFF;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 107, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  font-weight: 700;
  animation: fadeInUp 0.3s ease;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
  }

  .hmt-main {
    font-size: 4.2rem;
  }

  .hmt-word {
    font-size: 4.6rem;
  }

  .nav-pill-bar {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-pill-bar::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-left {
    text-align: center;
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-wm {
    display: none;
  }

  .hmt-main {
    font-size: 3.8rem;
  }

  .hero-right {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-kicker-bar,
  .hero-live-badge,
  .hero-trailer-box {
    margin: 0 auto;
  }

  .partner-card {
    flex-direction: column;
    text-align: center;
  }

  .dash-charts-grid {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    width: 220px;
  }

  .nav-pill-bar {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-pill-bar {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 10, 0.98);
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-left: none;
    border-right: none;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    gap: 0.3rem;
    z-index: 999;
  }

  .nav-pill-bar.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hmt-main,
  .hmt-word {
    font-size: 3.6rem;
    letter-spacing: -0.5px;
  }

  .hmt-rp {
    font-size: 0.9rem;
    letter-spacing: 7px;
  }

  .ht-sub-arabic {
    font-size: 1.2rem;
  }

  .hero-section {
    padding: 3rem 0 4rem;
    min-height: auto;
  }

  .spa-view-overlay {
    padding: 1.5rem 1rem;
  }

  .spa-view-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-primary,
  .hero-btn-discord {
    width: 100%;
    justify-content: center;
  }

  .hmt-main,
  .hmt-word {
    font-size: 2.7rem;
    letter-spacing: 0;
  }

  .hmt-rp {
    font-size: 0.8rem;
    letter-spacing: 5px;
  }

  .hmt-rp-line {
    width: 22px;
  }
}

/* ===================================================
   DEPARTMENT APPLICATIONS TABS & NAVIGATION (SIGNATURE GLOW)
   =================================================== */
.dept-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2.5rem;
  padding: 0.65rem 0.9rem;
  background: rgba(18, 14, 12, 0.78);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: fit-content;
}

.dept-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  color: #A0AEC0;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.dept-tab-btn i {
  font-size: 1.18rem;
  transition: transform 0.3s ease;
}

.dept-tab-btn:hover {
  background: rgba(255, 107, 0, 0.14);
  border-color: rgba(255, 107, 0, 0.5);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
}

.dept-tab-btn:hover i {
  transform: scale(1.15);
}

.dept-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.3) 0%, rgba(255, 140, 0, 0.16) 100%);
  border-color: #FF6B00;
  color: #FFF;
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.45), inset 0 0 14px rgba(255, 107, 0, 0.2);
}

.dept-tab-btn.active i {
  color: #FF8800 !important;
  filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.8));
}

/* ==========================================================================
   SERVER RULES ACCORDION & DIRECTORY STYLES
   ========================================================================== */
.rule-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: #94A3B8;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.rule-cat-pill:hover {
  background: rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.35);
  color: #FFF;
  transform: translateY(-1px);
}

.rule-cat-pill.active {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.32) 0%, rgba(255, 107, 0, 0.15) 100%);
  border-color: #FF6B00;
  color: #FFF;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
}

.rules-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rule-accordion-card {
  background: rgba(18, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rule-accordion-card:hover {
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.rule-accordion-card.active {
  background: rgba(24, 20, 28, 0.9);
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.12), 0 0 1px rgba(255, 107, 0, 0.6);
}

.rule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}

.rule-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.rule-order-badge {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.22), rgba(255, 107, 0, 0.06));
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--primary-orange);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.rule-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rule-title-text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFF;
  line-height: 1.35;
}

.rule-sub-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.rule-card-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.rule-category-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #CBD5E1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
}

.rule-chevron-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.rule-accordion-card.active .rule-chevron-circle {
  background: rgba(255, 107, 0, 0.2);
  border-color: rgba(255, 107, 0, 0.5);
  color: var(--primary-orange);
}

.rule-chevron-icon {
  font-size: 0.8rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rule-accordion-card.active .rule-chevron-icon {
  transform: rotate(180deg);
}

.rule-card-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.rule-accordion-card.active .rule-card-body {
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.rule-card-inner {
  padding: 1.2rem 1.6rem 1.8rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible !important;
}

.rule-content-text {
  font-size: 0.98rem;
  line-height: 1.9;
  color: #E2E8F0;
  font-weight: 500;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

/* ==========================================================================
   SETTINGS PRIVACY BLUR SHIELD (STREAMER MODE)
   ========================================================================== */
.privacy-blur-shield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 520px;
  background: rgba(8, 8, 14, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.privacy-blur-shield.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.privacy-shield-card {
  max-width: 580px;
  text-align: center;
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 18px;
  padding: 2.8rem 2.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 0, 0.15);
  animation: privacyCardPulse 3s infinite alternate;
}

@keyframes privacyCardPulse {
  0% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 107, 0, 0.15);
  }

  100% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 45px rgba(255, 107, 0, 0.3);
  }
}

.privacy-shield-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, rgba(255, 107, 0, 0.05) 70%);
  border: 2px solid var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--primary-orange);
}

.privacy-shield-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 0.9rem;
  letter-spacing: -0.3px;
}

.privacy-shield-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.privacy-shield-text b {
  color: #FFF;
}

.privacy-enter-btn {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
  color: #FFF;
  border: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 2.6rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.privacy-enter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.6);
  background: linear-gradient(135deg, #FF7711 0%, #FFA033 100%);
}

.privacy-hint {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.privacy-hint kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: inherit;
  color: var(--primary-orange);
  font-weight: 700;
}

/* ==========================================================================
   SAFE ZONES 3-COLUMN GRID IN RULES
   ========================================================================== */
.safezones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .safezones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .safezones-grid {
    grid-template-columns: 1fr;
  }
}

.safezone-card {
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.safezone-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 230, 118, 0.5);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 230, 118, 0.15);
}

.safezone-card-image-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  overflow: hidden;
  background: #0D0E12;
}

.safezone-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.safezone-card:hover .safezone-card-image {
  transform: scale(1.06);
}

.safezone-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(6, 36, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 230, 118, 0.5);
  color: #00E676;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.safezone-order-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.safezone-card-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.safezone-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 0.35rem;
}

.safezone-card-sub {
  font-size: 0.8rem;
  color: var(--primary-orange);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.safezone-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: auto;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 0.8rem;
}

/* Detailed Permission Checkbox Styling */
.perm-group-box {
  background: rgba(15, 15, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.9rem;
  margin-bottom: 0.9rem;
}

.perm-group-header {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.perm-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.5rem 0.75rem;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.84rem;
  color: #E2E8F0;
  transition: all 0.2s ease;
}

.perm-checkbox-item:hover {
  background: rgba(255, 107, 0, 0.08);
  border-color: rgba(255, 107, 0, 0.3);
}

.perm-checkbox-item input[type="checkbox"] {
  accent-color: #FF6B00;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ==========================================================================
   SAFE ZONES CARDS & IMAGE LIGHTBOX PREVIEW
   ========================================================================== */
.safezone-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.safezone-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 118, 0.4) !important;
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.12);
}

.safezone-card-image-wrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.safezone-card-image-wrap img {
  transition: transform 0.4s ease;
}

.safezone-card-image-wrap:hover img {
  transform: scale(1.06);
}

/* Small zoom button on safe zone image */
.safezone-expand-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFF;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.safezone-card-image-wrap:hover .safezone-expand-btn {
  background: var(--primary-orange);
  color: #000;
  border-color: var(--primary-orange);
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.7);
  transform: scale(1.08);
}

.safezone-expand-btn:hover {
  background: #FFF !important;
  color: #000 !important;
  transform: scale(1.15) !important;
}

/* Image Lightbox Modal */
.image-lightbox-modal {
  z-index: 99999 !important;
}

.image-lightbox-modal .lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.image-lightbox-modal .lightbox-close-btn:hover {
  background: var(--status-red);
  color: #FFF;
  border-color: var(--status-red);
  transform: rotate(90deg);
}

.image-lightbox-modal .lightbox-content-box {
  animation: lightboxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes lightboxPop {
  0% {
    transform: scale(0.92);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .safezones-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 580px) {
  .safezones-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   MOBILE & RESPONSIVE PERFECTION SYSTEM
   ========================================================================== */

/* Mobile Dashboard Sidebar Hamburger */
.dash-mobile-nav-toggle {
  display: none;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--primary-orange);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.dash-mobile-nav-toggle:hover {
  background: var(--primary-orange);
  color: #000;
}

/* Whitelist Option Selection Cards */
.option-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.option-label:hover {
  background: rgba(255, 107, 0, 0.05);
  border-color: rgba(255, 107, 0, 0.35);
}

.option-label:has(input:checked) {
  background: rgba(255, 107, 0, 0.12) !important;
  border-color: var(--primary-orange) !important;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.25);
}

/* Switch Toggle Styling */
.switch-toggle input:checked + .switch-slider {
  background-color: var(--primary-orange) !important;
}

.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(26px);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

/* ==========================================================================
   FLAWLESS MOBILE & TABLET RESPONSIVE SYSTEM (992px, 768px, 480px)
   ========================================================================== */

/* Universal Overflow Protection */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Base Mobile Toggle Style */
.dash-mobile-nav-toggle {
  display: none;
  background: rgba(255, 107, 0, 0.14);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--primary-orange);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.dash-mobile-nav-toggle:hover,
.dash-mobile-nav-toggle:active {
  background: var(--primary-orange);
  color: #000;
}

/* Option Cards for Whitelist Quiz */
.option-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.option-label:hover {
  background: rgba(255, 107, 0, 0.05);
  border-color: rgba(255, 107, 0, 0.35);
}

.option-label:has(input:checked) {
  background: rgba(255, 107, 0, 0.12) !important;
  border-color: var(--primary-orange) !important;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.25);
}

/* Switch Toggle Styling */
.switch-toggle input:checked + .switch-slider {
  background-color: var(--primary-orange) !important;
}

.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(26px);
}

/* ==========================================================================
   BREAKPOINT: Max Width 992px (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
  /* Main Page Header & Mobile Nav */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #FFF;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
  }

  .mobile-toggle:hover,
  .mobile-toggle:active {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: rgba(255, 107, 0, 0.1);
  }

  .nav-pill-bar {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(8, 8, 14, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-top: 1px solid rgba(255, 107, 0, 0.25) !important;
    border-bottom: 1px solid rgba(255, 107, 0, 0.25) !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    padding: 1.2rem 1.4rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    z-index: 99999 !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    display: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9) !important;
  }

  .nav-pill-bar.show {
    display: flex !important;
    animation: mobileMenuSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes mobileMenuSlide {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .npill {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    border-radius: 10px !important;
    text-align: right;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
  }

  [dir="ltr"] .npill {
    text-align: left;
  }

  /* Main Hero Section Mobile Alignment */
  .hero-section {
    padding: 3rem 0 3.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    padding: 0 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-left {
    text-align: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-title-group {
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-massive-title {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .hmt-stacked {
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 0.35rem !important;
  }

  .hmt-word {
    font-size: clamp(2.2rem, 8.5vw, 3.4rem) !important;
    letter-spacing: -0.5px !important;
  }

  .hmt-rp {
    font-size: 0.75rem !important;
    letter-spacing: 4px !important;
    margin-top: 0.4rem !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    padding: 0 0.5rem !important;
  }

  .hero-cta {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .hero-btn-primary,
  .hero-btn-discord,
  .hero-btn-trailer {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-right {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .server-portal-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ==========================================================
     DASHBOARD MODAL & DRAWER SYSTEM (TABLETS & MOBILE <= 992px)
     ========================================================== */
  .dashboard-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    direction: ltr !important;
    text-align: left !important;
  }

  .dash-topbar {
    width: 100% !important;
    max-width: 100vw !important;
    height: 56px !important;
    padding: 0 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: hidden !important;
  }

  .dash-topbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .dash-mobile-nav-toggle {
    display: inline-flex !important;
  }

  .dash-topbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
  }

  .dash-topbar-logo {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
  }

  .dash-topbar-text .dtt-main {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  .dash-topbar-text .dtt-sub {
    display: none !important;
  }

  .dash-topbar-badge {
    display: none !important;
  }

  .dash-topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    flex-shrink: 0 !important;
  }

  .dash-topbar-admin-chip {
    padding: 0.2rem 0.5rem !important;
  }

  .dash-top-name {
    display: none !important;
  }

  .dash-close-pill-btn {
    padding: 0.35rem 0.7rem !important;
    font-size: 0.75rem !important;
  }

  .dash-close-pill-btn span {
    display: none !important;
  }

  .dashboard-layout {
    width: 100% !important;
    max-width: 100vw !important;
    height: calc(100% - 56px) !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* Sidebar Drawer: slide from left, invisible when closed to prevent horizontal overflow */
  .dash-sidebar {
    position: fixed !important;
    top: 56px !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 285px !important;
    max-width: 82vw !important;
    z-index: 9999 !important;
    background: #0B0D14 !important;
    border-right: 1px solid rgba(255, 107, 0, 0.3) !important;
    border-left: none !important;
    box-shadow: 15px 0 50px rgba(0, 0, 0, 0.95) !important;
    transform: translateX(-100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s !important;
  }

  .dash-sidebar.mobile-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .dash-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: 56px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
  }

  .dash-sidebar-backdrop.show {
    display: block !important;
  }

  /* Content area: full width without side overflow */
  .dash-content {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 1.1rem 0.85rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
  }

  .dash-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.85rem !important;
  }

  .dash-title-group {
    width: 100% !important;
  }

  .dash-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    word-break: break-word !important;
  }

  .dash-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }

  .dash-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .dash-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
  }

  .dash-stat-card {
    width: 100% !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
  }

  .dash-charts-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .dash-chart-card {
    width: 100% !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
  }

  /* Responsive Tables */
  .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    margin-bottom: 1rem;
    border-radius: 8px;
  }

  .table th, .table td {
    white-space: nowrap;
    padding: 0.7rem 0.6rem;
    font-size: 0.85rem;
  }

  /* Modals on Mobile */
  .modal-box {
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
    margin: 1rem auto !important;
    padding: 1.2rem !important;
  }
}

/* ==========================================================================
   BREAKPOINT: Max Width 576px (Small Phones)
   ========================================================================== */
@media (max-width: 576px) {
  .header-actions {
    gap: 0.35rem !important;
  }

  #userGlobalName {
    display: none !important;
  }

  .user-btn {
    padding: 0.25rem 0.5rem !important;
  }

  .lang-btn {
    padding: 0.32rem 0.55rem !important;
    font-size: 0.78rem !important;
  }

  .logo-text {
    font-size: 1.05rem !important;
  }

  .logo-img {
    width: 36px !important;
    height: 36px !important;
  }

  .hero-live-badge {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.8rem !important;
  }

  .hmt-word {
    font-size: clamp(1.85rem, 8vw, 2.5rem) !important;
  }

  .quiz-card {
    padding: 1.2rem 0.85rem !important;
  }

  .quiz-q-box {
    padding: 1.2rem 0.85rem !important;
  }

  .quiz-form-header h3 {
    font-size: 1.2rem !important;
  }
}