/* DECKLAR BRAND STANDARDS
 * Primary: Cognitive Violet #6038FB
 * Accent: Signal Green #00FF40
 * Backgrounds: Near-black #0A0A0F, Deep navy #0D1117
 * Fonts: Inter, SF Pro, system-ui
 */

:root {
  --violet: #6038FB;
  --violet-light: #7B5CFF;
  --violet-dark: #4C2EC9;
  --green: #00FF40;
  --green-dim: #00CC33;
  --bg-dark: #0A0A0F;
  --bg-navy: #0D1117;
  --bg-card: rgba(19, 22, 32, 0.8);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border: rgba(96, 56, 251, 0.2);
  --border-hover: rgba(96, 56, 251, 0.5);
  --glass: rgba(13, 17, 23, 0.85);
  --glass-border: rgba(96, 56, 251, 0.15);
  --shadow-glow: 0 0 40px rgba(96, 56, 251, 0.3);
  --shadow-green: 0 0 30px rgba(0, 255, 64, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, SF Pro, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(96, 56, 251, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 255, 64, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(96, 56, 251, 0.05) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(96, 56, 251, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-brand:hover .brand-icon {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 30px rgba(96, 56, 251, 0.7);
}

.brand-text {
  background: linear-gradient(90deg, var(--text-primary), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--green));
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-cta a {
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(96, 56, 251, 0.3);
}

.nav-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(96, 56, 251, 0.5);
}

/* Main container */
main {
  padding-top: 80px;
  min-height: 100vh;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(10, 10, 15, 0.3) 0%, 
    rgba(10, 10, 15, 0.7) 50%,
    var(--bg-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(96, 56, 251, 0.15);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--violet-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--violet-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span {
  display: block;
  color: var(--green);
  -webkit-text-fill-color: var(--green);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  color: white;
  box-shadow: 0 4px 20px rgba(96, 56, 251, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(96, 56, 251, 0.6);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

/* Featured Posts Section */
.featured-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-primary), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.post-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--violet), transparent, var(--green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.post-card:hover::before {
  opacity: 1;
}

.post-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.1);
}

.post-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 100%);
}

.post-card-content {
  padding: 1.75rem;
}

.post-card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: rgba(96, 56, 251, 0.15);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--violet-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag.featured {
  background: rgba(0, 255, 64, 0.1);
  border-color: rgba(0, 255, 64, 0.3);
  color: var(--green);
}

.post-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.post-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card h3 a:hover {
  color: var(--violet-light);
}

.post-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.post-meta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reading-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.read-more-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--violet-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  color: var(--green);
  gap: 0.5rem;
}

/* Newsletter Section */
.newsletter-section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(96, 56, 251, 0.1) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

.newsletter-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  z-index: 1;
}

.newsletter-container h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.newsletter-container p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.newsletter-form input {
  flex: 1;
  min-width: 280px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 20px rgba(96, 56, 251, 0.2);
}

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

/* Post Page */
.post-page {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.post-header {
  text-align: center;
  padding: 4rem 0 3rem;
}

.post-header-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-glow);
}

.post-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.post-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.post-content {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--violet-light);
}

.post-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.post-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.post-content a {
  color: var(--violet-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.post-content a:hover {
  border-bottom-color: var(--violet-light);
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.post-content blockquote {
  border-left: 4px solid var(--violet);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* About Page */
.about-page {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

.about-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--violet);
  box-shadow: var(--shadow-glow);
  margin-bottom: 1.5rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-hero .subtitle {
  color: var(--violet-light);
  font-size: 1.1rem;
  font-weight: 500;
}

.about-content {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
}

.about-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--violet-light);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, transparent 0%, var(--bg-navy) 100%);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
}

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

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--violet-light);
}

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

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--violet);
  color: var(--violet-light);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--violet-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

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

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 5rem 1.5rem 3rem;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .featured-section {
    padding: 3rem 1rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-container {
    padding: 2rem 1.5rem;
  }
  
  .post-content {
    padding: 2rem 1.5rem;
  }
  
  .about-content {
    padding: 2rem 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--violet-light), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

/* Voice Player Controls v4.0.0 */
.voice-player {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
}

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

.voice-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-light) 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(96, 56, 251, 0.3);
}

.voice-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(96, 56, 251, 0.5);
}

.voice-play-btn:active {
  transform: scale(0.98);
}

.voice-summarize-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-summarize-btn:hover {
  border-color: var(--violet);
  background: rgba(96, 56, 251, 0.1);
}

.voice-summarize-btn svg {
  fill: currentColor;
}

.voice-progress-container {
  margin-top: 1rem;
}

.voice-progress-bar {
  position: relative;
  height: 6px;
  background: rgba(96, 56, 251, 0.2);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}

.voice-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--violet) 0%, var(--green) 100%);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

.voice-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 64, 0.5);
  opacity: 0;
  transition: opacity 0.2s;
}

.voice-progress-bar:hover .voice-progress-handle {
  opacity: 1;
}

.voice-time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.voice-status {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Responsive voice player */
@media (max-width: 640px) {
  .voice-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .voice-summarize-btn {
    justify-content: center;
  }
}

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

::-webkit-scrollbar-thumb {
  background: var(--violet-dark);
  border-radius: 5px;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--violet-dark);
  border-radius: 5px;
}

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

/* Voice Player v4.1.0 Styles */
.voice-player-wrapper {
  margin: 2rem 0;
  padding: 0 1rem;
}

.voice-player-container {
  background: linear-gradient(135deg, rgba(96, 56, 251, 0.1), rgba(96, 56, 251, 0.05));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.voice-player {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.voice-player-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.voice-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--violet);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.voice-play-btn:hover {
  background: var(--violet-light);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.voice-play-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.voice-time-display {
  font-family: 'SF Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
  text-align: right;
}

.voice-progress-container {
  padding: 0.25rem 0;
}

.voice-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.voice-progress-bar:hover {
  height: 8px;
}

.voice-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

.voice-progress-bar:hover .voice-progress-fill {
  background: linear-gradient(90deg, var(--violet-light), var(--green-dim));
}

.voice-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.voice-skip-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(96, 56, 251, 0.1);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.voice-skip-btn:hover {
  background: rgba(96, 56, 251, 0.2);
  border-color: var(--violet);
}

.voice-status {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  flex: 1;
}

.voice-summarize-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-summarize-btn:hover {
  background: rgba(96, 56, 251, 0.1);
  border-color: var(--violet);
  color: var(--text-primary);
}

.voice-summarize-btn.active {
  background: rgba(96, 56, 251, 0.2);
  border-color: var(--violet);
  color: var(--violet-light);
}

.voice-caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.voice-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: voice-spin 1s linear infinite;
}

@keyframes voice-spin {
  to { transform: rotate(360deg); }
}

.voice-highlight {
  background: rgba(96, 56, 251, 0.3);
  border-left: 3px solid var(--violet);
  padding-left: 1rem;
  margin-left: -1rem;
  transition: all 0.3s ease;
}

.voice-player.is-playing .voice-progress-fill {
  background: linear-gradient(90deg, var(--violet), var(--green-dim));
}

/* Responsive */
@media (max-width: 480px) {
  .voice-player-container {
    padding: 1rem;
  }
  
  .voice-play-btn {
    width: 48px;
    height: 48px;
  }
  
  .voice-skip-btn {
    width: 40px;
    height: 40px;
  }
}
