/* ==========================================================================
   NEURAL CHAT BOT & AI PORTFOLIO - DESIGN SYSTEM
   Modern Cyberpunk Glassmorphic UI with Dynamic Neon Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  /* Color Palette */
  --bg-primary: #060913;
  --bg-secondary: #0c1222;
  --bg-tertiary: #131b32;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #8a2be2;
  --accent-magenta: #e024c3;
  --accent-emerald: #00f5a0;
  --accent-red: #ff4757;
  
  --gradient-main: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8a2be2 100%);
  --gradient-neon: linear-gradient(90deg, #00f2fe, #e024c3, #00f5a0);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(0, 242, 254, 0.15) 0%, transparent 70%);

  /* Text Colors */
  --text-main: #f3f6fc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-highlight: #38bdf8;

  /* Glassmorphism & Borders */
  --glass-bg: rgba(13, 19, 38, 0.7);
  --glass-bg-card: rgba(18, 26, 51, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 242, 254, 0.45);
  --glass-blur: blur(20px);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 35px rgba(0, 242, 254, 0.25);
  --shadow-glow-purple: 0 0 35px rgba(138, 43, 226, 0.25);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-bangla: 'Hind Siliguri', 'Noto Sans Bengali', 'Plus Jakarta Sans', sans-serif;
  --font-english: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  overscroll-behavior-y: none;
  zoom: 0.9; /* 10% Zoom Out for Sleek Interface */
}

/* --- Background Ambient Glows & Canvas --- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

.ambient-glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3), transparent 70%);
}

.ambient-glow-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.3), transparent 70%);
  animation-delay: -4s;
}

.ambient-glow-3 {
  width: 450px;
  height: 450px;
  top: 45%;
  left: 30%;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.15), transparent 70%);
  animation-delay: -2s;
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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

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

/* --- Header & Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg-header);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #030712;
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35), inset 0 0 10px rgba(138, 43, 226, 0.25);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-wrapper:hover .logo-icon {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.6), inset 0 0 12px rgba(138, 43, 226, 0.4);
}

.logo-wrapper:hover .brand-logo-img {
  transform: scale(1.08);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.logo-subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

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

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

.voice-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: var(--accent-emerald);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.voice-toggle-btn.muted {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
  color: var(--text-muted);
}

.voice-toggle-btn:hover {
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.3);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   HERO TOP SECTION: UNIFIED TOP HEADER WITH 3-COLUMN BALANCED BANNER
   ========================================================================== */
.hero-top-section {
  min-height: 100vh;
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.hero-header-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 0 6px 0;
  padding: 0;
  gap: 16px;
}

.hero-header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-header-left .logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.hero-header-left .logo-wrapper:hover {
  transform: translateY(-1px);
}

.hero-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.hero-header-center .hero-main-title {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-header-center .hero-subtitle {
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  color: var(--text-muted);
  max-width: 620px;
}

.hero-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 50;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.15);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.badge-tag:hover {
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.25);
  transform: translateY(-1px);
}

.badge-tag .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: blink 1.5s infinite;
}

.hero-top-section .container {
  max-width: 1680px;
  width: 100%;
  padding: 0 24px;
}

/* Hero Layout: 60% Avatar Stage & 40% Interactive Chat Box */
.hero-primary-grid {
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  align-items: stretch;
  gap: 18px;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

/* --- Top: Full-Face Interactive Neural Talking Avatar & Video Stage Card --- */
.hero-video-card.neural-stage-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  box-shadow: 0 26px 66px rgba(0, 0, 0, 0.75), 0 0 52px rgba(0, 242, 254, 0.25);
  display: flex;
  flex-direction: column;
  height: clamp(650px, 72vh, 860px);
  max-height: 900px;
  min-height: 590px;
  width: 100%;
  transition: var(--transition-smooth);
  position: relative;
}

.hero-video-card.neural-stage-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.78), 0 0 46px rgba(0, 242, 254, 0.32);
}

.stage-header {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 10px;
  z-index: 10;
  height: 46px;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.stage-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding-bottom: 1px;
  -webkit-overflow-scrolling: touch;
}

.stage-tabs::-webkit-scrollbar {
  display: none;
}

.stage-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.stage-tab-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--text-main);
}

.stage-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(138, 43, 226, 0.2));
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
}

/* YouTube */
.stage-tab-btn.stage-main-yt-btn {
  text-decoration: none;
  background: rgba(255, 42, 68, 0.1);
  border-color: rgba(255, 42, 68, 0.4);
  color: #ff6b81;
}
.stage-tab-btn.stage-main-yt-btn:hover {
  background: rgba(255, 42, 68, 0.25);
  border-color: #ff2a44;
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 42, 68, 0.5);
  transform: translateY(-1px);
}

/* Facebook */
.stage-tab-btn.stage-main-fb-btn {
  text-decoration: none;
  background: rgba(24, 119, 242, 0.1);
  border-color: rgba(24, 119, 242, 0.4);
  color: #4da3ff;
}
.stage-tab-btn.stage-main-fb-btn:hover {
  background: rgba(24, 119, 242, 0.25);
  border-color: #1877f2;
  color: #fff;
  box-shadow: 0 0 14px rgba(24, 119, 242, 0.5);
  transform: translateY(-1px);
}

/* WhatsApp */
.stage-tab-btn.stage-main-wa-btn {
  text-decoration: none;
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.4);
  color: #55ef88;
}
.stage-tab-btn.stage-main-wa-btn:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25d366;
  color: #fff;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.5);
  transform: translateY(-1px);
}

/* Instagram */
.stage-tab-btn.stage-main-ig-btn {
  text-decoration: none;
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.4);
  color: #ff6b9d;
}
.stage-tab-btn.stage-main-ig-btn:hover {
  background: rgba(225, 48, 108, 0.25);
  border-color: #e1306c;
  color: #fff;
  box-shadow: 0 0 14px rgba(225, 48, 108, 0.5);
  transform: translateY(-1px);
}

