/* ==========================================================================
   KIERAGG BOJÓWKA - ULTRA-CLEAN MONOCHROME TACTICAL PORTAL
   Theme: Pure Obsidian Black, Crisp White, Minimalist Electric Spark
   Tactical HUD aesthetics, razor-sharp typography, zero clutter
   ========================================================================== */

:root {
  /* Core Palette - Dominant Black & White */
  --bg-deep: #040507;
  --bg-base: #07080c;
  --bg-surface: #0e1017;
  --bg-surface-hover: #151822;
  --bg-card: rgba(14, 16, 23, 0.75);
  --bg-card-hover: rgba(22, 26, 36, 0.9);
  --bg-elevated: #161924;

  /* Stark Contrast Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-white: rgba(255, 255, 255, 0.28);
  --border-active: #ffffff;

  /* Typography */
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Restrained, Minimal Blue Spark (Used sparsely) */
  --blue-spark: #2563eb;
  --blue-cyan: #38bdf8;
  --blue-glow-subtle: 0 0 20px rgba(56, 189, 248, 0.18);

  /* Status Colors */
  --status-green: #10b981;
  --status-warn: #f59e0b;
  --status-red: #ef4444;

  /* Discord */
  --discord-blurple: #5865f2;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --nav-height: 72px;
  --container-max: 1180px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.18s var(--ease);
  --trans-normal: 0.3s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(1px 1px at 20px 20px, rgba(255, 255, 255, 0.04), transparent),
    radial-gradient(1px 1px at 60px 60px, rgba(255, 255, 255, 0.02), transparent);
  background-size: 80px 80px;
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #1c1f2b;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

::selection {
  background: #ffffff;
  color: #000000;
}

/* ==========================================================================
   ULTRA-CLEAN TACTICAL INTRO SCREEN (MONOCHROME HUD STYLE)
   ========================================================================== */
#intro-screen {
  position: fixed;
  inset: 0;
  background: #030406;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s var(--ease), visibility 0.65s;
}

#intro-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Tactical Corner Brackets */
.intro-hud-bracket {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}
.intro-bracket-tl { top: 2.5rem; left: 2.5rem; border-top: 2px solid; border-left: 2px solid; }
.intro-bracket-tr { top: 2.5rem; right: 2.5rem; border-top: 2px solid; border-right: 2px solid; }
.intro-bracket-bl { bottom: 2.5rem; left: 2.5rem; border-bottom: 2px solid; border-left: 2px solid; }
.intro-bracket-br { bottom: 2.5rem; right: 2.5rem; border-bottom: 2px solid; border-right: 2px solid; }

.intro-ambient-light {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 70%);
  filter: blur(40px);
  animation: introBreathing 3s ease-in-out infinite alternate;
}

.intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  padding: 1.5rem;
}

/* Top Monospace Telemetry */
.intro-telemetry {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.intro-telemetry span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.intro-logo-box {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.intro-logo-ring-clean {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.06);
}

.intro-logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.25));
  animation: introLogoFade 1.2s var(--ease);
}

.intro-title-clean {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.intro-title-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: #ffffff;
  color: #000000;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-xs);
  letter-spacing: 1px;
}

.intro-motto {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* 3.0s Tactical Checklist HUD */
.intro-modules-box {
  width: 100%;
  max-width: 440px;
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.25rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.intro-modules-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.45rem;
  margin-bottom: 0.65rem;
}

.intro-mod-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.32rem 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  transition: all var(--trans-fast);
}

.intro-mod-item .mod-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.intro-mod-item .mod-dot {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--trans-fast);
}

.intro-mod-item .mod-status {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* State: Loading (pulsing) */
.intro-mod-item.loading .mod-info {
  color: #ffffff;
}
.intro-mod-item.loading .mod-dot {
  color: #38bdf8;
  animation: dotPulse 0.8s infinite alternate;
}
.intro-mod-item.loading .mod-status {
  color: #38bdf8;
}

/* State: Done (checked) */
.intro-mod-item.done .mod-info {
  color: #ffffff;
}
.intro-mod-item.done .mod-dot {
  color: var(--status-green);
}
.intro-mod-item.done .mod-status {
  color: var(--status-green);
}

@keyframes dotPulse {
  0% { opacity: 0.3; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.3); }
}

/* Monospace Progress Counter */
.intro-loader-row {
  width: 100%;
  max-width: 440px;
  margin-bottom: 0.65rem;
}

.intro-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

.intro-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  transition: width 0.05s linear;
}

.intro-bottom-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.intro-skip-clean {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  letter-spacing: 1px;
  transition: all var(--trans-fast);
}

.intro-skip-clean:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

@keyframes introBreathing {
  0% { transform: scale(0.9); opacity: 0.3; }
  100% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes introLogoFade {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
/* ==========================================================================
   NAVIGATION BAR (ULTRA-CLEAN MODERN GLASSMORPHISM)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(6, 8, 12, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  transition: background var(--trans-normal), border-color var(--trans-normal);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  gap: 1.5rem;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: transform var(--trans-fast);
}

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

.brand-logo-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
  transition: filter var(--trans-fast), transform var(--trans-fast);
}

.nav-brand:hover .brand-logo-img {
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.5));
  transform: scale(1.05);
}

.brand-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--status-green);
  border: 2px solid #06080c;
  box-shadow: 0 0 8px var(--status-green);
  animation: pingDot 2.2s infinite ease-in-out;
}

@keyframes pingDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-badge {
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Nav Center Menu */
.nav-center-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modern Segmented Pill Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  list-style: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 9999px;
  gap: 3px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.04), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.46rem 1.05rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.3px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
}

.nav-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-tab-btn.active {
  background: #ffffff;
  color: #05070a;
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(255, 255, 255, 0.28);
}

.nav-tab-btn.nav-tab-special {
  color: #f8fafc;
}

