/* ==========================================================================
   SANCTUARY | Il Mio Rifugio Musicale – Stili CSS
   Design System: Deep Midnight Luxury, Glassmorphism, Aurora Gradients & Mobile-First
   ========================================================================== */

:root {
  /* Palette Principale */
  --bg-core: #030712;
  --bg-deep: #070c18;
  --bg-surface: rgba(15, 23, 42, 0.7);
  --bg-surface-hover: rgba(30, 41, 59, 0.85);
  --bg-card: rgba(15, 23, 42, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.4);

  /* Accenti */
  --accent-cyan: #38bdf8;
  --accent-purple: #a855f7;
  --accent-rose: #f43f5e;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fef08a;
  --gold-primary: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.5);
  --accent-crimson: #ef4444;
  --accent-emerald: #10b981;

  /* Categorie */
  --cat-rifugio: #38bdf8;
  --cat-cinema: #fbbf24;
  --cat-rocky: #ef4444;
  --cat-rock: #a855f7;
  --cat-cremonini: #f97316;

  /* Tipografia */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Testi */
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Raggi e Ombre */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.15);
  --shadow-rocky-glow: 0 0 40px rgba(239, 68, 68, 0.25);

  /* Transizioni */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & MOBILE-FIRST BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-core);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-core);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

/* Atmospheric Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  max-width: 100vw;
  overflow: hidden;
}

.orb-cyan {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: -120px;
  left: -100px;
}

.orb-purple {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: 10%;
  right: -150px;
}

.orb-amber {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  top: 50%;
  left: 20%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 0.75rem;
}

.brand-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.brand-link:hover .brand-icon {
  transform: rotate(20deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-sub);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-header i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-header:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-star-github {
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  font-weight: 600;
}

.btn-star-github:hover {
  background: rgba(251, 191, 36, 0.22);
  color: #fef08a;
  border-color: #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.35);
}

.btn-workout-mode {
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
}

.btn-workout-mode:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
  border-color: var(--accent-crimson);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.btn-cremonini-mode {
  border-color: rgba(249, 115, 22, 0.35);
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.1);
}

.btn-cremonini-mode:hover {
  background: rgba(249, 115, 22, 0.25);
  color: #fff;
  border-color: var(--accent-gold);
}

.btn-sleep-timer:hover {
  border-color: var(--accent-purple);
  color: #e9d5ff;
}

/* ==========================================================================
   HERO & STAGE PLAYER SECTION
   ========================================================================== */

.hero-stage-section {
  padding: 3rem 0 2.5rem;
  position: relative;
}

.hero-badge-wrap {
  text-align: center;
  margin-bottom: 1.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
}

.hero-pill i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.hero-headline {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.aurora-gradient {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro-text {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem;
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* Main Stage Card (Sleek Glass Box) */
.stage-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-subtle), var(--shadow-glow);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: relative;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

/* Video Player Wrapper */
.iframe-player-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  box-sizing: border-box;
  margin-bottom: 1.25rem;
}

.iframe-player-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Status Bar with Soundwave Animation */
.player-status-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.soundwave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  flex-shrink: 0;
}

.soundwave-bars span {
  width: 3px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: soundwaveAnim 1.2s infinite ease-in-out;
}

.soundwave-bars span:nth-child(1) { height: 30%; animation-delay: 0.1s; }
.soundwave-bars span:nth-child(2) { height: 75%; animation-delay: 0.3s; }
.soundwave-bars span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.soundwave-bars span:nth-child(4) { height: 50%; animation-delay: 0.4s; }
.soundwave-bars span:nth-child(5) { height: 80%; animation-delay: 0.15s; }

@keyframes soundwaveAnim {
  0%, 100% { height: 25%; }
  50% { height: 100%; }
}

.status-text {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
}

/* Stage Details (Title, Artist, Metadata) */
.stage-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

.stage-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.badge-cat {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-year {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-vibe-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.stage-song-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: break-word;
}

.stage-song-artist {
  font-size: 1.05rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: -0.35rem;
  overflow-wrap: break-word;
}

/* Quote Box */
.stage-quote-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-cyan);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.quote-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  margin-bottom: 0.35rem;
  opacity: 0.6;
}

