/* ==========================================================================
   TheClassicals.com — Bespoke CSS Stylesheet
   ========================================================================== */

/* --- Fonts & Design System Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Outfit:wght@300;400;500;700;800&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Color Palette (HSL Tailored) */
  --color-bg-deep: hsl(220, 25%, 7%);
  --color-bg-dark: hsl(220, 20%, 10%);
  --color-bg-card: hsla(220, 20%, 15%, 0.6);
  --color-border: hsla(220, 15%, 25%, 0.4);
  --color-border-glow: hsla(215, 80%, 60%, 0.2);

  --color-primary: hsl(215, 55%, 50%);
  --color-primary-glow: hsla(215, 80%, 60%, 0.4);
  --color-secondary: hsl(16, 75%, 55%);
  --color-secondary-glow: hsla(16, 75%, 55%, 0.4);

  --color-text-main: hsl(0, 0%, 94%);
  --color-text-muted: hsl(220, 10%, 70%);

  --glass-blur: 16px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1) inset;

  /* GDPR & Accessibility UI Variables */
  --accent-cyan: #06D6A0; /* Premium teal/cyan matching theme */
  --border-glass: rgba(255, 255, 255, 0.08);
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --text-primary: hsl(0, 0%, 94%);
  --text-muted: hsl(220, 10%, 70%);
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-deep);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Layout Wrappers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 16, 23, 0.75);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo-link img {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

.logo-link:hover img {
  transform: scale(1.02);
  filter: drop-shadow(0 0 8px var(--color-primary-glow));
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: var(--transition-smooth);
}

.main-nav a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--color-primary-glow);
}

.main-nav a:hover::after {
  width: 100%;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, hsla(215, 80%, 20%, 0.15), transparent 50%),
              radial-gradient(circle at 10% 80%, hsla(16, 75%, 15%, 0.12), transparent 50%);
}

.hero-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: blur(8px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 40%, var(--color-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), hsl(215, 60%, 45%));
  color: #fff;
  box-shadow: 0 10px 20px var(--color-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px var(--color-primary-glow), 0 0 10px #fff;
}

.btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: hsla(220, 20%, 20%, 0.8);
  border-color: var(--color-text-muted);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Premium Audio Player Card --- */
.player-card-wrapper {
  perspective: 1000px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.player-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.player-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--color-primary-glow);
}

/* Equalizer Visualizer */
.player-visualizer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 50px;
  gap: 4px;
  margin-bottom: 24px;
}

.vis-bar {
  width: 4px;
  height: 8px;
  background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
  transition: height 0.1s ease;
  animation: visBounce 1.2s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.rdp-playing ~ .player-visualizer .vis-bar,
body:has(.rdp-playing) .vis-bar {
  animation-play-state: running;
}

/* Visualizer animation staggered delays */
.vis-bar:nth-child(1) { animation-delay: 0.1s; }
.vis-bar:nth-child(2) { animation-delay: 0.3s; }
.vis-bar:nth-child(3) { animation-delay: 0.6s; }
.vis-bar:nth-child(4) { animation-delay: 0.2s; }
.vis-bar:nth-child(5) { animation-delay: 0.5s; }
.vis-bar:nth-child(6) { animation-delay: 0.8s; }
.vis-bar:nth-child(7) { animation-delay: 0.4s; }
.vis-bar:nth-child(8) { animation-delay: 0.7s; }
.vis-bar:nth-child(9) { animation-delay: 0.9s; }
.vis-bar:nth-child(10) { animation-delay: 0.3s; }

@keyframes visBounce {
  0% { height: 6px; }
  100% { height: 45px; }
}

/* Track Information */
.player-track-info {
  text-align: center;
  margin-bottom: 28px;
}

.rdp-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 36px;
  margin-bottom: 6px;
}

