/* ==========================================================================
   IL RICKYVERSO WEB-APP — DESIGN SYSTEM & STYLES
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
  --bg-dark: #07080c;
  --bg-card: rgba(18, 22, 34, 0.7);
  --bg-card-hover: rgba(26, 32, 50, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(99, 102, 241, 0.3);

  --accent-primary: #6366f1; /* Indigo neon */
  --accent-secondary: #a855f7; /* Purple neon */
  --accent-pink: #ec4899; /* Pink neon */
  --accent-cyan: #06b6d4; /* Cyan neon */
  --accent-spotify: #1db954;
  --accent-youtube: #ff0000;
  --accent-apple: #fc3c44;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow: 0 10px 30px -10px rgba(99, 102, 241, 0.25);
  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --sidebar-width: 260px;
  --bottom-nav-height: 64px;
  --top-bar-height: 64px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* --- BACKGROUND AMBIENT GLOWS --- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  animation: pulseGlow 12s infinite alternate ease-in-out;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-primary) 0%, rgba(99, 102, 241, 0) 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, rgba(168, 85, 247, 0) 70%);
  bottom: -150px;
  right: -150px;
  animation-delay: -6s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.5; }
  100% { transform: scale(0.95) translate(-20px, 40px); opacity: 0.35; }
}

/* --- APP LAYOUT STRUCTURE --- */
.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* SIDEBAR (Desktop) */
.sidebar-desktop {
  width: var(--sidebar-width);
  background: rgba(12, 14, 22, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--accent-pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.nav-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-bounce);
}

.nav-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn:hover svg {
  transform: scale(1.15);
}

.nav-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--border-glass-glow);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.nav-btn.active svg {
  color: var(--accent-cyan);
}

.sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.exit-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.exit-link:hover {
  color: var(--text-main);
}

.exit-link svg {
  width: 14px;
  height: 14px;
}

/* MAIN VIEWPORT */
.content-viewport {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 1.5rem 2rem 5rem 2rem;
  max-width: 1200px;
  width: calc(100% - var(--sidebar-width));
}

/* TOP BAR (Sticky) */
.top-bar {
  position: sticky;
  top: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(14, 17, 27, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.mobile-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  transition: border-color var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
}

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

.search-box input::placeholder {
  color: var(--text-dim);
}

.clear-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 2px;
}

.clear-btn.hidden { display: none; }

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(30deg);
}

.icon-btn svg { width: 18px; height: 18px; }

/* TAB PANES */
.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* --- GLASS CARDS --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* GRADIENT TEXT */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition-bounce);
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-youtube {
  background: var(--accent-youtube);
  color: #fff;
}
.btn-youtube:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4); }

.btn-spotify {
  background: var(--accent-spotify);
  color: #000;
}
.btn-spotify:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4); }

.btn-apple {
  background: var(--accent-apple);
  color: #fff;
}
.btn-apple:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(252, 60, 68, 0.4); }

/* HERO BANNER (HOME) */
.hero-banner {
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(22, 27, 43, 0.85), rgba(12, 14, 22, 0.9)), url('https://ilrickyverso.it/wp-content/uploads/2025/08/cropped-DBEDE38E-3B0A-4A73-94DD-3569D38AA189.png') no-repeat right 5% center / 220px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* HIGHLIGHTS GRID */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.card-badge svg { width: 13px; height: 13px; }

.yt-badge {
  color: var(--accent-youtube);
  background: rgba(255, 0, 0, 0.12);
}

.feature-card {
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
  border-color: var(--border-glass-glow);
}

.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.feature-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.feature-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.youtube-spotlight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yt-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.yt-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* POSTS GRID & CARDS */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-header h2 svg { color: var(--accent-primary); width: 22px; height: 22px; }

.see-all-btn {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* HOME BIO HERO CARD */
.home-hero-bio {
  background: linear-gradient(135deg, rgba(22, 27, 43, 0.95), rgba(30, 27, 75, 0.7));
  border: 1px solid var(--border-glass-glow);
  padding: 2rem;
  margin-bottom: 2rem;
}

.bio-badge {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  margin-bottom: 1rem;
}

.home-bio-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.home-bio-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
}

.home-bio-text h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.home-bio-tagline {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.home-bio-motto {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0.6rem 0 0.8rem 0;
  line-height: 1.35;
}

.home-bio-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.bio-actions {
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .home-bio-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .home-bio-photo {
    width: 110px;
    height: 110px;
  }
}

.see-all-btn svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.see-all-btn:hover svg { transform: translateX(4px); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* BLOG ARCHIVE BANNER */
.blog-archive-banner {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.6), rgba(22, 27, 43, 0.85));
  border: 1px solid var(--border-glass-glow);
  flex-wrap: wrap;
}

.archive-banner-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 280px;
}

.archive-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.archive-icon svg { width: 26px; height: 26px; }