.nav-tab-btn.nav-tab-special .star-pill {
  color: #fbbf24;
  font-size: 0.9rem;
  line-height: 1;
}

.nav-tab-btn.nav-tab-special.active .star-pill {
  color: #d97706;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* QUICK SPOTIFY LAUNCHER PILL IN NAVBAR */
.nav-spotify-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid rgba(29, 185, 84, 0.35);
  border-radius: 9999px;
  padding: 0.32rem 0.75rem 0.32rem 0.4rem;
  cursor: pointer;
  color: #ffffff;
  transition: all var(--trans-fast);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.nav-spotify-pill:hover {
  border-color: #1db954;
  background: rgba(14, 18, 28, 0.95);
  box-shadow: 0 0 16px rgba(29, 185, 84, 0.3);
  transform: translateY(-1px);
}

.nav-sp-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(29, 185, 84, 0.5);
  box-shadow: 0 0 8px rgba(29, 185, 84, 0.25);
  transition: transform var(--trans-fast);
}

.nav-spotify-pill.playing .nav-sp-icon-wrap {
  animation: vinylRotate 6s linear infinite;
  border-color: #1db954;
  box-shadow: 0 0 12px rgba(29, 185, 84, 0.5);
}

.nav-sp-details {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.nav-sp-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1db954;
}

.nav-sp-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav mini equalizer */
.nav-sp-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  padding: 0 2px;
}

.nav-sp-equalizer span {
  width: 2px;
  height: 3px;
  background: #1db954;
  border-radius: 1px;
  transition: height 0.15s ease;
}

.nav-spotify-pill.playing .nav-sp-equalizer span:nth-child(1) { animation: eqBounce 0.7s infinite alternate ease-in-out; }
.nav-spotify-pill.playing .nav-sp-equalizer span:nth-child(2) { animation: eqBounce 0.5s infinite alternate ease-in-out 0.2s; }
.nav-spotify-pill.playing .nav-sp-equalizer span:nth-child(3) { animation: eqBounce 0.8s infinite alternate ease-in-out 0.1s; }

.nav-sp-arrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-left: 2px;
  transition: transform var(--trans-fast), color var(--trans-fast);
}

.nav-spotify-pill:hover .nav-sp-arrow {
  color: #1db954;
  transform: translateX(-2px);
}

/* Audio SFX Button */
.btn-audio-sfx {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-audio-sfx:hover, .btn-audio-sfx.active {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* Discord Button */
.btn-discord-clean {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 9999px;
  padding: 0.46rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--trans-fast);
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.2);
}

.btn-discord-clean:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   SPOTIFY SLIDE-OUT FLYOUT (NA ŚRODKU PO PRAWEJ STRONIE EKRANU ZE STRZAŁKĄ)
   ========================================================================== */
.spotify-flyout-drawer {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(100%);
  z-index: 1200;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.spotify-flyout-drawer.open {
  transform: translateY(-50%) translateX(0);
}

/* Protruding handle on the right screen edge */
.sp-drawer-handle {
  position: absolute;
  left: -48px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 10, 15, 0.94);
  border: 1px solid rgba(29, 185, 84, 0.45);
  border-right: none;
  border-radius: 14px 0 0 14px;
  padding: 12px 8px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.65), 0 0 18px rgba(29, 185, 84, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  transition: all 0.25s var(--ease);
  user-select: none;
}

.sp-drawer-handle:hover {
  background: rgba(12, 16, 24, 0.98);
  border-color: #1db954;
  box-shadow: -10px 0 35px rgba(29, 185, 84, 0.45), 0 0 24px rgba(29, 185, 84, 0.35);
  transform: translateY(-50%) translateX(-4px);
}

.sp-handle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1db954;
  transition: transform 0.35s var(--ease);
}

.spotify-flyout-drawer.open .sp-handle-arrow {
  transform: rotate(180deg);
}

.sp-handle-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-handle-spotify-icon {
  filter: drop-shadow(0 0 6px rgba(29, 185, 84, 0.6));
}

.spotify-flyout-drawer.playing .sp-handle-spotify-icon {
  animation: vinylRotate 6s linear infinite;
}

/* Handle Equalizer */
.sp-handle-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sp-handle-eq span {
  width: 2px;
  height: 3px;
  background: #1db954;
  border-radius: 1px;
  transition: height 0.15s ease;
}

.spotify-flyout-drawer.playing .sp-handle-eq span:nth-child(1) { animation: eqBounce 0.6s infinite alternate ease-in-out; }
.spotify-flyout-drawer.playing .sp-handle-eq span:nth-child(2) { animation: eqBounce 0.4s infinite alternate ease-in-out 0.15s; }
.spotify-flyout-drawer.playing .sp-handle-eq span:nth-child(3) { animation: eqBounce 0.8s infinite alternate ease-in-out 0.25s; }
.spotify-flyout-drawer.playing .sp-handle-eq span:nth-child(4) { animation: eqBounce 0.5s infinite alternate ease-in-out 0.1s; }

.sp-handle-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
}

/* Drawer Card Panel */
.sp-drawer-panel {
  width: 350px;
  max-width: 92vw;
  background: rgba(8, 10, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: none;
  border-radius: 20px 0 0 20px;
  padding: 1.35rem 1.4rem;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(29, 185, 84, 0.18);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
}

/* Panel Header */
.sp-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.sp-panel-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sp-panel-logo-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(29, 185, 84, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.35);
}

.sp-panel-title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.sp-panel-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.sp-panel-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.sp-panel-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
  transform: scale(1.05);
}

/* Vinyl Stage */
.sp-vinyl-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
}