.rdp-marquee-text {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.2px;
  color: #fff;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}

.rdp-track-artist {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Player Progress Timeline */
.player-timeline-wrapper {
  margin-bottom: 28px;
}

.player-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.rdp-progress-wrap {
  width: 100%;
  height: 6px;
  background: hsla(220, 10%, 25%, 0.5);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: height 0.2s;
}

.rdp-progress-wrap:hover {
  height: 8px;
}

.rdp-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 4px;
  position: relative;
  transition: width 0.1s linear;
}

.rdp-progress-fill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transition: transform 0.2s;
}

.rdp-progress-wrap:hover .rdp-progress-fill::after {
  transform: translateY(-50%) scale(1);
}

/* Player Controls */
.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.rdp-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.rdp-btn:hover {
  color: #fff;
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.rdp-btn:active {
  transform: scale(0.95);
}

.rdp-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Play/Pause Button Spec */
.rdp-btn-play {
  width: 68px;
  height: 68px;
  background: #fff;
  color: var(--color-bg-deep);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.15);
}

.rdp-btn-play:hover {
  background: #fff;
  color: var(--color-bg-deep);
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3), 0 0 15px var(--color-primary-glow);
}

.rdp-btn-play svg {
  width: 32px;
  height: 32px;
}

/* Toggle play/pause SVG state */
.rdp-btn-play .rdp-icon-pause {
  display: none;
}

.rdp-btn-play.rdp-playing .rdp-icon-play {
  display: none;
}

.rdp-btn-play.rdp-playing .rdp-icon-pause {
  display: block;
}

/* Volume Control block */
.player-volume-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.player-volume-wrapper svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
}

.rdp-volume {
  flex-grow: 1;
  height: 4px;
  background: hsla(220, 10%, 25%, 0.5);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.rdp-volume::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
}

.rdp-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: -4px;
  box-shadow: 0 0 8px var(--color-primary-glow);
  transition: var(--transition-smooth);
}

.rdp-volume:hover::-webkit-slider-thumb {
  background: #fff;
  transform: scale(1.2);
}

/* Status / Loading details */
.rdp-status {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-secondary);
  height: 16px;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Features / Pitch Section --- */
.features-section {
  padding: 100px 0;
  background: var(--color-bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-premium);
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: hsla(215, 80%, 60%, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.feature-card:nth-child(2) .feature-icon-box {
  background: hsla(16, 75%, 55%, 0.1);
  color: var(--color-secondary);
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* --- Social platforms grid --- */
.social-platforms-section {
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.social-platforms-section h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 1.8rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-item svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.social-item:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-item.facebook:hover {
  background: #1877f2;
  box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4);
}

.social-item.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4);
}

.social-item.twitter:hover {
  background: #1da1f2;
  box-shadow: 0 10px 20px rgba(29, 161, 242, 0.4);
}

.social-item.email:hover {
  background: var(--color-secondary);
  box-shadow: 0 10px 20px var(--color-secondary-glow);
}

/* --- Interactive Contact Form --- */
.contact-section {
  padding: 100px 0;
  background: var(--color-bg-deep);
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-premium);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(13, 16, 23, 0.5);
  border: 1px solid var(--color-border);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
  background: rgba(13, 16, 23, 0.8);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

/* Math verification row */
.captcha-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.captcha-question {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  color: var(--color-secondary);
}

.contact-card button[type="submit"] {
  width: 100%;
  margin-top: 16px;
  height: 52px;
}

/* --- Footer Area --- */
.site-footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 30px;
  color: var(--color-text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  margin-left: 24px;
  transition: var(--transition-smooth);
}

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

/* --- Legal Content Pages --- */
.legal-page {
  padding: 80px 0 100px;
  background: var(--color-bg-deep);
  min-height: calc(100vh - 250px);
}

.legal-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-premium);
}

.legal-card h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 1px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  color: #fff;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.legal-content p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--color-text-muted);
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* --- Mobile Menu Styles (Global) --- */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  height: 24px;
}

