/* Navigation globale MUHU - Style unique pour toutes les pages */

/* Navigation container - pas de header wrapper */
nav.muhu-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 16px 40px !important;
  gap: 24px;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(202, 163, 82, 0.15);
  position: relative;
  left: 0 !important;
  transform: none !important;
}

/* Hide navigation when inside the shell iframe */
body.is-in-shell nav.muhu-nav,
body.is-in-shell .muhu-nav {
  display: none !important;
}

/* Left section */
.muhu-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* Brand */
.muhu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  transition: transform 180ms ease, filter 180ms ease;
}

.muhu-brand:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px rgba(202, 163, 82, 0.25));
}

/* On hover, MUHU hints that it's the true home */
.muhu-name {
  position: relative;
}

.muhu-name::after {
  content: "Accueil";
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: -2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 214, 107, 0.95);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  white-space: nowrap;
}

.muhu-brand:hover .muhu-name::after {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  .muhu-brand,
  .muhu-name::after {
    transition: none !important;
  }

  .muhu-brand:hover {
    transform: none;
  }

  .muhu-name::after {
    transform: none;
  }
}

.muhu-brand img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}

.muhu-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #caa352;
  margin-right: 8px;
}

.muhu-name sup {
  font-size: 0.55em;
  vertical-align: 0.45em;
  margin-left: 1px;
  opacity: 0.9;
}

/* ========== SPECTRUM FLOW TYPOGRAPHY (Global) ========== */
.muhu-base {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}

.variant-34 span {
  display: inline-block;
  transition: transform 0.3s, color 0.3s ease;
}

.c-1 {
  color: #caa352 !important;
  -webkit-text-fill-color: initial !important;
}

.c-2 {
  color: #10b981 !important;
  -webkit-text-fill-color: initial !important;
}

.c-3 {
  color: #3b82f6 !important;
  -webkit-text-fill-color: initial !important;
}

.c-4 {
  color: #fbbf24 !important;
  -webkit-text-fill-color: initial !important;
}

.c-5 {
  color: #ec4899 !important;
  -webkit-text-fill-color: initial !important;
}

.c-6 {
  color: #8b5cf6 !important;
  -webkit-text-fill-color: initial !important;
}

/* Links container */
.muhu-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Nav links */
.nav-link {
  color: #caa352;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link.active {
  color: #caa352;
}

.nav-link:hover {
  color: #caa352;
}

.nav-link span:not(.nav-ico) {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.nav-link:hover span:not(.nav-ico) {
  max-width: 150px;
  opacity: 1;
  margin-left: 4px;
}

.nav-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  transition: transform 0.3s ease;
}

.nav-link:hover .nav-ico {
  transform: scale(1.2);
}

.nav-ico svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #caa352;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Toggle-able fill states for menu icons */
.muhu-toggle-fill {
  fill: currentColor !important;
  stroke: none !important;
  transition: all 0.3s ease;
}

/* Ensure mobile nav icons use currentColor */
.mobile-nav-item svg,
.mobile-nav-item svg path,
.mobile-nav-item svg circle,
.mobile-nav-item svg rect {
  fill: currentColor !important;
  stroke: none !important;
}

/* Exception for icons that MUST use stroke (like Discussion, Radio waves) */
.mobile-nav-item[data-view="messenger"] svg,
.mobile-nav-item[data-view="radio"] svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2;
}

/* Ensure inner elements of Radio icon also allow stroke */
.mobile-nav-item[data-view="radio"] svg path,
.mobile-nav-item[data-view="radio"] svg line {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
}

.mobile-nav-item[data-view="radio"] svg circle,
.mobile-nav-item[data-view="radio"] svg rect {
  fill: currentColor !important;
  stroke: none !important;
}

/* Auth section */
.auth-section {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 25;
}

.auth-section img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #caa352;
}

.auth-section span {
  color: #caa352;
  font-weight: 600;
}

/* Logout button */
.logout-btn {
  background: rgba(202, 163, 82, 0.15);
  color: #caa352;
  border: 1px solid #caa352;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.logout-btn:hover {
  background: rgba(202, 163, 82, 0.25);
}


/* ========== BOUTONS CONNEXION / INSCRIPTION ========== */
.btn-login {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid rgba(202, 163, 82, 0.3);
  background: rgba(202, 163, 82, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(202, 163, 82, 0.2), transparent);
  transition: left 0.5s ease;
}

@media (hover: hover) {
  .btn-login:hover::before {
    left: 100%;
  }
}

@media (hover: hover) {
  .btn-login:hover {
    color: #f0d890;
    border-color: rgba(202, 163, 82, 0.6);
    background: rgba(202, 163, 82, 0.15);
    box-shadow: 0 0 20px rgba(202, 163, 82, 0.2);
    transform: translateY(-2px);
  }
}

/* Bouton "Créer un compte" - plus visible */
.btn-login.btn-signup,
.auth-section a.btn-login:last-child {
  background: linear-gradient(135deg, rgba(202, 163, 82, 0.25), rgba(202, 163, 82, 0.1));
  border: 1px solid rgba(202, 163, 82, 0.5);
  color: #f0d890;
}