.archive-text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.archive-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 650px) {
  .blog-archive-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .archive-banner-content {
    flex-direction: column;
    text-align: center;
  }
  .blog-archive-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-glow);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
}

.post-thumb-wrap {
  width: 100%;
  height: 170px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.4);
  position: relative;
}

.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-thumb {
  transform: scale(1.06);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-meta svg { width: 13px; height: 13px; }

.post-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
  flex: 1;
}

.read-more-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.read-more-link svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.post-card:hover .read-more-link svg { transform: translateX(4px); }

/* BLOG CATEGORIES */
.categories-bar {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.chip.active {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* SKELETON LOADERS */
.skeleton-box {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
  border-radius: var(--radius-sm);
}

.image-skeleton { width: 100%; height: 160px; border-radius: var(--radius-md); }
.title-skeleton { height: 24px; width: 85%; margin-bottom: 0.5rem; }
.text-skeleton { height: 16px; width: 100%; }

@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- MUSICA SECTION --- */
.music-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.music-hero-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
}

.music-cover-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #1e1b4b, #31104b);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--border-glass-glow);
}

.album-art-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--accent-primary);
}

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
  margin-top: 1rem;
}

.equalizer-bars span {
  width: 4px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: eqBounce 1.2s infinite ease-in-out alternate;
}

.equalizer-bars span:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.equalizer-bars span:nth-child(2) { height: 80%; animation-delay: -0.5s; }
.equalizer-bars span:nth-child(3) { height: 100%; animation-delay: -0.1s; }
.equalizer-bars span:nth-child(4) { height: 60%; animation-delay: -0.7s; }
.equalizer-bars span:nth-child(5) { height: 30%; animation-delay: -0.3s; }

@keyframes eqBounce {
  0% { height: 20%; }
  100% { height: 100%; }
}

.music-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.music-hero-details h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0.3rem 0 0.6rem 0;
}

.music-hero-details p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.streaming-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tracks-list-container h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tracks-list-container h3 svg { color: var(--accent-pink); }

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

/* --- NEW MUSIC PLAYER STYLES --- */
.music-spotlight-card {
  display: flex;
  flex-direction: column;
}

.music-badge {
  color: var(--accent-pink);
  background: rgba(236, 72, 153, 0.12);
}

.music-spotlight-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.music-spotlight-artist {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.music-player-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  background: #000;
}

.music-player-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.spotlight-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

/* MUSIC TAB PLAYER & GRID */
.active-track-card {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(22, 27, 43, 0.9), rgba(12, 14, 22, 0.95));
}

.active-track-embed {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0.8rem 0 1rem 0;
  background: #000;
  border: 1px solid var(--border-glass);
}

.active-track-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.active-track-meta h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.active-track-meta p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tracks-section-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem 0;
}

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

.track-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--border-glass);
}

.track-card:hover, .track-card.active {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-3px);
}

.track-card-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.track-cover-box {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121520;
}

.track-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.track-card:hover .track-cover-img {
  transform: scale(1.08);
}

.track-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #fff;
}

.track-card:hover .track-play-overlay,
.track-card.active .track-play-overlay {
  opacity: 1;
}

.track-card.active .track-cover-box {
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
}

.track-play-overlay svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.track-details h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.track-details p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.track-actions {
  display: flex;
  gap: 0.5rem;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.mini-btn svg { width: 12px; height: 12px; }

.mini-btn.spotify {
  color: var(--accent-spotify);
  background: rgba(29, 185, 84, 0.1);
  border-color: rgba(29, 185, 84, 0.25);
}
.mini-btn.spotify:hover { background: var(--accent-spotify); color: #000; }

.mini-btn.apple {
  color: var(--accent-apple);
  background: rgba(252, 60, 68, 0.1);
  border-color: rgba(252, 60, 68, 0.25);
}
.mini-btn.apple:hover { background: var(--accent-apple); color: #fff; }

.mini-btn.tidal {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.25);
}
.mini-btn.tidal:hover { background: var(--accent-cyan); color: #000; }

/* --- YOUTUBE SECTION --- */
.youtube-hero-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.12), rgba(18, 22, 34, 0.85));
  border: 1px solid rgba(255, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

.yt-hero-icon {
  flex-shrink: 0;
}

.yt-hero-icon svg {
  width: 48px;
  height: 48px;
  color: var(--accent-youtube);
}

.yt-hero-text {
  flex: 1;
}

.yt-hero-text h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fff;
}

.yt-hero-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .youtube-hero-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.2rem;
    gap: 1.2rem;
  }
  .yt-hero-text h3 {
    font-size: 1.15rem;
  }
  .youtube-hero-box .btn-lg {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }
}

.yt-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.yt-video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.yt-embed-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.yt-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.yt-video-info {
  padding: 1rem 1.25rem;
}

.yt-video-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fff;
}

.yt-video-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- BIO SECTION --- */
.bio-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bio-profile-card {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.4), rgba(18, 22, 34, 0.7));
}

.bio-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
  margin-bottom: 1.25rem;
}