.mobile-menu-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1004;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-menu-open {
  overflow: hidden;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    margin: 0 auto 40px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 80px;
  }
  
  /* Mobile drawer navigation */
  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    display: block !important;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 23, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--color-border);
    z-index: 1005;
    padding: 100px 24px 40px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .main-nav.active {
    transform: translateX(-280px);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .main-nav a {
    font-size: 1.25rem;
    padding: 12px 0;
    display: block;
    width: 100%;
  }

  /* Hamburger active animation */
  .mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Section Padding */
  .hero-section {
    padding: 40px 0 60px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.15rem;
    margin-bottom: 32px;
  }

  .features-section,
  .connect-section,
  .social-platforms-section,
  .contact-section,
  .legal-page {
    padding: 50px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom-links a {
    margin: 0 12px;
  }

  .legal-card {
    padding: 24px;
  }

  .legal-card h1 {
    font-size: 2.2rem;
  }

  /* Slider Touch Target Enhancement on Mobile */
  .rdp-volume::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    margin-top: -6px;
  }
}

@media (max-width: 480px) {
  /* Header adjustments */
  .header-inner {
    height: 70px;
  }
  
  .logo-link img {
    height: 38px;
  }

  .header-right {
    gap: 16px !important;
  }

  /* Typography & Hero scaling */
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-tagline {
    font-size: 1rem !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  /* Audio player card padding reduction */
  .player-card {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .rdp-marquee-text {
    font-size: 1.25rem;
  }

  /* Container adjustments for narrow screens */
  .container {
    padding: 0 16px;
  }

  /* Section Padding */
  .features-section,
  .connect-section,
  .social-platforms-section,
  .contact-section,
  .legal-page {
    padding: 40px 0;
  }

  /* Contact Form CAPTCHA Row stacking */
  .contact-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .captcha-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .captcha-question {
    width: 100%;
    text-align: center;
  }

  /* Cookie banner and modal optimization */
  .cookie-banner-glass {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px;
    border-radius: 12px;
  }

  .cookie-banner-content {
    gap: 12px;
  }

  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .cookie-modal-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .cookie-modal-card h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  .cookie-option {
    gap: 12px;
  }

  .cookie-modal-actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-modal-actions .cookie-btn {
    width: 100%;
  }

  /* Legal Card scaling */
  .legal-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .legal-card h1 {
    font-size: 1.8rem;
  }

  .legal-content h2 {
    font-size: 1.3rem;
    margin-top: 24px;
  }
}

/* --- New Features Grid & Genre Selector --- */
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) {
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3-col {
    grid-template-columns: 1fr;
  }
}

.player-genre-selector {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.genre-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 220px;
  text-align-last: center;
}

.genre-select:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.genre-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(58, 134, 255, 0.3);
}

.genre-select option {
  background: #111;
  color: #fff;
}
/* COOKIE CONSENT BANNER & SETTINGS MODAL
   ========================================================================== */
.cookie-banner-glass {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 24px;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .cookie-banner-glass {
    left: auto;
    right: 24px;
    max-width: 480px;
  }
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.cookie-text a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.cookie-btn {
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.cookie-btn-accept {
  background: var(--accent-cyan);
  color: #000;
  border: none;
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding-inline: 8px;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(6, 214, 160, 0.2);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings:hover {
  color: var(--text-primary);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-card {
  width: 100%;
  max-width: 500px;
  background: rgba(15, 22, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 32px;
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  animation: modalScaleCookie 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

.cookie-options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
  gap: 20px;
}

.cookie-option:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-option-info h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-weight: 600;
}

.cookie-option-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

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

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--accent-cyan);
}

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

input:disabled + .cookie-slider {
  opacity: 0.4;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

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

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

/* --- Language Selector --- */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-main);
  padding: 8px 14px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(13, 16, 23, 0.95);
  backdrop-filter: blur(var(--glass-blur, 12px));
  -webkit-backdrop-filter: blur(var(--glass-blur, 12px));
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.show {
  display: flex;
}

.lang-dropdown a {
  color: var(--color-text-muted, #94a3b8);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-main);
}

.lang-dropdown a.active {
  color: var(--color-secondary, #ffb703);
  background: rgba(255, 183, 3, 0.1);
  font-weight: 600;
}