@media (hover: hover) {

  .btn-login.btn-signup:hover,
  .auth-section a.btn-login:last-child:hover {
    background: linear-gradient(135deg, rgba(202, 163, 82, 0.4), rgba(202, 163, 82, 0.2));
    border-color: #caa352;
    box-shadow: 0 0 25px rgba(202, 163, 82, 0.3);
  }
}

/* ========== BOUTON DE SORTIE VERS GATE ========== */
.exit-gate-btn {
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  opacity: 0.5;
  font-size: 26px;
  line-height: 1;
  color: #caa352;
  font-family: Arial, sans-serif;
  transition: opacity 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
}

.exit-gate-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.exit-gate-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ========== MOBILE MENU STYLES (SIDEBAR) ========== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #caa352;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: transform 0.2s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Overlay / Sidebar Drawer */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -280px;
  /* Start hidden on the left */
  width: 280px;
  height: 100vh;
  background: #000;
  z-index: 2000;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 80px 0 120px;
  /* Increased bottom padding to clear persistent player dock (108px) */
  box-shadow: 10px 0 50px rgba(0, 0, 0, 0.8);
  border-right: 1px solid rgba(202, 163, 82, 0.2);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.open {
  transform: translateX(280px);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-link:hover,
.mobile-link.active {
  background: rgba(202, 163, 82, 0.1);
  color: #f0d890;
  border-left-color: #caa352;
}

.mobile-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

/* Close button inside the sidebar */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #caa352;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.mobile-menu-close:hover {
  opacity: 1;
}

/* ========== RESPONSIVE OVERRIDES ========== */
@media (max-width: 900px) {
  .muhu-links {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {
  nav.muhu-nav {
    padding: 12px 14px;
    gap: 10px;
  }

  .muhu-name::after {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .auth-section span {
    font-size: 0.8rem;
  }

  .btn-login {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .muhu-brand {
    display: none !important;
  }

  nav.muhu-nav {
    padding: 10px 15px;
    justify-content: space-between;
  }
}

/* ========== FLOATING WIDGETS HIDING ========== */
/* Hide player widget and radio widget on ALL screen sizes (desktop + mobile) */
#player-widget-host,
#muhu-radio-widget,
.muhu-radio-widget-bubble {
  display: none !important;
}

@media (max-width: 768px) {

  /* Ensure messenger toggle is visible if needed, or handled via script */
  .messenger-toggle {
    display: none !important;
  }

  /* Ensure messenger panel is above mobile nav when active */
  .muhu-messenger-widget {
    bottom: 132px !important;
    /* Above bottom-nav (60px) + player-dock (72px) */
    right: 15px !important;
    left: 15px !important;
    width: auto !important;
    pointer-events: none;
    /* Allow clicks through when closed */
  }

  .muhu-messenger-widget .messenger-panel {
    pointer-events: auto;
    /* Re-enable clicks for the panel */
  }
}

/* ========== UNIFIED GLOBAL PLAYER DOCK (Spotify Style) ========== */
.muhu-global-player {
  position: relative;
  width: 100%;
  height: 90px;
  flex-shrink: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5000;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: white;
  transition: transform 0.3s ease;
}

.muhu-global-player .player-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left: Meta */
.player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 30%;
  min-width: 200px;
}

.player-cover-wrapper {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

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

.player-info {
  min-width: 0;
}

.gp-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  min-width: 0;
}

.gp-title {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-artist {
  font-size: 0.8rem;
  color: #caa352;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Center: Controls */
.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
  max-width: 600px;
  gap: 8px;
}

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

.gp-control-btn {
  background: transparent;
  border: none;
  color: #b3b3b3;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.gp-control-btn:hover {
  color: white;
  transform: scale(1.05);
}

.gp-control-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gp-control-btn.gp-toggle.active {
  color: #caa352;
  filter: drop-shadow(0 0 5px rgba(202, 163, 82, 0.4));
  opacity: 1;
}

.gp-control-btn.gp-toggle.active:hover {
  color: #f0d890;
  filter: drop-shadow(0 0 8px rgba(202, 163, 82, 0.6));
}

.gp-control-btn.gp-main {
  background: white;
  color: black;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.gp-control-btn.gp-main:hover {
  transform: scale(1.1);
  background: #f0f0f0;
}

.gp-control-btn.gp-main svg,
.gp-control-btn.gp-secondary svg {
  fill: currentColor;
  stroke: none;
  width: 18px;
  height: 18px;
}

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

.gp-time {
  font-size: 0.75rem;
  color: #b3b3b3;
  min-width: 35px;
}

.gp-progress-bg {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.gp-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #caa352;
  border-radius: 2px;
  width: 0%;
}

.gp-progress-bg:hover .gp-progress-fill {
  background: #f0d890;
}

/* Right: Stats */
.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 30%;
  gap: 15px;
}

.player-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b3b3b3;
  font-size: 0.8rem;
}

.gp-stat-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Right: Volume */
.player-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 150px;
}

.gp-volume-bg {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.gp-volume-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #caa352;
  border-radius: 2px;
  width: 80%;
}

.gp-volume-bg:hover .gp-volume-fill {
  background: #f0d890;
}

/* Meta refinements */
.player-cover-wrapper {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.player-cover-wrapper:hover {
  transform: scale(1.05);
}

/* ========== MOBILE OPTIMIZATIONS ========== */
/* Ensure the app shell accounts for mobile nav bar */
@media (max-width: 768px) {
  #app-shell {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    /* Space for mobile-nav-bar + safe area */
  }

  .muhu-global-player {
    height: 72px;
    position: relative;
    padding: 0 12px;
  }

  .player-left {
    width: auto;
    flex: 1;
  }

  .player-cover-wrapper {
    width: 48px;
    height: 48px;
  }

  .gp-title {
    font-size: 0.85rem;
  }

  .gp-artist {
    font-size: 0.75rem;
  }

  .player-center {
    width: auto;
    flex-shrink: 0;
    gap: 0;
  }

  .player-progress-container {
    display: none;
    /* Hide progress bar on mobile for compactness */
  }

  .player-controls {
    gap: 16px;
  }

  .player-right {
    display: none;
    /* Hide stats on mobile for compactness */
  }
}


/* ========== MOBILE NAVIGATION BAR ========== */
@media (max-width: 768px) {
  .mobile-nav-bar {
    display: none;
    /* 🛡️ Hidden by default for guests */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
    background: #000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    z-index: 5001 !important;
    /* Above gp player */
    padding: 0 10px !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    justify-content: space-around;
    align-items: center;
  }

  /* JS adds this class to show the nav for logged-in users */
  .mobile-nav-bar.visible {
    display: flex !important;
  }

  .mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #9ca3af !important;
    gap: 4px !important;
    font-size: 0.7rem !important;
    transition: color 0.2s;
    cursor: pointer;
    flex: 1;
    min-width: 0;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item.active {
    color: #caa352 !important;
  }

  .mobile-nav-item svg {
    width: 22px !important;
    height: 22px !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }
}

/* Cross-shell visibility logic - Persistence ensured */
/* Hide ANY internal mobile nav, player dock, marketplace player or menu when inside the shell iframe */
body.is-in-shell .mobile-player-dock,
body.is-in-shell .mobile-nav-bar,
body.is-in-shell .mobile-menu-overlay,
body.is-in-shell .player-bar,
body.is-in-shell .player-dock,
body.is-in-shell .muhu-global-player,
body.is-in-shell #shell-player-host {
  display: none !important;
}

/* ========== LIVE INDICATOR STYLES ========== */
.gp-live-badge {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  height: 18px;
  flex-shrink: 0;
}

.gp-live-badge.visible {
  display: inline-flex;
}

.gp-live-badge span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gp-live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 4px;
  box-shadow: 0 0 8px #10b981;
  animation: gp-pulse 1.5s infinite;
}

