/* ==========================================================================
   3D CLAYMORPHISM MUSIC DASHBOARD DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Primary Lavender & Violet Palette */
  --primary-purple: #9687DB;
  --primary-purple-dark: #8170D0;
  --primary-purple-light: #B4A7E9;
  --primary-purple-soft: #D9D2F6;
  --primary-purple-bg: #EAE5F8;
  --sidebar-bg: #9888DC;
  
  /* Pastel Accent Colors */
  --pastel-pink: #FFB3C6;
  --pastel-pink-soft: #FFE5EC;
  --pastel-pink-dark: #FB6F92;
  --pastel-yellow: #FED766;
  --pastel-yellow-soft: #FFF5D6;
  --pastel-orange: #FFB085;
  --pastel-green: #90E0EF;
  --pastel-mint: #99E2B4;
  --pastel-mint-dark: #40916C;
  --pastel-blue: #90DBF4;
  --pastel-blue-soft: #E2F5FC;
  --pastel-lavender-bar: #C5BAF3;

  /* Neutrals & Surfaces */
  --bg-page: #EAE6F4;
  --bg-canvas: #FAF8FC;
  --bg-card: #FFFFFF;
  --bg-input: #F1EDF8;
  --text-dark: #2A273D;
  --text-medium: #69657F;
  --text-light: #9B97B0;
  --text-white: #FFFFFF;

  /* 3D Claymorphism Shadows */
  --clay-shadow-outer: 0 16px 36px rgba(150, 135, 219, 0.16), 0 6px 12px rgba(0, 0, 0, 0.04);
  --clay-shadow-card: 0 12px 28px rgba(150, 135, 219, 0.12), 0 4px 8px rgba(0, 0, 0, 0.03);
  --clay-shadow-btn: 0 8px 18px rgba(129, 112, 208, 0.35), 0 2px 4px rgba(0, 0, 0, 0.06);
  --clay-shadow-btn-pink: 0 8px 18px rgba(251, 111, 146, 0.35), 0 2px 4px rgba(0, 0, 0, 0.06);
  --clay-shadow-circle: 0 6px 14px rgba(150, 135, 219, 0.22);
  --clay-inset-bevel: inset 2px 2px 4px rgba(255, 255, 255, 0.85), inset -2px -2px 4px rgba(0, 0, 0, 0.05);
  --clay-inset-deep: inset 3px 3px 6px rgba(150, 135, 219, 0.18), inset -3px -3px 6px rgba(255, 255, 255, 0.9);
  --clay-border: 2px solid rgba(255, 255, 255, 0.7);

  /* Transitions */
  --transition-smooth: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Box Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(205, 193, 255, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 175, 204, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(254, 215, 102, 0.15) 0%, transparent 50%);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  overflow-x: hidden;
  position: relative;
  cursor: default;
}

/* Background Ambient Orbs */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.clay-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: #B4A7E9;
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: #FFC8DD;
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #FFEAA7;
  top: 40%;
  right: 15%;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* ==========================================================================
   CUSTOM CURSOR & MOUSE TRAIL
   ========================================================================== */
.cursor-dot, .cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--primary-purple);
  box-shadow: 0 0 10px rgba(150, 135, 219, 0.8);
}

.cursor-trail {
  width: 34px;
  height: 34px;
  background: rgba(150, 135, 219, 0.18);
  border: 2px solid rgba(150, 135, 219, 0.4);
  transition: transform 0.12s ease-out, width 0.2s, height 0.2s;
}

/* Hovering clickable items cursor expansion */
body.is-hovering .cursor-trail {
  width: 48px;
  height: 48px;
  background: rgba(150, 135, 219, 0.25);
  border-color: rgba(150, 135, 219, 0.6);
}

/* ==========================================================================
   MAIN APP CONTAINER
   ========================================================================== */
.app-container {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 1100px;
  width: 100%;
  background: transparent;
  gap: 16px;
  align-items: stretch;
}

/* ==========================================================================
   LEFT SIDEBAR (PURPLE CLAY PANEL)
   ========================================================================== */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: linear-gradient(175deg, #9C8DE0 0%, #8E7ED8 50%, #8776D3 100%);
  border-radius: 38px;
  padding: 30px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 
    inset 3px 3px 6px rgba(255, 255, 255, 0.45),
    inset -3px -3px 6px rgba(0, 0, 0, 0.12),
    0 18px 36px rgba(135, 118, 211, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.35);
  position: relative;
}

