/* ==========================================================================
   MAGIC RADIO FM 102.75 MHz - MODERN DESIGN SYSTEM
   Theme: Elegant Clean White + Magic Hot Pink Neon (#e6007e)
   Typography: Kanit (Thai) + Outfit (English & Numbers)
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-primary: #e6007e;          /* Magic Hot Pink from Logo */
  --color-primary-light: #ff2a9d;
  --color-primary-dark: #be185d;
  --color-primary-soft: #fdf2f8;     /* Soft Pastel Pink */
  --color-primary-tint: #fce7f3;
  --color-primary-glow: rgba(230, 0, 126, 0.25);

  --color-accent-purple: #7928ca;
  --color-accent-cyan: #0284c7;
  --color-accent-gold: #d97706;
  --color-accent-green: #059669;

  /* White & Light Surface System */
  --bg-main: #fcfbfe;                /* Clean Soft Pearl White */
  --bg-surface: #ffffff;             /* Pure Crisp White */
  --bg-card: #ffffff;
  --bg-card-hover: #fff7fb;          /* Gentle Pink Tint on Hover */
  --bg-glass: rgba(255, 255, 255, 0.92);

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-glass: rgba(230, 0, 126, 0.12);
  --border-primary: rgba(230, 0, 126, 0.35);

  /* Text Colors (High Contrast & Clear) */
  --text-white: #18181b;             /* Heading Dark Slate */
  --text-primary: #27272a;           /* Body Charcoal */
  --text-secondary: #52525b;         /* Readable Subtext */
  --text-muted: #71717a;
  --text-pink: #be185d;

  /* Typography */
  --font-thai: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-en: 'Outfit', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(230, 0, 126, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 40px rgba(230, 0, 126, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 4px 25px rgba(230, 0, 126, 0.25);
  --shadow-gold-glow: 0 8px 30px rgba(217, 119, 6, 0.15);

  /* Dimensions */
  --nav-height: 76px;
  --player-height: 84px;
  --announcement-height: 38px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-thai);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: calc(var(--player-height) + 20px);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Pink Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 0, 126, 0.06) 0%, rgba(244, 114, 182, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-thai);
  color: var(--text-white);
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, #be185d 10%, #e6007e 50%, #ff2a9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  box-shadow: 0 4px 16px var(--color-primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff4da6, var(--color-primary-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 0, 126, 0.45);
}

.btn-glass {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-call {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-en);
  font-weight: 600;
}

.btn-call:hover {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOP ANNOUNCEMENT (CLEAN PASTEL PINK)
   ========================================================================== */
.top-announcement {
  position: relative;
  background: linear-gradient(90deg, #fff0f7, #ffe4f1, #fff0f7);
  border-bottom: 1px solid rgba(230, 0, 126, 0.15);
  font-size: 0.88rem;
  padding: 0.45rem 2.8rem 0.45rem 1rem;
  transition: all 0.3s ease;
}

.top-announcement.hidden {
  display: none !important;
}

.announcement-close-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(230, 0, 126, 0.08);
  border: 1px solid rgba(230, 0, 126, 0.2);
  color: var(--color-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
  z-index: 5;
}

.announcement-close-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 2px 8px rgba(230, 0, 126, 0.3);
}

.announcement-close-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.announcement-restore-btn {
  position: fixed;
  bottom: 86px;
  left: 18px;
  top: auto;
  right: auto;
  z-index: 998;
  background: #ffffff;
  border: 1px solid rgba(230, 0, 126, 0.35);
  color: var(--color-primary);
  font-family: var(--font-th);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(230, 0, 126, 0.25);
  transition: all 0.22s ease;
  animation: fadeIn 0.3s ease;
}

.announcement-restore-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.4);
}

.announcement-restore-btn.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .announcement-restore-btn {
    bottom: 84px;
    left: 12px;
    padding: 0.35rem 0.75rem;
    font-size: 0.74rem;
  }
}

.announcement-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-pill.gold {
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #ffffff;
}

.announcement-text {
  color: #4b5563;
}

.announcement-text strong {
  color: #be185d;
}

.announcement-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-link:hover {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   NAVBAR (WHITE GLASSMORPHISM)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 0, 126, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  z-index: 100;
}