.sp-vinyl-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 185, 84, 0.35) 0%, rgba(29, 185, 84, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.spotify-flyout-drawer.playing .sp-vinyl-glow {
  opacity: 1;
  animation: glowPulse 2.5s infinite alternate ease-in-out;
}

@keyframes glowPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.sp-vinyl-disc {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #181a20 0%, #0c0d12 28%, #1f232b 30%, #0d0f14 55%, #242933 57%, #0a0c10 80%, #050608 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

.spotify-flyout-drawer.playing .sp-vinyl-disc {
  animation: vinylRotate 5s linear infinite;
}

.sp-vinyl-center {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid #1db954;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.5);
}

.sp-vinyl-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Vinyl Live Equalizer in corner */
.sp-drawer-panel .sp-equalizer {
  position: absolute;
  right: 15px;
  bottom: 12px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.sp-drawer-panel .sp-eq-bar {
  width: 2.5px;
  background: #1db954;
  border-radius: 1px;
  height: 3px;
  transition: height 0.15s ease;
}

.spotify-flyout-drawer.playing .bar-1 { animation: eqBounce 0.7s infinite alternate ease-in-out; }
.spotify-flyout-drawer.playing .bar-2 { animation: eqBounce 0.5s infinite alternate ease-in-out 0.2s; }
.spotify-flyout-drawer.playing .bar-3 { animation: eqBounce 0.9s infinite alternate ease-in-out 0.1s; }
.spotify-flyout-drawer.playing .bar-4 { animation: eqBounce 0.6s infinite alternate ease-in-out 0.3s; }
.spotify-flyout-drawer.playing .bar-5 { animation: eqBounce 0.8s infinite alternate ease-in-out 0.15s; }

/* Track Details */
.sp-track-details {
  text-align: left;
}

.sp-track-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.sp-track-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(29, 185, 84, 0.15);
  border: 1px solid rgba(29, 185, 84, 0.35);
  color: #1db954;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.8px;
}

.sp-bitrate-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.sp-title-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.sp-drawer-panel .sp-track-title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-drawer-panel .sp-track-artist {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* Scrubber */
.sp-scrub-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sp-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.sp-drawer-panel .sp-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  overflow: visible;
  transition: height var(--trans-fast);
}

.sp-drawer-panel .sp-progress-track:hover {
  height: 7px;
}

.sp-drawer-panel .sp-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #1db954 100%);
  border-radius: 9999px;
  position: relative;
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.5);
}

.sp-progress-glow-head {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.sp-drawer-panel .sp-progress-track:hover .sp-progress-glow-head {
  opacity: 1;
}

/* Primary Controls */
.sp-main-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.2rem 0;
}

.sp-btn-side {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.sp-btn-side:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #ffffff;
  transform: scale(1.08);
}

.sp-btn-hero-play {
  background: #1db954;
  color: #000000;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(29, 185, 84, 0.55);
  transition: all var(--trans-fast);
}

.sp-btn-hero-play:hover {
  transform: scale(1.1);
  box-shadow: 0 0 32px rgba(29, 185, 84, 0.75);
  background: #22c55e;
}

.sp-btn-hero-play:active {
  transform: scale(0.96);
}

/* Volume Row */
.sp-volume-bar-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.75rem;
}

.sp-drawer-panel .sp-vol-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--trans-fast);
}

.sp-drawer-panel .sp-vol-btn:hover {
  color: #ffffff;
}

.sp-drawer-panel .sp-vol-slider {
  flex: 1;
  height: 4px;
  accent-color: #1db954;
  cursor: pointer;
}

.sp-vol-val {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  width: 32px;
  text-align: right;
}

/* Playlist Section Inside Drawer */
.sp-playlist-section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

.sp-playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.sp-playlist-count {
  color: #1db954;
}

.sp-tracklist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 120px;
  overflow-y: auto;
}

.sp-tracklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-align: left;
}

.sp-tracklist-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.sp-tracklist-item.active {
  background: rgba(29, 185, 84, 0.12);
  border-color: rgba(29, 185, 84, 0.45);
}

.sp-tracklist-item-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow: hidden;
}

.sp-tracklist-idx {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  width: 14px;
}

.sp-tracklist-item.active .sp-tracklist-idx {
  color: #1db954;
  font-weight: 700;
}

.sp-tracklist-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.15;
}

.sp-tracklist-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-tracklist-artist {
  font-size: 0.62rem;
  color: var(--text-muted);
}

.sp-tracklist-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #1db954;
  flex-shrink: 0;
}

/* Drawer Footer */
.sp-drawer-footer {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.5px;
}

/* Backdrop */
.sp-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.btn-discord-clean {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-xs);
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-discord-clean:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* User Badge */
.user-profile-badge {
  display: none;
  position: relative;
}

