/* ===== Bollyvibes Redesign – matches provided mockup ===== */
:root {
  --orange: #F05A28;
  --orange-dark: #E04A18;
  --green: #1B6B4A;
  --green-soft: #2A8B5E;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --cream: #FBF7F2;
  --card-bg: #FFFFFF;
  --player-bg: #FFFFFF;
  --border: rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 64px;
  --player-h: 78px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: calc(var(--player-h) + 12px);
  overflow-x: hidden;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Background abstract shapes (right side blend) ===== */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
}

.shape-1 {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -80px;
  background: radial-gradient(circle at 40% 40%, rgba(255,180,140,0.45), rgba(255,160,120,0.12) 60%, transparent 70%);
}

.shape-2 {
  width: 380px;
  height: 380px;
  right: 40px;
  top: 180px;
  background: radial-gradient(circle at 50% 50%, rgba(200,230,180,0.35), rgba(160,210,150,0.1) 55%, transparent 70%);
}

.shape-3 {
  width: 280px;
  height: 280px;
  right: -40px;
  bottom: 120px;
  background: radial-gradient(circle at 30% 60%, rgba(255,200,150,0.4), transparent 65%);
}

.shape-4 {
  width: 200px;
  height: 200px;
  right: 220px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(120,180,140,0.25), transparent 70%);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,247,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  line-height: 1;
  max-width: 220px;
}

.logo-main {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.logo-main span { color: var(--text); }

.logo-icon {
  display: inline-flex;
  align-items: center;
  margin: 0 2px;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
}

.logo-tag {
  width: 100%;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.2s;
}

/* ===== Home Hero ===== */
.home-main {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 20px;
}

.hero {
  padding: 12px 0 8px;
  max-width: 640px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero-line1 {
  display: block;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-line2 {
  display: block;
  font-size: clamp(2.5rem, 5.8vw, 3.75rem);
  color: var(--green);
  font-style: italic;
  font-weight: 600;
  margin-top: 2px;
}

.listen-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(240,90,40,0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.listen-live-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240,90,40,0.4);
}
.listen-live-btn:active { transform: translateY(0); }
.listen-live-btn .play-icon { flex-shrink: 0; }

/* ===== Recently Played ===== */
.recently-played {
  margin-top: 36px;
}

.section-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.recent-card {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.recent-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.recent-art {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}
.recent-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-meta {
  min-width: 0;
  flex: 1;
}
.recent-meta h3 {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-meta p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 1px 0 4px;
}
.recent-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== Sticky Player ===== */
.player-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--player-bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
  height: var(--player-h);
}

.player-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.player-track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Vinyl */
.vinyl-wrap {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  position: relative;
}

.vinyl {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #222 0%, #222 18%, #111 19%, #333 22%, #111 24%, #222 28%, #111 32%, #333 36%, #111 40%, #222 48%, #0a0a0a 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s linear;
}

.vinyl.spinning {
  animation: spin 3.5s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.vinyl-label {
  width: 42%;
  height: 42%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #1a1a1a;
  box-shadow: 0 0 0 1px #444;
}
.vinyl-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.track-title {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-artist {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.like-btn {
  color: #ccc;
  padding: 6px;
  flex-shrink: 0;
  transition: color 0.2s;
}
.like-btn:hover,
.like-btn.liked { color: var(--orange); }
.like-btn.liked svg { fill: var(--orange); stroke: var(--orange); }

.player-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.ctrl-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.ctrl-btn:hover { background: rgba(0,0,0,0.05); }
.ctrl-btn.play-pause {
  width: 46px;
  height: 46px;
  background: var(--green);
  color: #fff;
}
.ctrl-btn.play-pause:hover { background: var(--green-soft); }

.player-volume {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  opacity: 0.7;
}
.eq-bars span {
  width: 3px;
  background: var(--green);
  border-radius: 2px;
  height: 40%;
  animation: none;
}
.eq-bars.active span:nth-child(1) { animation: eq 0.6s ease-in-out infinite alternate; }
.eq-bars.active span:nth-child(2) { animation: eq 0.5s ease-in-out 0.1s infinite alternate; height: 70%; }
.eq-bars.active span:nth-child(3) { animation: eq 0.7s ease-in-out 0.05s infinite alternate; height: 100%; }
.eq-bars.active span:nth-child(4) { animation: eq 0.55s ease-in-out 0.15s infinite alternate; height: 55%; }
.eq-bars.active span:nth-child(5) { animation: eq 0.65s ease-in-out 0.08s infinite alternate; height: 80%; }

@keyframes eq {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1); }
}

.vol-btn {
  color: var(--text-muted);
  padding: 4px;
  display: flex;
}
.vol-btn:hover { color: var(--text); }

.volume-slider {
  width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #ddd;
  border-radius: 2px;
  outline: none;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
}

/* ===== About & Contact pages ===== */
.page-main {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 36px 24px 48px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-content {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.page-content p { margin-bottom: 1.1em; }
.page-content a {
  color: var(--orange);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:hover { color: var(--orange-dark); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.contact-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 12px;
}
.contact-box p { margin-bottom: 1em; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--orange);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .recent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }

  .player-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    padding: 8px 14px;
    height: auto;
    min-height: var(--player-h);
  }
  .player-track { grid-column: 1; }
  .player-controls { grid-column: 2; grid-row: 1; }
  .player-volume {
    grid-column: 1 / -1;
    justify-content: center;
    padding-top: 2px;
  }
  .volume-slider { width: 120px; }
  .eq-bars { display: none; }

  body { padding-bottom: 100px; }
  :root { --player-h: 92px; }

  .shape-1 { width: 280px; height: 280px; right: -80px; }
  .shape-2 { width: 200px; height: 200px; }
}

@media (max-width: 480px) {
  .recent-grid {
    grid-template-columns: 1fr;
  }
  .hero-line1 { font-size: 2.1rem; }
  .hero-line2 { font-size: 2.2rem; }
  .home-main { padding: 20px 16px 16px; }
  .header-inner { padding: 0 16px; }
  .logo-main { font-size: 1.15rem; }
  .player-track .like-btn { display: none; }
  .vinyl-wrap { width: 48px; height: 48px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .vinyl.spinning { animation: none; }
  .eq-bars span { animation: none !important; }
}