/* Profile Avatar */
.sidebar-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.avatar-wrapper {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #E8E2F8;
  padding: 4px;
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.9),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.avatar-wrapper:hover {
  transform: scale(1.06) rotate(3deg);
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.user-greeting {
  font-family: 'Outfit', sans-serif;
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 4px;
}

.wave-hand {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: waveMotion 2.2s infinite;
}

@keyframes waveMotion {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* Nav Menu */
.nav-menu {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  margin-bottom: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 22px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.nav-item .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
  transition: transform 0.25s ease;
}

.nav-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.nav-item:hover .nav-icon {
  transform: scale(1.15);
}

/* Active Nav Item (Clay White Pill) */
.nav-item.active {
  background: #FFFFFF;
  color: var(--primary-purple);
  box-shadow: 
    inset 2px 2px 3px rgba(255, 255, 255, 0.9),
    inset -1px -1px 3px rgba(0, 0, 0, 0.06),
    0 6px 14px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: none;
}

.nav-item.active .nav-icon {
  color: var(--primary-purple);
  filter: none;
}

/* Premium Card in Sidebar */
.premium-card {
  width: 100%;
  background: linear-gradient(145deg, #FFCCD8 0%, #FFB6C8 100%);
  border-radius: 26px;
  padding: 16px 12px 14px;
  text-align: center;
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.8),
    inset -2px -2px 4px rgba(0, 0, 0, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.65);
  margin-top: 20px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-card:hover {
  transform: translateY(-3px) scale(1.02);
}

.crown-icon-wrapper {
  margin: -24px auto 6px;
  width: 46px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.12));
}

.crown-icon {
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: crownFloat 3s ease-in-out infinite alternate;
}

@keyframes crownFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.premium-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #632B3E;
  margin-bottom: 2px;
}

.premium-desc {
  font-size: 0.72rem;
  font-weight: 500;
  color: #8C5468;
  line-height: 1.25;
  margin-bottom: 12px;
}

.upgrade-btn {
  width: 100%;
  padding: 8px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #F27898 0%, #E66185 100%);
  color: #FFFFFF;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 
    inset 1px 1px 2px rgba(255, 255, 255, 0.7),
    inset -1px -1px 2px rgba(0, 0, 0, 0.15),
    var(--clay-shadow-btn-pink);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(230, 97, 133, 0.45);
}

.upgrade-btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   MAIN DASHBOARD CANVAS (WHITE / OFF-WHITE 3D CLAY WRAPPER)
   ========================================================================== */
.main-content {
  flex: 1;
  background: #FAF8FD;
  border-radius: 38px;
  padding: 28px 28px 24px;
  box-shadow: 
    inset 3px 3px 8px rgba(255, 255, 255, 0.95),
    inset -3px -3px 8px rgba(150, 135, 219, 0.08),
    0 20px 45px rgba(150, 135, 219, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.03);
  border: 3px solid #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.search-bar {
  flex: 1;
  max-width: 440px;
  background: #EDEAF5;
  border-radius: 24px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.06),
    inset -2px -2px 5px rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.search-bar:focus-within {
  background: #FFFFFF;
  border-color: var(--primary-purple-light);
  box-shadow: 
    0 0 0 3px rgba(150, 135, 219, 0.25),
    inset 1px 1px 3px rgba(0, 0, 0, 0.04);
}

.search-icon {
  color: #8C86A4;
  flex-shrink: 0;
}

.search-bar input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
}