.user-profile-trigger {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 0.25rem 0.65rem 0.25rem 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.user-avatar-small {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ffffff;
}

.user-name-small {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.user-role-small {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 0.85rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1001;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.user-dropdown.show { display: flex; }

.dropdown-meta {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.dropdown-meta strong { color: #fff; display: block; font-size: 0.85rem; }

.dropdown-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  padding: 0.4rem;
  border-radius: var(--radius-xs);
  text-align: left;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.dropdown-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.dropdown-btn.logout { color: var(--status-red); border-top: 1px solid var(--border-subtle); margin-top: 0.2rem; padding-top: 0.5rem; }

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   VIEW CONTAINER & VIEW SYSTEM
   ========================================================================== */
.view-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem 1.5rem;
  min-height: calc(100vh - var(--nav-height) - 130px);
}

.view-section {
  display: none;
  animation: viewFade 0.3s var(--ease);
}

.view-section.active { display: block; }

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

/* Header inside views */
.view-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.view-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.view-title {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   VIEW 1: GŁÓWNA (HOME - ULTRA-CLEAN TACTICAL REDESIGN)
   ========================================================================== */
.home-clean-box {
  text-align: center;
  padding: 2.75rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--border-light);
  background: rgba(14, 17, 25, 0.7);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.tag-divider {
  color: rgba(255, 255, 255, 0.2);
}

.tag-sub {
  color: var(--text-secondary);
}

.tag-online {
  color: var(--status-green);
  font-weight: 800;
}

.dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 8px var(--status-green);
}

.home-hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5.5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: #ffffff;
  max-width: 880px;
  margin-bottom: 1.25rem;
}

.hero-white-glow {
  color: #ffffff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.35);
}

.home-hero-desc {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

/* ==========================================================================
   HERO DUAL ACTIONS: DISCORD DIRECT JOIN + F8 CONNECT
   ========================================================================== */
.hero-dual-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  width: 100%;
  max-width: 860px;
  margin-bottom: 3.25rem;
}

.hero-action-card {
  background: rgba(12, 15, 23, 0.88);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  text-align: left;
  position: relative;
  transition: all var(--trans-fast);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* Discord Card */
.hero-discord-card {
  cursor: pointer;
  border-color: rgba(88, 101, 242, 0.35);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.08) 0%, rgba(12, 15, 23, 0.9) 100%);
}

.hero-discord-card:hover {
  border-color: #5865F2;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.16) 0%, rgba(16, 20, 32, 0.95) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(88, 101, 242, 0.2);
}

.dc-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: #5865F2;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
}

/* F8 Card */
.hero-f8-card {
  cursor: pointer;
}

.hero-f8-card:hover {
  border-color: #ffffff;
  background: rgba(18, 22, 33, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 255, 255, 0.08);
}

.f8-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.f8-key-pill {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-card-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.hero-card-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.hero-card-headline {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.f8-value-text {
  font-size: 0.88rem;
  color: #ffffff;
}

.hero-card-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dot-live-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 6px var(--status-green);
  display: inline-block;
}

.btn-copy-pill {
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

.btn-copy-pill:hover {
  background: #e2e8f0;
  transform: scale(1.04);
}

/* ==========================================================================
   CATEGORY BENTO GRID (BALANCED 2x2 GRID)
   ========================================================================== */
.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 860px;
  margin-bottom: 3.5rem;
}

.cat-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 1.75rem 1.6rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: all var(--trans-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 195px;
}

.cat-item-card:hover {
  background: var(--bg-card-hover);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.05);
}

.cat-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cat-item-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.cat-status-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--status-green);
  color: var(--status-green);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.cat-tag-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.cat-item-heading {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.cat-item-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.cat-item-arrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Featured Owner Card */
.cat-card-featured {
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, rgba(20, 24, 35, 0.95) 0%, rgba(12, 14, 20, 0.95) 100%);
}

.cat-featured-avatars {
  display: flex;
  align-items: center;
  gap: -6px;
  margin-bottom: 0.85rem;
}

.cat-mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  overflow: hidden;
  margin-right: -8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.cat-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-owners-pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  background: #ffffff;
  color: #000000;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

/* PP Recruitment Card */
.cat-card-pp {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(18, 22, 32, 0.95) 0%, rgba(10, 13, 19, 0.95) 100%);
}

.cat-card-spark {
  border-color: rgba(56, 189, 248, 0.25);
}
.cat-card-spark:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.15);
}

/* Stats ticker */
.stats-clean-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.stat-clean-item {
  text-align: center;
}

.stat-clean-num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-clean-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SURPRISE FEATURES (VIEW: STREFA BOJÓWKI - CROSSHAIR STUDIO & AIM REFLEX)
   ========================================================================== */
.tactical-tools-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

/* Tool 1: Interactive Crosshair Generator */
.crosshair-studio-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 2rem;
}

.studio-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.studio-title-row h3 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.studio-preview-screen {
  width: 100%;
  height: 240px;
  background: #090a10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

/* Background Crosshair Lines */
.preview-grid-cross {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

#crosshair-canvas {
  position: relative;
  z-index: 2;
}

/* Studio Controls */
.studio-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.control-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.control-range {
  width: 100%;
  accent-color: #ffffff;
  cursor: pointer;
}

.color-picker-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.color-dot-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--trans-fast);
}

.color-dot-btn:hover, .color-dot-btn.active {
  transform: scale(1.2);
  border-color: #fff;
}

.studio-buttons-row {
  display: flex;
  gap: 0.75rem;
}

.btn-tactical-white {
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--trans-fast);
}

.btn-tactical-white:hover { background: #e2e8f0; }

.btn-tactical-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  flex: 1;
  transition: all var(--trans-fast);
}

.btn-tactical-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* Tool 2: Aim Reflex Tester */
.reflex-tester-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.reflex-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.reflex-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.reflex-screen-area {
  height: 200px;
  background: #090a10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
  margin-bottom: 1.25rem;
  text-align: center;
  padding: 1.5rem;
}