.stage-quote-text {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--text-sub);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Dynamic Special Feature Buttons */
.stage-special-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.btn-special-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  color: #fef08a;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  line-height: 1.35;
}

.btn-special-feature:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35) 0%, rgba(245, 158, 11, 0.35) 100%);
  transform: translateY(-1px);
}

.btn-special-feature i {
  width: 16px;
  height: 16px;
  color: var(--accent-gold-light);
  flex-shrink: 0;
}

/* Master Playback Controls Bar */
.stage-controls-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.btn-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.65rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  transition: var(--transition-fast);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-ctrl i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-ctrl:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-random {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.3);
  color: #fff;
}

.btn-random:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

/* Actions Row (Copia Verso + YouTube Link) */
.stage-actions-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0.25rem;
}

.btn-pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex: 1 1 calc(50% - 0.35rem);
}

.btn-pill-action i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-pill-action:hover {
  color: #fff;
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

/* ==========================================================================
   EXPLORATION SECTION: FILTERS & SEARCH
   ========================================================================== */

.exploration-section {
  padding: 3.5rem 0 4rem;
}

.section-header {
  margin-bottom: 2rem;
}

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

.section-subtitle-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Category Filter Tabs */
/* Category Filter Tabs: Nascosto su desktop (>1100px) dove l'header sticky è sempre visibile.
   Visibile su mobile/tablet (<=1100px) come barra chip a scorrimento rapido orizzontale. */
.filter-bar {
  display: none;
}

@media (max-width: 1100px) {
  .filter-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
    padding: 0.25rem 0.25rem 0.5rem;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-sub);
  transition: var(--transition-fast);
  flex-shrink: 0;
  white-space: nowrap;
}

.filter-tab i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.tab-count {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.filter-tab.active .tab-count {
  background: var(--accent-cyan);
  color: #030712;
  font-weight: 800;
}

/* Search Bar Wrap */
.search-bar-wrap {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

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

.search-icon-deco {
  position: absolute;
  left: 1.15rem;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-box input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 3.1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  font-family: inherit;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}

.search-input-box input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  background: rgba(15, 23, 42, 0.95);
}

.clear-search-btn {
  position: absolute;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-search-btn:hover {
  color: #fff;
}

.clear-search-btn i {
  width: 18px;
  height: 18px;
}

.search-results-feedback {
  text-align: right;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0 0.5rem;
}

/* ==========================================================================
   MUSIC GRID & TRACK CARDS
   ========================================================================== */

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  backdrop-filter: blur(15px);
  width: 100%;
  box-sizing: border-box;
}

.track-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15);
}

.track-card.active-playing {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
  background: rgba(30, 41, 59, 0.7);
}

.track-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.track-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.track-card:hover .track-thumb {
  transform: scale(1.05);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.track-card:hover .thumb-overlay {
  opacity: 1;
}

.play-overlay-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: none;
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}

.play-overlay-btn i {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.track-card:hover .play-overlay-btn {
  transform: scale(1);
}

.track-year-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(3, 7, 18, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.track-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.65rem;
  width: 100%;
  box-sizing: border-box;
}

.track-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.badge-vibe {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.track-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}

.track-artist {
  font-size: 0.9rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: -0.35rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.track-quote {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 0.65rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  flex-grow: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.track-card-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  width: 100%;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-sub);
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-card-action i {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.btn-card-action:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-play-track {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  flex-grow: 1;
  justify-content: center;
}

.btn-play-track:hover {
  background: var(--accent-cyan);
  color: #030712;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* Empty Search State */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin: 2rem auto;
}

.empty-icon {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn-primary {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--accent-cyan);
  color: #030712;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   ROCKY BALBOA WORKOUT CAMP 🥊 (1-TAP JUKEBOX)
   ========================================================================== */

.rocky-workout-section {
  padding: 3.5rem 0;
  position: relative;
}

.workout-banner-card {
  background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.15) 0%, rgba(15, 23, 42, 0.9) 60%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), var(--shadow-rocky-glow);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.workout-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge-workout-fire {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-crimson);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.badge-workout-fire i {
  width: 15px;
  height: 15px;
}

.workout-title-group h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.workout-title-group p {
  font-size: 0.92rem;
  color: #fca5a5;
  margin-top: 0.25rem;
}

.btn-rocky-fire {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border: none;
  border-radius: var(--radius-xl);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-rocky-fire i {
  width: 18px;
  height: 18px;
}

.btn-rocky-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.6);
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

/* Rocky Workout Jukebox Grid */
.rocky-workout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
  width: 100%;
}

.rocky-mini-card {
  background: rgba(18, 10, 10, 0.75);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  width: 100%;
  box-sizing: border-box;
}

.rocky-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #f59e0b);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.rocky-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.25);
  background: rgba(28, 12, 12, 0.85);
}

.rocky-mini-card:hover::before {
  opacity: 1;
}

.rmc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.rmc-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.rmc-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.rmc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.rmc-artist {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

.rmc-desc {
  font-size: 0.84rem;
  line-height: 1.45;
  color: #cbd5e1;
  margin-bottom: 1.15rem;
  flex-grow: 1;
  font-style: italic;
}

.rmc-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.rmc-play-btn i {
  width: 15px;
  height: 15px;
}

.rmc-play-btn:hover {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
}

/* Rocky Track Quick Selector Pills */
.rocky-track-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
}

.rocky-pill-btn {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
  color: #fecaca;
  transition: var(--transition-fast);
}

.rocky-pill-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
  border-color: var(--accent-crimson);
  transform: translateY(-1px);
}