/* X / Twitter */
.stage-tab-btn.stage-main-x-btn {
  text-decoration: none;
  background: rgba(29, 161, 242, 0.1);
  border-color: rgba(29, 161, 242, 0.4);
  color: #70caff;
}
.stage-tab-btn.stage-main-x-btn:hover {
  background: rgba(29, 161, 242, 0.25);
  border-color: #1da1f2;
  color: #fff;
  box-shadow: 0 0 14px rgba(29, 161, 242, 0.5);
  transform: translateY(-1px);
}

/* LinkedIn */
.stage-tab-btn.stage-main-in-btn {
  text-decoration: none;
  background: rgba(10, 102, 194, 0.12);
  border-color: rgba(10, 102, 194, 0.4);
  color: #59a5f5;
}
.stage-tab-btn.stage-main-in-btn:hover {
  background: rgba(10, 102, 194, 0.25);
  border-color: #0a66c2;
  color: #fff;
  box-shadow: 0 0 14px rgba(10, 102, 194, 0.5);
  transform: translateY(-1px);
}

/* TikTok */
.stage-tab-btn.stage-main-tt-btn {
  text-decoration: none;
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  color: #00f2fe;
}
.stage-tab-btn.stage-main-tt-btn:hover {
  background: rgba(254, 44, 85, 0.2);
  border-color: #fe2c55;
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.5);
  transform: translateY(-1px);
}

/* GitHub */
.stage-tab-btn.stage-main-gh-btn {
  text-decoration: none;
  background: rgba(163, 113, 247, 0.1);
  border-color: rgba(163, 113, 247, 0.4);
  color: #c29ffa;
}
.stage-tab-btn.stage-main-gh-btn:hover {
  background: rgba(163, 113, 247, 0.25);
  border-color: #a371f7;
  color: #fff;
  box-shadow: 0 0 14px rgba(163, 113, 247, 0.5);
  transform: translateY(-1px);
}

/* Telegram */
.stage-tab-btn.stage-main-tg-btn {
  text-decoration: none;
  background: rgba(34, 158, 217, 0.1);
  border-color: rgba(34, 158, 217, 0.4);
  color: #64c2f5;
}
.stage-tab-btn.stage-main-tg-btn:hover {
  background: rgba(34, 158, 217, 0.25);
  border-color: #229ed9;
  color: #fff;
  box-shadow: 0 0 14px rgba(34, 158, 217, 0.5);
  transform: translateY(-1px);
}

.stage-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}

.stage-header-actions > * {
  flex-shrink: 0;
  white-space: nowrap;
}

.stage-action-btn {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.stage-action-btn:hover {
  background: rgba(0, 242, 254, 0.22);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
  transform: translateY(-1px);
}

.stage-action-btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--accent-cyan);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.76rem;
  transition: var(--transition-fast);
}

.stage-action-btn-icon:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: scale(1.05);
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: blink 1.2s infinite ease-in-out;
}

.avatar-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-emerald);
  transition: var(--transition-fast);
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.avatar-status-pill.thinking {
  background: rgba(255, 189, 46, 0.12);
  border-color: rgba(255, 189, 46, 0.4);
  color: #ffbd2e;
}
.avatar-status-pill.thinking .status-indicator-dot {
  background: #ffbd2e;
  box-shadow: 0 0 8px #ffbd2e;
  animation: blink 0.6s infinite;
}

.avatar-status-pill.speaking {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}
.avatar-status-pill.speaking .status-indicator-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-dot 0.8s infinite alternate;
}

.avatar-status-pill.listening {
  background: rgba(255, 71, 87, 0.15);
  border-color: var(--accent-red);
  color: var(--accent-red);
}
.avatar-status-pill.listening .status-indicator-dot {
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  animation: blink 0.5s infinite;
}

/* --- Avatar Stage Container & Layers --- */
.avatar-stage-container {
  position: relative;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.05) 0%, #03060f 85%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-visual-box {
  position: relative;
  width: 100%;
  max-width: 1900px;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 35px 0 45px -20px #03060f, inset -35px 0 45px -20px #03060f;
}

/* 60 FPS HTML5 Canvas Neural Lip Warp & Face Engine */
.avatar-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#avatarCanvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(1.15);
  transform-origin: center center;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
  will-change: transform;
}

/* Face Layer Transitions — Solid Base, Zero Blink (Legacy fallback compatibility) */
.avatar-face-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

/* Base Idle Head: Permanently 100% visible & completely stationary — ZERO background movement */
.avatar-idle-layer {
  opacity: 1 !important;
  z-index: 1;
  transform: none !important;
  animation: none !important;
}

/* Thinking Face Overlay */
.avatar-thinking-layer {
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
  pointer-events: none;
  transform: none !important;
}

.avatar-thinking-layer.active {
  opacity: 0.85;
}

/* Photorealistic Mouth Viseme Layers: Seamlessly feathered on base idle face */
.avatar-mouth-layer,
.avatar-speaking-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.075s cubic-bezier(0.25, 0.1, 0.25, 1);
  pointer-events: none;
  user-select: none;
  will-change: opacity;
  transform: none !important;
}

.avatar-mouth-layer.active,
.avatar-speaking-layer.active {
  opacity: 1 !important;
}

/* Natural Eye Blinking Layer: Exactly positioned over eyelids */
.avatar-eyes-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  z-index: 4;
  transition: opacity 0.09s ease-in-out;
  pointer-events: none;
  user-select: none;
  will-change: opacity;
  transform: none !important;
}

.avatar-eyes-layer.blinking {
  opacity: 1 !important;
}

.avatar-eyes-layer.half-blink {
  opacity: 0.65;
}

/* Head Layer Wrapper: Fixed & enlarged naturally with lifelike micro-presence */
.avatar-head-motion-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  transform: scale(1.15);
  transform-origin: center center;
  will-change: transform;
}

@keyframes avatarLifelikeTalkingPresence {
  0% { transform: scale(1.15) translateY(0px); }
  28% { transform: scale(1.1512) translateY(-0.65px); }
  65% { transform: scale(1.1495) translateY(0.45px); }
  100% { transform: scale(1.15) translateY(0px); }
}