.nav-container {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image-svg {
  height: 56px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover .logo-image-svg {
  transform: scale(1.04);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.nav-link i {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.nav-link span {
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.nav-link:hover i {
  color: var(--color-primary);
}

.nav-link.active {
  color: #be185d;
  background: var(--color-primary-soft);
  border: 1px solid rgba(230, 0, 126, 0.25);
}

.nav-link.active i {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Drawer Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(320px, 85vw);
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid rgba(230, 0, 126, 0.15);
  z-index: 1001;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.2rem;
}

.drawer-brand {
  font-weight: 700;
  color: var(--color-primary);
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.drawer-link.active, .drawer-link:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.drawer-contact-card {
  margin-top: 2rem;
  padding: 1rem;
  background: #faf5f8;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   SPA SECTION SWITCHER
   ========================================================================== */
.main-wrapper {
  min-height: calc(100vh - var(--nav-height) - var(--player-height) - var(--announcement-height));
}

.page-section {
  display: none;
  animation: fadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-section.active {
  display: block;
}

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

/* Section Common Headings */
.section-header {
  margin-bottom: 2.5rem;
}

.sub-heading {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.main-heading {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.heading-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.flex-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.flex-header .heading-desc {
  margin: 0;
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow-1 {
  width: 450px;
  height: 450px;
  background: rgba(230, 0, 126, 0.08);
  top: 10%;
  left: -5%;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(244, 114, 182, 0.08);
  bottom: 0%;
  right: -10%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fdf2f8;
  border: 1px solid rgba(230, 0, 126, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.pulsing-dot {
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseRed 1.4s infinite;
}

@keyframes pulseRed {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.live-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #18181b;
}

.live-freq {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-primary);
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  padding-left: 0.6rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: #18181b;
}

.hero-tagline {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Quick Player Card in Hero */
.hero-player-card {
  background: #ffffff;
  border: 1px solid rgba(230, 0, 126, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  transition: var(--transition-normal);
}

.hero-player-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.hero-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 38px;
  width: 38px;
  padding: 4px;
  background: var(--color-primary-soft);
  border-radius: 8px;
}

.hero-equalizer span {
  flex: 1;
  background: var(--color-primary);
  border-radius: 2px;
  height: 20%;
  transition: height 0.2s ease;
}

.hero-equalizer.playing span:nth-child(1) { animation: eqBar 0.8s infinite ease-in-out; }
.hero-equalizer.playing span:nth-child(2) { animation: eqBar 1.1s infinite 0.2s ease-in-out; }
.hero-equalizer.playing span:nth-child(3) { animation: eqBar 0.9s infinite 0.4s ease-in-out; }
.hero-equalizer.playing span:nth-child(4) { animation: eqBar 1.2s infinite 0.1s ease-in-out; }
.hero-equalizer.playing span:nth-child(5) { animation: eqBar 0.7s infinite 0.3s ease-in-out; }
.hero-equalizer.playing span:nth-child(6) { animation: eqBar 1.0s infinite 0.5s ease-in-out; }

@keyframes eqBar {
  0%, 100% { height: 15%; }
  50% { height: 95%; }
}

.card-info {
  flex: 1;
}

.now-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.current-show-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-white);
}

.current-dj-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--color-primary-glow);
  transition: var(--transition-fast);
}

.hero-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.45);
}

.hero-cta-group {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Studio Showcase Card (Right Column) */
.studio-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.studio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), #ff2a9d, #f472b6);
}

.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.studio-profile {
  text-align: center;
  margin-bottom: 1.8rem;
}

.avatar-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  padding: 4px;
  background: linear-gradient(135deg, var(--color-primary), #ff2a9d);
  box-shadow: 0 4px 15px rgba(230, 0, 126, 0.25);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--color-primary);
}

.studio-profile h3 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
  color: #18181b;
}

.studio-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.studio-action-box {
  background: #fdf2f8;
  border: 1px solid rgba(230, 0, 126, 0.15);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.action-text strong {
  display: block;
  font-size: 0.9rem;
  color: #18181b;
}

.action-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.btn-circle-call {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #059669;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-circle-call:hover {
  transform: scale(1.1);
  background: #047857;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.section-features {
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.feature-icon.bg-pink { background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); }
.feature-icon.bg-purple { background: linear-gradient(135deg, #c084fc, #9333ea); }
.feature-icon.bg-cyan { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.feature-icon.bg-amber { background: linear-gradient(135deg, #fbbf24, #d97706); }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #18181b;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   TODAY'S SHOW SECTION (SCHEDULE PREVIEW)
   ========================================================================== */
.section-today-show {
  padding: 4rem 0;
}

.today-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.today-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.2rem;
}

#todayDateDisplay {
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-top: 0.3rem;
  font-weight: 500;
}

.today-schedule-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .today-schedule-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .today-schedule-list {
    grid-template-columns: 1fr;
  }
}

/* Home Page Specific Card Styling - Beautiful Vertical Layout */
.today-schedule-list .sched-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  height: 100%;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(230, 0, 126, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.today-schedule-list .sched-card::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 4px;
  background: rgba(230, 0, 126, 0.2);
}

.today-schedule-list .sched-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 126, 0.4);
  box-shadow: 0 10px 25px rgba(230, 0, 126, 0.12);
}

.today-schedule-list .sched-card:hover::before,
.today-schedule-list .sched-card.is-onair::before {
  background: var(--color-primary);
  height: 5px;
}

.today-schedule-list .sched-card.is-onair {
  background: linear-gradient(135deg, #fff7fb 0%, #ffffff 100%);
  border-color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(230, 0, 126, 0.15);
}

.today-schedule-list .sched-card-time-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
}

.today-schedule-list .sched-time-badge {
  font-size: 0.95rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #f4f4f5;
  color: #18181b;
  font-weight: 700;
}

.today-schedule-list .sched-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.today-schedule-list .sched-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.today-schedule-list .sched-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #18181b;
  line-height: 1.35;
  margin: 0;
}

.today-schedule-list .sched-dj-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #faf5f8;
  border: 1px solid rgba(230, 0, 126, 0.15);
  padding: 0.3rem 0.8rem 0.3rem 0.35rem;
  border-radius: 999px;
  width: fit-content;
}

.today-schedule-list .sched-dj-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.today-schedule-list .sched-card-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0.2rem 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.today-schedule-list .sched-card-action {
  width: 100%;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.today-schedule-list .btn-sched-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  background: linear-gradient(135deg, var(--color-primary), #d81b60);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(230, 0, 126, 0.25);
  transition: all 0.2s ease;
}

.today-schedule-list .btn-sched-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 0, 126, 0.4);
}

.today-schedule-list .btn-sched-action.btn-live-now {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
}

.show-item-card {
  background: #faf8fb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.show-item-card:hover {
  background: #ffffff;
  border-color: var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.show-item-card.is-active {
  background: #fdf2f8;
  border-color: rgba(230, 0, 126, 0.45);
  box-shadow: 0 4px 18px rgba(230, 0, 126, 0.15);
}

.show-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.show-item-card.is-active .show-time-badge {
  color: var(--color-primary);
}

.show-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #18181b;
}

.show-dj {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PODCAST GRID (HOME & ARCHIVE PAGE)
   ========================================================================== */
.section-home-podcast {
  padding: 3rem 0 4rem;
}

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

.podcast-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.podcast-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.podcast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.podcast-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #fdf2f8;
  color: var(--color-primary);
  border: 1px solid rgba(230, 0, 126, 0.2);
}

.podcast-duration {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.podcast-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  color: #18181b;
}

.podcast-dj {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.podcast-play-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-play-pod {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fdf2f8;
  border: 1px solid rgba(230, 0, 126, 0.25);
  color: var(--color-primary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-play-pod:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* ==========================================================================
   CERTIFICATE & TRUST BANNER
   ========================================================================== */
.section-certificate {
  padding: 3rem 0 5rem;
}

.cert-card {
  background: #ffffff;
  border: 2px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-gold-glow);
}

.cert-mockup {
  width: 200px;
  height: 260px;
  background: linear-gradient(145deg, #fffbeb, #fef3c7);
  border: 4px solid #f59e0b;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.15);
  margin: 0 auto;
}

.cert-mockup i {
  font-size: 4rem;
  color: #d97706;
}

.cert-badge-tag {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 2px;
}

.cert-info h2 {
  font-size: 2rem;
  color: #b45309;
  margin: 0.8rem 0 0.3rem;
}

.cert-info h3 {
  font-size: 1.15rem;
  color: #18181b;
  font-weight: 500;
  margin-bottom: 1rem;
}

.cert-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.cert-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   LIVE STUDIO SECTION (ROOM)
   ========================================================================== */
#section-live {
  padding: 3rem 0 5rem;
}

.live-studio-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
}

.live-player-huge {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.studio-status {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulsing-red {
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 12px #ef4444;
  animation: pulseRed 1.2s infinite;
}

.text-onair {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ef4444;
  letter-spacing: 1.5px;
}

.status-bitrate {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Vinyl Record Simulation */
.live-disc-container {
  position: relative;
  width: 240px;
  height: 240px;
  margin-bottom: 2rem;
}

.vinyl-record {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #27272a 0%, #18181b 70%, #09090b 100%);
  border: 4px solid #3f3f46;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.vinyl-record.spinning {
  animation: spinDisc 6s linear infinite;
}

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

.vinyl-center {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #ff2a9d);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.vinyl-dj-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 15px rgba(230, 0, 126, 0.4);
  display: block;
}

.vinyl-logo {
  text-align: center;
  color: #ffffff;
}

.vinyl-logo i {
  font-size: 1.5rem;
  display: block;
}

.vinyl-logo span {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
}

.live-show-detail {
  margin-bottom: 1.5rem;
}

.live-freq-tag {
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.live-title-main {
  font-size: 2.2rem;
  margin: 0.3rem 0;
  color: #18181b;
}

.live-dj-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.live-now-playing-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.06), rgba(244, 114, 182, 0.12));
  border: 1px solid rgba(230, 0, 126, 0.25);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(230, 0, 126, 0.08);
  max-width: 95%;
  animation: fadeIn 0.4s ease;
}

.now-playing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.now-playing-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #18181b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 420px;
}

/* Big Audio Visualizer in Studio */
.big-visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 60px;
  width: 100%;
  max-width: 480px;
  margin: 1.5rem 0 2rem;
}

.v-bar {
  flex: 1;
  background: linear-gradient(to top, var(--color-primary), #ff2a9d);
  border-radius: 4px;
  height: 10%;
  transition: height 0.15s ease;
}

.big-visualizer.active .v-bar:nth-child(even) { animation: waveBar 0.9s infinite ease-in-out alternate; }
.big-visualizer.active .v-bar:nth-child(odd) { animation: waveBar 1.2s infinite ease-in-out alternate; }

@keyframes waveBar {
  0% { height: 10%; }
  50% { height: 85%; }
  100% { height: 35%; }
}

.big-controls {
  margin-bottom: 2rem;
}

.btn-play-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 8px 30px var(--color-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-play-large:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 35px rgba(230, 0, 126, 0.45);
}

.stream-info-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-refresh-stream {
  background: #fdf2f8;
  border: 1px solid rgba(230, 0, 126, 0.2);
  color: var(--color-primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 500;
}

.btn-refresh-stream:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.live-listener-num {
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-en);
  background: rgba(230, 0, 126, 0.08);
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.92rem;
  border: 1px solid rgba(230, 0, 126, 0.18);
  margin-left: 0.25rem;
}

/* Live Studio Sidebar */
.live-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.side-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #18181b;
}

.dj-profile-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dj-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #ff2a9d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.dj-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dj-details h4 {
  font-size: 1.1rem;
  color: #18181b;
}

.dj-details p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.dj-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-top: 0.2rem;
}

.dj-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-left: 3px solid var(--color-primary);
  padding-left: 0.8rem;
}

/* Request Form */
.request-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group input, .form-group textarea, .form-group select,
.form-row input, .form-row textarea,
.admin-settings-form input, .admin-settings-form textarea {
  width: 100%;
  background: #faf8fb;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  color: #18181b;
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus,
.form-row input:focus, .form-row textarea:focus,
.admin-settings-form input:focus, .admin-settings-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.12);
}

