/* ==========================================
   SONIXA PREMIUM STYLESHEET
   Theme: Midnight Blue & Black Cyberpunk
   ========================================== */

/* Color Variables */
:root {
  --primary: #3B82F6;
  --secondary: #1D4ED8;
  --accent: #60A5FA;
  --background: #050816;
  --surface: #0F172A;
  --surface-glass: rgba(15, 23, 42, 0.65);
  --surface-glass-dark: rgba(5, 8, 22, 0.75);
  --border: rgba(59, 130, 246, 0.25);
  --border-hover: rgba(96, 165, 250, 0.55);
  --text: #FFFFFF;
  --text-muted: #94A3B8;
  --green: #10B981;
  --yellow: #F59E0B;
  --red: #EF4444;
  
  --shadow-blue: 0 8px 32px 0 rgba(59, 130, 246, 0.15);
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.45);
  --glow-accent: 0 0 25px rgba(96, 165, 250, 0.6);
  
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: var(--shadow-blue);
}

/* Page Glow Backdrops */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.4;
}
.glow-primary {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  left: -100px;
}
.glow-secondary {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -150px;
  right: -150px;
}

/* Canvas Particles */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Loader Screen overlay */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-logo {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}
.loader-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.logo-ring {
  width: 100px;
  height: 100px;
  border: 4px solid transparent;
  border-top-color: var(--primary);
  border-bottom-color: var(--accent);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}
.loader-bar-container {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: load 2.5s ease-in-out forwards;
}
.loader-text {
  font-family: var(--font-title);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Fixed Top Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: var(--surface-glass-dark);
  box-shadow: var(--shadow-blue);
  height: 65px;
}
.navbar-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
}
.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: var(--glow-blue);
}
.logo-text {
  background: linear-gradient(135deg, var(--text) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link i {
  font-size: 0.85rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(59, 130, 246, 0.1);
  text-shadow: var(--glow-blue);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}
.nav-btn-invite {
  text-decoration: none;
  background: var(--primary);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-btn-invite:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--glow-accent);
}
.nav-btn-login {
  text-decoration: none;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-btn-login:hover {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: var(--glow-blue);
}
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: var(--text);
  border-radius: 2px;
}

/* Glass Panels and Cards */
.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-blue);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  background: var(--primary);
  color: var(--text);
}
.btn-primary:hover {
  background: var(--secondary);
  box-shadow: var(--glow-blue);
}
.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--text);
  box-shadow: var(--glow-accent);
}
.btn-glow {
  box-shadow: var(--glow-blue);
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 4px;
}

/* Main Layout Views */
.main-container {
  max-width: 1200px;
  margin: 100px auto 40px; /* Space for navbar and footer */
  padding: 0 20px;
  min-height: calc(100vh - 210px);
}
.page-view {
  display: none;
}
.page-view.active {
  display: block;
  animation: pageFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Global Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 45px;
}
.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}
.glowing-text {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

/* ==========================================
   PAGE SPECIFIC: HOME
   ========================================== */
.hero-container {
  text-align: center;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-avatar-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
}
.hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--primary);
  position: relative;
  z-index: 5;
}
.hero-avatar-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(25px);
  opacity: 0.6;
  z-index: 1;
  animation: pulseGlow 3s infinite ease-in-out;
}
.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================
   PAGE SPECIFIC: FEATURES
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.feature-card {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-blue);
  background: rgba(15, 23, 42, 0.85);
}
.feature-card:hover::before {
  transform: translateX(100%);
}
.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1.4rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.feature-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================
   PAGE SPECIFIC: PREMIUM
   ========================================== */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 50px;
  align-items: stretch;
}
.price-card {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.price-card.popular {
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: var(--glow-blue);
  transform: scale(1.03);
}
.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}
.price-card.popular:hover {
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text);
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--glow-blue);
}
.price-header {
  text-align: center;
  margin-bottom: 25px;
}
.price-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 10px;
}
.price-amt {
  font-family: var(--font-title);
  font-size: 2.3rem;
  font-weight: 800;
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}
.price-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.price-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li i {
  color: var(--green);
  font-size: 0.95rem;
}
.price-features li i.disabled-icon {
  color: var(--red);
  opacity: 0.6;
}

/* ==========================================
   PAGE SPECIFIC: COMMANDS
   ========================================== */