/* ==========================================================================
   CESARE CREMONINI & POESIA ITALIANA 🇮🇹
   ========================================================================== */

.cremonini-section {
  padding: 3.5rem 0;
  position: relative;
}

.cremonini-banner-card {
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.15) 0%, rgba(15, 23, 42, 0.9) 60%);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(249, 115, 22, 0.2);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.badge-cremonini-heart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--cat-cremonini);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.badge-cremonini-heart i {
  width: 15px;
  height: 15px;
}

.cremonini-title-group h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cremonini-desc {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.65;
  max-width: 800px;
  margin-bottom: 1.75rem;
}

.cremonini-track-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
}

.crem-pill-btn {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.08);
  color: #ffedd5;
  transition: var(--transition-fast);
}

.crem-pill-btn:hover {
  background: rgba(249, 115, 22, 0.25);
  color: #fff;
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

/* ==========================================================================
   STICKY FLOATING MINI PLAYER
   ========================================================================== */

.sticky-mini-player {
  position: fixed;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  z-index: 95;
  pointer-events: none;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sticky-inner {
  max-width: 680px;
  width: calc(100% - 2rem);
  margin: 0 auto;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-xl);
  padding: 0.65rem 1.15rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  box-sizing: border-box;
}

.mini-thumb-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;
}

.mini-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.mini-text-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;
}

.mini-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-artist {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.mini-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mini-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.mini-btn i {
  width: 15px;
  height: 15px;
}

.mini-btn-jump {
  background: var(--accent-cyan);
  color: #030712;
  border-color: var(--accent-cyan);
}

.mini-btn-jump:hover {
  background: #7dd3fc;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* ==========================================================================
   MODAL TIMER DI TRANQUILLITÀ / SLEEP TIMER
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  animation: modalScale 0.25s ease-out;
  box-sizing: border-box;
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-moon-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-purple);
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.timer-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn-timer-preset {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: var(--transition-fast);
}

.btn-timer-preset:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-purple);
  color: #e9d5ff;
}

.active-timer-status {
  padding: 0.85rem 1rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.active-timer-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #e9d5ff;
}

.btn-cancel-timer {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-cancel-timer:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--accent-crimson);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-xl);
  padding: 0.75rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
  max-width: calc(100% - 2rem);
  box-sizing: border-box;
}

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

.toast-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #02040a;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  color: var(--text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.86rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-nav-list a:hover {
  color: var(--accent-cyan);
}

.footer-nav-list a i {
  width: 14px;
  height: 14px;
}

/* Legal Box */
.footer-legal-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
}

.legal-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.legal-title i {
  width: 15px;
  height: 15px;
  color: var(--accent-cyan);
}

.legal-p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.legal-link {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.bottom-inner a {
  color: var(--text-sub);
  text-decoration: none;
}

.bottom-inner a:hover {
  color: #fff;
}

.back-to-top-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--accent-cyan);
  color: #030712;
  transform: translateY(-2px);
}