.form-feedback {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-feedback.hidden {
  display: none;
}

.callin-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.callin-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #059669;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.call-number {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 700;
  color: #065f46;
  display: block;
}

.call-number:hover {
  color: #047857;
}

/* ==========================================================================
   SCHEDULE SECTION
   ========================================================================== */
#section-schedule {
  padding: 3rem 0 5rem;
}

.schedule-tab-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.sched-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.sched-tab-btn.active {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px var(--color-primary-glow);
}

.schedule-content {
  display: none;
}

.schedule-content.active {
  display: block;
}

/* ==========================================================================
   SCHEDULE LIST CARDS (CLEAN & COMFORTABLE TO READ)
   ========================================================================== */
.schedule-list-cards,
.schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 960px;
  margin: 0 auto 3.5rem;
}

.sched-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(230, 0, 126, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  padding: 1.3rem 1.65rem;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.sched-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: rgba(230, 0, 126, 0.2);
  transition: all 0.25s ease;
}

.sched-card:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 0, 126, 0.35);
  box-shadow: 0 8px 28px rgba(230, 0, 126, 0.09);
  background: #ffffff;
}

.sched-card:hover::before {
  background: var(--color-primary);
  width: 6px;
}

/* Active / On-Air Highlight Card */
.sched-card.is-onair {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #fff7fb 0%, #ffffff 100%);
  box-shadow: 0 8px 30px rgba(230, 0, 126, 0.14);
}

.sched-card.is-onair::before {
  background: var(--color-primary);
  width: 6px;
}

/* 1. Time Column */
.sched-card-time-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sched-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 700;
  color: #18181b;
  background: #f4f4f5;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  border: 1px solid rgba(0, 0, 0, 0.05);
  letter-spacing: 0.2px;
}

.sched-time-badge i {
  color: var(--color-primary);
  font-size: 0.95rem;
}

.sched-card.is-onair .sched-time-badge {
  background: #fce7f3;
  color: #be185d;
  border-color: rgba(230, 0, 126, 0.25);
}

.sched-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
  animation: pulseRed 1.4s infinite;
}

.sched-live-pill .pulse-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

/* 2. Body Column */
.sched-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.sched-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sched-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #18181b;
  margin: 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.sched-card:hover .sched-card-title {
  color: var(--color-primary);
}

.sched-cat-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-pill);
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.sched-cat-tag.cat-morning {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.sched-cat-tag.cat-afternoon {
  background: #fce7f3;
  color: #9d174d;
  border-color: #fbcfe8;
}

.sched-cat-tag.cat-dhamma {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}

.sched-cat-tag.cat-special {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #ddd6fe;
}

/* DJ Chip */
.sched-dj-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #faf5f8;
  border: 1px solid rgba(230, 0, 126, 0.15);
  padding: 0.25rem 0.8rem 0.25rem 0.35rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin: 0.1rem 0;
}

.sched-dj-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sched-dj-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.sched-dj-text {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.sched-dj-role {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.sched-dj-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.sched-dj-chip.is-no-dj {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
}

.sched-dj-chip.is-no-dj .sched-dj-icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}

.sched-dj-chip.is-no-dj .sched-dj-role {
  color: #6366f1;
}

.sched-dj-chip.is-no-dj .sched-dj-name {
  color: #4f46e5;
}

.sched-dj-chip.is-station {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

.sched-dj-chip.is-station .sched-dj-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.sched-dj-chip.is-station .sched-dj-role {
  color: #059669;
}

.sched-dj-chip.is-station .sched-dj-name {
  color: #047857;
}

.sched-card-desc {
  font-size: 0.92rem;
  color: #52525b;
  line-height: 1.55;
  margin: 0;
}

/* 3. Action Column */
.sched-card-action {
  display: flex;
  align-items: center;
}

.btn-sched-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  background: #ffffff;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sched-action:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px var(--color-primary-glow);
  transform: scale(1.03);
}

.btn-sched-action.btn-live-now {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(230, 0, 126, 0.35);
}

.btn-sched-action.btn-live-now:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.5);
}

/* Responsive adjustments for schedule cards */
@media (max-width: 860px) {
  .sched-card {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.15rem;
  }

  .sched-card-time-col {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f4f4f5;
  }

  .sched-card-action {
    margin-top: 0.2rem;
  }

  .btn-sched-action {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }
}

/* DJ Team Cards */
.dj-team-section {
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.team-heading {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  color: #18181b;
}

.dj-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dj-profile-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.dj-profile-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.dj-profile-card.highlight-card {
  border-color: var(--color-primary);
  background: linear-gradient(145deg, #fff2f9, #ffffff);
  box-shadow: var(--shadow-glow);
}

.dj-badge-role {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #fdf2f8;
  color: var(--color-primary);
  font-weight: 600;
}

.dj-profile-card.highlight-card .dj-badge-role {
  background: var(--color-primary);
  color: #ffffff;
}

.dj-card-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 15px rgba(230, 0, 126, 0.25);
  overflow: hidden;
  border: 3px solid #ffffff;
}

.dj-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dj-profile-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
  color: #18181b;
}

.dj-fullname {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.8rem;
}

.dj-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.dj-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.dj-tags span {
  font-size: 0.75rem;
  background: #faf5f8;
  border: 1px solid rgba(230, 0, 126, 0.15);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  color: #be185d;
}

/* ==========================================================================
   PODCAST / ARCHIVE SECTION
   ========================================================================== */
#section-podcast {
  padding: 3rem 0 5rem;
}

/* Podcast Controls Toolbar */
.podcast-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.podcast-toolbar .archive-filter-tabs {
  margin-bottom: 0;
  justify-content: flex-start;
}

/* View Mode Switcher Toggle */
.podcast-view-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  gap: 4px;
  margin-left: auto;
}

.view-toggle-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.view-toggle-btn:hover {
  color: var(--color-primary);
}

.view-toggle-btn.active {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.archive-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px var(--color-primary-glow);
}

/* ==========================================================================
   PODCAST & ARCHIVE MODERN LIST CARDS
   ========================================================================== */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.6rem;
  margin-top: 1rem;
}

/* ==========================================================================
   PODCAST LIST VIEW (Horizontal Rows)
   ========================================================================== */
.archive-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.archive-grid.list-view .podcast-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 1.6rem;
  border-radius: 18px;
}

.archive-grid.list-view .podcast-card:hover {
  transform: translateX(5px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(230, 0, 126, 0.1);
}

.archive-grid.list-view .podcast-card-accent {
  width: 5px;
  height: 100%;
  top: 0;
  left: 0;
  right: auto;
  border-radius: 18px 0 0 18px;
}

.archive-grid.list-view .pod-card-header {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  order: 1;
}

.archive-grid.list-view .pod-card-body {
  order: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.archive-grid.list-view .pod-card-title {
  min-height: auto;
  margin: 0;
  font-size: 1.05rem;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.archive-grid.list-view .pod-dj-profile {
  margin-bottom: 0;
  padding: 0.25rem 0.55rem;
  display: inline-flex;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  width: fit-content;
  gap: 0.5rem;
}

.archive-grid.list-view .pod-dj-avatar {
  width: 26px;
  height: 26px;
}

.archive-grid.list-view .pod-dj-name {
  font-size: 0.8rem;
  margin-top: 0;
}

.archive-grid.list-view .pod-card-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-grid.list-view .pod-card-footer {
  order: 3;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .podcast-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .podcast-view-toggle {
    margin-left: 0;
    align-self: flex-start;
  }
  .archive-grid.list-view .podcast-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  .archive-grid.list-view .pod-card-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .archive-grid.list-view .pod-card-footer {
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
  }
}

.podcast-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.podcast-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 126, 0.3);
  box-shadow: 0 14px 30px rgba(230, 0, 126, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.podcast-card.active-track {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, #ffffff 0%, #fff6fa 100%);
  box-shadow: 0 10px 28px rgba(230, 0, 126, 0.16);
}

.podcast-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #ff758c);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.podcast-card:hover .podcast-card-accent,
.podcast-card.active-track .podcast-card-accent {
  opacity: 1;
}

.pod-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pod-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  line-height: 1.2;
}

.pod-chip.cat-morning {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.pod-chip.cat-afternoon {
  background: #ffe4e6;
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.25);
}

.pod-chip.cat-dhamma {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid rgba(21, 128, 61, 0.25);
}

.pod-chip.cat-jingle {
  background: #ede9fe;
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.pod-chip.cat-special {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.pod-chip.cat-default {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.pod-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.pod-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pod-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9rem;
}

.pod-dj-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.pod-dj-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.pod-dj-avatar-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--color-primary);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 2px solid #ffffff;
}

.pod-dj-avatar-badge.is-no-dj {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}

.pod-dj-avatar-badge.is-station {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.pod-dj-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pod-dj-sub {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.2;
}

.pod-dj-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.pod-card-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pod-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
  margin-top: auto;
}

.pod-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--color-primary), #d81b60);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px var(--color-primary-glow);
}