.avatar-stage-container.talking .avatar-head-motion-wrap {
  animation: avatarLifelikeTalkingPresence 2.4s ease-in-out infinite alternate !important;
}

/* --- Neural Brain Synaptic Energy & Cranial Wave Aura (Disabled for Pure Natural Realism) --- */
.avatar-brain-aura {
  display: none !important;
}

/* Ambient Cranial Sphere Glow */
.brain-glow-sphere {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.45) 0%, rgba(121, 40, 202, 0.3) 45%, transparent 75%);
  filter: blur(14px);
  animation: brain-glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes brain-glow-pulse {
  0% { transform: scale(0.92); opacity: 0.5; }
  100% { transform: scale(1.12); opacity: 0.95; }
}

/* Synaptic Mesh Web */
.brain-synapse-mesh {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.25) 10%, transparent 65%);
  filter: blur(6px);
}

/* Concentric Synaptic Pulse Rings */
.brain-synapse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 242, 254, 0.55);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.brain-synapse-ring.ring-inner {
  width: 110px;
  height: 80px;
  animation: brain-ring-spin-cw 8s linear infinite;
}

.brain-synapse-ring.ring-outer {
  width: 170px;
  height: 120px;
  border-color: rgba(0, 245, 160, 0.45);
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.35);
  animation: brain-ring-spin-ccw 12s linear infinite;
}

@keyframes brain-ring-spin-cw {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(0.95); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.05); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(0.95); }
}

@keyframes brain-ring-spin-ccw {
  0% { transform: translate(-50%, -50%) rotate(360deg) scale(1.03); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(0.96); }
  100% { transform: translate(-50%, -50%) rotate(0deg) scale(1.03); }
}

/* Horizontal Synaptic Scanwave Beam */
.brain-wave-beam {
  position: absolute;
  top: 45%;
  left: -20%;
  width: 140%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.8), rgba(0, 245, 160, 0.95), transparent);
  box-shadow: 0 0 12px #00f2fe;
  opacity: 0.6;
  animation: brain-wave-sweep 2.8s ease-in-out infinite;
}

@keyframes brain-wave-sweep {
  0% { transform: translateY(-25px) scaleX(0.7); opacity: 0.2; }
  50% { transform: translateY(18px) scaleX(1.1); opacity: 0.9; }
  100% { transform: translateY(-25px) scaleX(0.7); opacity: 0.2; }
}

/* Firing Synaptic Neural Nodes */
.brain-activity-nodes {
  position: absolute;
  inset: 0;
}

.synapse-node {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe, 0 0 14px #00f5a0;
  animation: synapse-node-spark 1.8s ease-in-out infinite;
}

.synapse-node.n1 { top: 25%; left: 35%; animation-delay: 0.1s; }
.synapse-node.n2 { top: 20%; left: 65%; animation-delay: 0.5s; background: #00f5a0; }
.synapse-node.n3 { top: 60%; left: 28%; animation-delay: 0.9s; }
.synapse-node.n4 { top: 58%; left: 72%; animation-delay: 1.3s; background: #00f5a0; }
.synapse-node.n5 { top: 38%; left: 50%; animation-delay: 0.7s; width: 6px; height: 6px; background: #fff; }

@keyframes synapse-node-spark {
  0%, 100% { transform: scale(0.6); opacity: 0.3; }
  50% { transform: scale(1.6); opacity: 1; }
}

/* Dynamic State Overlays for Brain Aura */
.avatar-stage-container.thinking .avatar-brain-aura {
  opacity: 0.88;
  transform: translate(-50%, -22%) scale(1.12);
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.7));
}

.avatar-stage-container.thinking .brain-wave-beam {
  animation-duration: 1.2s;
  background: linear-gradient(90deg, transparent, #00f5a0, #00f2fe, #fff, transparent);
  height: 3.5px;
}

.avatar-stage-container.talking .avatar-brain-aura {
  opacity: 0.95;
  transform: translate(-50%, -20%) scale(1.08);
  filter: drop-shadow(0 0 22px rgba(0, 242, 254, 0.65));
}

.avatar-stage-container.talking .brain-synapse-ring.ring-inner {
  animation-duration: 4.5s;
}

.avatar-stage-container.talking .brain-synapse-ring.ring-outer {
  animation-duration: 6.5s;
}

/* Electric Surge on Spoken Syllable Peaks */
.avatar-brain-aura.brain-surge {
  opacity: 1 !important;
  transform: translate(-50%, -20%) scale(1.18) !important;
  filter: drop-shadow(0 0 28px rgba(0, 245, 160, 0.95)) brightness(1.3) !important;
  transition: transform 0.15s ease-out, filter 0.15s ease-out, opacity 0.15s ease-out;
}

/* Top Left HUD Badges */
.avatar-hud-top-left {
  position: absolute;
  top: 10px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 5;
  pointer-events: none;
}

.hud-mono-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-cyan);
  background: rgba(6, 9, 19, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 242, 254, 0.25);
  backdrop-filter: blur(4px);
  width: fit-content;
}

.hud-mono-val {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent-emerald);
  background: rgba(6, 9, 19, 0.6);
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
}