.reflex-screen-area.waiting { background: #161822; }
.reflex-screen-area.now { background: #10b981; color: #000; font-weight: 800; }
.reflex-screen-area.too-early { background: #ef4444; }

.reflex-main-text {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.reflex-help-text {
  font-size: 0.8rem;
  opacity: 0.8;
}

.reflex-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.reflex-score-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.reflex-score-rank {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* ==========================================================================
   VIEW 2: REGULAMIN BOJÓWKI (MONOCHROME ACCORDION)
   ========================================================================== */
.rules-search-clean {
  position: relative;
  max-width: 580px;
  margin: 0 auto 1.5rem auto;
}

.rules-search-clean input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 0.8rem 1.2rem 0.8rem 2.8rem;
  font-size: 0.92rem;
  color: #fff;
  font-family: var(--font-main);
  transition: all var(--trans-fast);
}

.rules-search-clean input:focus {
  outline: none;
  border-color: #ffffff;
}

.rules-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.rules-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.pill-clean-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.pill-clean-btn:hover { border-color: #fff; color: #fff; }
.pill-clean-btn.active { background: #fff; color: #000; border-color: #fff; font-weight: 700; }

.rules-list-clean {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 860px;
  margin: 0 auto;
}

/* Sekcje regulaminu z neonowym paskiem jak na screenshotach */
.rules-section-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.2rem 0 0.85rem 0;
  padding-bottom: 0.4rem;
}

.rules-section-divider:first-of-type {
  margin-top: 0.5rem;
}

.section-bar {
  width: 4px;
  height: 22px;
  background: #00ffaa;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 170, 0.45);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}

/* Pojedyncza karta zasady */
.rule-clean-item {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem 1.35rem;
  transition: all var(--trans-fast);
}

.rule-clean-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: #0e1422;
  transform: translateX(2px);
}

.rule-clean-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.rule-clean-content:not(:has(.rule-sub-bullets)) {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}

.rule-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.rule-sep {
  color: var(--text-muted);
  flex-shrink: 0;
}

.rule-text {
  color: #e2e8f0;
  flex: 1;
}

.rule-lead-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.badge-gz {
  color: #10b981;
  font-weight: 700;
}

.badge-rz {
  color: #ef4444;
  font-weight: 700;
}

.badge-discord-channel {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--trans-fast);
}

.badge-discord-channel:hover {
  color: #ffffff;
}

.rule-sub-bullets {
  margin: 0.5rem 0 0 1.5rem;
  padding: 0;
  list-style-type: disc;
  color: #cbd5e1;
}

.rule-sub-bullets li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.rule-numbered-bullets {
  list-style-type: none;
  margin-left: 0.2rem;
}

.rule-numbered-bullets li {
  margin-bottom: 0.65rem;
  line-height: 1.55;
}


/* ==========================================================================
   VIEW 3: DISCORDY & SERWERY FRAKCYJNE
   ========================================================================== */
/* Factions Ribbon on Hero Home */
.hero-factions-dc-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0 2rem 0;
  flex-wrap: wrap;
}

.factions-dc-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.factions-dc-pills-wrap {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.faction-dc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.4rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ffffff;
  text-decoration: none;
  transition: all var(--trans-fast);
}

.faction-dc-chip .chip-url {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.faction-dc-chip:hover {
  transform: translateY(-2px);
}

.faction-dc-chip.chip-crime:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.faction-dc-chip.chip-sasp:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.faction-dc-chip.chip-lsc:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

/* DC Quick Links Strip */
.dc-connected-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  max-width: 900px;
  margin: 0 auto 2rem auto;
}

.dc-strip-item {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dc-strip-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
}

.dc-strip-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  transition: color var(--trans-fast);
}

.dc-strip-link:hover {
  color: #ffffff;
}

.dc-link-crime { color: #f87171 !important; }
.dc-link-sasp { color: #60a5fa !important; }
.dc-link-lsc { color: #fbbf24 !important; }

/* Grid of Discord Cards */
.discord-grid-clean {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
}

.dc-card-mono {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-fast);
}

.dc-card-mono:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-white);
  transform: translateY(-3px);
}

.dc-card-wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.dc-card-wide .dc-wide-content {
  flex: 1;
}

.dc-card-wide .dc-card-btn-group {
  margin-top: 0;
  flex-shrink: 0;
  min-width: 240px;
}

@media (max-width: 768px) {
  .dc-card-wide {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .dc-card-wide .dc-card-btn-group {
    width: 100%;
  }
}

.dc-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dc-tag-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Discord Card Title Row & Sublink */
.dc-card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.dc-card-icon-big {
  font-size: 1.8rem;
  line-height: 1;
}

.dc-card-name {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.15rem;
}

.dc-card-sublink {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dc-card-info {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Status Pills */
.dc-status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.dc-pill-purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.dc-pill-red {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.dc-pill-blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
}

.dc-pill-amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

/* Card Button Group */
.dc-card-btn-group {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.dc-card-btn-group .btn-dc-action {
  flex: 1;
}

.btn-dc-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 0.65rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-xs);
  transition: all var(--trans-fast);
}

.btn-dc-action:hover {
  background: #ffffff;
  color: #000000;
}

.btn-dc-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-dc-copy:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
}

/* Faction Card Specific Hovers */
.dc-card-crime:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(239, 68, 68, 0.15);
}
.btn-dc-crime:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

.dc-card-sasp:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(59, 130, 246, 0.15);
}
.btn-dc-sasp:hover {
  background: #3b82f6 !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
}

.dc-card-lsc:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15);
}
.btn-dc-lsc:hover {
  background: #f59e0b !important;
  color: #000000 !important;
  border-color: #f59e0b !important;
}

.dc-card-main:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(168, 85, 247, 0.15);
}
.btn-dc-main:hover {
  background: #a855f7 !important;
  color: #ffffff !important;
  border-color: #a855f7 !important;
}

/* ==========================================================================
   VIEW 4: SKŁAD & WYMAGANIA
   ========================================================================== */
.roster-grid-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.roster-card-mono {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 1.4rem;
  text-align: center;
  transition: all var(--trans-fast);
}

.roster-card-mono:hover {
  border-color: var(--border-white);
  transform: translateY(-3px);
}