.pod-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 0, 126, 0.35);
}

.pod-play-btn.playing {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.pod-play-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.pod-btn-label {
  white-space: nowrap;
}

.pod-soundwave {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 13px;
  margin-left: 2px;
}

.pod-soundwave.animating {
  display: inline-flex;
}

.pod-soundwave span {
  width: 2.5px;
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  animation: podWaveAnim 1.2s ease-in-out infinite alternate;
}

.pod-soundwave span:nth-child(1) { animation-delay: 0s; height: 40%; }
.pod-soundwave span:nth-child(2) { animation-delay: 0.2s; height: 85%; }
.pod-soundwave span:nth-child(3) { animation-delay: 0.4s; height: 60%; }
.pod-soundwave span:nth-child(4) { animation-delay: 0.15s; height: 100%; }

@keyframes podWaveAnim {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.pod-meta-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
}

.podcast-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #ffffff;
  border-radius: 20px;
  border: 2px dashed #e2e8f0;
}

.podcast-empty-state .empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fdf2f8;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
}

.podcast-empty-state h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.podcast-empty-state p {
  color: #64748b;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   ADVERTISING SECTION
   ========================================================================== */
#section-advertising {
  padding: 3rem 0 5rem;
}

.ad-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.ad-value-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.ad-val-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fdf2f8;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem;
  border: 1px solid rgba(230, 0, 126, 0.15);
}

.ad-value-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #18181b;
}

.ad-value-box p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Pricing Cards */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(150deg, #fff7fb, #ffffff);
  box-shadow: var(--shadow-glow);
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: #fdf2f8;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
}

.card-badge.highlight {
  background: var(--color-primary);
  color: #ffffff;
}

.plan-name {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #18181b;
}

.plan-sub {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.plan-price {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.price-val {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-features li i {
  color: #059669;
  font-size: 0.85rem;
}

/* Fast Call CTA */
.ad-call-cta {
  background: linear-gradient(135deg, #fff1f8, #fdf4ff);
  border: 1px solid rgba(230, 0, 126, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-sm);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: #18181b;
}

.cta-text p {
  color: var(--text-secondary);
}

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

.btn-call-huge {
  background: #059669;
  color: #ffffff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

.btn-call-huge:hover {
  background: #047857;
  transform: translateY(-2px);
}

.btn-facebook {
  background: #1877f2;
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-facebook:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

/* ==========================================================================
   ABOUT & CONTACT SECTION
   ========================================================================== */
#section-about {
  padding: 3rem 0 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.about-story h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
}

.about-story p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-highlights {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.highlight-item i {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-top: 0.2rem;
}

.highlight-item strong {
  display: block;
  font-size: 1.05rem;
  color: #18181b;
}

.highlight-item span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Contact Box */
.about-contact-box {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.about-contact-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #18181b;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.c-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fdf2f8;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(230, 0, 126, 0.15);
}

.c-item strong {
  display: block;
  font-size: 0.95rem;
  color: #18181b;
  margin-bottom: 0.2rem;
}

.c-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.link-tel {
  color: #059669;
}

.link-tel:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PERSISTENT BOTTOM AUDIO PLAYER (STICKY)
   Clean White Glassmorphism + Hot Pink Controls
   ========================================================================== */
.persistent-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--player-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1.5px solid rgba(230, 0, 126, 0.25);
  box-shadow: 0 -8px 30px rgba(230, 0, 126, 0.08), 0 -2px 10px rgba(0, 0, 0, 0.03);
  z-index: 999;
}

.player-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 320px 1fr 240px;
  align-items: center;
  gap: 2rem;
}

/* Left: Track / Station Info */
.player-track-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  overflow: visible;
  min-width: 0;
}

.track-thumb {
  width: 48px;
  height: 48px;
  margin: 6px 4px 6px 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), #ff2a9d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(230, 0, 126, 0.3);
  transform-origin: center center;
  will-change: transform;
}

.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.track-thumb.rotating {
  animation: spinDisc 8s linear infinite;
}

.track-meta {
  overflow: visible;
  min-width: 0;
  white-space: nowrap;
}

.track-status-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2px;
  padding-top: 4px;
  overflow: visible;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
  flex-shrink: 0;
  display: inline-block;
  transform-origin: center center;
}

.pulse-indicator.playing {
  animation: pulseRed 1.2s infinite;
}

.track-status-text {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  color: #ef4444;
  letter-spacing: 0.8px;
}

.track-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #18181b;
  text-overflow: ellipsis;
  overflow: hidden;
}

.track-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Center: Controls & Progress */
.player-center-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.control-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn-ctrl {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.btn-ctrl:hover {
  color: var(--color-primary);
}

.btn-ctrl-label {
  font-size: 0.8rem;
  font-weight: 500;
}

.btn-play-main {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px var(--color-primary-glow);
}

.btn-play-main:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.4);
}

.player-progress-wrap {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.time-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 42px;
  text-align: center;
}

.progress-bar-bg {
  flex: 1;
  height: 8px;
  background: #fce7f3;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  touch-action: none;
  user-select: none;
  transition: height 0.15s ease, background 0.15s ease;
}

/* Generous click and touch target area */
.progress-bar-bg::before {
  content: '';
  position: absolute;
  top: -14px;
  bottom: -14px;
  left: 0;
  right: 0;
  cursor: pointer;
}

.progress-bar-bg:hover,
.progress-bar-bg.is-dragging {
  height: 10px;
  background: #fbcfe8;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #ff2a9d);
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.progress-bar-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.progress-bar-bg:hover .progress-bar-thumb,
.progress-bar-bg.is-dragging .progress-bar-thumb {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 3px 12px rgba(230, 0, 126, 0.55);
  border-color: #be185d;
}

/* Right: Volume & Expand */
.player-right-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
}

.volume-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-volume {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
}

.btn-volume:hover {
  color: var(--color-primary);
}

.volume-slider {
  width: 85px;
  accent-color: var(--color-primary);
  cursor: pointer;
  height: 4px;
}