.back-to-top-btn i {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE-FIRST TUNING)
   ========================================================================== */

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
    gap: 0.4rem;
  }

  .brand-title {
    font-size: 1.15rem;
    letter-spacing: 1px;
  }

  .brand-sub {
    display: none;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .btn-header:not(.btn-mobile-menu) {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .btn-header:not(.btn-mobile-menu) span {
    display: none !important;
  }

  .btn-mobile-menu {
    height: 34px;
    padding: 0 0.65rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
  }

  .hero-stage-section {
    padding: 2rem 0;
  }

  .stage-card {
    padding: 1.25rem;
  }

  .workout-banner-card,
  .cremonini-banner-card {
    padding: 1.75rem 1.25rem;
  }

  .toast-notification {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
    max-width: calc(100% - 2rem);
    margin: 0 auto;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 0.85rem;
  }

  .brand-title {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .btn-header {
    width: 35px;
    height: 35px;
  }

  .btn-header i {
    width: 15px;
    height: 15px;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.5px;
    line-height: 1.35;
    white-space: normal;
  }

  .hero-headline {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .hero-intro-text {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
  }

  .stage-card {
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .stage-song-title {
    font-size: 1.35rem;
  }

  .stage-song-artist {
    font-size: 0.95rem;
  }

  .stage-quote-box {
    padding: 0.75rem 0.9rem;
  }

  .stage-quote-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .stage-controls-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .btn-ctrl {
    padding: 0.65rem 0.25rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }

  .btn-ctrl i {
    width: 14px;
    height: 14px;
  }

  .stage-actions-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-pill-action {
    width: 100%;
    flex: 1 1 100%;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }

  .music-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .rocky-workout-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .workout-banner-card,
  .cremonini-banner-card {
    padding: 1.25rem 0.95rem;
    border-radius: var(--radius-lg);
  }

  .workout-title-group h2,
  .cremonini-title-group h2 {
    font-size: 1.3rem;
  }

  .btn-rocky-fire {
    width: 100%;
    justify-content: center;
  }

  .filter-bar {
    gap: 0.45rem;
  }

  .filter-tab {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }

  .sticky-inner {
    width: calc(100% - 1.25rem);
    margin: 0 auto;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .mini-thumb {
    width: 36px;
    height: 36px;
  }

  .mini-title {
    font-size: 0.82rem;
  }

  .mini-artist {
    font-size: 0.72rem;
  }

  .mini-btn {
    width: 32px;
    height: 32px;
  }

  .mini-btn i {
    width: 13px;
    height: 13px;
  }

  .bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 0.65rem;
  }

  .brand-title {
    font-size: 0.95rem;
    letter-spacing: 0;
  }

  .hero-headline {
    font-size: 1.25rem;
  }

  .btn-header {
    width: 32px;
    height: 32px;
  }

  .btn-header i {
    width: 14px;
    height: 14px;
  }

  .stage-card {
    padding: 0.85rem;
  }

  .stage-controls-bar {
    gap: 0.25rem;
  }

  .btn-ctrl {
    padding: 0.55rem 0.15rem;
    font-size: 0.7rem;
    gap: 0.2rem;
  }

  .filter-tab {
    padding: 0.4rem 0.6rem;
    font-size: 0.74rem;
  }

  .sticky-inner {
    width: calc(100% - 0.75rem);
    padding: 0.4rem 0.6rem;
  }
}

/* ==========================================================================
   NAVIGATION DESKTOP & MOBILE DRAWER (ALL 5 CATEGORIES)
   ========================================================================== */

/* Header Desktop Navigation */
.header-desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-cat-btn i {
  width: 14px;
  height: 14px;
}

.nav-cat-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.nav-cat-btn.active {
  color: #030712 !important;
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%) !important;
  border-color: #fef08a !important;
  font-weight: 800 !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45) !important;
}

.nav-cat-btn.active span,
.nav-cat-btn.active i {
  color: #030712 !important;
  font-weight: 800 !important;
}

.btn-mobile-menu {
  display: none;
}

/* Mobile Drawer Overlay */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: #080e1e;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-backdrop.active .mobile-drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  background: #080e1e;
  z-index: 10;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-titles {
  display: flex;
  flex-direction: column;
}

.drawer-title {
  font-family: var(--font-cinzel);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 1px;
}

.drawer-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 500;
}

.drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.drawer-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.drawer-section-title i {
  width: 14px;
  height: 14px;
  color: var(--gold-light);
}

.drawer-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-cat-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(3px);
}

