/* ==========================================================================
   ZERION • NEO-BRUTALISM DARK DESIGN SYSTEM & COMPONENT ARCHITECTURE
   Theme: Matte Obsidian & Royal Cobalt (#090c15, Crisp 2px borders, Solid Offset Shadows)
   Zero radioactive fuzzy neon glows. Premium, ultra-responsive, agency grade.
   ========================================================================== */

:root {
  /* Surfaces - Firm Black, Glossy & Dark */
  --bg-canvas: #050505;
  --bg-surface: #0a0a0a;
  --bg-surface-elevated: #111111;
  --bg-surface-hover: #161616;
  --bg-sidebar: #080808;

  /* Neo-Brutalism Borders & Hard Shadows - Subtle for Dark Theme */
  --neo-border-dark: 2px solid #1a1a1a;
  --neo-border-blue: 2px solid #2563eb;
  --neo-border-cyan: 2px solid #0284c7;
  --neo-border-purple: 2px solid #8b5cf6;
  --neo-border-subtle: 1px solid rgba(255, 255, 255, 0.05);

  --neo-shadow-black: 4px 4px 0px #000000;
  --neo-shadow-blue: 5px 5px 0px #1d4ed8;
  --neo-shadow-cyan: 5px 5px 0px #0369a1;
  --neo-shadow-purple: 5px 5px 0px #6d28d9;

  /* Palette */
  --text-pure: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-cyan: #38bdf8;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-rose: #ef4444;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  width: 100%;
  min-height: 100%;
  background-color: #030407;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: #030407;
  background-image: url('/assets/wumpus-realistic.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* 4K ULTRA-HD FIXED TEXTURE BACKGROUND LAYER */
.bg-fixed-pattern,
.container-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-image: url('/assets/wumpus-realistic.jpg');
  background-size: cover;

  background-position: center center;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
  transition: background-image 0.35s ease-in-out;
}

/* 4K Fluid Ambient Vignette - Translucent gradient so Wumpus & sunset art is crisp & vibrant */
.bg-fixed-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(3, 4, 7, 0.2) 0%, rgba(3, 4, 7, 0.6) 100%);
  transition: background 0.3s ease;
}

/* Page content layers */
.topbar,
.hero-section,
.features-section,
.stats-section,
.pricing-section,
.page-footer,
.dash-layout,
.dash-main-content,
.container {
  position: relative;
  z-index: 1;
}

.container {

  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOPBAR NAVIGATION (Shared across pages)
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 21, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid #161d30;
  height: 70px;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #2563eb;
  border: 2px solid #1d4ed8;
  box-shadow: 2px 2px 0px #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.brand-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  background: #1e293b;
  border: 1px solid #334155;
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.15s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
}

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

/* 4-BAR LOADING WAVE (User Widget) */
.loading-wave-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #101422;
  border: 2px solid #1e293b;
  box-shadow: 2px 2px 0px #090d16;
  padding: 6px 14px;
  border-radius: 10px;
  user-select: none;
}

.loading-wave {
  width: 44px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.loading-bar {
  width: 4px;
  height: 6px;
  margin: 0 2px;
  background-color: #38bdf8;
  border-radius: 2px;
  animation: loading-wave-animation 1s ease-in-out infinite;
}

.loading-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.loading-bar:nth-child(3) {
  animation-delay: 0.2s;
}

.loading-bar:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes loading-wave-animation {
  0% {
    height: 6px;
  }

  50% {
    height: 18px;
  }

  100% {
    height: 6px;
  }
}

.ping-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
}

/* "BOTU EKLE" CIRCLE HOVER BUTTON (User Widget) */
.btn-add-bot {
  --color: #2563eb;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.4em;
  height: 2.6em;
  line-height: 2.5em;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--color);
  box-shadow: 3px 3px 0px #090d16;
  transition: color 0.4s;
  z-index: 1;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--color);
  text-decoration: none;
  background: transparent;
}

.btn-add-bot:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color);
  height: 150px;
  width: 220px;
  border-radius: 50%;
  top: 100%;
  left: 100%;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-add-bot:hover {
  color: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #090d16;
}

.btn-add-bot:hover:before {
  top: -30px;
  left: -30px;
}

