/* ============================================
   Muziplay Academy App — Design System v2
   "Refined Modern" — 2026
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  /* Primary (indigo) */
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-300: #a5b4fc;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;
  --primary-950: #1e1b4b;

  /* Secondary (violet) */
  --secondary-50: #f5f3ff;
  --secondary-100: #ede9fe;
  --secondary-200: #ddd6fe;
  --secondary-400: #a78bfa;
  --secondary-500: #8b5cf6;
  --secondary-600: #7c3aed;

  /* Accent (amber) */
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;

  /* Surfaces */
  --surface-0: #ffffff;
  --surface-50: #fafbfd;
  --surface-100: #f1f5f9;
  --surface-200: #e2e8f0;
  --surface-300: #cbd5e1;

  /* Text */
  --text-900: #0f172a;
  --text-700: #334155;
  --text-500: #64748b;
  --text-400: #94a3b8;
  --text-300: #cbd5e1;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows — soft & tinted */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.03);
  --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 8px 24px -4px rgb(0 0 0 / 0.06);
  --shadow-xl: 0 16px 40px -8px rgb(0 0 0 / 0.08);
  --shadow-colored: 0 4px 14px -2px rgba(99, 102, 241, 0.12);

  /* Ring — the new card border pattern */
  --ring-default: 0 0 0 1px rgba(226, 232, 240, 0.8);
  --ring-hover: 0 0 0 1px var(--primary-200);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Sidebar dimensions */
  --sidebar-width: 272px;
  --sidebar-collapsed-width: 0px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #fafbfd 0%, #f0f1ff 50%, #faf5ff 100%);
  background-attachment: fixed;
  color: var(--text-700);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

::selection {
  background: rgba(99,102,241,0.15);
  color: var(--text-900);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-400); }

/* ── Top Header (persistent horizontal bar) ── */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 45;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.top-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}

.top-header-left {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.top-header-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  border: none;
  background: none;
  color: var(--text-500);
  cursor: pointer;
  transition: all var(--transition);
}
.top-header-menu-btn:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}

.top-header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.top-header-brand:hover { opacity: 0.85; }

.top-header-logo {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.top-header-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-900);
  letter-spacing: -0.02em;
}

.top-header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1.5rem;
  flex: 1;
}

.top-header-nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius-full);
  border: none;
  background: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-500);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
  font-family: inherit;
}
.top-header-nav-item:hover {
  background: var(--primary-50);
  color: var(--primary-700);
}
.top-header-nav-item.active {
  background: var(--primary-100);
  color: var(--primary-700);
  font-weight: 600;
}

.top-header-nav-label {
  display: inline;
}

.top-header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: 700;
  color: white;
  background: #ef4444;
  line-height: 1;
}

.top-header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.top-header-user-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.625rem 0.35rem 0.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-200);
  background: var(--surface-0);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.top-header-user-btn:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-sm);
}

.top-header-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.top-header-avatar > span:first-child {
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}
.top-header-avatar-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  background: #ef4444;
  border: 2px solid white;
  line-height: 1;
}

.top-header-user-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-700);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Top Header dropdown */
.top-header-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 280px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl), var(--ring-default);
  border: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 50;
  overflow: hidden;
}

/* Body offset for fixed header */
.has-top-header {
  padding-top: 60px;
}

/* Hide Sidebar hamburger when TopHeader is active */
.has-top-header .sidebar-hamburger-btn {
  display: none !important;
}

@media (max-width: 768px) {
  .top-header-nav-label { display: none; }
  .top-header-user-name { display: none; }
  .top-header-brand-name { display: none; }
  .top-header-nav { margin-left: 0.5rem; }
}

@media (max-width: 480px) {
  .top-header-inner { padding: 0 0.5rem; }
}

/* ── Hero Section (Home page) ── */
.hero-section {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 35%, var(--secondary-600) 70%, #7c3aed 100%);
  border-radius: var(--radius-3xl);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-deco-circle-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  top: -120px;
  right: -60px;
  border-radius: 50%;
}

.hero-deco-circle-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
  bottom: -80px;
  left: -40px;
  border-radius: 50%;
}