.roster-tier {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.roster-name-big {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.roster-desc-line {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.req-box-clean {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.req-box-clean h3 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

.req-items-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.req-single-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.req-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.req-single-row strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
}

.req-single-row span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   VIEW 5: REKRUTACJA
   ========================================================================== */
.recruit-form-box {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 2.25rem;
}

.form-row-clean {
  margin-bottom: 1.2rem;
}

.form-row-clean label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.form-row-clean input {
  width: 100%;
  background: rgba(5, 6, 9, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 0.7rem 0.95rem;
  font-size: 0.88rem;
  color: #fff;
  font-family: var(--font-main);
  transition: all var(--trans-fast);
}

.form-row-clean input:focus {
  outline: none;
  border-color: #ffffff;
}

.form-row-clean input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-send-recruit {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all var(--trans-fast);
}

.btn-send-recruit:hover { background: #e2e8f0; }

/* ==========================================================================
   MODAL (DISCORD AUTH)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  width: 100%;
  max-width: 440px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  transform: translateY(12px);
  transition: all var(--trans-normal);
}

.modal-overlay.open .modal-card { transform: translateY(0); }

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close-btn:hover { color: #fff; }

.modal-title {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.modal-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.modal-badge-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #5865f2;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* File Protocol Warning Box */
.file-protocol-warning {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-xs);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
}

.warning-icon {
  font-size: 1.1rem;
  line-height: 1.2;
}

.warning-content strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ef4444;
  display: block;
  margin-bottom: 0.2rem;
}

.warning-content p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.warning-step {
  font-size: 0.72rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}

.warning-step code {
  color: #38bdf8;
  font-family: var(--font-mono);
}

/* Big Hero Discord OAuth2 Button */
.btn-discord-oauth-hero {
  width: 100%;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.45);
  transition: all var(--trans-fast);
  margin-bottom: 0.85rem;
}

.btn-discord-oauth-hero:hover {
  background: linear-gradient(135deg, #6775f5 0%, #525ee5 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.65);
}

.btn-discord-oauth-hero:active {
  transform: translateY(0);
}

.discord-hero-svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.oauth-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
  flex: 1;
}

.oauth-btn-text strong {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.oauth-btn-text span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.8);
}

.oauth-arrow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform var(--trans-fast);
}

.btn-discord-oauth-hero:hover .oauth-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   CLEAN DISCORD OAUTH MODAL (MINIMALIST & AESTHETIC)
   ========================================================================== */
.modal-card-discord-clean {
  max-width: 440px;
  background: radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.18) 0%, rgba(10, 12, 16, 0.98) 75%);
  border: 1px solid rgba(88, 101, 242, 0.4);
  box-shadow: 0 0 50px rgba(88, 101, 242, 0.3), 0 25px 50px rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-sm);
  padding: 2.2rem 2rem;
  text-align: center;
}

.dc-modal-glow-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.dc-brand-icon-halo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.4);
  animation: pulse-halo 2.5s infinite ease-in-out;
}

@keyframes pulse-halo {
  0%, 100% { box-shadow: 0 0 20px rgba(88, 101, 242, 0.3); }
  50% { box-shadow: 0 0 35px rgba(88, 101, 242, 0.6); }
}

.dc-brand-svg-glow {
  color: #5865F2;
  filter: drop-shadow(0 0 8px #5865F2);
}

.btn-discord-oauth-prime {
  width: 100%;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xs);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(88, 101, 242, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 1.25rem;
}

.btn-discord-oauth-prime:hover {
  background: linear-gradient(135deg, #6775f5 0%, #525ee5 100%);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 40px rgba(88, 101, 242, 0.75);
}

.btn-discord-oauth-prime:active {
  transform: translateY(0);
}

.oauth-prime-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.oauth-prime-right .oauth-arrow {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  transition: transform var(--trans-fast);
}

.btn-discord-oauth-prime:hover .oauth-arrow {
  transform: translateX(4px);
}

.dc-auth-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.dc-feature-pill {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.dc-feat-icon {
  font-size: 0.85rem;
}

.dc-modal-foot-info {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.dc-modal-foot-info code {
  color: #38bdf8;
}

/* ==========================================================================
   DISCORD CONNECTED STRIP & WIDGET
   ========================================================================== */
.dc-connected-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(88, 101, 242, 0.05);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
}

.dc-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dc-strip-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.dc-strip-val {
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dc-strip-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #5865F2;
  text-decoration: none;
  font-weight: 700;
  transition: color var(--trans-fast);
}

.dc-strip-link:hover {
  color: #7983f5;
  text-decoration: underline;
}

.dc-widget-embed-card {
  margin-top: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.dc-widget-header {
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dc-widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fff;
}

.btn-dc-mini-join {
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  transition: background var(--trans-fast);
}

.btn-dc-mini-join:hover {
  background: #4752C4;
}

.dc-widget-frame-wrap {
  padding: 1rem;
  background: #000;
}

.dc-widget-frame-wrap iframe {
  border: none;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   FIVEM SERVER LIVE VIEW (89.144.32.9)
   ========================================================================== */
.nav-tab-fivem .pulse-dot-green {
  margin-right: 0.35rem;
}

.fivem-status-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.fivem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.fivem-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.fivem-card-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.fivem-badge-online {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.fivem-badge-offline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.fivem-badge-live {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
}

.fivem-server-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fivem-meta-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.fivem-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fivem-meta-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

.fivem-ip-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}

.fivem-meta-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #fff;
}

.fivem-count-display {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.35rem 0;
}

.fivem-count-big {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.fivem-count-slash {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.fivem-count-max {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--text-secondary);
}

.fivem-progress-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.5rem 0 0.35rem;
}

.fivem-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #38bdf8 100%);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.fivem-progress-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.btn-fivem-direct-connect {
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  transition: all var(--trans-fast);
  margin-bottom: 0.65rem;
}

.btn-fivem-direct-connect:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.btn-fivem-refresh {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-fivem-refresh:hover {
  color: #fff;
  border-color: #fff;
}

.btn-fivem-refresh.rotating svg {
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fivem-f8-row {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.35rem 0.55rem;
  gap: 0.45rem;
}

.fivem-f8-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

.fivem-f8-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #fff;
  flex: 1;
}

.btn-fivem-copy-f8 {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--trans-fast);
}

.btn-fivem-copy-f8:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Roster Box */
.fivem-roster-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 1.5rem;
}

.fivem-roster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.fivem-roster-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fivem-roster-title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.fivem-roster-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-light);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

.fivem-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.75rem;
  width: min(320px, 100%);
}