@keyframes gp-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========== EXPANDED MOBILE PLAYER (Spotify Style) ========== */
.muhu-expanded-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #1a1a1a, #000000);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  padding: env(safe-area-inset-top, 20px) 24px env(safe-area-inset-bottom, 30px);
  color: white;
}

.muhu-expanded-player.open {
  transform: translateY(0);
}

.ep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  margin-bottom: 20px;
}

.ep-close-btn,
.ep-options-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ep-header-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.ep-header-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #b3b3b3;
}

.ep-header-title {
  font-size: 0.85rem;
  font-weight: 600;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Push content to center */
}

.ep-cover-container {
  width: 100%;
  aspect-ratio: 1/1;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.ep-cover-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-metadata {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.ep-main-info {
  min-width: 0;
}

.ep-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.ep-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-artist {
  font-size: 1rem;
  color: #caa352;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-utility-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
}

.ep-progress-section {
  margin-bottom: 30px;
}

.ep-progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 12px;
  position: relative;
}

.ep-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #caa352;
  border-radius: 2px;
  width: 0%;
}

.ep-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #b3b3b3;
}

.ep-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.ep-control-btn {
  background: transparent;
  border: none !important;
  color: #b3b3b3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 50%;
}

.ep-control-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  transform: scale(1.1);
}

.ep-control-btn.secondary {
  color: #b3b3b3;
}

.ep-control-btn.main-side {
  color: white;
}

.ep-control-btn.active {
  color: #caa352;
}

.ep-play-btn {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #caa352, #8b5a2b);
  color: white;
  border: none !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(202, 163, 82, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.ep-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(202, 163, 82, 0.6);
  filter: brightness(1.1);
}

.ep-play-btn:active {
  transform: scale(0.92);
}

.ep-play-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.ep-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.ep-footer-btn {
  background: transparent;
  border: none !important;
  color: #b3b3b3;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ep-footer-btn:hover {
  color: #caa352;
  transform: translateY(-2px);
}

@media (max-height: 700px) {
  .ep-cover-container {
    margin-bottom: 20px;
  }

  .ep-title {
    font-size: 1.25rem;
  }

  .ep-controls {
    margin-bottom: 20px;
  }
}