.hero-deco-note {
  position: absolute;
  opacity: 0.07;
  color: white;
}
.hero-deco-note-1 {
  top: 18%;
  right: 8%;
  font-size: 4rem;
  transform: rotate(15deg);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-deco-note-2 {
  bottom: 15%;
  right: 22%;
  font-size: 2.5rem;
  transform: rotate(-10deg);
  animation: heroFloat 8s ease-in-out infinite 1s;
}
.hero-deco-note-3 {
  top: 25%;
  right: 35%;
  font-size: 1.8rem;
  transform: rotate(25deg);
  animation: heroFloat 7s ease-in-out infinite 2s;
}
.hero-deco-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  opacity: 0.06;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-greeting {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(199, 210, 254, 0.9);
  font-weight: 500;
  margin-bottom: 1.25rem;
  max-width: 480px;
  line-height: 1.5;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: white;
  color: var(--primary-700);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hero-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  backdrop-filter: blur(4px);
}
.hero-cta-secondary:hover {
  background: rgba(255,255,255,0.2);
}

.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  width: 160px;
  height: 160px;
  opacity: 0.25;
  color: white;
}

@media (min-width: 640px) {
  .hero-content { padding: 3rem 2.5rem; }
  .hero-greeting { font-size: 2rem; }
  .hero-section { min-height: 240px; }
}

@media (max-width: 768px) {
  .hero-visual { display: none; }
  .hero-content { padding: 2rem 1.5rem; }
  .hero-greeting { font-size: 1.5rem; }
  .hero-tagline { font-size: 0.875rem; }
}

/* ── Legacy App Header (kept for non-home pages) ── */
.app-header {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 40%, var(--secondary-600) 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
}

.app-header::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.app-header::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: -100px;
  right: -60px;
  border-radius: 50%;
  pointer-events: none;
}

/* ── Screen Headers (compact banner for inner pages) ── */
.screen-header {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 40%, var(--secondary-600) 100%);
  border-radius: var(--radius-2xl);
  padding: 1.125rem 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.screen-header.centered {
  text-align: center;
}

.screen-header::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
}

.screen-header::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  top: -50px;
  right: -30px;
  border-radius: 50%;
  pointer-events: none;
}

.screen-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.screen-header.centered .screen-title {
  justify-content: center;
}

.screen-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: none;
}

.screen-subtitle {
  font-size: 0.8125rem;
  color: rgba(199, 210, 254, 0.85);
  margin-top: 0.25rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.screen-header.centered .screen-subtitle {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .screen-header {
    padding: 1.25rem 1.75rem;
  }
  .screen-title {
    font-size: 1.25rem;
  }
  .screen-title-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
}

/* ── Chatbot card (viewport-aware, mobile-friendly) ── */
.chatbot-card {
  height: calc(100dvh - 16rem);
  min-height: 320px;
  max-height: 700px;
}

@media (max-width: 639px) {
  .chatbot-card {
    height: calc(100dvh - 14rem);
    max-height: none;
    border-radius: var(--radius-xl);
  }
}

/* ── Support Widget transitions ── */
.sw-fade-enter-active, .sw-fade-leave-active { transition: opacity 0.2s ease; }
.sw-fade-enter-from, .sw-fade-leave-to { opacity: 0; }
.sw-slide-enter-active { transition: opacity 0.25s ease, transform 0.25s ease; }
.sw-slide-leave-active { transition: opacity 0.15s ease, transform 0.15s ease; }
.sw-slide-enter-from, .sw-slide-leave-to { opacity: 0; transform: translateY(1rem) scale(0.95); }
.sw-panel { height: min(70dvh, 560px); }
@media (max-width: 639px) { .sw-panel { height: 75dvh; } }

/* ── Sidebar ── */
.has-top-header .sidebar-music {
  top: 60px;
  height: calc(100% - 60px);
}

.sidebar-music {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-right: 1px solid rgba(226, 232, 240, 0.5);
}

.sidebar-music::before {
  display: none;
}

.sidebar-header {
  background: transparent;
  border-bottom: 1px solid var(--surface-200);
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-700);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  background: none;
  text-align: left;
}

.sidebar-nav-item:hover {
  background: rgba(99, 102, 241, 0.06);
  color: var(--primary-700);
}

.sidebar-nav-item.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-700);
  font-weight: 600;
}