.fivem-search-wrap svg {
  color: var(--text-muted);
}

.fivem-search-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.78rem;
  outline: none;
  width: 100%;
}

.fivem-players-container {
  min-height: 180px;
}

.fivem-table {
  width: 100%;
  border-collapse: collapse;
}

.fivem-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.fivem-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.fivem-pid {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}

.fivem-player-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fivem-player-avatar-box {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.fivem-player-name {
  color: #fff;
  font-weight: 600;
}

.fivem-ping-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

.ping-good { color: #4ade80; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); }
.ping-med { color: #facc15; background: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.3); }
.ping-bad { color: #f87171; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); }

.fivem-status-online-dot {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #4ade80;
}

/* Empty State */
.fivem-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.fivem-radar-pulse {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  position: relative;
  margin-bottom: 0.5rem;
  animation: radar-wave 2s infinite ease-out;
}

.fivem-radar-pulse.offline {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  animation: none;
}

@keyframes radar-wave {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.fivem-empty-state h4 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.fivem-empty-state p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  max-width: 420px;
}

.btn-fivem-enter {
  margin-top: 0.75rem;
  background: #22c55e;
  color: #000;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-xs);
  transition: all var(--trans-fast);
}

.btn-fivem-enter:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-2px);
}

.fivem-sync-footer {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.fivem-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #ffffff;
  color: #000000;
  border-radius: var(--radius-xs);
  padding: 0.7rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: toastIn 0.25s var(--ease) forwards;
}

.toast.toast-danger {
  background: #ef4444;
  color: #ffffff;
}

@keyframes toastIn {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  to { transform: translateX(50px); opacity: 0; }
}

/* ==========================================================================
   VIEW: WŁAŚCICIELE / OWNERZY BOJÓWKI
   ========================================================================== */
.owners-grid-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.owner-card-luxury {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 2.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all var(--trans-fast);
}

.owner-card-luxury:hover {
  background: var(--bg-card-hover);
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Luxury OWNER Badge */
.owner-pill-owner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.95rem;
  border-radius: var(--radius-full);
  letter-spacing: 1.5px;
  margin-bottom: 1.15rem;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
  animation: ownerGlow 2.5s infinite alternate ease-in-out;
}

.owner-crown {
  font-size: 0.85rem;
}

@keyframes ownerGlow {
  0% { box-shadow: 0 0 12px rgba(255, 255, 255, 0.3); }
  100% { box-shadow: 0 0 22px rgba(255, 255, 255, 0.65); }
}

.owner-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 1.25rem;
}

.owner-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.owner-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--status-green);
  border: 2px solid #000;
  box-shadow: 0 0 8px var(--status-green);
}

.owner-badge-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  background: #ffffff;
  color: #000000;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-xs);
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.owner-nick-title {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.owner-role-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.owner-id-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 100%;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.owner-desc-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.btn-owner-action {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.65rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-owner-action:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer-clean {
  border-top: 1px solid var(--border-subtle);
  padding: 2.25rem 0;
  background: #030406;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo-small {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-secondary);
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color var(--trans-fast);
}

.footer-link:hover { color: #ffffff; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .cat-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .tactical-tools-grid { grid-template-columns: 1fr; }
  .roster-grid-clean { grid-template-columns: repeat(2, 1fr); }
  .owners-grid-clean { grid-template-columns: 1fr; }
  .fivem-status-grid { grid-template-columns: 1fr; }
  .dc-connected-strip { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
  .nav-tabs {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(4, 5, 7, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 0;
    border-top: none;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform var(--trans-normal);
  }
  .nav-tabs.open { transform: translateY(0); }
  .nav-tab-btn { width: 100%; justify-content: center; }
  .hero-dual-actions { grid-template-columns: 1fr; gap: 0.85rem; }
  .cat-cards-grid { grid-template-columns: 1fr; }
  .discord-grid-clean { grid-template-columns: 1fr; }
  .owners-grid-clean { grid-template-columns: 1fr; }
  .stats-clean-strip { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .roster-grid-clean { grid-template-columns: 1fr; }
  .req-items-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .studio-controls-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 1rem; gap: 0.5rem; }
  .brand-subtitle { display: none; }
  .nav-sp-name { display: none; }
  .nav-spotify-pill { padding: 0.28rem 0.55rem; gap: 0.35rem; }
  .sp-drawer-panel { width: min(340px, 86vw); padding: 1.15rem 1.1rem; }
  .sp-drawer-handle { left: -44px; padding: 10px 6px 10px 8px; }
  .fivem-meta-row { flex-direction: column; gap: 0.5rem; }
  .fivem-roster-header { flex-direction: column; align-items: flex-start; }
  .fivem-search-wrap { width: 100%; }
}

/* =========================================================================
   RECRUITMENT CATEGORY PICKER & ADMIN DASHBOARD LUXURY STYLES
   ========================================================================= */

/* Category Selector in Recruitment Form */
.recruit-categories-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.cat-picker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.cat-picker-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

.cat-picker-pill.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.cat-pill-icon {
  font-size: 1rem;
  line-height: 1;
}

.cat-pill-name {
  font-weight: 800;
}

/* ADMIN PANEL GATE (BLOKADA) */
.admin-gate-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}

.admin-gate-card {
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2.75rem 2.25rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.06);
}

.admin-lock-icon {
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  animation: pulseLock 2s infinite ease-in-out;
}

@keyframes pulseLock {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.8)); }
}

