/* ==============================================================================
   Minhaj Platform - Creative Bespoke Glass Experience (Light Liquid Glass 2.0)
   Handcrafted, Fluid Micro-Interactions, Ambient Lighting & Kinetic Physics
   ============================================================================== */

/* --- 1. Ambient Background Lighting & Meshes --- */
.ambient-glow-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.55;
  will-change: transform;
}

.ambient-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.45) 0%, rgba(16, 185, 129, 0.1) 70%, transparent 100%);
  top: -120px;
  right: -80px;
  animation: orbDrift1 18s infinite alternate ease-in-out;
}

.ambient-orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, rgba(5, 150, 105, 0.08) 70%, transparent 100%);
  top: 40%;
  left: -100px;
  animation: orbDrift2 22s infinite alternate ease-in-out;
}

.ambient-orb-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
  bottom: 5%;
  right: 25%;
  animation: orbDrift1 15s infinite alternate-reverse ease-in-out;
}

@keyframes orbDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, 60px) scale(1.12); }
  100% { transform: translate(35px, -30px) scale(0.95); }
}

@keyframes orbDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.92); }
}

/* Subtle Geometric Star Watermark */
.islamic-watermark-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 185, 129, 0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.8;
  pointer-events: none;
}

/* --- 2. Typography & Text Effects --- */
.text-emerald-dark {
  color: #064e3b !important;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #047857 0%, #10b981 60%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(16, 185, 129, 0.18);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #b45309 0%, #f59e0b 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

/* --- 3. Hero Section (Asymmetric & Cinematic) --- */
.home-hero-cinematic,
.home-hero-text {
  position: relative;
  padding: 5.5rem 0 4rem 0;
  z-index: 1;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(167, 243, 208, 0.9);
  color: #064e3b;
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 4px 16px rgba(6, 78, 59, 0.06);
  transition: all 0.25s ease;
}

.hero-pill-badge:hover {
  transform: translateY(-2px);
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.18);
}

.pulse-beacon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
}

.pulse-beacon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: beaconWave 1.8s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes beaconWave {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-title-sculpted {
  color: #064e3b;
  font-weight: 900;
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 1.25rem;
}

.hero-editorial-lead {
  color: #334155;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.85;
  max-width: 600px;
  margin-bottom: 1.8rem;
}

/* Glass Capsule Search Bar */
.search-capsule-glass {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 2px solid #a7f3d0;
  border-radius: 20px;
  padding: 6px 8px 6px 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 30px rgba(6, 78, 59, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.search-capsule-glass:focus-within {
  border-color: #10b981;
  box-shadow: 0 12px 38px rgba(16, 185, 129, 0.22), 0 0 0 4px rgba(16, 185, 129, 0.12);
  transform: translateY(-2px);
}

.search-capsule-input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  color: #064e3b !important;
  font-size: 1rem !important;
  width: 100%;
}

.search-capsule-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.btn-capsule-submit {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 0.6rem 1.4rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-capsule-submit:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

/* Quick Search Tags */
.quick-tags-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tag-interactive-chip {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(167, 243, 208, 0.8);
  color: #047857;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.tag-interactive-chip:hover {
  background: #ecfdf5;
  border-color: #10b981;
  color: #059669;
  transform: translateY(-1px);
}

/* --- 4. Interactive Floating Hero Showcase Card --- */
.hero-spotlight-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(167, 243, 208, 0.85);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(6, 78, 59, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-spotlight-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  border-color: #10b981;
  box-shadow: 0 28px 65px rgba(16, 185, 129, 0.2), 0 0 0 1.5px #10b981 inset;
}

/* Glass Sheen Effect running across cards */
.hero-spotlight-card::before,
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 0.75s ease;
}

.hero-spotlight-card:hover::before,
.bento-card:hover::before {
  left: 140%;
}

.spotlight-video-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #022016 0%, #064e3b 100%);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.spotlight-video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-spotlight-card:hover .spotlight-video-preview img {
  transform: scale(1.06);
}

.spotlight-play-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
  transition: all 0.25s ease;
  z-index: 2;
}

.hero-spotlight-card:hover .spotlight-play-trigger {
  transform: scale(1.15);
  background: #10b981;
}

.floating-glass-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(6, 78, 59, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  z-index: 2;
}

/* Floating micro-pill animation */
.float-bob {
  animation: gentleBob 4s infinite ease-in-out alternate;
}

@keyframes gentleBob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* --- 5. Glass HUD Metrics Ribbon --- */
.hud-ribbon-container {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(167, 243, 208, 0.8);
  border-radius: 26px;
  padding: 1.25rem 2rem;
  box-shadow: 0 8px 32px rgba(6, 78, 59, 0.06);
}

.hud-metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.hud-metric-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.hud-metric-item:hover .hud-metric-icon {
  transform: scale(1.1) rotate(5deg);
}

.hud-metric-value {
  color: #064e3b;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 0;
}

.hud-metric-label {
  color: #475569;
  font-weight: 700;
  font-size: 0.82rem;
  margin: 0;
}

