:root {
  /* Evelynn Avatar Inspired Colors */
  --primary-purple: #C8B6E2;  /* Soft lavender from hair */
  --primary-pink: #E775A4;    /* Pink from eyes/accents */
  --secondary-purple: #9B88B8; /* Deeper lavender */
  --secondary-pink: #D85E94;   /* Deeper pink */
  --accent-cyan: #7DD3E0;      /* Soft cyan from highlights */
  --accent-blue: #A5C7E3;      /* Light blue from hair highlights */
  
  --bg-primary: #0A0A0F;
  --bg-secondary: #1A1825;     /* Slightly purple-tinted dark */
  --bg-tertiary: #252038;      /* Purple-tinted tertiary */
  --bg-glass: rgba(200, 182, 226, 0.1);  /* Lavender glass effect */
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #D4C5E8;   /* Lavender-tinted text */
  --text-muted: #9B88B8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-purple) 0%, var(--accent-cyan) 100%);
  --gradient-text: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 50%, var(--accent-cyan) 100%);
  
  /* Shadows & Glows */
  --glow-primary: 0 0 20px rgba(200, 182, 226, 0.5);  /* Lavender glow */
  --glow-pink: 0 0 20px rgba(231, 117, 164, 0.5);     /* Pink glow */
  --glow-cyan: 0 0 20px rgba(125, 211, 224, 0.5);
  
  /* Typography */
  --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --container-padding: 2rem;
  --section-padding: 8rem 0;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
:root[data-theme="light"] {
  --bg-primary: #FAF8FC;       /* Very light lavender */
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F5F1F9;      /* Light lavender tint */
  --bg-glass: rgba(200, 182, 226, 0.08);
  
  --text-primary: #2A1E3E;     /* Dark purple */
  --text-secondary: #5E4A75;   /* Medium purple */
  --text-muted: #9B88B8;       /* Soft purple */
}

/* ===== RESET & BASE STYLES ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(600px at 50% 0%, rgba(200, 182, 226, 0.15) 0%, transparent 50%),
    radial-gradient(400px at 80% 100%, rgba(231, 117, 164, 0.12) 0%, transparent 50%),
    radial-gradient(300px at 20% 50%, rgba(125, 211, 224, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ===== NAVIGATION ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid rgba(200, 182, 226, 0.2);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-purple);
  box-shadow: var(--glow-primary);
  transition: var(--transition-smooth);
}

.logo-img:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-primary), 0 0 30px rgba(200, 182, 226, 0.3);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.cta-button {
  background: var(--gradient-primary) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-md);
  color: var(--text-primary) !important;
  font-weight: 600;
  box-shadow: var(--glow-primary);
  transition: var(--transition-smooth);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary), 0 8px 25px rgba(200, 182, 226, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* Theme Toggle */
.nav-extras {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  position: relative;
  background: rgba(200, 182, 226, 0.1);
  border: 2px solid rgba(200, 182, 226, 0.3);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--primary-purple);
  background: rgba(200, 182, 226, 0.2);
  transform: scale(1.05);
}

.theme-icon {
  position: absolute;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  color: var(--text-primary);
}

.theme-icon.light-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0.5);
}

.theme-icon.dark-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Light theme icon states */
:root[data-theme="light"] .theme-icon.light-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

:root[data-theme="light"] .theme-icon.dark-icon {
  opacity: 0;
  transform: rotate(-180deg) scale(0.5);
}

/* Theme transition animation */
.theme-toggle.switching {
  animation: themeSwitch 0.5s ease-in-out;
}

@keyframes themeSwitch {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

/* ===== HERO SECTION ===== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(200, 182, 226, 0.1);
  border: 1px solid rgba(200, 182, 226, 0.3);
  border-radius: var(--radius-lg);
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.badge-text {
  color: var(--primary-purple);
  font-weight: 600;
  font-size: 0.9rem;
}

.badge-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-smooth);
}

.hero-badge:hover .badge-glow {
  opacity: 0.1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite alternate;
}

.cyber-text {
  font-family: var(--font-mono);
  font-size: 0.8em;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(125, 211, 224, 0.5);
}

@keyframes gradientShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(30deg); }
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--glow-primary);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-primary), 0 10px 30px rgba(200, 182, 226, 0.4);
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-primary:hover .btn-glow {
  opacity: 0.3;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-purple);
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 182, 226, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  min-width: 120px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-primary);
  border-color: var(--primary-purple);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== HERO IMAGE SECTION ===== */

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bot-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.master-float-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform;
  transform-origin: center center;
}