/* Audio EQ Spectrum Bars (Top Right) */
.avatar-audio-eq {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 20px;
  padding: 4px 6px;
  background: rgba(6, 9, 19, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  z-index: 4;
  pointer-events: none;
}

.eq-bar {
  width: 2.5px;
  height: 3px;
  background: var(--text-subtle);
  border-radius: 2px;
  transition: height 0.1s ease, background-color 0.2s ease;
}

.avatar-stage-container.talking .eq-bar {
  background: linear-gradient(to top, var(--accent-cyan), #e024c3);
  animation: eq-bounce 0.4s infinite alternate ease-in-out;
}

.avatar-stage-container.talking .eq-bar:nth-child(1) { animation-delay: 0.05s; }
.avatar-stage-container.talking .eq-bar:nth-child(2) { animation-delay: 0.2s; }
.avatar-stage-container.talking .eq-bar:nth-child(3) { animation-delay: 0.12s; }
.avatar-stage-container.talking .eq-bar:nth-child(4) { animation-delay: 0.28s; }
.avatar-stage-container.talking .eq-bar:nth-child(5) { animation-delay: 0.15s; }
.avatar-stage-container.talking .eq-bar:nth-child(6) { animation-delay: 0.22s; }
.avatar-stage-container.talking .eq-bar:nth-child(7) { animation-delay: 0.08s; }
.avatar-stage-container.talking .eq-bar:nth-child(8) { animation-delay: 0.18s; }



/* Video Stage View */
.video-frame-container {
  position: relative;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-frame-container video {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Sleek Floating Unmute Button on Video */
.video-unmute-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  transition: var(--transition-fast);
}

.video-unmute-badge:hover {
  background: rgba(0, 242, 254, 0.25);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.5);
  transform: scale(1.05);
}

.video-unmute-badge.unmuted {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: rgba(0, 245, 160, 0.15);
}

/* Custom Sleek Video Play Overlay */
.video-play-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 9, 19, 0.1) 0%, rgba(6, 9, 19, 0.5) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  z-index: 5;
  cursor: pointer;
}

.video-frame-container.playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}

.custom-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-main);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.65);
  cursor: pointer;
  transition: var(--transition-fast);
  padding-left: 3px;
}

.custom-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.9);
}

.play-label {
  color: #fff;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  background: rgba(6, 9, 19, 0.6);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   HERO STAGE YOUTUBE PLAYER VIEW (CINEMA HUB)
   ========================================================================== */
.stage-youtube-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
  width: 100%;
  height: 100%;
  flex: 1 1 0;
  min-height: 0;
  background: radial-gradient(circle at 50% 10%, rgba(255, 71, 87, 0.09) 0%, #030611 90%);
  overflow: hidden;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease-out;
}

.stage-yt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.stage-yt-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 71, 87, 0.4);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
}

.stage-yt-search-wrap:focus-within {
  border-color: #ff4757;
  box-shadow: 0 0 20px rgba(255, 71, 87, 0.45);
}

.stage-yt-icon {
  color: #ff4757;
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(255, 71, 87, 0.6));
}

.stage-yt-search-wrap input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  width: 100%;
  outline: none;
}

.stage-yt-search-wrap input::placeholder {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.stage-yt-play-btn {
  background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
  border: none !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  padding: 6px 14px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.stage-yt-play-btn:hover {
  box-shadow: 0 0 16px rgba(255, 71, 87, 0.7) !important;
  transform: translateY(-1px);
}

.stage-yt-browse-btn {
  background: rgba(255, 71, 87, 0.15) !important;
  border: 1px solid rgba(255, 71, 87, 0.5) !important;
  color: #ff6b81 !important;
  border-radius: var(--radius-full) !important;
  padding: 6px 12px !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stage-yt-browse-btn:hover {
  background: #ff4757 !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(255, 71, 87, 0.7) !important;
  transform: translateY(-1px);
}

.stage-main-yt-action-btn {
  text-decoration: none !important;
  background: rgba(255, 71, 87, 0.12) !important;
  border-color: rgba(255, 71, 87, 0.45) !important;
  color: #ff6b81 !important;
}

.stage-main-yt-action-btn:hover {
  background: rgba(255, 71, 87, 0.28) !important;
  border-color: #ff4757 !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(255, 71, 87, 0.5) !important;
}

.stage-yt-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stage-yt-engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 71, 87, 0.12);
  border: 1px solid rgba(255, 71, 87, 0.35);
  color: #ff4757;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.stage-yt-chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  flex-shrink: 0;
}

.stage-yt-chips-row::-webkit-scrollbar {
  display: none;
}

.stage-yt-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
}

.stage-yt-chip i {
  color: #ff4757;
  font-size: 0.72rem;
}

.stage-yt-chip:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: #ff4757;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.4);
  transform: translateY(-1px);
}

.stage-yt-player-box {
  background: rgba(4, 7, 16, 0.92);
  border: 1px solid rgba(255, 71, 87, 0.25);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 0;
  min-height: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), inset 0 0 15px rgba(255, 71, 87, 0.04);
}

.stage-yt-now-playing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
  flex-shrink: 0;
}

.stage-yt-playing-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.stage-yt-now-playing strong {
  font-size: 0.82rem;
  color: #fff;
  font-family: var(--font-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-yt-now-playing strong span {
  color: #ff4757;
}

.stage-yt-iframe-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9);
}

.stage-yt-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations for Avatar */
@keyframes avatar-breathe {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.006) translateY(-1px); }
}

@keyframes eq-bounce {
  0% { height: 4px; }
  50% { height: 18px; }
  100% { height: 8px; }
}

@keyframes pulse-dot {
  0% { transform: scale(0.85); }
  100% { transform: scale(1.25); }
}

/* --- Right: Voice & Text Interactive AI Chat Box (Right-Side Symmetrical Chatbot) --- */
.hero-chat-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.voice-chat-card {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
  background: rgba(8, 14, 28, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72), 0 0 48px rgba(0, 242, 254, 0.22);
  transition: var(--transition-smooth);
  position: relative;
}

.voice-chat-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7), 0 0 36px rgba(0, 242, 254, 0.25);
}

.chat-simulator-card {
  position: relative;
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.68), 0 0 42px rgba(0, 242, 254, 0.18);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.chat-simulator-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7), 0 0 36px rgba(0, 242, 254, 0.25);
}

/* Chat Card Header: Sleek Cybernetic Header matching Avatar Stage Header */
.chat-card-header {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 10px;
  z-index: 10;
  height: 46px;
  box-sizing: border-box;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-header-icon {
  color: var(--accent-cyan);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
}

.chat-header-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.chat-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.chat-header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-tool-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.74rem;
  transition: var(--transition-fast);
}