.search-bar input::placeholder {
  color: #9C97B0;
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #EAE6F4;
  color: #766B9E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.9),
    inset -2px -2px 4px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(150, 135, 219, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  color: var(--primary-purple);
  background: #FFFFFF;
  box-shadow: 0 8px 16px rgba(150, 135, 219, 0.25);
}

.icon-btn:active {
  transform: translateY(1px);
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, #FF6B8B 0%, #F0426A 100%);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(240, 66, 106, 0.5);
  border: 1.5px solid #FFFFFF;
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.hero-banner {
  background: linear-gradient(160deg, #D4C9F7 0%, #C7BBEF 50%, #BDADEB 100%);
  border-radius: 30px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: visible;
  box-shadow: 
    inset 3px 3px 6px rgba(255, 255, 255, 0.7),
    inset -3px -3px 6px rgba(0, 0, 0, 0.08),
    0 14px 28px rgba(165, 148, 249, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.6);
  min-height: 150px;
}

/* Hero Girl Container & Floating Notes */
.hero-girl-container {
  position: relative;
  width: 155px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.girl-image-wrapper {
  position: relative;
  display: inline-block;
}

.hero-girl-img {
  width: 140px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(78, 62, 133, 0.25));
  border-radius: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-girl-container:hover .hero-girl-img {
  transform: scale(1.04) translateY(-2px);
}

/* Animated Floating Music Notes Radiating from Headphones */
.music-notes-container {
  position: absolute;
  top: -10px;
  right: -24px;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.music-note {
  position: absolute;
  font-size: 1.15rem;
  opacity: 0;
  transform: scale(0.6) translateY(0);
  animation: floatNote 3.2s infinite ease-in-out;
  text-shadow: 0 2px 8px rgba(255, 105, 180, 0.6);
}

.note-1 {
  top: 10px;
  right: 15px;
  color: #FB6F92;
  animation-delay: 0s;
}

.note-2 {
  top: 35px;
  right: 0px;
  color: #9687DB;
  font-size: 1.3rem;
  animation-delay: 0.7s;
}

.note-3 {
  top: 0px;
  right: 35px;
  color: #FFAFCC;
  animation-delay: 1.4s;
}

.note-4 {
  top: 45px;
  right: 25px;
  color: #FFD166;
  animation-delay: 2.1s;
}

.note-5 {
  top: 20px;
  right: 45px;
  color: #B4A7E9;
  animation-delay: 2.7s;
}

@keyframes floatNote {
  0% {
    opacity: 0;
    transform: translate(0, 10px) scale(0.5) rotate(-15deg);
  }
  25% {
    opacity: 0.95;
    transform: translate(8px, -8px) scale(1.1) rotate(10deg);
  }
  60% {
    opacity: 0.9;
    transform: translate(16px, -24px) scale(1) rotate(-5deg);
  }
  100% {
    opacity: 0;
    transform: translate(24px, -45px) scale(0.7) rotate(20deg);
  }
}

/* Center Text & Button */
.hero-content {
  flex: 1;
  padding: 0 16px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #2D264B;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.sun-icon {
  display: inline-block;
  animation: sunGlow 3s infinite ease-in-out alternate;
}

@keyframes sunGlow {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.15) rotate(15deg); }
}

.hero-subtitle {
  font-size: 0.92rem;
  font-weight: 500;
  color: #554A78;
  margin-bottom: 14px;
}

.play-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, #8A77DA 0%, #7865CE 100%);
  color: #FFFFFF;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 
    inset 1px 1px 3px rgba(255, 255, 255, 0.6),
    inset -1px -1px 3px rgba(0, 0, 0, 0.15),
    var(--clay-shadow-btn);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition: var(--transition-smooth);
}

.play-hero-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(120, 101, 206, 0.5);
  background: linear-gradient(145deg, #9583E6 0%, #826FD9 100%);
}

.play-hero-btn:active {
  transform: translateY(1px);
}

.play-icon-svg {
  display: flex;
  align-items: center;
}

/* Hero Right Plant */
.hero-plant-container {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-plant-img {
  width: 76px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(78, 62, 133, 0.2));
  transition: transform 0.4s ease;
}

.hero-plant-container:hover .hero-plant-img {
  transform: rotate(4deg) scale(1.05);
}

/* ==========================================================================
   STATS CARDS GRID (4 COLUMNS)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  border-radius: 24px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 
    inset 2px 2px 5px rgba(255, 255, 255, 0.9),
    inset -2px -2px 5px rgba(0, 0, 0, 0.04),
    var(--clay-shadow-card);
  border: 2px solid #FFFFFF;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    inset 2px 2px 5px rgba(255, 255, 255, 0.95),
    0 16px 32px rgba(150, 135, 219, 0.22);
}

/* Card color backgrounds */
.card-purple {
  background: #F6F3FD;
}
.card-pink {
  background: #FDF1F4;
}
.card-yellow {
  background: #FFF9ED;
}
.card-blue {
  background: #F0F9FD;
}

/* Icon Pills */
.stat-icon-pill {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 
    inset 1px 1px 2px rgba(255, 255, 255, 0.8),
    inset -1px -1px 2px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}

.icon-purple {
  background: linear-gradient(135deg, #A594F9 0%, #8E7CD9 100%);
}
.icon-pink {
  background: linear-gradient(135deg, #FFAFCC 0%, #F2849E 100%);
}
.icon-yellow {
  background: linear-gradient(135deg, #FED766 0%, #F5B041 100%);
}
.icon-blue {
  background: linear-gradient(135deg, #70C1B3 0%, #54A0FF 100%);
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 4px;
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 10px;
}

.badge-green {
  color: #2D9A6B;
}

.badge-arrow {
  font-size: 0.6rem;
}

.badge-period {
  color: var(--text-light);
  font-weight: 500;
}

.stat-subtext {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-light);
}

/* ==========================================================================
   ANALYTICS SECTION (2 COLUMNS)
   ========================================================================== */
.analytics-section {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
}

.analytics-card {
  background: #FFFFFF;
  border-radius: 26px;
  padding: 18px 20px;
  box-shadow: 
    inset 2px 2px 5px rgba(255, 255, 255, 0.9),
    inset -2px -2px 5px rgba(0, 0, 0, 0.03),
    var(--clay-shadow-card);
  border: 2px solid #FFFFFF;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}

.dropdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F3F0F8;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  box-shadow: 
    inset 1px 1px 3px rgba(0, 0, 0, 0.06),
    inset -1px -1px 3px rgba(255, 255, 255, 0.9);
  transition: var(--transition-smooth);
}

.dropdown-pill:hover {
  background: #EAE6F4;
  color: var(--primary-purple);
}

/* Bar Chart */
.chart-container {
  display: flex;
  gap: 12px;
  height: 140px;
  align-items: stretch;
}

.y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  padding-bottom: 22px;
}

.bars-wrapper {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 2px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
  position: relative;
}

.bar-pill-outer {
  width: 100%;
  max-width: 22px;
  height: 110px;
  display: flex;
  align-items: flex-end;
  background: #F6F4FA;
  border-radius: 12px;
  padding: 2px;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.bar-pill {
  width: 100%;
  border-radius: 10px;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.25s ease;
  box-shadow: 
    inset 1px 1px 3px rgba(255, 255, 255, 0.8),
    inset -1px -1px 2px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08);
}

.bar-col:hover .bar-pill {
  transform: scaleY(1.05);
  filter: brightness(1.08);
}

/* Individual Bar Pastel Colors */
.bar-purple   { background: linear-gradient(180deg, #A594F9 0%, #8E7CD9 100%); }
.bar-pink     { background: linear-gradient(180deg, #FFAFCC 0%, #F28FA9 100%); }
.bar-orange   { background: linear-gradient(180deg, #FFB085 0%, #FA8F5C 100%); }
.bar-yellow   { background: linear-gradient(180deg, #FED766 0%, #F5C335 100%); }
.bar-green    { background: linear-gradient(180deg, #99E2B4 0%, #72D295 100%); }
.bar-cyan     { background: linear-gradient(180deg, #90DBF4 0%, #68C7E8 100%); }
.bar-lavender { background: linear-gradient(180deg, #C5BAF3 0%, #ADA0E6 100%); }

.day-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 6px;
}

.bar-col.active-day .day-label {
  color: var(--text-dark);
  font-weight: 700;
}

/* Donut Chart (Top Genres) */
.genres-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
}

.donut-wrapper {
  position: relative;
  width: 125px;
  height: 125px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 6px 12px rgba(150, 135, 219, 0.2));
}

.donut-segment {
  transition: stroke-width 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.donut-segment:hover {
  stroke-width: 28;
  filter: brightness(1.1);
}

.donut-center-info {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.donut-center-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.donut-center-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Genres Legend */
.genres-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-medium);
  gap: 8px;
  padding: 3px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.legend-item:hover {
  background: #F4F1FA;
  color: var(--text-dark);
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.dot-pop    { background: #A594F9; }
.dot-lofi   { background: #FFAFCC; }
.dot-hiphop { background: #FED766; }
.dot-rock   { background: #99E2B4; }
.dot-other  { background: #70C1B3; }

.legend-name {
  flex: 1;
}

.legend-val {
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   MEDIA SECTION (RECENTLY PLAYED & DAILY MIX)
   ========================================================================== */
.media-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}

.media-card {
  background: #FFFFFF;
  border-radius: 26px;
  padding: 18px 20px;
  box-shadow: 
    inset 2px 2px 5px rgba(255, 255, 255, 0.9),
    inset -2px -2px 5px rgba(0, 0, 0, 0.03),
    var(--clay-shadow-card);
  border: 2px solid #FFFFFF;
  display: flex;
  flex-direction: column;
}

.see-all-btn {
  background: transparent;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s ease;
}

.see-all-btn:hover {
  color: var(--primary-purple);
}

/* Song List */
.song-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.song-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 18px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.song-item:hover {
  background: #F6F3FC;
  transform: translateX(4px);
}

.song-item.is-active {
  background: #F1EDF9;
}

.album-thumb-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.album-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-playing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(150, 135, 219, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.song-item.is-active .thumb-playing-overlay {
  display: flex;
}

.wave-bar {
  width: 3px;
  height: 12px;
  background: #FFFFFF;
  border-radius: 2px;
  animation: waveBarAnim 1s infinite alternate ease-in-out;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 18px; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 14px; }

@keyframes waveBarAnim {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.song-info {
  flex: 1;
  min-width: 0;
}

.song-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-artist {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
}

.song-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EDEAF5;
  border: none;
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 
    inset 1px 1px 2px rgba(255, 255, 255, 0.9),
    inset -1px -1px 2px rgba(0, 0, 0, 0.08),
    0 3px 6px rgba(150, 135, 219, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

.song-play-btn .pause-svg {
  display: none;
}

.song-item.is-active .song-play-btn {
  background: var(--primary-purple);
  color: #FFFFFF;
}

.song-item.is-active .song-play-btn .play-svg {
  display: none;
}

.song-item.is-active .song-play-btn .pause-svg {
  display: block;
}

.song-play-btn:hover {
  transform: scale(1.1);
  background: #E2DCF4;
}

/* Daily Mix Card */
.daily-mix-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 145px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.daily-mix-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.daily-mix-banner:hover .daily-mix-img {
  transform: scale(1.06);
}

.daily-mix-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(33, 24, 60, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 16px;
}

.mix-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.mix-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.clay-circle-play-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary-purple);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 
    inset 1px 1px 3px rgba(255, 255, 255, 0.9),
    0 6px 14px rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

.clay-circle-play-lg .pause-svg {
  display: none;
}

.daily-mix-card.is-active .clay-circle-play-lg .play-svg {
  display: none;
}

.daily-mix-card.is-active .clay-circle-play-lg .pause-svg {
  display: block;
}

.clay-circle-play-lg:hover {
  transform: scale(1.12);
  background: #F8F5FF;
}

/* ==========================================================================
   DISCOVER NEW MUSIC BANNER
   ========================================================================== */
.discover-banner {
  background: linear-gradient(135deg, #D5CBF7 0%, #C7BAF0 100%);
  border-radius: 26px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.7),
    inset -2px -2px 4px rgba(0, 0, 0, 0.06),
    0 10px 22px rgba(165, 148, 249, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.star-wrapper {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discover-star-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: starWiggle 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

@keyframes starWiggle {
  0% { transform: rotate(-6deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.08); }
  100% { transform: rotate(-4deg) scale(1); }
}

.discover-text {
  flex: 1;
}

.discover-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #2D254F;
  margin-bottom: 2px;
}

.sparkle-icon {
  display: inline-block;
  animation: sparkleTwinkle 2s infinite;
}

@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
}

.discover-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: #554A78;
}

.explore-btn {
  padding: 9px 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, #8A77DA 0%, #7663CC 100%);
  color: #FFFFFF;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 
    inset 1px 1px 2px rgba(255, 255, 255, 0.6),
    inset -1px -1px 2px rgba(0, 0, 0, 0.15),
    var(--clay-shadow-btn);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.explore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(118, 99, 204, 0.45);
}

.explore-btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   DEVELOPER FOOTER ATTRIBUTION
   ========================================================================== */
.developer-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
}

.dev-badge {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F1FD 100%);
  padding: 8px 22px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.95),
    inset -1px -1px 3px rgba(150, 135, 219, 0.12),
    0 6px 16px rgba(150, 135, 219, 0.15);
  border: 2px solid #FFFFFF;
  transition: var(--transition-smooth);
}

.dev-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(150, 135, 219, 0.25);
}

.dev-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
}

.dev-author {
  color: var(--primary-purple);
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

.heart-pulse {
  display: inline-block;
  animation: heartBeat 1.4s infinite ease-in-out;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  70% { transform: scale(1); }
}

.sparkle-dev {
  font-size: 0.9rem;
  animation: sparkleTwinkle 2.5s infinite;
}

/* ==========================================================================
   FLOATING MINI MUSIC PLAYER BAR
   ========================================================================== */
.floating-player {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 30px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 90%;
  max-width: 780px;
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.95),
    0 16px 36px rgba(120, 101, 206, 0.3);
  border: 2px solid #FFFFFF;
  z-index: 100;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  pointer-events: none;
}

.floating-player.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.player-thumb-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.player-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-track-info {
  display: flex;
  flex-direction: column;
}

.player-track-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
}

.player-track-artist {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-light);
}

/* Sound Wave Bars */
.sound-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 18px;
}

.s-bar {
  width: 3px;
  background: var(--primary-purple);
  border-radius: 2px;
  animation: soundWave 1.2s infinite ease-in-out alternate;
}

.b1 { height: 6px; animation-delay: 0.1s; }
.b2 { height: 14px; animation-delay: 0.4s; }
.b3 { height: 18px; animation-delay: 0.2s; }
.b4 { height: 10px; animation-delay: 0.5s; }
.b5 { height: 15px; animation-delay: 0.3s; }

@keyframes soundWave {
  0% { height: 4px; }
  100% { height: 18px; }
}

.floating-player.is-paused .s-bar {
  animation-play-state: paused;
  height: 4px;
}

.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  max-width: 360px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

.ctrl-btn:hover {
  color: var(--primary-purple);
  transform: scale(1.15);
}

.ctrl-btn-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-purple);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--clay-shadow-btn);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.ctrl-btn-play:hover {
  transform: scale(1.1);
  background: var(--primary-purple-dark);
}

.ctrl-btn-play .pause-svg {
  display: none;
}

.floating-player.is-playing .ctrl-btn-play .play-svg {
  display: none;
}

.floating-player.is-playing .ctrl-btn-play .pause-svg {
  display: block;
}

.progress-bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.time-curr, .time-total {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  min-width: 26px;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: #EAE5F6;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.08);
}

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

.progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-purple);
  pointer-events: none;
}

.player-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vol-icon-btn, .close-player-btn {
  background: transparent;
  border: none;
  color: var(--text-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.volume-slider {
  width: 70px;
  height: 5px;
  accent-color: var(--primary-purple);
  cursor: pointer;
}

.close-player-btn {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px;
}

.close-player-btn:hover {
  color: #FB6F92;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================= */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 10px 25px rgba(150, 135, 219, 0.25);
  border: 2px solid #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  pointer-events: auto;
}

.toast-item.toast-out {
  animation: toastOut 0.3s forwards ease;
}

@keyframes toastIn {
  0% { opacity: 0; transform: translateY(-20px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px) scale(0.9); }
}

/* ==========================================================================
   MODAL DIALOG (GO PREMIUM)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 39, 61, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 34px;
  padding: 36px 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 
    inset 2px 2px 6px rgba(255, 255, 255, 0.95),
    0 24px 50px rgba(0, 0, 0, 0.2);
  border: 3px solid #FFFFFF;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.is-open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F3EEFA;
  border: none;
  color: var(--text-medium);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: #FFE5EC;
  color: #FB6F92;
}

.modal-crown-wrap {
  width: 70px;
  height: 60px;
  margin: 0 auto 12px;
}

.modal-crown {
  width: 100%;
  height: auto;
  animation: crownFloat 2.5s infinite alternate ease-in-out;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
  line-height: 1.4;
  margin-bottom: 20px;
}

.pricing-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.plan-card {
  background: #FAF8FD;
  border: 2px solid #EAE5F6;
  border-radius: 20px;
  padding: 14px 10px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.plan-card.active {
  background: #FFF0F4;
  border-color: #FFAFCC;
  box-shadow: 0 6px 14px rgba(255, 175, 204, 0.35);
}

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #FB6F92;
}

.plan-price span {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
}

.plan-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: #FB6F92;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.modal-action-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, #FB6F92 0%, #F0426A 100%);
  color: #FFFFFF;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 
    inset 1px 1px 3px rgba(255, 255, 255, 0.6),
    0 10px 22px rgba(240, 66, 106, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.modal-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(240, 66, 106, 0.5);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .app-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 18px 20px;
    border-radius: 28px;
  }

  .sidebar-profile {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 0;
  }

  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    margin-bottom: 0;
  }

  .nav-item {
    width: auto;
    padding: 8px 12px;
  }

  .premium-card {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analytics-section, .media-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding: 10px;
  }

  .main-content {
    padding: 18px 14px;
    border-radius: 28px;
  }

  .hero-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 14px;
  }

  .hero-girl-container {
    width: 120px;
  }

  .hero-plant-container {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 12px 10px;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .top-header {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar {
    max-width: 100%;
  }

  .discover-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .floating-player {
    width: 95%;
    padding: 10px 14px;
    bottom: 12px;
  }
}