.avatar-container {
  position: relative;
  z-index: 100;
  transform-style: preserve-3d;
}

.bot-avatar {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 30px rgba(200, 182, 226, 0.6));
}

@keyframes avatarFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-12px) rotate(1deg); 
  }
}

.avatar-ring {
  position: absolute;
  inset: -20px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--primary-purple), var(--primary-pink), var(--accent-cyan), var(--primary-purple));
  z-index: 1;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg-primary);
  animation: spin 8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.avatar-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 182, 226, 0.3) 0%, transparent 70%);
  animation: simpleGlow 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.status-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #10B981;
  border: 4px solid var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--glow-cyan);
  z-index: 101;
}

.status-indicator::before {
  content: '';
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-weight: 600;
}

/* Status Variations */
.status-indicator.online {
  background: #10B981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.status-indicator.online::before {
  background: #10B981;
}

.status-indicator.offline {
  background: #DC2626;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.status-indicator.offline::before {
  background: #DC2626;
  animation: none;
}

.status-indicator.unavailable {
  background: #E2A4D6;
  box-shadow: 0 0 20px rgba(226, 164, 214, 0.5);
}

.status-indicator.unavailable::before {
  background: #E2A4D6;
  animation: pulse 1s ease-in-out infinite;
}

/* Status indicator animations */
@keyframes statusPulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.7;
    transform: scale(0.95);
  }
}

/* Global status styling for stats */
.status-online .stat-number {
  color: #10B981 !important;
}

.status-offline .stat-number {
  color: #DC2626 !important;
}

.status-unavailable .stat-number {
  color: #E2A4D6 !important;
}

/* ===== COMMAND SEARCH FUNCTIONALITY ===== */

.command-search-container {
  margin: 2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.command-search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(200, 182, 226, 0.1);
  border: 2px solid rgba(200, 182, 226, 0.3);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-primary);
  outline: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.command-search-input::placeholder {
  color: var(--text-muted);
}

.command-search-input:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 20px rgba(200, 182, 226, 0.3);
  background: rgba(200, 182, 226, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.command-search-input:focus + .search-icon {
  color: var(--primary-purple);
}

.clear-search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.clear-search-btn:hover {
  color: var(--primary-pink);
  background: rgba(231, 117, 164, 0.1);
}

.search-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  backdrop-filter: blur(5px);
}

.results-count {
  font-weight: 600;
  color: var(--primary-purple);
}