/* --- 6. Bento Grid for Islamic Sciences --- */
.bento-sciences-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(167, 243, 208, 0.7);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: #10b981;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.16);
}

/* Bento Sizes */
.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-12 { grid-column: span 12; }

@media (max-width: 992px) {
  .bento-span-8,
  .bento-span-4,
  .bento-span-6 {
    grid-column: span 12;
  }
}

.bento-hero-tile {
  background: radial-gradient(circle at top right, rgba(236, 253, 245, 0.9) 0%, rgba(255, 255, 255, 0.95) 70%);
  border: 1.8px solid #a7f3d0;
}

.bento-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #a7f3d0;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
  transition: all 0.25s ease;
}

.bento-card:hover .bento-icon-wrapper {
  transform: scale(1.1);
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}

.bento-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bento-sub-pill {
  background: #f0fdf4;
  color: #047857;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
}

/* --- 7. Creative Playlist Cards (Public) --- */
.playlist-card-elevated {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(167, 243, 208, 0.75);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(6, 78, 59, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.playlist-card-elevated:hover {
  transform: translateY(-6px);
  border-color: #10b981;
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.18);
  background: #ffffff;
}

.playlist-cover-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #022016 0%, #064e3b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-art-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: rgba(16, 185, 129, 0.4);
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.25) 0%, rgba(2, 32, 22, 0.9) 70%);
  z-index: 0;
}

.playlist-cover-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.playlist-card-elevated:hover .playlist-cover-art img {
  transform: scale(1.08);
}

.cover-dark-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 28, 20, 0.8) 0%, rgba(2, 28, 20, 0.1) 60%, transparent 100%);
  pointer-events: none;
}

.cover-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  opacity: 0;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}

.playlist-card-elevated:hover .cover-play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-subject-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

[dir="ltr"] .card-subject-pill {
  right: auto;
  left: 12px;
}

.playlist-card-elevated .btn-liquid-primary,
.playlist-card-public .btn-liquid-primary,
.subject-card-public .btn-liquid-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
  padding: 0.45rem 1rem !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.playlist-card-elevated .btn-liquid-primary:hover,
.playlist-card-public .btn-liquid-primary:hover,
.subject-card-public .btn-liquid-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45) !important;
}

/* ==============================================================================
   6. Learning Pathways Interactive Journey (مسار طالب العلم)
   ============================================================================== */
.pathway-journey-container {
  position: relative;
  padding: 1.5rem 0;
}

.pathway-stepper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 991px) {
  .pathway-stepper-grid {
    grid-template-columns: 1fr;
  }
}

.pathway-step-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(167, 243, 208, 0.7);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.05);
}

.pathway-step-card:hover {
  transform: translateY(-8px);
  border-color: #10b981;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.16);
}

.pathway-step-num {
  position: absolute;
  top: -16px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

[dir="ltr"] .pathway-step-num {
  right: auto;
  left: 24px;
}

.pathway-step-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.pathway-step-card:hover .pathway-step-icon {
  transform: scale(1.1) rotate(5deg);
}

.pathway-icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
}

.pathway-icon-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
}

.pathway-icon-sapphire {
  background: rgba(14, 165, 233, 0.15);
  color: #0284c7;
  border: 1.5px solid rgba(14, 165, 233, 0.3);
}

/* ==============================================================================
   7. Audio Wisdom Gem / Daily Benefit Capsule
   ============================================================================== */
.wisdom-capsule-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 253, 244, 0.94) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(167, 243, 208, 0.85);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 8px 30px rgba(6, 78, 59, 0.07);
  position: relative;
  overflow: hidden;
}

.wisdom-quote-mark {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 5rem;
  color: rgba(16, 185, 129, 0.08);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

[dir="ltr"] .wisdom-quote-mark {
  left: auto;
  right: 20px;
}

/* ==============================================================================
   8. Catalog / Subjects Page Specific Styles
   ============================================================================== */
.subject-card-public {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(167, 243, 208, 0.7);
  border-radius: 20px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(6, 78, 59, 0.05);
}

.subject-card-public:hover {
  transform: translateY(-6px);
  border-color: #10b981;
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.16);
}

.public-subject-emblem {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.25s ease;
}

.subject-card-public:hover .public-subject-emblem {
  background: #10b981;
  color: #ffffff;
  transform: scale(1.08);
}

.public-cover-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #022016;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.public-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.playlist-card-public:hover .public-cover-frame img {
  transform: scale(1.05);
}

.public-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 2.5rem;
}

.public-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 32, 22, 0.85) 0%, transparent 60%);
}

.public-subject-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #047857;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid #a7f3d0;
  z-index: 2;
}

[dir="ltr"] .public-subject-badge {
  right: auto;
  left: 10px;
}

.playlist-card-public {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(167, 243, 208, 0.7);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(6, 78, 59, 0.05);
}

.playlist-card-public:hover {
  transform: translateY(-6px);
  border-color: #10b981;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.16);
}