.chat-tool-btn:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: var(--accent-red);
  color: #fff;
  transform: scale(1.08);
}

/* Internal Scroll Area for Messages */
.chat-body {
  padding: 14px 16px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.3) transparent;
  flex: 1 1 0;
  min-height: 0;
  overscroll-behavior: contain;
  overflow-anchor: auto;
}

.chat-body::-webkit-scrollbar {
  width: 5px;
}
.chat-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.25);
  border-radius: 4px;
}
.chat-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.5);
}

.chat-message {
  display: flex;
  gap: 8px;
  max-width: 88%;
  animation: fadeIn 0.3s ease-out forwards;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble {
  padding: 8px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  word-break: break-word;
  width: fit-content;
  max-width: 100%;
}

.chat-message.bot .chat-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-top-left-radius: 4px;
}

.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #060913;
  font-weight: 500;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.25);
}

/* Dual Language Typography (English Font vs Bengali Font) */
.chat-bubble.lang-bn,
.chat-bubble.lang-bn * {
  font-family: var(--font-bangla) !important;
  font-size: 0.94rem;
  line-height: 1.62;
  letter-spacing: 0.25px;
}

.chat-bubble.lang-en,
.chat-bubble.lang-en * {
  font-family: var(--font-english) !important;
  font-size: 0.88rem;
  line-height: 1.52;
  letter-spacing: 0.15px;
}

/* --- Voice Wave Indicator Animation --- */
.voice-wave-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(0, 242, 254, 0.08);
  border-top: 1px solid rgba(0, 242, 254, 0.2);
  flex-shrink: 0;
}

.wave-bar {
  width: 3px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0.1s; height: 8px; }
.wave-bar:nth-child(2) { animation-delay: 0.3s; height: 16px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 12px; }
.wave-bar:nth-child(4) { animation-delay: 0.4s; height: 18px; }
.wave-bar:nth-child(5) { animation-delay: 0.2s; height: 13px; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; height: 9px; }

.voice-wave-text {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  margin-left: 8px;
  font-family: var(--font-mono);
}

/* Chat Input Area */
.chat-input-area {
  padding: 8px 14px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.quick-prompts {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.3) transparent;
}

.quick-prompts::-webkit-scrollbar {
  height: 3px;
}
.quick-prompts::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.quick-prompts::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.3);
  border-radius: 4px;
}
.quick-prompts::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.6);
}

.quick-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-chip:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--text-main);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-attach-plus-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.25));
  border: 1px solid rgba(0, 242, 254, 0.45);
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.chat-attach-plus-btn:hover {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.35), rgba(79, 172, 254, 0.45));
  color: #fff;
  transform: scale(1.08) rotate(90deg);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.6);
  border-color: #00f2fe;
}

.voice-mic-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--accent-cyan);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.voice-mic-btn:hover {
  background: rgba(0, 242, 254, 0.25);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.chat-lang-pill {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--accent-cyan);
  padding: 0 9px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  user-select: none;
}

.chat-lang-pill:hover {
  background: rgba(0, 242, 254, 0.22);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
}

.chat-lang-pill.en-mode {
  background: rgba(163, 113, 247, 0.15);
  border-color: rgba(163, 113, 247, 0.45);
  color: #c29ffa;
}

.voice-mic-btn.recording {
  background: var(--accent-red);
  color: #fff;
  border-color: transparent;
  animation: mic-pulse 1.2s infinite ease-in-out;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  color: var(--text-main);
  font-size: 0.84rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
  height: 36px;
}

.chat-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-main);
  border: none;
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.6);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 3px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  width: fit-content;
  align-items: center;
}

.typing-dot {
  width: 5px;
  height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* Scroll Down Prompt */
.scroll-down-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.scroll-down-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  transition: var(--transition-fast);
}

.scroll-down-link:hover {
  color: var(--accent-cyan);
}

.scroll-down-link i {
  animation: bounce 2s infinite;
}

/* ==========================================================================
   OTHER SECTIONS (FEATURES, GALLERY, CONSOLE, ABOUT, FOOTER)
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* --- Bento Features Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow-cyan);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.highlight {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(138, 43, 226, 0.08) 100%);
  border-color: rgba(0, 242, 254, 0.3);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.bento-card:hover .card-icon {
  background: var(--gradient-main);
  color: #fff;
  transform: scale(1.1);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-badge {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Project & Asset Gallery --- */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--glass-bg-card);
  border: 1px solid var(--glass-border);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 19, 0.9) 0%, rgba(6, 9, 19, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* --- Tech Stack Badges --- */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.tech-card {
  background: var(--glass-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-fast);
}

.tech-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  background: rgba(0, 242, 254, 0.06);
}

.tech-card span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Developer / About Card --- */
.about-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--glass-border-hover);
  box-shadow: var(--shadow-glow-cyan);
  aspect-ratio: 1;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.about-role {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: block;
}

.about-bio {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--gradient-main);
  border-color: transparent;
  transform: translateY(-3px);
  color: #fff;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.95);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-cyan);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--gradient-main);
}

.lightbox-nav.prev { left: -70px; }
.lightbox-nav.next { right: -70px; }

/* --- Footer --- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 7, 15, 0.9);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 360px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

/* --- Keyframe Animations --- */
@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.3; }
  100% { transform: scale(1.15); opacity: 0.55; }
}