.category-info {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Search highlighting */
.command-card.search-match {
  border: 2px solid var(--primary-purple);
  box-shadow: 0 0 15px rgba(200, 182, 226, 0.3);
  transform: scale(1.02);
}

.command-card.search-hidden {
  display: none;
}

.tab-content.has-results {
  display: block !important;
}

.tab-button.has-matches {
  background: rgba(200, 182, 226, 0.2);
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.tab-button.has-matches .fas {
  color: var(--primary-purple);
}

/* Search highlight text */
.search-highlight {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: white;
  padding: 0.1rem 0.2rem;
  border-radius: 0.2rem;
  font-weight: 600;
}

/* ===== COPY COMMAND FUNCTIONALITY ===== */

.copy-command-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(200, 182, 226, 0.1);
  border: 2px solid rgba(200, 182, 226, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: scale(0.8);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.command-card:hover .copy-command-btn {
  opacity: 1;
  transform: scale(1);
}

.copy-command-btn:hover {
  border-color: var(--primary-purple);
  background: rgba(200, 182, 226, 0.2);
  color: var(--primary-purple);
  transform: scale(1.1);
}

.copy-command-btn:active {
  transform: scale(0.95);
}

.copy-command-btn i {
  font-size: 0.9rem;
}

/* Copy success animation */
.copy-command-btn.copied {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10B981;
  color: #10B981;
}

.copy-command-btn.copied i::before {
  content: '\f00c'; /* Check icon */
}

/* Copy notification */
.copy-notification {
  position: fixed;
  top: 100px;
  right: 2rem;
  background: rgba(200, 182, 226, 0.95);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 25px rgba(200, 182, 226, 0.3);
  z-index: 10000;
  transform: translateX(100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.copy-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.copy-notification i {
  color: #10B981;
}

/* ===== PLAYGROUND SECTION ===== */

.playground {
  padding: var(--section-padding);
  background: var(--bg-primary);
  position: relative;
  min-height: 100vh;
}

.playground-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 2rem auto 0;
  height: 80vh;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== PLAYGROUND SIDEBAR ===== */

.playground-sidebar {
  background: var(--bg-tertiary);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-right: 1px solid rgba(200, 182, 226, 0.1);
}

.server-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(200, 182, 226, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 182, 226, 0.2);
}

.server-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.server-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.server-details p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.playground-scenarios h4 {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scenario-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-bottom: 0.5rem;
}

.scenario-btn:hover {
  background: rgba(200, 182, 226, 0.1);
  border-color: rgba(200, 182, 226, 0.3);
  color: var(--text-primary);
}

.scenario-btn.active {
  background: rgba(200, 182, 226, 0.2);
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.scenario-btn i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.playground-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-purple);
}

/* ===== PLAYGROUND CHAT ===== */

.playground-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-secondary);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-tertiary);
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.channel-info i {
  color: var(--text-secondary);
}

.chat-controls {
  display: flex;
  gap: 0.5rem;
}

.control-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.control-btn:hover {
  background: rgba(200, 182, 226, 0.1);
  border-color: rgba(200, 182, 226, 0.3);
  color: var(--primary-purple);
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
  background: var(--bg-secondary);
  scroll-behavior: smooth;
  max-height: calc(80vh - 200px);
}

/* Custom scrollbar for messages */
.messages-container::-webkit-scrollbar {
  width: 8px;
}

.messages-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.messages-container::-webkit-scrollbar-thumb {
  background: rgba(200, 182, 226, 0.3);
  border-radius: 4px;
}

.messages-container::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 182, 226, 0.5);
}

/* Scroll to bottom button */
.scroll-to-bottom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-purple);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(200, 182, 226, 0.4);
  transition: var(--transition-smooth);
}

.scroll-btn:hover {
  background: var(--secondary-purple);
  transform: scale(1.1);
}

.scroll-btn i {
  font-size: 1.1rem;
}

/* ===== DISCORD-STYLE MESSAGES ===== */

.message {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  position: relative;
}

.message:hover {
  background: rgba(255, 255, 255, 0.02);
  margin: 0 -1rem 1rem -1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

.message-avatar {
  position: relative;
  flex-shrink: 0;
}

.message-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.bot-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--primary-purple);
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
  border: 2px solid var(--bg-secondary);
}