.commands-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}
.commands-sidebar {
  padding: 20px;
  position: sticky;
  top: 90px;
}
.search-box {
  position: relative;
  margin-bottom: 20px;
}
.search-box i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-box input {
  width: 100%;
  background: rgba(5, 8, 22, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 12px 12px 42px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}
.category-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-btn i {
  width: 18px;
}
.cat-btn:hover, .cat-btn.active {
  color: var(--text);
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}
.commands-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.command-card {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}
.command-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-blue);
}
.command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.command-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}
.command-badge {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.command-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 15px;
}
.command-syntax-wrapper {
  background: rgba(5, 8, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  position: relative;
  overflow-x: auto;
}
.command-syntax-wrapper::before {
  content: 'SYNTAX';
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==========================================
   PAGE SPECIFIC: STATUS
   ========================================== */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 45px;
}
.status-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.status-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.status-label {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}
.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.status-indicator.online {
  background-color: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.status-indicator.degraded {
  background-color: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}
.status-indicator.offline {
  background-color: var(--red);
  box-shadow: 0 0 10px var(--red);
}
.status-value {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}
.status-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
  margin-top: 4px;
}

/* ==========================================
   PAGE SPECIFIC: STATISTICS & PERFORMANCE
   ========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stat-icon-wrapper {
  width: 55px;
  height: 55px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}
.stat-info {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 700;
}
.stat-lbl {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.performance-section {
  margin-bottom: 45px;
}
.perf-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.perf-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.perf-lbl-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 500;
}
.perf-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}
.perf-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 10px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

/* ==========================================
   PAGE SPECIFIC: DASHBOARD
   ========================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}
.dash-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}
.bot-info-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.info-lbl {
  color: var(--text-muted);
}
.info-val {
  font-weight: 600;
}
.info-val.v-tag {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
}
.color-green {
  color: var(--green);
}
.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quick-link-btn {
  text-decoration: none;
  background: rgba(5, 8, 22, 0.5);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.quick-link-btn:hover {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  color: var(--accent);
}
.changelog-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.changelog-item {
  background: rgba(5, 8, 22, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 16px;
}
.changelog-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.changelog-ver {
  font-weight: 700;
  color: var(--accent);
}
.changelog-date {
  color: var(--text-muted);
}
.changelog-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.changelog-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================
   PAGE SPECIFIC: INVITE
   ========================================== */
.invite-container {
  max-width: 600px;
  margin: 30px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.invite-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: var(--glow-blue);
  margin-bottom: 20px;
}
.invite-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.invite-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}
.permissions-card {
  background: rgba(5, 8, 22, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
}
.permissions-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.permissions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.permissions-list li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.permissions-list li i {
  color: var(--primary);
}

/* ==========================================
   PAGE SPECIFIC: SUPPORT
   ========================================== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.support-card {
  text-align: center;
}
.support-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-blue);
}
.support-card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.support-card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  min-height: 48px;
}

/* ==========================================
   PAGE SPECIFIC: LOGIN / PROFILE PANEL
   ========================================== */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 350px);
}
.login-box {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 40px 30px;
}
.login-logo-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
}
.login-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--primary);
}
.login-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.login-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 30px;
}

.login-profile-container {
  max-width: 850px;
  margin: 0 auto;
}
.profile-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 15px;
}
.profile-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.profile-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: var(--glow-blue);
}
.profile-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}
.badge-premium {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--yellow);
}
.profile-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}
.profile-title-small {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-servers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.server-item {
  background: rgba(5, 8, 22, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.server-details {
  display: flex;
  align-items: center;
  gap: 12px;
}
.server-icon-mock {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}
.profile-config {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.config-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.config-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.config-input {
  background: rgba(5, 8, 22, 0.7);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.config-input:focus {
  outline: none;
  border-color: var(--accent);
}
.config-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.config-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: var(--glow-blue);
}
.slider-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}
.config-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toggle-info span {
  font-size: 0.88rem;
  font-weight: 500;
  display: block;
}
.toggle-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Custom Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
  border-radius: 34px;
  border: 1px solid var(--border);
}
.slider-round:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text);
  transition: .3s;
  border-radius: 50%;
}
input:checked + .slider-round {
  background-color: var(--primary);
}
input:checked + .slider-round:before {
  transform: translateX(22px);
}

/* ==========================================
   STICKY BOTTOM FOOTER
   ========================================== */
.footer {
  background: var(--surface-glass-dark);
  border-top: 1px solid var(--border);
  padding: 25px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 100%;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.footer-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: var(--accent);
}

/* ==========================================
   UTILITY HELPER CLASSES
   ========================================== */
.hidden {
  display: none !important;
}
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--surface-glass-dark);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.3s forwards, toastFadeOut 0.4s 2.7s forwards;
}

/* ==========================================
   ANIMATIONS KEYFRAMES
   ========================================== */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes load {
  0% { width: 0%; }
  50% { width: 65%; }
  100% { width: 100%; }
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.animate-float {
  animation: float 4s infinite ease-in-out;
}
@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.55; }
  50% { transform: scale(1.05); opacity: 0.85; }
  100% { transform: scale(0.95); opacity: 0.55; }
}
.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}
@keyframes toastSlideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastFadeOut {
  from { opacity: 1; }
  to { opacity: 0; transform: translateY(-10px); }
}

/* ==========================================
   RESPONSIVENESS MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .commands-layout {
    grid-template-columns: 1fr;
  }
  .commands-sidebar {
    position: static;
  }
  .perf-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .profile-body-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: var(--surface-glass-dark);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    width: 100%;
    height: calc(100vh - 70px);
    text-align: center;
    transition: 0.3s;
    overflow-y: auto;
    padding: 30px 0;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    margin: 15px 0;
    width: 80%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 12px;
  }
  .nav-actions {
    flex-direction: column;
    margin: 20px 0 0;
    width: 80%;
    gap: 15px;
  }
  .nav-btn-invite, .nav-btn-login {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 1rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .price-card.popular {
    transform: none;
  }
}