.sidebar-sub-item {
  display: block;
  width: 100%;
  padding: 0.45rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 450;
  color: var(--text-500);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.sidebar-sub-item:hover {
  background: rgba(99, 102, 241, 0.05);
  color: var(--primary-600);
}

.sidebar-sub-item .sub-description {
  font-size: 0.7rem;
  color: var(--text-400);
  font-weight: 400;
  margin-top: 1px;
  line-height: 1.3;
}

.sidebar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
}

.sidebar-badge.red { background: #ef4444; }
.sidebar-badge.orange { background: #f97316; }

.sidebar-footer {
  background: transparent;
  border-top: 1px solid var(--surface-200);
}

.sidebar-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #dc2626;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}

.sidebar-logout-btn:hover {
  background: #fef2f2;
  color: #b91c1c;
}

/* ── Music Cards ── */
.music-card {
  background: var(--surface-0);
  border: none;
  border-radius: var(--radius-2xl);
  box-shadow: var(--ring-default);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.music-card::before {
  display: none;
}

.music-card:hover {
  box-shadow: var(--ring-hover), var(--shadow-md);
  transform: translateY(-1px);
}

/* ── Buttons ── */
.music-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--primary-600);
  border: none;
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
}

.music-btn::before {
  display: none;
}

.music-btn:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-colored);
}

.music-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Footer ── */
.footer-music {
  background: linear-gradient(135deg, var(--primary-950) 0%, #1a1640 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
}

.footer-music::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-400), var(--secondary-500), transparent);
  pointer-events: none;
}

/* ── Participant containers ── */
.participant-container {
  transition: all var(--transition);
  border-radius: var(--radius-xl);
}

.participant-container:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── Video ── */
video {
  border-radius: var(--radius-xl);
}

/* ── Loading Spinner ── */
.loading-spinner {
  animation: spin 1s linear infinite;
}

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

/* ── Status messages ── */
.status-message { transition: all var(--transition); }
.status-message.success { color: #10b981; }
.status-message.error { color: #ef4444; }
.status-message.warning { color: #f59e0b; }

/* ── Participants grid ── */
.participants-grid {
  scrollbar-width: thin;
  scrollbar-color: var(--surface-200) transparent;
}

.participants-grid::-webkit-scrollbar { width: 4px; }
.participants-grid::-webkit-scrollbar-track { background: transparent; }
.participants-grid::-webkit-scrollbar-thumb { background: var(--surface-200); border-radius: 2px; }

/* ── Decorative elements (kept minimal) ── */
.music-icon { display: none; }
.music-particles { display: none; }
.music-particle { display: none; }

@keyframes musicPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.music-pulse {
  animation: musicPulse 3s ease-in-out infinite;
}

/* ── Modal Overlay ── */
.modal-overlay {
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Buttons disabled ── */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Quill rich text display ── */
.rich-text-content h1 { font-size: 1.5em; font-weight: 700; margin: 0.5em 0; }
.rich-text-content h2 { font-size: 1.25em; font-weight: 600; margin: 0.5em 0; }
.rich-text-content h3 { font-size: 1.1em; font-weight: 600; margin: 0.4em 0; }
.rich-text-content p { margin: 0.4em 0; }
.rich-text-content strong { font-weight: 700; }
.rich-text-content em { font-style: italic; }
.rich-text-content u { text-decoration: underline; }
.rich-text-content ul { list-style: disc; padding-left: 1.5em; margin: 0.4em 0; }
.rich-text-content ol { list-style: decimal; padding-left: 1.5em; margin: 0.4em 0; }
.rich-text-content li { margin: 0.2em 0; }
.rich-text-content a { color: var(--primary-600); text-decoration: underline; }
.rich-text-content a:hover { color: var(--primary-700); }

.masterclass-desc-preview p,
.masterclass-desc-preview h1,
.masterclass-desc-preview h2,
.masterclass-desc-preview h3 { display: inline; }
.masterclass-desc-preview ul,
.masterclass-desc-preview ol { display: inline; list-style: none; padding: 0; }
.masterclass-desc-preview li { display: inline; }
.masterclass-desc-preview br { display: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .music-card {
    border-radius: var(--radius-xl);
  }
}