.admin-gate-badge {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.admin-gate-title {
  font-family: var(--font-mono, monospace);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.admin-gate-desc {
  font-size: 0.86rem;
  color: #a1a1aa;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.admin-gate-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.15rem 0 0.85rem;
}
.admin-gate-divider::before, .admin-gate-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-gate-divider span {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: #71717a;
  padding: 0 0.85rem;
  letter-spacing: 1px;
}

/* ADMIN DASHBOARD */
.admin-dashboard-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  animation: fadeInAdmin 0.3s ease-out;
}

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

.admin-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1rem 1.35rem;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: #e4e4e7;
}

.admin-role-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.admin-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-admin-clear {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-admin-clear:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #ef4444;
  color: #fff;
}

.btn-admin-clean-all {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #fca5a5;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.15s ease;
}
.btn-admin-clean-all:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* Admin Stats Strip */
.admin-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.admin-stat-card {
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
}
.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.admin-stat-card.stat-pending::before { background: #facc15; }
.admin-stat-card.stat-accepted::before { background: #22c55e; }
.admin-stat-card.stat-rejected::before { background: #ef4444; }

.admin-stat-lbl {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: #71717a;
  letter-spacing: 1px;
}

.admin-stat-num {
  font-family: var(--font-mono, monospace);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

/* Admin Filters Bar */
.admin-filters-bar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1rem 1.25rem;
}

.admin-category-filters, .admin-status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-filter-btn, .admin-status-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.admin-filter-btn:hover, .admin-status-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.admin-filter-btn.active, .admin-status-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* Applications Grid */
.admin-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.35rem;
  min-height: 200px;
}

.admin-app-card {
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.admin-app-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.admin-app-card.status-pending { border-left: 3px solid #facc15; }
.admin-app-card.status-accepted { border-left: 3px solid #22c55e; }
.admin-app-card.status-rejected { border-left: 3px solid #ef4444; }

.app-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.85rem;
}

.app-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}
.cat-badge-sasp { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.4); color: #60a5fa; }
.cat-badge-lsc { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.4); color: #fbbf24; }
.cat-badge-hounds { background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.4); color: #c084fc; }
.cat-badge-admin { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.4); color: #f87171; }
.cat-badge-bojowka { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.4); color: #4ade80; }

.app-status-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}
.app-status-badge.pending { background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.4); color: #facc15; }
.app-status-badge.accepted { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); color: #4ade80; }
.app-status-badge.rejected { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.4); color: #f87171; }

.app-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-avatar-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.app-nick-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
}

.app-user-name {
  font-family: var(--font-mono, monospace);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-user-id {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: #71717a;
}

.app-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: #d4d4d8;
}

.app-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  padding: 0.75rem;
}

.app-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.app-info-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.64rem;
  color: #71717a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.app-info-val {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.app-exp-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding: 0.65rem 0.85rem;
  border-radius: 0 3px 3px 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #cbd5e1;
  max-height: 120px;
  overflow-y: auto;
}

.app-clip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  text-decoration: none;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 3px;
  transition: all 0.15s ease;
  width: fit-content;
}
.app-clip-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #fff;
}

/* Action Buttons */
.app-actions-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.btn-app-accept, .btn-app-reject {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.65rem 0.85rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-app-accept {
  background: #22c55e;
  border: 1px solid #22c55e;
  color: #000000;
}
.btn-app-accept:hover {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

.btn-app-reject {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.btn-app-reject:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}

.app-decided-stamp {
  padding: 0.55rem 0.85rem;
  border-radius: 3px;
  text-align: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.app-decided-stamp.accepted {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}
.app-decided-stamp.rejected {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.admin-apps-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: #0b0d12;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.admin-apps-empty h4 {
  font-family: var(--font-mono, monospace);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.admin-apps-empty p {
  font-size: 0.84rem;
  color: #71717a;
  max-width: 440px;
}

@media (max-width: 1024px) {
  .admin-stats-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .admin-stats-strip { grid-template-columns: 1fr; }
  .admin-top-bar { flex-direction: column; align-items: flex-start; }
  .admin-apps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   DYNAMIC RECRUITMENT QUESTIONNAIRES (SASP, LSC, HOUNDS, ADMIN, DEV)
   ========================================================================== */
.recruit-user-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

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

.recruit-dynamic-questions-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 1.5rem;
  animation: fadeInForm 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.form-section-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
  padding: 1.25rem 1.35rem;
  transition: all 0.2s ease;
}

.form-section-group:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.form-section-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #fff;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.form-section-fields {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-q-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-q-field label {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.45;
}

.recruit-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-xs, 4px);
  padding: 0.75rem 0.95rem;
  color: #ffffff;
  font-family: var(--font-main, sans-serif);
  font-size: 0.85rem;
  line-height: 1.5;
  transition: all 0.18s ease;
  resize: vertical;
}

.recruit-input:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.recruit-select {
  cursor: pointer;
}
.recruit-select option {
  background: #0b0d12;
  color: #ffffff;
}

/* Category Badge Developer */
.cat-badge-dev {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}

/* Question & Answer List in Admin Cards */
.app-qa-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.4rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs, 4px);
  padding: 0.85rem;
}

.app-qa-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.55rem;
}
.app-qa-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.app-qa-q {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

.app-qa-a {
  font-size: 0.84rem;
  color: #ffffff;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Footer Discord Links */
.footer-links-dc {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-dc-link {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.15s ease;
  letter-spacing: 0.5px;
}

.footer-dc-link:hover {
  color: #ffffff;
}

.footer-dc-link.link-crime:hover {
  color: #ef4444;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.footer-dc-link.link-sasp:hover {
  color: #3b82f6;
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.footer-dc-link.link-lsc:hover {
  color: #f59e0b;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
}

/* =========================================================================
   TACTICAL SECURITY & ANTI-DUMP USER INTERFACE SHIELD
   ========================================================================= */
body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Zezwolenie na zaznaczanie tekstu w polach formularza i polach tekstowych */
input, textarea, select {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Blokada przeciagania grafik i logotypow */
img, svg, canvas {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}