.drawer-cat-btn.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.drawer-cat-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.cat-icon-rifugio { color: #38bdf8; background: rgba(56, 189, 248, 0.12); }
.cat-icon-cinema { color: #a855f7; background: rgba(168, 85, 247, 0.12); }
.cat-icon-rocky { color: #ef4444; background: rgba(239, 68, 68, 0.15); }
.cat-icon-rock { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
.cat-icon-cremonini { color: #ec4899; background: rgba(236, 72, 153, 0.12); }
.cat-icon-anni-80-2000 { color: #10b981; background: rgba(16, 185, 129, 0.15); }

.drawer-cat-icon-box i {
  width: 18px;
  height: 18px;
}

.drawer-cat-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.drawer-cat-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.drawer-cat-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-cat-count {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
}

.drawer-cat-btn.active .drawer-cat-count {
  background: var(--gold-primary);
  color: #030712;
}

.drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-sub);
  text-decoration: none;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
}

.drawer-nav-item i {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.drawer-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateX(3px);
}

.drawer-nav-item:hover i {
  color: var(--gold-light);
}

/* Responsive Menu visibility */
@media (max-width: 1100px) {
  .header-desktop-nav {
    display: none;
  }
  .btn-mobile-menu {
    display: inline-flex;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(8, 14, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15);
  z-index: 950;
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-banner-inner {
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.cookie-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-icon-box i {
  width: 20px;
  height: 20px;
}

.cookie-text-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cookie-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.cookie-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.45;
  margin: 0;
}

.cookie-desc strong {
  color: #fff;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-cookie-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-cookie-action i {
  width: 15px;
  height: 15px;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #030712;
  border: 1px solid var(--gold-glow);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

.btn-cookie-accept:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.btn-cookie-info {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-sub);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cookie-info:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .btn-cookie-action {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   LEGAL & PRIVACY MODAL
   ========================================================================== */

.legal-modal-card {
  max-width: 820px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #090f20;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.15);
}

.legal-icon-box {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
}

.legal-modal-body {
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-topic-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.legal-topic-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.legal-topic-title i {
  width: 18px;
  height: 18px;
}

.legal-topic-text {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.legal-topic-box ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.55;
}

.legal-topic-box li {
  margin-bottom: 0.4rem;
}

.legal-topic-box strong {
  color: #fff;
}

.legal-highlight-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--gold-primary);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 0.75rem 0;
}

.legal-highlight-box strong {
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.legal-contact-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #fff;
  margin-top: 0.75rem;
}

.legal-contact-box i {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

.legal-contact-box a {
  color: var(--gold-light);
  text-decoration: underline;
  word-break: break-all;
}

/* Footer Additional Elements */
.footer-legal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.f-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
}

.f-badge i {
  width: 13px;
  height: 13px;
  color: var(--gold-light);
}

.footer-nav-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.2rem 0;
  transition: var(--transition-fast);
  text-align: left;
}

.footer-nav-btn:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-nav-btn i {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.footer-nav-btn:hover i {
  color: var(--gold-light);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.legal-card-header i {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
}

.legal-card-header .legal-title {
  margin: 0;
}


/* Modal Backdrop Defensive Display Rules */
.modal-backdrop.hidden,
.modal-backdrop[aria-hidden="true"],
.hidden {
  display: none !important;
}

.cookie-banner {
  position: relative;
}

.cookie-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 5;
}

.cookie-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fff;
}

.cookie-close-btn i {
  width: 14px;
  height: 14px;
}

@media (max-width: 380px) {
  .brand-title {
    font-size: 0.95rem !important;
    letter-spacing: 0.5px !important;
  }
  .header-actions {
    gap: 0.25rem !important;
  }
  .btn-header:not(.btn-mobile-menu) {
    width: 32px !important;
    height: 32px !important;
  }
  .btn-mobile-menu {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .btn-mobile-menu span {
    display: none !important;
  }
}