@keyframes mic-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(255, 71, 87, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-4px); opacity: 1; }
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-top-section {
    padding-top: 12px;
    min-height: auto;
  }

  .hero-primary-grid {
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }
  
  .hero-video-card,
  .hero-video-card.neural-stage-card,
  .hero-chat-container {
    height: clamp(510px, 62vh, 670px);
    max-height: 690px;
    min-height: 450px;
  }
  
  .voice-chat-card {
    height: 100%;
    max-height: 100%;
    min-height: 0;
  }
  
  .hero-main-title {
    font-size: 1.45rem;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-card.span-2 {
    grid-column: span 2;
  }
  
  .about-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header {
    padding: 10px 0;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 19, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-160%);
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .voice-toggle-btn span {
    display: none; /* Icon only on mobile for space */
  }
  .voice-toggle-btn {
    padding: 8px 12px;
  }
  
  .hero-top-section {
    padding-top: 14px;
    padding-bottom: 20px;
  }

  .hero-header-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .hero-header-left {
    order: 1;
  }

  .hero-header-right {
    order: 2;
  }

  .hero-header-center {
    order: 3;
    width: 100%;
    margin-top: 2px;
  }

  .hero-main-title {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .hero-primary-grid {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 14px;
    max-width: 100%;
  }

  .hero-video-card,
  .hero-video-card.neural-stage-card {
    height: clamp(380px, 52vh, 480px);
    max-height: 500px;
    min-height: 320px;
  }
  
  .hero-chat-container,
  .voice-chat-card {
    height: auto;
    min-height: 360px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .bento-card.span-2 {
    grid-column: span 1;
  }

  .bento-card {
    padding: 24px 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }

  .about-card {
    padding: 24px 20px;
    gap: 24px;
  }

  .about-img-box {
    max-width: 220px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-close { top: -38px; right: 8px; }
}

@media (max-width: 480px) {
  .hero-header-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .hero-header-left,
  .hero-header-right,
  .hero-header-center {
    justify-content: center;
    width: 100%;
  }

  .hero-main-title {
    font-size: 1.25rem;
  }

  .hero-video-card,
  .hero-video-card.neural-stage-card {
    height: clamp(360px, 54vh, 450px);
    max-height: 460px;
    min-height: 320px;
  }

  .hero-chat-container,
  .voice-chat-card {
    height: auto;
    min-height: 320px;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .chat-body {
    min-height: 120px;
    padding: 10px;
  }

  .custom-play-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .play-label {
    font-size: 0.68rem;
    padding: 2px 8px;
  }

  .chat-bubble {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  .quick-chip {
    font-size: 0.68rem;
    padding: 3px 9px;
  }

  .voice-mic-btn, .chat-send-btn {
    width: 35px;
    height: 35px;
    font-size: 0.88rem;
  }

  .chat-input {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEURAL KNOWLEDGE STORE & DYNAMIC MEMORY MODAL STYLES
   ========================================================================== */
.nav-kb-btn {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--text-main);
  padding: 6px 14px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-kb-btn:hover {
  background: rgba(0, 242, 254, 0.22);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.3);
  transform: translateY(-1px);
}

.knowledge-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.knowledge-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.knowledge-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.knowledge-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  background: rgba(12, 18, 38, 0.94);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.knowledge-modal.active .knowledge-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.knowledge-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(6, 10, 24, 0.8);
  border-bottom: 1px solid var(--glass-border);
}

.knowledge-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.knowledge-modal-title .title-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(138, 43, 226, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.knowledge-modal-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  letter-spacing: -0.3px;
}

.knowledge-modal-title p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.knowledge-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.knowledge-modal-close:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: var(--accent-red);
  color: #fff;
}

/* Modal Toolbar */
.knowledge-modal-toolbar {
  padding: 14px 24px;
  background: rgba(10, 15, 30, 0.6);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.knowledge-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.knowledge-search-wrapper .search-icon {
  position: absolute;
  left: 14px;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  pointer-events: none;
}

.knowledge-search-input {
  width: 100%;
  background: rgba(4, 7, 18, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 40px 10px 38px;
  color: #fff;
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.knowledge-search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
  background: rgba(4, 7, 18, 0.95);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear-btn:hover {
  color: #fff;
}

.knowledge-category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.knowledge-category-tabs::-webkit-scrollbar {
  height: 3px;
}

.knowledge-category-tabs::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.2);
  border-radius: 4px;
}

.kb-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 5px 12px;
  font-size: 0.74rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
}

.kb-tab-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  color: var(--text-main);
  border-color: rgba(0, 242, 254, 0.3);
}

.kb-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(138, 43, 226, 0.2));
  border-color: var(--accent-cyan);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

/* Modal Body */
.knowledge-modal-body {
  padding: 16px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.knowledge-list-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kb-status-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.add-kb-btn {
  padding: 5px 14px;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Add Knowledge Panel */
.add-knowledge-panel {
  background: rgba(6, 10, 24, 0.85);
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.1);
  animation: slideDown 0.25s ease-out;
}

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

.add-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.add-panel-header h4 {
  font-size: 0.95rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-knowledge-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.kb-form-input, .kb-form-select, .kb-form-textarea {
  background: rgba(14, 20, 42, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.kb-form-input:focus, .kb-form-select:focus, .kb-form-textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.25);
  background: rgba(14, 20, 42, 0.98);
}

.kb-form-textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.45;
}

.form-hint {
  font-size: 0.7rem;
  color: var(--text-subtle);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

/* Knowledge Cards Grid */
.knowledge-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.kb-card {
  background: rgba(14, 21, 45, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.kb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-cyan);
  opacity: 0.7;
}

.kb-card[data-cat="kusol"]::before { background: var(--accent-magenta); }
.kb-card[data-cat="creator"]::before { background: var(--accent-blue); }
.kb-card[data-cat="tech"]::before { background: var(--accent-cyan); }
.kb-card[data-cat="entertainment"]::before { background: #ffbd2e; }
.kb-card[data-cat="github"]::before { background: #8b5cf6; }
.kb-card[data-cat="custom"]::before { background: var(--accent-emerald); }
.kb-card[data-cat="qa_memory"]::before { background: #00f2fe; }

.kb-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: rgba(18, 28, 58, 0.85);
}

.kb-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.kb-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.kb-card-cat-badge {
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  white-space: nowrap;
}

.kb-card-cat-badge.github {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.45);
  color: #a78bfa;
}

.kb-card-cat-badge.custom {
  background: rgba(0, 245, 160, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.kb-card-cat-badge.qa {
  background: rgba(0, 242, 254, 0.18);
  border-color: rgba(0, 242, 254, 0.5);
  color: #00f2fe;
}

.kb-card-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.kb-keyword-pill {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

.kb-card-responses {
  background: rgba(4, 7, 18, 0.6);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: var(--text-main);
  line-height: 1.4;
  max-height: 90px;
  overflow-y: auto;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.kb-response-item {
  position: relative;
  padding-left: 12px;
  margin-bottom: 4px;
}

.kb-response-item:last-child {
  margin-bottom: 0;
}

.kb-response-item::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.kb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.kb-variation-count {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.kb-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kb-action-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.kb-action-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
}

.kb-action-btn.delete:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: var(--accent-red);
  color: #fff;
}

/* Modal Footer */
.knowledge-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(6, 10, 24, 0.85);
  border-top: 1px solid var(--glass-border);
}

.kb-footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Toast Notifications */
.kb-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10005;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.kb-toast {
  background: rgba(12, 18, 38, 0.95);
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #fff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 245, 160, 0.2);
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.kb-toast.error {
  border-color: var(--accent-red);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 71, 87, 0.2);
}

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

@media (max-width: 768px) {
  .knowledge-modal-dialog {
    max-height: 95vh;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .knowledge-cards-grid {
    grid-template-columns: 1fr;
  }
  .nav-kb-btn span,
  .nav-music-btn span {
    display: none;
  }
}

/* ==========================================================================
   8. CHAT EMBEDDED AUDIO PLAYER CARD
   ========================================================================== */
.chat-audio-card {
  margin-top: 10px;
  background: rgba(10, 20, 42, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cac-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cac-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cac-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cac-info strong {
  font-size: 0.86rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cac-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cac-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cac-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.7);
}

.cac-spectrum {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  padding: 2px 4px;
}

.cac-spectrum .c-bar {
  flex: 1;
  height: 3px;
  background: rgba(0, 242, 254, 0.4);
  border-radius: 2px;
  transition: height 0.15s ease;
}

.cac-spectrum.active .c-bar {
  background: var(--accent-cyan);
  animation: cacBarBounce 0.6s ease-in-out infinite alternate;
}

.cac-spectrum.active .c-bar:nth-child(1) { animation-delay: 0.05s; }
.cac-spectrum.active .c-bar:nth-child(2) { animation-delay: 0.2s; }
.cac-spectrum.active .c-bar:nth-child(3) { animation-delay: 0.1s; }
.cac-spectrum.active .c-bar:nth-child(4) { animation-delay: 0.35s; }
.cac-spectrum.active .c-bar:nth-child(5) { animation-delay: 0.15s; }
.cac-spectrum.active .c-bar:nth-child(6) { animation-delay: 0.3s; }
.cac-spectrum.active .c-bar:nth-child(7) { animation-delay: 0.08s; }
.cac-spectrum.active .c-bar:nth-child(8) { animation-delay: 0.25s; }

@keyframes cacBarBounce {
  0% { height: 3px; }
  100% { height: 14px; }
}

.cac-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.cac-studio-link {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cac-studio-link:hover {
  background: rgba(0, 242, 254, 0.12);
  color: #fff;
}

/* ==========================================================================
   9. NEURAL MP3 MUSIC STUDIO MODAL
   ========================================================================== */
.music-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.music-modal-card {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  background: rgba(10, 16, 32, 0.95);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-modal-backdrop.active .music-modal-card {
  transform: scale(1) translateY(0);
}

.music-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(6, 10, 24, 0.9);
  border-bottom: 1px solid var(--glass-border);
}

.music-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.music-icon-glow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(79, 172, 254, 0.25));
  border: 1px solid rgba(0, 242, 254, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.music-header-title h3 {
  font-size: 1.08rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
}

.music-header-title p {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

.music-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.music-modal-close:hover {
  color: var(--accent-red);
  background: rgba(255, 71, 87, 0.15);
}

.music-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Showcase Hero Card */
.current-track-card {
  background: linear-gradient(135deg, rgba(16, 26, 54, 0.85), rgba(8, 14, 30, 0.95));
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.track-artwork {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(0, 242, 254, 0.6);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

.spin-disc {
  font-size: 2.4rem;
  color: var(--accent-cyan);
}

.spin-disc.spinning {
  animation: spinVinyl 3.5s linear infinite;
}

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

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

.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-cyan);
  margin-bottom: 3px;
}

.track-title {
  font-size: 1rem;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 2px 0 6px 0;
}

/* Equalizer Bars in Modal */
.modal-eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.m-eq-bar {
  flex: 1;
  height: 4px;
  background: rgba(0, 242, 254, 0.3);
  border-radius: 2px;
  transition: height 0.12s ease;
}

.modal-eq-bars.active .m-eq-bar {
  background: linear-gradient(to top, var(--accent-cyan), #4facfe);
  animation: modalBarPulse 0.5s ease-in-out infinite alternate;
}

.modal-eq-bars.active .m-eq-bar:nth-child(2n) { animation-delay: 0.15s; }
.modal-eq-bars.active .m-eq-bar:nth-child(3n) { animation-delay: 0.3s; }
.modal-eq-bars.active .m-eq-bar:nth-child(4n) { animation-delay: 0.08s; }

@keyframes modalBarPulse {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* Timeline */
.music-timeline-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.time-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 32px;
}

.music-progress-bar,
.music-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  outline: none;
  flex: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.music-progress-bar::-webkit-slider-thumb,
.music-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.music-progress-bar::-webkit-slider-thumb:hover,
.music-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* Playback Controls Row */
.music-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.m-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.m-ctrl-btn:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.m-ctrl-btn.m-play-btn {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.m-ctrl-btn.m-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(0, 242, 254, 0.8);
}

.m-volume-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 120px;
  margin-left: 10px;
}

.m-vol-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.m-vol-btn:hover {
  color: #fff;
}

/* Custom MP3 File Uploader */
.custom-mp3-uploader {
  background: rgba(6, 12, 26, 0.7);
  border: 1px dashed rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
}

.uploader-header h4 {
  font-size: 0.88rem;
  color: #fff;
  margin: 0 0 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.uploader-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}

.file-drop-area {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-drop-area.drag-active,
.file-drop-area:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
}

.file-drop-area .file-icon {
  font-size: 1.6rem;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.file-drop-area p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0 0 8px 0;
}

/* Preset Track Playlist */
.music-playlist-section h4 {
  font-size: 0.88rem;
  color: #fff;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.playlist-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.playlist-item:hover,
.playlist-item.active {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
}

.pi-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pi-play-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.playlist-item.active .pi-play-btn {
  background: var(--accent-cyan);
  color: #000;
}

.pi-meta {
  display: flex;
  flex-direction: column;
}

.pi-meta strong {
  font-size: 0.8rem;
  color: #fff;
}

.pi-meta span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.pi-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

/* Modal Footer */
.music-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(6, 10, 24, 0.9);
  border-top: 1px solid var(--glass-border);
}


/* ==========================================================================
   11. YOUTUBE MUSIC STREAMER & CHAT YOUTUBE CARDS
   ========================================================================== */
.gradient-red-text {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Studio Tabs */
.studio-mode-tabs {
  display: flex;
  background: rgba(6, 12, 26, 0.95);
  border-bottom: 1px solid var(--glass-border);
  padding: 6px 16px;
  gap: 8px;
}

.studio-tab-btn {
  flex: 1;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.studio-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.studio-tab-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
  color: #fff;
}

.studio-tab-btn#tabYoutubeStreamBtn.active {
  background: rgba(255, 71, 87, 0.15);
  border-color: rgba(255, 71, 87, 0.5);
}

/* Chat YouTube Card */
.chat-youtube-card {
  margin-top: 10px;
  background: rgba(12, 16, 32, 0.9);
  border: 1px solid rgba(255, 71, 87, 0.4);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 71, 87, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
}

.cyc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.cyc-header i {
  font-size: 1.1rem;
}

.cyc-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cyc-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.cyc-footer {
  display: flex;
  justify-content: flex-end;
}

.cyc-studio-btn {
  background: transparent;
  border: 1px solid rgba(255, 71, 87, 0.4);
  color: #ff6b81;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.cyc-studio-btn:hover {
  background: rgba(255, 71, 87, 0.2);
  color: #fff;
}

/* YouTube Studio Section */
.youtube-search-card {
  background: rgba(8, 14, 30, 0.85);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
}

.yt-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.yt-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.yt-input-icon {
  position: absolute;
  left: 12px;
  color: #ff4757;
  font-size: 1.1rem;
}

.yt-search-input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font-main);
  outline: none;
  transition: all 0.2s ease;
}

.yt-search-input:focus {
  border-color: #ff4757;
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.3);
}

.yt-play-btn {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  border: none;
  color: #fff;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.4);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.yt-play-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 22px rgba(255, 71, 87, 0.7);
}

/* Preset Chips */
.yt-presets-section h5 {
  font-size: 0.82rem;
  color: #fff;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.yt-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yt-chip {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.yt-chip:hover {
  background: rgba(255, 71, 87, 0.18);
  border-color: #ff4757;
  color: #fff;
  transform: translateY(-1px);
}

/* YouTube Player Frame Card */
.yt-player-frame-card {
  background: rgba(6, 10, 22, 0.95);
  border: 1px solid rgba(255, 71, 87, 0.35);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.yt-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yt-now-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yt-now-info strong {
  font-size: 0.88rem;
  color: #fff;
}

.yt-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.yt-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   USER AUTH & LOGIN MODAL STYLES
   ========================================================================== */
.user-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.user-auth-btn:hover {
  background: rgba(0, 242, 254, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
  transform: translateY(-1px);
}

.user-auth-btn.logged-in {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.5);
  color: #fff;
}

.user-auth-btn.logged-in:hover {
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.4);
}

.user-auth-avatar-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  flex-shrink: 0;
}

.user-auth-btn.logged-in .user-auth-avatar-dot {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
  box-shadow: 0 0 8px rgba(0, 245, 160, 0.6);
}

.user-auth-name-text {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* User Auth Modal */
.user-auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.user-auth-modal.active {
  display: flex !important;
  pointer-events: auto !important;
  animation: fadeIn 0.25s ease-out;
}

.user-auth-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.user-auth-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: rgba(10, 16, 32, 0.95);
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 32px rgba(0, 242, 254, 0.2);
  overflow: hidden;
  animation: slideUpScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
}

.user-auth-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-auth-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(138, 43, 226, 0.25));
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.user-auth-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.user-auth-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.user-auth-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: var(--transition-fast);
}

.user-auth-close:hover {
  color: #fff;
  transform: scale(1.1);
}

.user-auth-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.user-auth-current-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-auth-current-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-auth-status-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.user-auth-status-tag.active {
  background: rgba(0, 245, 160, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.4);
  color: var(--accent-emerald);
}

.user-auth-current-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.user-auth-current-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.user-auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.user-auth-input-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-auth-input-group label i {
  color: var(--accent-cyan);
}

.user-auth-input-group input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.user-auth-input-group input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
  background: rgba(0, 0, 0, 0.6);
}

.user-auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.user-auth-actions .btn {
  flex: 1;
  font-size: 0.88rem;
  padding: 10px 18px;
}

/* ==========================================================================
   PORTFOLIO PROJECTS SHOWCASE SECTION
   ========================================================================== */
.portfolio-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.portfolio-project-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.portfolio-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.portfolio-project-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 16px 40px -10px rgba(0, 242, 254, 0.2);
}

.portfolio-project-card:hover::before {
  opacity: 1;
}

.portfolio-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.portfolio-project-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-cyan);
}

.portfolio-category-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.portfolio-project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-project-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.portfolio-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.portfolio-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
}

.portfolio-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-card-actions .btn {
  flex: 1;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.portfolio-card-actions .btn-live {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #060913;
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3);
}

.portfolio-card-actions .btn-live:hover {
  box-shadow: 0 6px 18px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.portfolio-card-actions .btn-github {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.portfolio-card-actions .btn-github:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