.btn-add-bot:active:before {
  background: #1d4ed8;
  transition: background 0s;
}

/* Topbar Login / Panel Button */
.btn-topbar-panel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0b0d13;
  padding: 0 16px;
  height: 38px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  border: 2px solid #e2e8f0;
  box-shadow: 3px 3px 0px #090d16;
  transition: all 0.15s ease;
}

.btn-topbar-panel:hover {
  background: #f1f5f9;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #090d16;
}

.btn-topbar-panel:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px #090d16;
}

/* ==========================================================================
   NEO-BRUTALISM PRICING CARDS (User exact structure & classes)
   ========================================================================== */
.neo-pricing-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin: 40px auto;
  max-width: 860px;
}

/* User's Plan CSS Concept applied with dark glossy look */
.plan {
  border-radius: 16px;
  box-shadow: 0 30px 30px -25px rgba(0, 0, 0, 0.9), 0 0 8px 0 rgba(255, 255, 255, 0.05);
  padding: 10px;
  background-color: var(--bg-surface);
  color: var(--text-pure);
  max-width: 400px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.plan:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.plan .inner {
  align-items: center;
  padding: 24px;
  padding-top: 40px;
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan .pricing {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  border-radius: 99px 0 0 99px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  transform: translateY(-50%) translateX(-10%);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.plan.vip .pricing {
  background: linear-gradient(135deg, #a855f7 0%, #00d2ff 100%);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.plan .pricing small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  margin-left: 2px;
}

.plan .title {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-pure);
  margin-bottom: 8px;
  text-align: center;
}

.plan .info {
  margin-top: 4px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.plan .features {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  width: 100%;
  list-style: none;
  gap: 12px;
}

.plan .features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.plan .features .icon {
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.plan.vip .features .icon {
  background-color: rgba(168, 85, 247, 0.1);
  color: #00d2ff;
}

.plan .features .icon svg {
  width: 16px;
  height: 16px;
}

.plan .features strong {
  color: var(--text-pure);
  font-weight: 700;
}

.plan .action {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.plan .button {
  background-color: var(--accent-blue);
  color: #fff;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 700;
  width: 100%;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan .button:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.plan.vip .button {
  background: linear-gradient(90deg, #a855f7 0%, #00d2ff 100%);
  border: none;
}

.plan.vip .button:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES (public/index.html)
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px 0;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111627;
  border: 2px solid #1e293b;
  box-shadow: 3px 3px 0px #090d16;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto 20px auto;
}

.hero-title span {
  color: #38bdf8;
}

.hero-desc {
  font-size: 16px;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-primary-neo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #1d4ed8;
  box-shadow: 4px 4px 0px #090d16;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.15s ease;
}

.btn-primary-neo:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #090d16;
  background: #1d4ed8;
}

.btn-primary-neo:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #090d16;
}

.btn-secondary-neo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #101422;
  color: #f8fafc;
  border: 2px solid #1e293b;
  box-shadow: 4px 4px 0px #090d16;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.15s ease;
}

.btn-secondary-neo:hover {
  background: #151b2e;
  border-color: #334155;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #090d16;
}

.btn-secondary-neo:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #090d16;
}

/* Live Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  background: #0f1322;
  border: 2px solid #1a2238;
  box-shadow: 4px 4px 0px #090d16;
  padding: 24px;
  border-radius: 16px;
  margin: 30px 0 60px 0;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-val {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
}

/* Features Grid */
.features-section {
  padding: 60px 0;
}

.section-head-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-neo-card {
  background: #0f1322;
  border: 2px solid #1a2238;
  box-shadow: 4px 4px 0px #090d16;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.2s ease;
}

.feature-neo-card:hover {
  transform: translate(-2px, -2px);
  border-color: #2563eb;
  box-shadow: 6px 6px 0px #090d16;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #141b30;
  border: 2px solid #2563eb;
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Footer */
.page-footer {
  margin-top: 80px;
  border-top: 2px solid #161d30;
  background: #070910;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.footer-copy {
  font-size: 13px;
  color: #64748b;
  margin-left: 12px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav a {
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* ==========================================================================
   DASHBOARD SPECIFIC STYLES (public/dashboard.html)
   Exact Collapsible Left Sidebar (Matching user's images 1 & 2)
   ========================================================================== */
.dash-layout {
  min-height: 100vh;
  background: transparent;
  display: flex;
}

/* The Floating Left Sidebar Dock */
.dash-sidebar {
  position: fixed;
  left: 16px;
  top: 16px;
  bottom: 16px;
  width: 72px;
  /* Collapsed state (Image 2) */
  background: #0c0f17;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  padding: 16px 12px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  user-select: none;
}

/* Subtle vertical purple/indigo gradient edge pointed by user's red arrow */
.dash-sidebar::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 2px;
  height: 80%;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0) 0%, #a855f7 35%, #818cf8 65%, rgba(59, 130, 246, 0) 100%);
  pointer-events: none;
  opacity: 0.9;
}

/* Expanded state (Image 1) */
.dash-sidebar.expanded {
  width: 270px;
  border-radius: 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9), inset -1px 0 0 rgba(168, 85, 247, 0.4);
}

/* Sidebar Header Profile (Image 1 & 2) */
.sidebar-user-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  cursor: pointer;
  margin-bottom: 8px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar-avatar-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.sidebar-user-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  white-space: nowrap;
}

.dash-sidebar:not(.expanded) .sidebar-user-meta {
  display: none !important;
}

.dash-sidebar.expanded .sidebar-user-meta {
  display: flex !important;
}

.sidebar-username {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-usertag {
  font-size: 11px;
  color: #8b8e9b;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav Menu Items */
.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  flex-grow: 1;
  padding: 0;
  margin: 0;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  border-radius: 14px;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.sidebar-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-item-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.sidebar-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: block;
}

.sidebar-item-text {
  font-size: 13.5px;
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
}

/* Collapsed state adjustments */
.dash-sidebar:not(.expanded) .sidebar-item-text {
  display: none !important;
}

.dash-sidebar:not(.expanded) .sidebar-nav-item {
  justify-content: center !important;
  padding: 0 !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto !important;
}

/* Active Item (White button with dark icon & text) */
.dash-sidebar .sidebar-nav-item.active {
  background: #ffffff !important;
  color: #0b0d13 !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25) !important;
}

.dash-sidebar .sidebar-nav-item.active .sidebar-item-icon {
  color: #0b0d13 !important;
}

.dash-sidebar .sidebar-nav-item.active .sidebar-item-icon svg {
  stroke: #0b0d13 !important;
  color: #0b0d13 !important;
}

.dash-sidebar .sidebar-nav-item.active .sidebar-item-text {
  color: #0b0d13 !important;
  font-weight: 700 !important;
}

/* Sidebar Divider */
.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 4px;
}

/* Bottom Nav items (Discord, Siteye Dön) */
.sidebar-bottom-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

/* Main Dashboard Content Area */
.dash-main-content {
  flex-grow: 1;
  margin-left: 96px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

/* Dashboard Topbar */
.dash-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 32px auto;
  width: 100%;
  max-width: 1400px;
  flex-wrap: wrap;
  gap: 16px;
}

.dash-title-group h1 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.dash-title-group p {
  font-size: 13px;
  color: #94a3b8;
}

.dash-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* SERVER SELECTOR DROPDOWN */
.server-selector-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111524;
  border: 2px solid #1a2238;
  box-shadow: 3px 3px 0px #090d16;
  padding: 8px 16px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.server-selector-btn:hover {
  border-color: #2563eb;
  transform: translate(-1px, -1px);
}

.server-avatar-mini {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* 9-SLICE PERSPECTIVE WAVE "KOMUTLARI YENİLE" BUTTON (User Widget) */
.btn-refresh-commands {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111524;
  border: 2px solid #2563eb;
  box-shadow: 3px 3px 0px #090d16;
  padding: 8px 18px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-refresh-commands:hover {
  background: #182038;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #090d16;
}

.btn-refresh-commands:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px #090d16;
}

/* 9-Slice Wave Loader (hidden by default, shown during refresh) */
.loader-9slice {
  --main-size: 2.4em;
  --text-color: #ffffff;
  --shine-color: #ffffff40;
  --shadow-color: #aaaaaa;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  user-select: none;
  position: relative;
  font-size: var(--main-size);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-color);
  width: 7.3em;
  height: 1em;
  filter: drop-shadow(0 0 0.05em var(--shine-color));
}

.loader-9slice.active {
  display: flex;
}

.loader-9slice .text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
}

.loader-9slice .text:nth-child(1) {
  clip-path: polygon(0% 0%, 11.11% 0%, 11.11% 100%, 0% 100%);
  font-size: calc(var(--main-size) / 20);
  margin-left: -2.1em;
  opacity: 0.6;
}

.loader-9slice .text:nth-child(2) {
  clip-path: polygon(11.11% 0%, 22.22% 0%, 22.22% 100%, 11.11% 100%);
  font-size: calc(var(--main-size) / 16);
  margin-left: -1.75em;
  opacity: 0.7;
}

.loader-9slice .text:nth-child(3) {
  clip-path: polygon(22.22% 0%, 33.33% 0%, 33.33% 100%, 22.22% 100%);
  font-size: calc(var(--main-size) / 13);
  margin-left: -1.35em;
  opacity: 0.8;
}

.loader-9slice .text:nth-child(4) {
  clip-path: polygon(33.33% 0%, 44.44% 0%, 44.44% 100%, 33.33% 100%);
  font-size: calc(var(--main-size) / 11);
  margin-left: -0.9em;
  opacity: 0.9;
}

.loader-9slice .text:nth-child(5) {
  clip-path: polygon(44.44% 0%, 55.55% 0%, 55.55% 100%, 44.44% 100%);
  font-size: calc(var(--main-size) / 9);
  margin-left: -0.45em;
  opacity: 1;
}

.loader-9slice .text:nth-child(6) {
  clip-path: polygon(55.55% 0%, 66.66% 0%, 66.66% 100%, 55.55% 100%);
  font-size: calc(var(--main-size) / 8);
  margin-left: 0;
  opacity: 1;
}

.loader-9slice .text:nth-child(7) {
  clip-path: polygon(66.66% 0%, 77.77% 0%, 77.77% 100%, 66.66% 100%);
  font-size: calc(var(--main-size) / 9);
  margin-left: 0.45em;
  opacity: 0.9;
}

.loader-9slice .text:nth-child(8) {
  clip-path: polygon(77.77% 0%, 88.88% 0%, 88.88% 100%, 77.77% 100%);
  font-size: calc(var(--main-size) / 11);
  margin-left: 0.9em;
  opacity: 0.8;
}

.loader-9slice .text:nth-child(9) {
  clip-path: polygon(88.88% 0%, 100% 0%, 100% 100%, 88.88% 100%);
  font-size: calc(var(--main-size) / 13);
  margin-left: 1.35em;
  opacity: 0.7;
}

/* Command Filter & Search Controls */
.dash-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f1322;
  border: 2px solid #1a2238;
  box-shadow: 4px 4px 0px #090d16;
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 6px 14px;
  background: #141a2e;
  border: 1px solid #1e293b;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-pill:hover,
.filter-pill.active {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #141a2e;
  border: 2px solid #1e293b;
  border-radius: 10px;
  padding: 6px 12px;
  gap: 8px;
}

.search-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  width: 180px;
}

/* COMMANDS GRID (60 Commands) */
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.command-card {
  background: #0f1322;
  border: 2px solid #1a2238;
  box-shadow: 3px 3px 0px #090d16;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.command-card:hover {
  border-color: #2563eb;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #090d16;
}

.cmd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cmd-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #38bdf8;
}

.cmd-category-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #182038;
  color: #94a3b8;
  border: 1px solid #222d4a;
}

.cmd-desc {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 12px;
}

.cmd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.cmd-status-text {
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}

.cmd-status-text.disabled {
  color: #ef4444;
}

/* Custom Neo Toggle Switch */
.neo-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.neo-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1f293d;
  border: 2px solid #334155;
  border-radius: 24px;
  transition: 0.2s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #94a3b8;
  border-radius: 50%;
  transition: 0.2s;
}

input:checked+.toggle-slider {
  background-color: #2563eb;
  border-color: #1d4ed8;
}

input:checked+.toggle-slider:before {
  transform: translateX(20px);
  background-color: #ffffff;
}

/* Buton Duyarlı Yeri - tdcve */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .dash-main-content {
    margin-left: 80px;
    padding: 16px;
  }
}

.dash-tab-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}