.btn-expand-live {
  background: #fdf2f8;
  border: 1px solid rgba(230, 0, 126, 0.2);
  color: var(--color-primary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-expand-live:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: calc(var(--player-height) + 1.5rem);
  right: 1.5rem;
  background: #ffffff;
  border: 1.5px solid var(--color-primary);
  color: #18181b;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(230, 0, 126, 0.15);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification i {
  color: #059669;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    gap: 0.15rem;
  }

  .nav-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
    gap: 0.35rem;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .btn-call {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }

  .btn-admin-nav {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-grid, .live-studio-layout, .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .today-schedule-list, .podcast-grid, .archive-grid, .dj-team-grid, .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cert-mockup {
    margin: 0 auto;
  }

  .cert-buttons {
    justify-content: center;
  }

  .player-container {
    grid-template-columns: 240px 1fr 140px;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .features-grid, .today-schedule-list, .podcast-grid, .archive-grid, .dj-team-grid, .pricing-cards-grid, .ad-value-grid {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .today-wrapper, .studio-card, .cert-card, .ad-call-cta {
    padding: 1.5rem;
  }

  /* Compact Player on Mobile */
  .persistent-player {
    height: 72px;
  }

  .player-container {
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    padding: 0 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .player-track-info {
    min-width: 0;
    overflow: hidden;
  }

  .track-meta {
    min-width: 0;
    overflow: hidden;
  }

  .track-title {
    max-width: 180px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .track-artist {
    max-width: 180px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .player-progress-wrap, .player-right-controls {
    display: none;
  }

  .player-center-controls {
    flex-direction: row;
  }

  .btn-ctrl-label {
    display: none;
  }
}

/* ==========================================================================
   ADMIN BACKEND & MANAGEMENT CONSOLE
   ========================================================================== */
.btn-admin-nav {
  background: var(--color-primary-soft);
  border: 1px solid rgba(230, 0, 126, 0.3);
  color: var(--color-primary);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-admin-nav:hover {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.btn-admin-nav.logged-in {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
}

.btn-admin-nav.logged-in:hover {
  background: linear-gradient(135deg, #047857, #059669);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45);
}

.admin-container {
  padding: 2.5rem 1.5rem 5rem;
}

.admin-topbar {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.admin-brand h2 {
  font-size: 1.8rem;
  margin: 0.4rem 0 0.2rem;
  color: #18181b;
}

.admin-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.admin-actions {
  display: flex;
  gap: 0.8rem;
}

/* Admin navigation styles moved to consolidated single-line section */

.admin-tab-pane {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.admin-tab-pane.active {
  display: block;
}

.admin-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-pane-header h3 {
  font-size: 1.4rem;
  color: #18181b;
  margin-bottom: 0.2rem;
}

.admin-sub-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.sub-tab-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  background: #fdf2f8;
  border: 1px solid rgba(230, 0, 126, 0.2);
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sub-tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
}

/* Admin Tables */
.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.admin-table th {
  background: #faf8fb;
  padding: 0.85rem 1rem;
  color: #18181b;
  font-weight: 600;
  border-bottom: 2px solid rgba(230, 0, 126, 0.15);
}

.admin-table td {
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #fff8fc;
}

.btn-table-action {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.btn-table-edit {
  color: #0284c7;
  background: #f0f9ff;
}

.btn-table-edit:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-table-del {
  color: #ef4444;
  background: #fef2f2;
}

.btn-table-del:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Requests Inbox */
.requests-inbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.request-inbox-item {
  background: #faf8fb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.req-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.req-sender {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
}

.req-song-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #18181b;
  background: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(230, 0, 126, 0.15);
}

.req-message-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Settings Form */
.admin-settings-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.95rem;
  color: #18181b;
}

.form-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-actions-bar {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Admin Modals */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(15px);
  transition: transform 0.25s ease;
}

.admin-modal.open .modal-card {
  transform: translateY(0);
}

/* Custom Stylish Alert & Confirm Dialog */
#modalConfirmDialog {
  z-index: 99999 !important;
}

#modalConfirmDialog .modal-card {
  max-width: 440px;
  text-align: center;
  padding: 2.2rem 1.8rem;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #ffffff;
  transform: scale(0.92) translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: #18181b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.modal-tip {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.login-error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.login-error-msg.hidden {
  display: none;
}

/* ==========================================================================
   REAL CERTIFICATE DISPLAY & LIGHTBOX
   ========================================================================== */
.cert-frame-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 3px #d97706;
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  background: #ffffff;
  max-width: 280px;
  margin: 0 auto;
}

.cert-frame-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.28), 0 0 0 3px #f59e0b;
}

.cert-real-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cert-zoom-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  text-align: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cert-frame-wrapper:hover .cert-zoom-hint {
  opacity: 1;
}

/* Certificate Lightbox Modal */
.cert-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cert-lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.cert-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 4px solid #ffffff;
}

.cert-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: #ffffff;
  color: #18181b;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

.cert-lightbox-close:hover {
  transform: scale(1.1);
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   NOTIFICATION SYSTEM & REAL-TIME BADGES
   ========================================================================== */
.admin-notif-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid #ffffff;
  display: inline-block;
  margin-left: 2px;
  animation: notifPulse 1.5s infinite;
}

.admin-notif-dot.hidden {
  display: none;
}

@keyframes notifPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   LIVE CHAT WALL & DJ REPLIES
   ========================================================================== */
.live-chat-wall {
  margin-top: 1rem;
}

.chat-wall-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.chat-wall-header h3 {
  font-size: 1rem;
  margin: 0;
}

.live-dot-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.chat-messages-stream {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.chat-msg-item {
  background: #fdf4f9;
  border: 1px solid rgba(230, 0, 126, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
}

.chat-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.chat-msg-sender {
  font-weight: 600;
  color: #18181b;
}

.chat-msg-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.chat-msg-song {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.chat-msg-song i {
  margin-right: 0.25rem;
}

.chat-dj-reply-box {
  margin-top: 0.4rem;
  padding: 0.45rem 0.65rem;
  background: #ffffff;
  border-left: 3px solid var(--color-primary);
  border-radius: 4px;
  font-size: 0.82rem;
  color: #18181b;
}

.chat-dj-reply-box strong {
  color: var(--color-primary);
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.1rem;
}

/* DJ Reply In Admin Inbox */
.request-card-admin {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.admin-reply-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.admin-reply-input {
  flex: 1;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.15);
  outline: none;
}

.admin-reply-input:focus {
  border-color: var(--color-primary);
}

/* ==========================================================================
   EDIT CONTACT BUTTON
   ========================================================================== */
.btn-edit-contact-card {
  background: #ffffff;
  border: 1.5px dashed var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  transition: var(--transition-fast);
}

.btn-edit-contact-card:hover {
  background: var(--color-primary-soft);
  transform: translateY(-2px);
}

/* ==========================================================================
   UPLOAD DROP ZONE & STATUS
   ========================================================================== */
.upload-drop-zone {
  border: 2px dashed rgba(230, 0, 126, 0.35);
  background: #fdf2f8;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.upload-drop-zone:hover,
.upload-drop-zone.dragover,
.upload-drop-zone.is-dragover {
  border-color: var(--color-primary);
  border-style: solid;
  background: #fce7f3;
  transform: scale(1.015);
  box-shadow: 0 4px 16px rgba(230, 0, 126, 0.2);
}

.upload-drop-zone * {
  pointer-events: none;
}

.upload-drop-zone i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.upload-status-text {
  font-size: 0.82rem;
  color: #059669;
  font-weight: 500;
  margin-top: 0.4rem;
}

/* ==========================================================================
   SPONSOR ADS GRID
   ========================================================================== */
.sponsor-ads-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.sponsor-ad-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.sponsor-ad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sponsor-ad-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sponsor-ad-body {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.sponsor-ad-title {
  font-size: 1rem;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 0.3rem;
}

.sponsor-ad-link {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   DJ CONSOLE & ADMIN STYLING
   ========================================================================== */
.admin-container {
  padding-top: 2rem;
  padding-bottom: 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
  border: 1px solid rgba(230, 0, 126, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}

.admin-brand h2 {
  font-size: 1.7rem;
  color: #18181b;
  margin: 0.4rem 0 0.2rem;
}

.admin-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.admin-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

/* Admin 7-Tabs Navigation (Always Single Line) */
.admin-tab-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 0.35rem;
  background: #ffffff;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}

.admin-tab-nav::-webkit-scrollbar {
  height: 4px;
}

.admin-tab-nav::-webkit-scrollbar-track {
  background: transparent;
}

.admin-tab-nav::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: #52525b;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.admin-tab-btn:hover {
  color: var(--color-primary);
  background: #fdf2f8;
}

.admin-tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

.admin-tab-pane {
  display: none;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
  animation: adminFadeIn 0.3s ease;
}

.admin-tab-pane.active {
  display: block;
}

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

.admin-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.admin-pane-header h3 {
  font-size: 1.35rem;
  color: #18181b;
  margin: 0 0 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-sub-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.sub-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fafafa;
  color: #52525b;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sub-tab-btn.active {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
}

/* Admin Tables */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.admin-table th {
  background: #f8fafc;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  vertical-align: middle;
  color: #1e293b;
}

.admin-table tbody tr:hover {
  background: #fdf2f8;
}

.btn-table-action {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0.3rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-table-edit {
  background: #f3e8ff;
  color: #7e22ce;
}

.btn-table-edit:hover {
  background: #7e22ce;
  color: #ffffff;
}

.btn-table-del {
  background: #fee2e2;
  color: #dc2626;
}

.btn-table-del:hover {
  background: #dc2626;
  color: #ffffff;
}

/* Podcast Table Category Badges (No-wrap & Colored Pills) */
.podcast-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap !important;
  line-height: 1.2;
  letter-spacing: 0.2px;
  background: #fdf2f8;
  color: var(--color-primary);
  border: 1px solid rgba(230, 0, 126, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.podcast-tag.tag-morning {
  background: #fff7ed;
  color: #c2410c;
  border-color: rgba(234, 88, 12, 0.25);
}

.podcast-tag.tag-afternoon {
  background: #f0fdf4;
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.25);
}

.podcast-tag.tag-evening {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
}

.podcast-tag.tag-dhamma {
  background: #fefce8;
  color: #a16207;
  border-color: rgba(202, 138, 4, 0.3);
}

.podcast-tag.tag-jingle {
  background: #faf5ff;
  color: #7e22ce;
  border-color: rgba(126, 34, 206, 0.25);
}

.podcast-tag.tag-special {
  background: #fdf2f8;
  color: #be185d;
  border-color: rgba(190, 24, 93, 0.25);
}

.podcast-tag.tag-weekend {
  background: #fff1f2;
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.25);
}

/* Requests Inbox Grid */
.requests-inbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
}

.request-inbox-item {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: all 0.2s ease;
  position: relative;
}

.request-inbox-item:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-color: rgba(230, 0, 126, 0.3);
}

.req-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.req-sender {
  font-weight: 700;
  color: #18181b;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.req-song-title {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.req-message-text {
  font-size: 0.88rem;
  color: #52525b;
  background: #ffffff;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  border-left: 3px solid var(--color-primary);
  font-style: italic;
}

/* Modals */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.admin-modal.open {
  display: flex;
  animation: adminFadeIn 0.25s ease;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-header h3 {
  font-size: 1.25rem;
  color: #18181b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #71717a;
  cursor: pointer;
  padding: 0.3rem;
}

.modal-close-btn:hover {
  color: #18181b;
}

.modal-body {
  padding: 1.8rem;
}

.modal-tip {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.login-error-msg {
  background: #fee2e2;
  color: #dc2626;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* Admin Settings Form */
.admin-settings-form .form-row {
  margin-bottom: 1.2rem;
}

.admin-settings-form .form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

@media (max-width: 640px) {
  .admin-settings-form .form-row-grid {
    grid-template-columns: 1fr;
  }
}

.form-tip {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  display: block;
}

.form-actions-bar {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   FLOATING DJ LIVE CHAT & REQUESTS POPUP WIDGET (Facebook Style)
   ========================================================================== */
.dj-floating-widget {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-th);
}

.dj-floating-widget.hidden {
  display: none !important;
}

/* Floating Action Bubble */
.dj-float-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e6007e, #be185d);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 25px rgba(230, 0, 126, 0.42), 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.dj-float-bubble:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(230, 0, 126, 0.55);
}

.dj-float-bubble-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dj-bubble-icon {
  font-size: 1.45rem;
}

.dj-float-live-dot {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
  animation: pulseDot 1.6s infinite;
}

.dj-float-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #ef4444;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.dj-float-badge.bounce {
  animation: badgeBounce 0.4s ease;
}

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

/* Floating Chat Box Popup */
.dj-float-box {
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatPopupIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.dj-float-box.hidden {
  display: none !important;
}

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

.dj-float-header {
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, #be185d, #e6007e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dj-float-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.dj-float-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.dj-float-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.dj-float-avatar .online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.dj-float-header-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dj-float-status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dj-float-status i {
  color: #34d399;
  font-size: 0.65rem;
}

.dj-float-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-float-action {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-float-action:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.dj-float-notice {
  background: #fdf2f8;
  border-bottom: 1px solid #fce7f3;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  color: #9d174d;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-refresh-float {
  background: none;
  border: none;
  color: #be185d;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px;
  transition: transform 0.3s ease;
}

.btn-refresh-float:hover {
  transform: rotate(180deg);
}

/* Float Body & Requests */
.dj-float-body {
  max-height: 340px;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #f8fafc;
}

.dj-float-body::-webkit-scrollbar {
  width: 5px;
}
.dj-float-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.dj-req-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.dj-req-item:hover {
  border-color: rgba(230, 0, 126, 0.25);
  box-shadow: 0 4px 12px rgba(230, 0, 126, 0.08);
}

.dj-req-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.dj-req-sender {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dj-req-loc {
  font-size: 0.74rem;
  font-weight: normal;
  color: #64748b;
}

.dj-req-time {
  font-size: 0.7rem;
  color: #94a3b8;
}

.dj-req-song {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fdf2f8;
  color: #be185d;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
  border: 1px solid #fce7f3;
}

.dj-req-msg {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
  background: #f8fafc;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
  margin-bottom: 0.5rem;
}

.dj-req-replied-box {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  color: #065f46;
  margin-top: 0.4rem;
}

.dj-req-replied-box strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Quick Reply in Float Widget */
.dj-quick-reply-wrap {
  margin-top: 0.45rem;
}

.dj-btn-trigger-reply {
  background: transparent;
  border: 1px solid rgba(230, 0, 126, 0.3);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.dj-btn-trigger-reply:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.dj-reply-form-inline {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding: 0.6rem;
  background: #fdf2f8;
  border-radius: 10px;
  border: 1px solid #fce7f3;
}

.dj-quick-chips {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.dj-chip-btn {
  font-size: 0.7rem;
  background: #ffffff;
  border: 1px solid #fbcfe8;
  color: #be185d;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dj-chip-btn:hover {
  background: #be185d;
  color: #ffffff;
}

.dj-reply-input-row {
  display: flex;
  gap: 0.35rem;
}

.dj-reply-input-text {
  flex: 1;
  font-size: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  outline: none;
  font-family: inherit;
}

.dj-reply-input-text:focus {
  border-color: var(--color-primary);
}

.dj-btn-send-inline {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.dj-btn-send-inline:hover {
  background: #d81b60;
}

.dj-float-empty {
  text-align: center;
  padding: 2.2rem 1rem;
  color: #94a3b8;
}

.dj-float-empty i {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

.dj-float-empty p {
  font-size: 0.85rem;
  margin: 0;
}

.dj-float-footer {
  padding: 0.65rem 1rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
}

.dj-float-count-text {
  color: #64748b;
}

.btn-link-admin {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0;
}

.btn-link-admin:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .dj-floating-widget {
    bottom: 110px;
    right: 12px;
  }
  .dj-float-box {
    width: calc(100vw - 24px);
    right: -4px;
    bottom: 0;
  }
}

/* ==========================================================================
   PREMIUM STYLED SELECT & PODCAST MODAL ENHANCEMENTS
   ========================================================================== */
.styled-select {
  width: 100%;
  background-color: #faf8fb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6007e'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm, 8px);
  padding: 0.65rem 2.2rem 0.65rem 0.95rem;
  color: #1e293b;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.styled-select:hover {
  border-color: rgba(230, 0, 126, 0.45);
  background-color: #ffffff;
}

.styled-select:focus {
  outline: none;
  border-color: var(--color-primary, #e6007e);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.15);
}

.styled-select option {
  background: #ffffff;
  color: #1e293b;
  padding: 0.6rem 0.8rem;
  font-size: 0.92rem;
}

.input-readonly-calc {
  background: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  font-family: var(--font-en), var(--font-th), sans-serif;
  cursor: not-allowed !important;
  border: 1px dashed #cbd5e1 !important;
}

.input-readonly-calc::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.pod-current-audio-notice {
  margin-top: 0.65rem;
  padding: 0.6rem 0.9rem;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  border-radius: 8px;
  color: #9d174d;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  word-break: break-all;
}

.pod-current-audio-notice i {
  font-size: 1rem;
  color: #db2777;
  flex-shrink: 0;
}

/* DJ Photo Preview Box */
.dj-photo-preview-box {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.08);
}

.dj-preview-thumb {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e6007e;
  box-shadow: 0 3px 10px rgba(230, 0, 126, 0.25);
  flex-shrink: 0;
  background: #ffffff;
}

.dj-preview-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dj-preview-label {
  font-size: 0.8rem;
  color: #9d174d;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dj-preview-filename {
  font-size: 0.84rem;
  color: #1e293b;
  word-break: break-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.btn-change-photo {
  background: #ffffff;
  border: 1px solid #f472b6;
  color: #db2777;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-change-photo:hover {
  background: #db2777;
  color: #ffffff;
  border-color: #db2777;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.3);
}

/* ==========================================================================
   SETTINGS & STATION CONTACT THEMED UI (ADMIN PANE SETTINGS)
   ========================================================================== */
.settings-section-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md, 12px);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.settings-section-card:hover {
  border-color: rgba(230, 0, 126, 0.25);
  box-shadow: 0 6px 24px rgba(230, 0, 126, 0.06);
}

.settings-section-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.settings-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.12), rgba(244, 63, 94, 0.18));
  color: var(--color-primary, #e6007e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.settings-section-header h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #18181b;
  font-weight: 700;
}

.settings-section-header p {
  margin: 0.15rem 0 0 0;
  font-size: 0.8rem;
  color: var(--text-muted, #71717a);
}

.themed-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.themed-input-icon {
  position: absolute;
  left: 0.95rem;
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.themed-input-wrap.textarea-wrap .themed-input-icon {
  top: 0.85rem;
}

.themed-input-wrap input,
.themed-input-wrap select,
.themed-input-wrap textarea {
  padding-left: 2.65rem !important;
  border-radius: 9px !important;
  background: #faf8fb;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.themed-input-wrap:focus-within .themed-input-icon {
  color: var(--color-primary, #e6007e);
}

.themed-input-wrap input:focus,
.themed-input-wrap select:focus,
.themed-input-wrap textarea:focus {
  background: #ffffff !important;
  border-color: var(--color-primary, #e6007e) !important;
  box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.12) !important;
}

/* =========================================================================
   PREMIUM MODAL INPUT STYLING (SCHEDULE & DIALOGS)
   ========================================================================= */
.premium-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.premium-input-box .box-icon {
  position: absolute;
  left: 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.premium-input-box.textarea-box {
  align-items: flex-start;
}

.premium-input-box.textarea-box .box-icon {
  top: 1rem;
}

.premium-input-box .premium-field {
  width: 100%;
  height: 48px;
  padding: 0.75rem 1rem 0.75rem 2.75rem !important;
  background: #fdfafd !important;
  border: 1.5px solid rgba(0, 0, 0, 0.09) !important;
  border-radius: 12px !important;
  font-size: 0.93rem !important;
  color: #1e293b !important;
  font-family: inherit !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.premium-input-box textarea.premium-field {
  height: auto !important;
  min-height: 85px !important;
  line-height: 1.5 !important;
  resize: vertical !important;
}

.premium-input-box:focus-within .box-icon {
  color: var(--color-primary, #e6007e);
  transform: scale(1.1);
}

.premium-input-box:focus-within.textarea-box .box-icon {
  transform: none;
}

.premium-input-box .premium-field:focus {
  background: #ffffff !important;
  border-color: var(--color-primary, #e6007e) !important;
  box-shadow: 0 0 0 4px rgba(230, 0, 126, 0.12) !important;
  outline: none !important;
}

.premium-input-box .premium-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px 16px !important;
  padding-right: 2.75rem !important;
  cursor: pointer !important;
}

.premium-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  margin-top: 6px;
  font-weight: 500;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.premium-submit-btn {
  height: 50px !important;
  padding: 0 1.5rem !important;
  font-size: 1rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  background: linear-gradient(135deg, var(--color-primary, #e6007e) 0%, #ff2a9d 100%) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(230, 0, 126, 0.32) !important;
  transition: all 0.25s ease !important;
  margin-top: 0.5rem !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.premium-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(230, 0, 126, 0.42) !important;
}

.premium-submit-btn:active {
  transform: scale(0.98) !important;
}

/* =========================================================================
   AUTO STREAM RECORDER (RECORDING PANE & CRON CONTROLS)
   ========================================================================= */
.recorder-status-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.recorder-status-banner.is-active-recording {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: #fda4af;
  box-shadow: 0 6px 24px rgba(225, 29, 72, 0.15);
}

.rec-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.rec-status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rec-indicator-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
  transition: all 0.3s ease;
}

.is-active-recording .rec-indicator-dot {
  background: #e11d48;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.3);
  animation: pulseRecDot 1.5s infinite;
}

@keyframes pulseRecDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(225, 29, 72, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.rec-indicator-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
}

.is-active-recording .rec-indicator-text {
  color: #be123c;
}

.rec-badge-live {
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-left: 6px;
  animation: pulseRecDot 1.5s infinite;
  display: inline-block;
  vertical-align: middle;
}

.rec-status-details {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

.rec-status-details strong {
  color: #0f172a;
}

.rec-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #e11d48;
  border: 1px solid #fecdd3;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-left: 8px;
}

.btn-stop-recording {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
  transition: all 0.2s ease;
}

.btn-stop-recording:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}

/* STORAGE USAGE WIDGET */
.recorder-storage-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem 1.6rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.recorder-storage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 10px;
}

.recorder-storage-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.storage-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.storage-progress-container {
  background: #f1f5f9;
  border-radius: 10px;
  height: 12px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.storage-progress-bar {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.storage-progress-bar.is-warning {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.storage-progress-bar.is-danger {
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
}

.recorder-storage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.storage-stat-box {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.storage-stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.storage-stat-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.storage-stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.storage-stat-sub {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 4px;
}

.recorder-grid-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.recorder-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.recorder-card-header {
  padding: 1rem 1.25rem;
  background: #fafafa;
  border-bottom: 1px solid #f1f5f9;
}

.recorder-card-header h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recorder-card-body {
  padding: 1.25rem;
  flex: 1;
}

.cron-command-box {
  display: flex;
  align-items: center;
  background: #0f172a;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  gap: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.cron-command-box code {
  color: #38bdf8;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}

.btn-copy-cron {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy-cron:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cron-info-notes {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 8px 12px;
  color: #166534;
  font-size: 0.82rem;
  line-height: 1.4;
}

.rec-log-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.rec-log-badge.success {
  background: #dcfce7;
  color: #15803d;
}

.rec-log-badge.recording {
  background: #ffe4e6;
  color: #e11d48;
}

.rec-log-badge.error {
  background: #fee2e2;
  color: #b91c1c;
}

/* Switch Toggle UI */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 24px;
}

.switch-toggle .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.switch-toggle input:checked + .slider {
  background-color: var(--color-primary, #e6007e);
}

.switch-toggle input:checked + .slider:before {
  transform: translateX(20px);
}

.col-mobile-label {
  display: none;
}

/* ==========================================================================
   MASTER MOBILE RESPONSIVE OVERRIDES (HIGHEST CASCADE SPECIFICITY)
   ========================================================================== */
@media (max-width: 768px) {
  .col-mobile-label {
    display: inline !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-right: 4px !important;
  }
  /* Global Root & Layout Boundary */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .main-wrapper, .page-section {
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .container {
    padding: 0 0.85rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* --- 1. TOP NAVBAR ON MOBILE --- */
  .navbar {
    height: 64px !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .navbar .nav-container {
    padding: 0 0.75rem !important;
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .navbar .brand-logo {
    min-width: 0 !important;
    flex-shrink: 1 !important;
    display: flex !important;
    align-items: center !important;
  }

  .navbar .logo-image-svg {
    height: 38px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
  }

  .navbar .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
  }

  .navbar .btn-call {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
  }

  .navbar .btn-call .call-text {
    display: none !important;
  }

  .navbar .btn-admin-nav {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
    position: relative !important;
  }

  .navbar .btn-admin-nav .admin-nav-text {
    display: none !important;
  }

  .navbar .mobile-toggle {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }

  /* --- 2. TOP ANNOUNCEMENT BAR ON MOBILE --- */
  .top-announcement {
    padding: 0.45rem 2.2rem 0.45rem 0.75rem !important;
    font-size: 0.78rem !important;
  }

  .announcement-content {
    gap: 0.4rem !important;
  }

  .announcement-text {
    font-size: 0.76rem !important;
    text-align: center !important;
    line-height: 1.35 !important;
  }

  .announcement-link {
    font-size: 0.76rem !important;
  }

  .announcement-restore-btn {
    bottom: 84px !important;
    left: 8px !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.72rem !important;
    z-index: 95 !important;
  }

  /* --- 3. LIVE SECTION ON MOBILE --- */
  #section-live {
    padding: 1.5rem 0 3.5rem !important;
  }

  .live-studio-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .live-player-huge {
    padding: 1.25rem 0.85rem !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .studio-status {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1.25rem !important;
    gap: 0.5rem !important;
  }

  .status-bitrate {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  .live-disc-container {
    width: 200px !important;
    height: 200px !important;
    margin-bottom: 1.25rem !important;
  }

  .vinyl-center {
    width: 76px !important;
    height: 76px !important;
  }

  .live-title-main {
    font-size: 1.55rem !important;
    word-break: break-word !important;
    margin: 0.2rem 0 !important;
  }

  .live-dj-sub {
    font-size: 0.9rem !important;
  }

  .live-now-playing-box {
    max-width: 100% !important;
    padding: 0.45rem 0.85rem !important;
    margin-top: 0.75rem !important;
    box-sizing: border-box !important;
  }

  .now-playing-title {
    max-width: calc(100vw - 150px) !important;
    font-size: 0.85rem !important;
  }

  .big-visualizer {
    max-width: 100% !important;
    height: 46px !important;
    gap: 3px !important;
    margin: 1.2rem 0 1.5rem !important;
  }

  .v-bar {
    min-width: 2px !important;
  }

  .btn-play-large {
    width: 72px !important;
    height: 72px !important;
    font-size: 1.75rem !important;
  }

  .stream-info-footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.6rem !important;
    font-size: 0.8rem !important;
  }

  /* --- 4. ADMIN CONSOLE & DASHBOARD ON MOBILE --- */
  .admin-container {
    padding: 1rem 0.65rem 5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .admin-topbar {
    padding: 1.25rem 1rem !important;
    margin-bottom: 1.2rem !important;
    border-radius: var(--radius-md) !important;
    gap: 1rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .admin-brand h2 {
    font-size: 1.35rem !important;
  }

  .admin-sub {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  .admin-actions {
    width: 100% !important;
    display: flex !important;
    gap: 0.5rem !important;
  }

  .admin-actions .btn {
    flex: 1 !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
  }

  .admin-tab-nav {
    margin-bottom: 1.25rem !important;
    padding: 0.35rem 0.45rem !important;
    border-radius: var(--radius-pill) !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .admin-tab-btn {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.82rem !important;
    gap: 0.35rem !important;
  }

  .admin-tab-pane {
    padding: 1.15rem 0.75rem !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .admin-pane-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.2rem !important;
  }

  .admin-pane-header h3 {
    font-size: 1.2rem !important;
  }

  .admin-pane-header p {
    font-size: 0.82rem !important;
  }

  .admin-header-actions,
  .admin-pane-header > div:last-child,
  .admin-pane-header .header-btns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .admin-header-actions .btn,
  .admin-pane-header > div:last-child .btn,
  .admin-pane-header .header-btns .btn {
    flex: 1 1 calc(50% - 0.25rem) !important;
    min-width: 130px !important;
    padding: 0.55rem 0.7rem !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  .admin-sub-tabs {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .sub-tab-btn {
    flex: 1 !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.82rem !important;
    text-align: center !important;
  }

  /* Admin Tables Mobile Card Transformation (เฉพาะหน้าจอมือถือ) */
  .admin-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    border: none !important;
    background: transparent !important;
    margin-bottom: 1rem !important;
    box-sizing: border-box !important;
  }

  .admin-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .admin-table thead {
    display: none !important;
  }

  .admin-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .admin-table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid rgba(230, 0, 126, 0.18) !important;
    border-left: 4px solid var(--color-primary, #e6007e) !important;
    border-radius: 14px !important;
    padding: 1rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    gap: 0.45rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
  }

  .admin-table tbody tr:hover {
    border-color: rgba(230, 0, 126, 0.35) !important;
    box-shadow: 0 6px 20px rgba(230, 0, 126, 0.08) !important;
    background: #fffbfe !important;
  }

  .admin-table tbody td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
  }

  /* Title in card on mobile */
  .admin-table tbody td strong {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #18181b !important;
    display: block !important;
    line-height: 1.45 !important;
    margin-bottom: 3px !important;
  }

  /* Description & subtext */
  .admin-table tbody td span[style*="color:var(--text-muted)"],
  .admin-table tbody td div[style*="color:var(--text-muted)"] {
    font-size: 0.82rem !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    display: block !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  /* Badges & Tags */
  .admin-table tbody td .podcast-tag,
  .admin-table tbody td .badge-pill,
  .admin-table tbody td .dj-badge {
    display: inline-flex !important;
    font-size: 0.78rem !important;
    padding: 0.22rem 0.65rem !important;
    border-radius: 20px !important;
    margin-bottom: 2px !important;
  }

  /* Action Buttons Bar at bottom of mobile card */
  .admin-table tbody td:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 0.65rem !important;
    margin-top: 0.5rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px dashed rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
  }

  .admin-table tbody td:last-child .btn-table-action {
    flex: 1 1 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.6rem 0.85rem !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    height: 42px !important;
    text-align: center !important;
    cursor: pointer !important;
  }

  .admin-table tbody td:last-child .btn-table-edit {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
  }

  .admin-table tbody td:last-child .btn-table-edit:hover,
  .admin-table tbody td:last-child .btn-table-edit:active {
    background: #0284c7 !important;
    color: #ffffff !important;
  }

  .admin-table tbody td:last-child .btn-table-del {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
  }

  .admin-table tbody td:last-child .btn-table-del:hover,
  .admin-table tbody td:last-child .btn-table-del:active {
    background: #dc2626 !important;
    color: #ffffff !important;
  }

  /* Recorder Banner & Cards */
  .recorder-status-banner {
    padding: 1.15rem 1rem !important;
    border-radius: 12px !important;
  }

  .rec-status-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }

  .rec-indicator-text {
    font-size: 1rem !important;
  }

  .btn-stop-recording {
    width: 100% !important;
    justify-content: center !important;
  }

  .recorder-storage-card {
    padding: 1.15rem 1rem !important;
    border-radius: 12px !important;
  }

  .recorder-storage-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  .recorder-storage-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .recorder-grid-controls {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .cron-command-box {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    padding: 0.65rem 0.75rem !important;
  }

  .cron-command-box code {
    white-space: pre-wrap !important;
    word-break: break-all !important;
    font-size: 0.78rem !important;
  }

  .btn-copy-cron {
    justify-content: center !important;
  }

  /* Requests Inbox */
  .requests-inbox-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .request-inbox-item {
    padding: 1rem !important;
  }

  /* Settings & Profile */
  .settings-section-card {
    padding: 1.15rem 0.9rem !important;
  }

  .settings-section-header {
    gap: 0.65rem !important;
  }

  .themed-input-wrap input,
  .themed-input-wrap select,
  .themed-input-wrap textarea {
    font-size: 0.88rem !important;
  }

  .form-actions-bar {
    flex-direction: column !important;
    gap: 0.6rem !important;
  }

  .form-actions-bar .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Modals on Mobile */
  .admin-modal {
    padding: 0.5rem !important;
  }

  .modal-card {
    max-height: 94vh !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .modal-header {
    padding: 1rem 1.15rem !important;
  }

  .modal-body {
    padding: 1.15rem 1rem !important;
  }

  .premium-input-box .premium-field {
    font-size: 0.88rem !important;
    height: 44px !important;
    padding-left: 2.4rem !important;
  }

  .premium-submit-btn {
    height: 46px !important;
    font-size: 0.92rem !important;
  }

  /* Hide announcement restore button when admin active */
  #section-admin.active ~ .announcement-restore-btn,
  body:has(#section-admin.active) .announcement-restore-btn {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .navbar .nav-container {
    padding: 0 0.5rem !important;
  }

  .navbar .logo-image-svg {
    height: 34px !important;
    max-width: 120px !important;
  }

  .live-disc-container {
    width: 180px !important;
    height: 180px !important;
  }

  .vinyl-center {
    width: 68px !important;
    height: 68px !important;
  }

  .track-title {
    max-width: 130px !important;
  }

  .track-artist {
    max-width: 130px !important;
  }

  .admin-header-actions .btn,
  .admin-pane-header > div:last-child .btn,
  .admin-pane-header .header-btns .btn {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}