.user-message .message-avatar img {
  background: var(--gradient-primary);
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.message-author {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.bot-message .message-author {
  color: var(--primary-purple);
}

.message-timestamp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.message-text {
  color: var(--text-primary);
  line-height: 1.4;
  font-size: 0.95rem;
  word-wrap: break-word;
}

/* ===== DISCORD EMBEDS ===== */

.embed {
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--primary-purple);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 0.5rem 0;
  max-width: 520px;
}

.embed-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.embed-description {
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.embed-description code {
  background: rgba(200, 182, 226, 0.2);
  color: var(--primary-purple);
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.embed-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.embed-footer img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.embed-footer span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Embed variants */
.embed.success {
  border-left-color: #10B981;
}

.embed.error {
  border-left-color: #DC2626;
}

.embed.music {
  border-left-color: #7DD3E0;
}

.embed.economy {
  border-left-color: #E2A4D6;
}

/* ===== TYPING INDICATOR ===== */

.typing-indicator {
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
}

.typing-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.typing-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.typing-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== MESSAGE INPUT ===== */

.message-input-container {
  padding: 1rem;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  transition: var(--transition-smooth);
}

.message-input:focus-within {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 2px rgba(200, 182, 226, 0.2);
}

.message-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-primary);
}

.message-input input::placeholder {
  color: var(--text-muted);
}

.send-btn {
  background: var(--primary-purple);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: white;
}

.send-btn:hover {
  background: var(--secondary-purple);
  transform: scale(1.05);
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ===== INPUT SUGGESTIONS ===== */

.input-suggestions {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: var(--bg-tertiary);
  border: 1px solid rgba(200, 182, 226, 0.3);
  border-radius: var(--radius-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestion-item:hover {
  background: rgba(200, 182, 226, 0.1);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-command {
  color: var(--primary-purple);
  font-family: var(--font-mono);
  font-weight: 600;
}

.suggestion-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.floating-features {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 1000px;
  perspective-origin: center center;
  transform-style: preserve-3d;
}

.feature-orb {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.feature-orb.music {
  background: rgba(200, 182, 226, 0.2);
  color: var(--primary-purple);
  top: 50%;
  left: 50%;
  margin: -30px 0 0 -30px;
  box-shadow: 0 0 20px rgba(200, 182, 226, 0.4);
}

.feature-orb.moderation {
  background: rgba(231, 117, 164, 0.2);
  color: var(--primary-pink);
  top: 50%;
  left: 50%;
  margin: -30px 0 0 -30px;
  box-shadow: 0 0 20px rgba(231, 117, 164, 0.4);
}

.feature-orb.economy {
  background: rgba(226, 164, 214, 0.2);
  color: var(--accent-gold);
  top: 50%;
  left: 50%;
  margin: -30px 0 0 -30px;
  box-shadow: 0 0 20px rgba(226, 164, 214, 0.4);
}

.feature-orb.tickets {
  background: rgba(125, 211, 224, 0.2);
  color: var(--accent-cyan);
  top: 50%;
  left: 50%;
  margin: -30px 0 0 -30px;
  box-shadow: 0 0 20px rgba(125, 211, 224, 0.4);
}

.feature-orb.fun {
  background: rgba(216, 94, 148, 0.2);
  color: var(--secondary-pink);
  top: 50%;
  left: 50%;
  margin: -30px 0 0 -30px;
  box-shadow: 0 0 20px rgba(216, 94, 148, 0.4);
}

@keyframes orbit {
  0% { 
    transform: rotate(0deg) translateX(120px) rotate(0deg); 
  }
  25% { 
    transform: rotate(90deg) translateX(120px) rotate(-90deg); 
  }
  50% { 
    transform: rotate(180deg) translateX(120px) rotate(-180deg); 
  }
  75% { 
    transform: rotate(270deg) translateX(120px) rotate(-270deg); 
  }
  100% { 
    transform: rotate(360deg) translateX(120px) rotate(-360deg); 
  }
}

/* ===== HERO BACKGROUND ANIMATIONS ===== */

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  overflow: hidden;
  z-index: -1;
}

.hero-bg-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  background: 
    radial-gradient(ellipse 800px 600px at 10% 20%, rgba(200, 182, 226, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 600px 700px at 90% 40%, rgba(231, 117, 164, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 700px 500px at 30% 70%, rgba(216, 94, 148, 0.7) 0%, transparent 65%),
    radial-gradient(ellipse 500px 800px at 70% 90%, rgba(125, 211, 224, 0.4) 0%, transparent 75%),
    radial-gradient(ellipse 400px 600px at 50% 110%, rgba(231, 117, 164, 0.8) 0%, transparent 60%);
  animation: liquidFlame1 6s ease-in-out infinite alternate;
  filter: blur(40px);
}

.hero-bg-animation::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  background: 
    radial-gradient(ellipse 600px 800px at 80% 10%, rgba(231, 117, 164, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 700px 600px at 20% 50%, rgba(200, 182, 226, 0.5) 0%, transparent 65%),
    radial-gradient(ellipse 500px 700px at 60% 30%, rgba(125, 211, 224, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 800px 500px at 40% 80%, rgba(216, 94, 148, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 450px 650px at 90% 120%, rgba(200, 182, 226, 0.8) 0%, transparent 75%);
  animation: liquidFlame2 5s ease-in-out infinite alternate-reverse;
  filter: blur(35px);
}

@keyframes liquidFlame1 {
  0% { 
    transform: translateX(-60px) translateY(-30px) scaleX(1) scaleY(1) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: translateX(-20px) translateY(-50px) scaleX(1.3) scaleY(0.8) rotate(2deg);
    opacity: 0.9;
  }
  50% { 
    transform: translateX(30px) translateY(-80px) scaleX(0.7) scaleY(1.4) rotate(-1deg);
    opacity: 0.8;
  }
  75% {
    transform: translateX(60px) translateY(-40px) scaleX(1.1) scaleY(1.1) rotate(1deg);
    opacity: 0.95;
  }
  100% { 
    transform: translateX(40px) translateY(-20px) scaleX(1.2) scaleY(0.9) rotate(-0.5deg);
    opacity: 1;
  }
}

@keyframes liquidFlame2 {
  0% { 
    transform: translateX(50px) translateY(-25px) scaleX(1.1) scaleY(1) rotate(0deg);
    opacity: 0.95;
  }
  20% {
    transform: translateX(20px) translateY(-60px) scaleX(0.8) scaleY(1.5) rotate(-2deg);
    opacity: 0.8;
  }
  40% {
    transform: translateX(-10px) translateY(-90px) scaleX(1.4) scaleY(0.6) rotate(1.5deg);
    opacity: 0.9;
  }
  60% { 
    transform: translateX(-40px) translateY(-55px) scaleX(0.9) scaleY(1.3) rotate(-1deg);
    opacity: 0.85;
  }
  80% {
    transform: translateX(-20px) translateY(-35px) scaleX(1.2) scaleY(1) rotate(0.5deg);
    opacity: 0.95;
  }
  100% { 
    transform: translateX(-50px) translateY(-15px) scaleX(1) scaleY(1.2) rotate(-0.8deg);
    opacity: 1;
  }
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: 
    radial-gradient(circle, rgba(231, 117, 164, 0.6) 0%, rgba(200, 182, 226, 0.3) 40%, transparent 70%);
  animation: floatingOrbs 15s ease-in-out infinite;
  filter: blur(20px);
}

.hero-particles::after {
  animation-delay: -7s;
  animation-duration: 18s;
  background: 
    radial-gradient(circle, rgba(200, 182, 226, 0.5) 0%, rgba(216, 94, 148, 0.4) 40%, transparent 70%);
  width: 150px;
  height: 150px;
}

@keyframes floatingOrbs {
  0% { 
    transform: translate(20vw, 80vh) scale(0.8);
    opacity: 0.3;
  }
  25% {
    transform: translate(70vw, 60vh) scale(1.2);
    opacity: 0.7;
  }
  50% {
    transform: translate(10vw, 40vh) scale(0.9);
    opacity: 0.5;
  }
  75% {
    transform: translate(80vw, 70vh) scale(1.1);
    opacity: 0.6;
  }
  100% { 
    transform: translate(20vw, 80vh) scale(0.8);
    opacity: 0.3;
  }
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .bot-avatar {
    width: 280px;
    height: 280px;
  }
  
  .feature-orb {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-extras {
    display: flex;
  }
  
  .theme-toggle {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
  }
  
  /* Playground mobile responsiveness */
  .playground-container {
    grid-template-columns: 1fr;
    height: 70vh;
  }
  
  .playground-sidebar {
    order: 2;
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
  }
  
  .playground-scenarios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .playground-scenarios h4 {
    grid-column: 1 / -1;
  }
  
  .playground-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1rem;
  }
  
  .stat-card {
    min-width: 100px;
    padding: 1rem;
  }
  
  .bot-avatar {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }
  
  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }
  
  .logo-img {
    width: 40px;
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .bot-avatar {
    width: 180px;
    height: 180px;
  }
  
  .feature-orb {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ===== UTILITY CLASSES ===== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow {
  box-shadow: var(--glow-primary);
}

.cyber-border {
  border: 1px solid var(--primary-purple);
  position: relative;
}

.cyber-border::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.cyber-border:hover::before {
  opacity: 1;
}

/* ===== LOADING STATES ===== */

.loading {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FOCUS STATES ===== */

*:focus-visible {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ===== SELECTION ===== */

::selection {
  background: rgba(200, 182, 226, 0.3);
  color: var(--text-primary);
}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-purple);
}

/* ===== FEATURES SECTION ===== */

.features {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(1000px at 30% 50%, rgba(200, 182, 226, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 182, 226, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-purple);
  box-shadow: var(--glow-primary), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.music-controls {
  margin: 1rem 0;
}

.music-buttons {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 182, 226, 0.3);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(200, 182, 226, 0.2);
  color: var(--primary-purple);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(200, 182, 226, 0.3);
}

/* ===== COMMANDS SECTION ===== */

.commands {
  padding: var(--section-padding);
  background: var(--bg-primary);
  position: relative;
}

.commands::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px at 70% 30%, rgba(231, 117, 164, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.commands-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.tab-button:hover {
  border-color: var(--primary-purple);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.tab-button.active {
  background: var(--gradient-primary);
  border-color: var(--primary-purple);
  color: var(--text-primary);
  box-shadow: var(--glow-primary);
}

.commands-content {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeInUp 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.command-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
}

.command-card:hover {
  border-color: var(--primary-purple);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.command-name {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
}

.command-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== STATS SECTION ===== */

.stats {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px at 20% 80%, rgba(125, 211, 224, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stats .stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(200, 182, 226, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stats .stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.stats .stat-card:hover::before {
  transform: scaleX(1);
}

.stats .stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-primary), 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-purple);
}

.stats .stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.stats .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats .stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== INVITE SECTION ===== */

.invite {
  padding: var(--section-padding);
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.invite::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(600px at 50% 50%, rgba(200, 182, 226, 0.1) 0%, transparent 50%),
    radial-gradient(400px at 80% 20%, rgba(231, 117, 164, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.invite-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.invite-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.invite-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.invite-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.invite-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.invite-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.invite-feature i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

/* ===== FOOTER ===== */

.footer {
  background: var(--bg-secondary);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(200, 182, 226, 0.2);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px at 20% 20%, rgba(200, 182, 226, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-purple);
  box-shadow: var(--glow-primary);
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--primary-purple);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-purple);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

/* ===== COMMAND SHOWCASE STYLES ===== */

.command-showcase {
  padding: var(--section-padding);
  background: linear-gradient(180deg, transparent 0%, rgba(200, 182, 226, 0.02) 100%);
}

.discord-demos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.discord-demo {
  background: rgba(17, 17, 27, 0.8);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.discord-demo:nth-child(1) { animation-delay: 0.1s; }
.discord-demo:nth-child(2) { animation-delay: 0.2s; }
.discord-demo:nth-child(3) { animation-delay: 0.3s; }
.discord-demo:nth-child(4) { animation-delay: 0.4s; }
.discord-demo:nth-child(5) { animation-delay: 0.5s; }
.discord-demo:nth-child(6) { animation-delay: 0.6s; }

.discord-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 182, 226, 0.1);
}

.demo-header {
  background: rgba(200, 182, 226, 0.1);
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-header i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.demo-header span {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.discord-chat {
  padding: 1.5rem;
  min-height: 200px;
  background: #2c2f33;
}

.discord-message {
  display: flex;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.message-avatar {
  margin-right: 1rem;
  flex-shrink: 0;
  position: relative;
}

.message-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.message-content {
  flex: 1;
}

.message-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.username {
  font-weight: 600;
  color: #ffffff;
  margin-right: 0.5rem;
}

.bot-tag {
  background: #5865f2;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.1rem 0.275rem;
  border-radius: 3px;
  margin-right: 0.5rem;
  text-transform: uppercase;
}

.timestamp {
  font-size: 0.75rem;
  color: #72767d;
}

.message-text {
  color: #dcddde;
  line-height: 1.375;
}

.typing-command {
  color: #7289da;
  font-weight: 500;
}

.command-cursor {
  color: #7289da;
  animation: blink 1s infinite;
}

.bot-msg .message-avatar::after {
  content: 'BOT';
  position: absolute;
  background: #5865f2;
  color: white;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
  margin-left: -10px;
  margin-top: 25px;
  text-transform: uppercase;
}

.discord-embed {
  background: #2f3136;
  border-left: 4px solid #8b46ff;
  border-radius: 4px;
  padding: 1rem;
  margin-top: 0.5rem;
  max-width: 516px;
  position: relative;
}

.embed-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #8b46ff;
  border-radius: 4px 0 0 4px;
}

.embed-content {
  padding-left: 0.75rem;
}

.embed-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.embed-description {
  color: #dcddde;
  line-height: 1.375;
  font-size: 0.875rem;
}

.embed-description .typing-response {
  display: inline;
}

.embed-image {
  margin-top: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.embed-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.response-cursor {
  color: #8b46ff;
  animation: blink 1s infinite;
}

/* ===== SHOWCASE FEATURES ===== */

.showcase-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.feature-highlight {
  text-align: center;
  padding: 1.5rem;
  background: rgba(200, 182, 226, 0.05);
  border: 1px solid rgba(200, 182, 226, 0.1);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.feature-highlight:hover {
  transform: translateY(-5px);
  background: rgba(200, 182, 226, 0.08);
  border-color: rgba(200, 182, 226, 0.2);
  box-shadow: 0 10px 30px rgba(200, 182, 226, 0.1);
}

.feature-highlight .feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-highlight h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-highlight p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ===== RESPONSIVE DESIGN FOR NEW SECTIONS ===== */

@media (max-width: 768px) {
  .commands-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .command-content {
    padding: 1rem;
    font-size: 0.8rem;
    min-height: 150px;
  }
  
  .showcase-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .feature-highlight {
    padding: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .commands-tabs {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .tab-button {
    width: 200px;
    justify-content: center;
  }
  
  .commands-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .invite-buttons {
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    margin: 0 auto 2rem;
  }
  
  .invite-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 1.5rem;
  }
  
  .command-card {
    padding: 1rem;
  }
  
  .stats .stat-card {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== MOBILE NAVIGATION FIX ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed \!important;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease-in-out;
    border-top: 1px solid rgba(200, 182, 226, 0.3);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1rem 0;
  }
  
  .hamburger {
    display: flex \!important;
  }
}

@keyframes simpleGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@keyframes evelynnFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-12px) rotate(1deg); 
  }
}

@keyframes testFloat {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-10px); 
  }
}

@keyframes perfectFloat {
  0% { transform: translateY(0px); }
  6.25% { transform: translateY(-1.95px); }
  12.5% { transform: translateY(-3.83px); }
  18.75% { transform: translateY(-5.56px); }
  25% { transform: translateY(-7.07px); }
  31.25% { transform: translateY(-8.31px); }
  37.5% { transform: translateY(-9.24px); }
  43.75% { transform: translateY(-9.81px); }
  50% { transform: translateY(-10px); }
  56.25% { transform: translateY(-9.81px); }
  62.5% { transform: translateY(-9.24px); }
  68.75% { transform: translateY(-8.31px); }
  75% { transform: translateY(-7.07px); }
  81.25% { transform: translateY(-5.56px); }
  87.5% { transform: translateY(-3.83px); }
  93.75% { transform: translateY(-1.95px); }
  100% { transform: translateY(0px); }
}

@keyframes ultraSmoothFloat {
  0%, 100% { 
    transform: translate3d(0, 0px, 0); 
  }
  50% { 
    transform: translate3d(0, -12px, 0); 
  }
}

@keyframes orbit3D {
  0% { 
    transform: rotateY(0deg) translateX(150px) rotateY(0deg);
    z-index: 10;
    opacity: 1;
    filter: blur(0px) brightness(1) scale(1);
  }
  12.5% {
    transform: rotateY(45deg) translateX(150px) rotateY(-45deg);
    z-index: 5;
    opacity: 0.9;
    filter: blur(0px) brightness(0.95) scale(0.98);
  }
  25% { 
    transform: rotateY(90deg) translateX(150px) rotateY(-90deg);
    z-index: 1;
    opacity: 0.7;
    filter: blur(1px) brightness(0.8) scale(0.85);
  }
  37.5% {
    transform: rotateY(135deg) translateX(150px) rotateY(-135deg);
    z-index: -5;
    opacity: 0.4;
    filter: blur(2px) brightness(0.6) scale(0.7);
  }
  50% { 
    transform: rotateY(180deg) translateX(150px) rotateY(-180deg);
    z-index: -10;
    opacity: 0.2;
    filter: blur(3px) brightness(0.4) scale(0.6);
  }
  62.5% {
    transform: rotateY(225deg) translateX(150px) rotateY(-225deg);
    z-index: -5;
    opacity: 0.4;
    filter: blur(2px) brightness(0.6) scale(0.7);
  }
  75% {
    transform: rotateY(270deg) translateX(150px) rotateY(-270deg);
    z-index: 1;
    opacity: 0.7;
    filter: blur(1px) brightness(0.8) scale(0.85);
  }
  87.5% {
    transform: rotateY(315deg) translateX(150px) rotateY(-315deg);
    z-index: 5;
    opacity: 0.9;
    filter: blur(0px) brightness(0.95) scale(0.98);
  }
  100% { 
    transform: rotateY(360deg) translateX(150px) rotateY(-360deg);
    z-index: 10;
    opacity: 1;
    filter: blur(0px) brightness(1) scale(1);
  }
}

/* ===== DEMO CONTROLS ===== */

.demo-controls {
  background: var(--bg-tertiary);
  border: 1px solid rgba(200, 182, 226, 0.3);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1rem;
}

.demo-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.demo-indicator {
  color: var(--primary-purple);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 200px;
}

.demo-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.demo-progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.demo-step {
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.demo-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.demo-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(200, 182, 226, 0.2);
  border: 1px solid rgba(200, 182, 226, 0.3);
  border-radius: var(--radius-sm);
  color: var(--primary-purple);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  outline: none;
}

.demo-btn:hover {
  background: rgba(200, 182, 226, 0.3);
  border-color: var(--primary-purple);
  transform: translateY(-1px);
}

.demo-btn:active {
  transform: translateY(0);
}

.demo-btn.pause-btn {
  background: rgba(226, 164, 214, 0.2);
  border-color: rgba(226, 164, 214, 0.3);
  color: var(--accent-gold);
}

.demo-btn.pause-btn:hover {
  background: rgba(226, 164, 214, 0.3);
  border-color: var(--accent-gold);
}

.demo-btn.restart-btn {
  background: rgba(125, 211, 224, 0.2);
  border-color: rgba(125, 211, 224, 0.3);
  color: var(--accent-cyan);
}

.demo-btn.restart-btn:hover {
  background: rgba(125, 211, 224, 0.3);
  border-color: var(--accent-cyan);
}

.demo-btn.stop-btn {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
  color: #DC2626;
}

.demo-btn.stop-btn:hover {
  background: rgba(220, 38, 38, 0.3);
  border-color: #DC2626;
}

.demo-complete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.demo-complete-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex: 1;
  min-width: 250px;
}

/* Mobile responsive demo controls */
@media (max-width: 768px) {
  .demo-status {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .demo-progress {
    min-width: auto;
  }
  
  .demo-buttons {
    justify-content: center;
  }
  
  .demo-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
  
  .demo-complete {
    flex-direction: column;
    text-align: center;
  }
  
  .demo-complete-text {
    min-width: auto;
  }
}

/* ===== DEMO INFO STYLES ===== */

.demo-info {
  margin: 2rem 0;
}

.demo-info h4 {
  color: var(--primary-purple);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.demo-feature:hover {
  background: rgba(200, 182, 226, 0.1);
  transform: translateX(2px);
}

.demo-feature i {
  color: var(--primary-purple);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.demo-feature span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.demo-stats {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-stats .stat-item {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-stats .stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.demo-stats .stat-value {
  color: var(--primary-purple);
  font-weight: 600;
}