.bio-profile-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.bio-subtitle {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.bio-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  font-style: italic;
  color: var(--text-main);
  font-size: 0.95rem;
}

.bio-quote svg { color: var(--accent-pink); width: 16px; height: 16px; }

.bio-content-card {
  padding: 2.5rem;
}

.bio-content-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin: 1.5rem 0 0.8rem 0;
}

.bio-content-card h3:first-child { margin-top: 0; }

.bio-content-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.bio-quote-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(99, 102, 241, 0.08);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  color: #e5e7eb;
}

.bio-quote-box svg {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.bio-quote-box.highlight {
  background: rgba(6, 182, 212, 0.08);
  border-left-color: var(--accent-cyan);
}

.bio-quote-box.highlight svg {
  color: var(--accent-cyan);
}

.bio-footer-note {
  font-style: italic;
  color: var(--text-main);
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  margin-top: 1.5rem;
}

.bio-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.bio-stat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

.bio-stat svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.bio-stat h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.bio-stat p {
  font-size: 0.82rem;
  margin-bottom: 0;
}

/* --- BOTTOM NAV (Mobile) --- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: rgba(10, 12, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.bottom-nav .nav-btn {
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.7rem;
  border-radius: var(--radius-md);
}

.bottom-nav .nav-btn svg { width: 20px; height: 20px; }

/* --- PERSISTENT PLAYER BAR --- */
.persistent-player {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 600px;
  background: rgba(18, 22, 34, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 950;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-bounce);
}

.persistent-player.hidden {
  display: none;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.player-thumb svg { width: 18px; height: 18px; }

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

.player-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.player-artist {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--transition-fast);
}

.player-btn:hover { color: #fff; }
.player-btn svg { width: 18px; height: 18px; }

.play-main {
  background: var(--accent-primary);
  color: #fff;
}
.play-main:hover { background: var(--accent-secondary); color: #fff; }

.player-link-btn {
  color: var(--accent-spotify);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 4px;
}

/* --- ARTICLE READER MODAL --- */
.article-modal {
  border: none;
  background: transparent;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  z-index: 2000;
}

.article-modal::backdrop {
  background: rgba(4, 5, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.modal-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
  overflow-x: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(14, 17, 27, 0.9);
  border-bottom: 1px solid var(--border-glass);
}

.close-btn {
  width: auto;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.close-btn svg { width: 16px; height: 16px; }

.modal-scroll-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2.5rem 1.5rem 6rem 1.5rem;
  box-sizing: border-box;
}

.article-content {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #e5e7eb;
  box-sizing: border-box;
  overflow-x: hidden;
}

.article-header-meta {
  margin-bottom: 2rem;
  text-align: center;
}

.article-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.article-content h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.article-date-author {
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.article-hero-img {
  width: 100%;
  max-width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border-glass);
  box-sizing: border-box;
}

.article-content p {
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.article-content h2, .article-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 1rem 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.3rem; }

.article-content blockquote {
  border-left: 4px solid var(--accent-primary);
  padding: 1rem 1.5rem;
  background: rgba(99, 102, 241, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: #d1d5db;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* RESPONSIVE MEDIA & EMBEDS (YOUTUBE, IFRAMES, FIGURES) */
.article-content iframe,
.article-content embed,
.article-content object,
.article-content video {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: none;
  margin: 1.5rem 0;
  box-sizing: border-box;
}

.article-content figure,
.article-content .wp-block-embed,
.article-content .wp-block-embed-youtube,
.article-content .wp-block-embed__wrapper,
.article-content .wp-block-image {
  max-width: 100% !important;
  width: 100% !important;
  margin: 1.5rem 0;
  overflow: hidden;
  box-sizing: border-box;
}

.article-content figure img,
.article-content .wp-block-image img,
.article-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-sizing: border-box;
  display: block;
}

/* RESPONSIVE TABLES & CODE BLOCKS */
.article-content figure.wp-block-table,
.article-content table {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  box-sizing: border-box;
}

.article-content table td,
.article-content table th {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-glass);
  font-size: 0.85rem;
}

/* TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: rgba(18, 22, 34, 0.95);
  border: 1px solid var(--border-glass-glow);
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 900px) {
  .sidebar-desktop { display: none; }
  .bottom-nav { display: flex; }
  .content-viewport {
    margin-left: 0;
    width: 100%;
    padding: 1rem 1rem 6rem 1rem;
  }
  .mobile-brand { display: flex; }
  .hero-banner {
    padding: 2rem 1.5rem;
    background-size: 140px;
    background-position: right top 10%;
  }
  .hero-banner h1 { font-size: 1.8rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .music-hero-card { grid-template-columns: 1fr; text-align: center; }
  .music-cover-wrap { width: 140px; margin: 0 auto; }
  .streaming-buttons { justify-content: center; }
  .top-bar { top: 0.5rem; padding: 0.6rem 0.8rem; }
  .search-box { max-width: none; }
}
