@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Playfair+Display:ital,wght@0,600;0,800;1,400&display=swap');

:root {
  --bg-primary: #080808;
  --bg-secondary: #121212;
  --bg-tertiary: #1a1a1a;
  --accent-gold: #d4af37;
  --accent-gold-hover: #ffdf7a;
  --accent-gold-dark: #aa8412;
  --text-white: #ffffff;
  --text-muted: #a0a0a0;
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --nav-height: 80px;
  --player-height: 80px;
  --transition-speed: 0.6s;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Base Layout */
#app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header {
  height: var(--nav-height);
  background-color: rgba(8, 8, 8, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-gold);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 1.8rem;
}

/* Mobile hamburger & drawer: hidden on desktop, shown by media query */
.mobile-menu-btn {
  display: none;
}

.mobile-nav-drawer {
  display: none;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--accent-gold);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 16px;
  border-radius: 4px;
  width: 250px;
  transition: width 0.3s ease, border-color 0.3s ease;
}

.search-box:focus-within {
  width: 300px;
  border-color: var(--accent-gold);
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-white);
  outline: none;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  margin-left: 8px;
  cursor: pointer;
}

main {
  margin-top: var(--nav-height);
  margin-bottom: var(--player-height);
  height: calc(100vh - var(--nav-height) - var(--player-height));
  flex-grow: 1;
  position: relative;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
main::-webkit-scrollbar {
  display: none; /* Safari/Chrome */
}

/* Sections as Pages */
.page-section {
  display: block;
  height: 100%;
  min-height: 100%;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden; /* Guarantee no scroll bleeds */
}

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

/* Typography styles matching screenshots */
.hero-title-large {
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -2px;
}

.upcoming-title-large {
  font-size: clamp(4rem, 8vw, 8rem) !important;
}

.text-gold {
  color: var(--accent-gold);
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-gold);
}

.outline-text-white {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-white);
}

/* --- PAGE 1: COVER --- */
.cover-container {
  display: flex;
  min-height: calc(100vh - var(--nav-height) - var(--player-height));
  background-color: transparent;
}

.cover-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6rem;
  z-index: 10;
  box-sizing: border-box;
  min-width: 0;
}

.cover-left .brand-sub {
  font-size: 1.2rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  font-weight: 600;
}

.cover-left .hero-title-large span {
  display: block;
}

.cover-left .musical-portfolio-label {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 2rem;
  letter-spacing: 4px;
}

.cover-right {
  flex: 1;
  background-size: auto 94%;
  background-position: right bottom;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(1.1) brightness(0.95);
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40px);
}



.performance-container {
  padding: 4rem 6rem;
  box-sizing: border-box;
}

.section-header {
  margin-bottom: 3rem;
  position: relative;
}

.section-header-title {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.perf-card {
  background-color: rgba(18, 18, 18, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  position: relative;
}

.perf-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
}

.perf-card-1 {
  grid-column: span 4;
}

.perf-card-2 {
  grid-column: span 5;
}

.perf-card-3 {
  grid-column: span 3;
}

.perf-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.4s ease;
}

.perf-card:hover .perf-img {
  filter: grayscale(0%) contrast(1.0);
}

.perf-info {
  padding: 1rem 1.2rem;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  box-sizing: border-box;
}

.perf-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.perf-city {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  line-height: 1.2;
}

/* --- PAGE 3: CONTENTS --- */
.contents-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - var(--player-height));
  background-image: linear-gradient(rgba(8, 8, 8, 0.85), rgba(8, 8, 8, 0.85)), url('assets/3.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 4rem;
}

.contents-title {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.contents-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  list-style: none;
}

.contents-item a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 1px;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.contents-item a:hover {
  color: var(--accent-gold);
  letter-spacing: 3px;
}

/* --- PAGE 4: CAREER HIGHLIGHTS --- */
.highlights-container {
  display: flex;
  min-height: calc(100vh - var(--nav-height) - var(--player-height));
}

.highlights-left {
  flex: 1;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.85);
}

.highlights-right {
  flex: 1.2;
  background-color: transparent;
  border-right: 1px solid rgba(212, 175, 55, 0.1);
  padding: 4rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlights-title {
  margin-bottom: 3rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  border-left: 2px solid var(--accent-gold);
  padding-left: 2rem;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-gold);
  border-radius: 50%;
}

.timeline-date {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.disc-container {
  padding: 3rem 6rem 2rem 6rem;
  box-sizing: border-box;
}

.disc-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.disc-left {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.vinyl-player-container {
  position: relative;
  width: 360px;
  height: 360px;
}

.album-jacket {
  width: 250px;
  height: 250px;
  position: absolute;
  top: 55px;
  left: 10px;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.album-jacket img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinyl-disc {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #222 25%, #050505 55%, #111 65%, #000 100%);
  border-radius: 50%;
  position: absolute;
  top: 55px;
  left: 95px;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotateVinyl 12s linear infinite;
  animation-play-state: paused;
}

.vinyl-disc.playing {
  animation-play-state: running;
}

.vinyl-disc::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.vinyl-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  position: relative;
  border: 3px solid #111;
}

.vinyl-center::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.disc-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.album-details h2 {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.album-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tracklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2.5rem;
  list-style: none;
  max-height: none !important;
  overflow-y: visible !important;
  padding-right: 0;
}

.track-item {
  display: grid;
  grid-template-columns: 20px 25px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-radius: 6px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.02);
  margin-bottom: 0.4rem;
}

.track-item:hover, .track-item.playing-track {
  background-color: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.2);
}

.track-play-btn {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-item:hover .track-play-btn, 
.track-item.playing-track .track-play-btn {
  color: var(--accent-gold);
  transform: scale(1.15);
}

.track-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.track-item:hover .track-num,
.track-item.playing-track .track-num {
  color: var(--accent-gold);
}

.track-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.track-artist {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.track-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-sc-icon {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s ease;
}

.track-item:hover .track-sc-icon,
.track-item.playing-track .track-sc-icon {
  color: #ff5500;
}

.track-duration {
  display: none !important;
}

.play-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.track-item:hover .play-badge, .track-item.playing-track .play-badge {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
}

/* --- PAGE 6: SONG PAGES --- */
.songs-container {
  padding: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.songs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 3rem;
}

.artist-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.artist-img-wrapper {
  width: 100%;
  height: 500px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

.artist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.artist-col:hover .artist-img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.artist-info-btn {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
  color: var(--bg-primary);
  border: none;
  padding: 1.2rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-col:hover .artist-info-btn {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* --- PAGE 7: FROM IDEA TO MELODY (INSTRUMENTS) --- */
.instruments-container {
  padding: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.instruments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.instrument-card {
  background-color: rgba(18, 18, 18, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.instrument-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.inst-img-wrapper {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.inst-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.instrument-card:hover .inst-img {
  filter: grayscale(0%);
}

.inst-content {
  padding: 2.5rem;
}

.inst-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.inst-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- PAGE 8: UPCOMING --- */
.upcoming-container {
  min-height: calc(100vh - var(--nav-height) - var(--player-height));
  background: linear-gradient(rgba(8, 8, 8, 0.8), rgba(8, 8, 8, 0.8)), url('assets/3.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6rem;
  box-sizing: border-box;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.upcoming-info {
  display: flex;
  flex-direction: column;
}

#page-6 .upcoming-info {
  gap: 2rem;
}

#page-8 .upcoming-info {
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.contact-details h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.2;
}

.contact-details p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

/* --- PAGE 9: ABOUT ME --- */
.about-container {
  display: flex;
  height: calc(100vh - var(--nav-height) - var(--player-height));
  background-color: transparent;
  width: 100%;
  overflow: hidden;
}

.about-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 6rem 4rem 6rem;
  z-index: 10;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.about-right {
  flex: 1;
  background-size: cover;
  background-position: right top;
  filter: grayscale(100%) contrast(1.1) brightness(0.95);
  position: relative;
}

.about-bio {
  color: var(--accent-gold);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
}

.about-bio p {
  margin-bottom: 0.8rem;
}

/* --- SONGS BY ERA SECTION STYLES --- */
.eras-container {
  padding: 2.5rem 6rem;
  min-height: calc(100vh - var(--nav-height) - var(--player-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.eras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.era-card {
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.era-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.era-year {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.era-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--text-white);
}

.era-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.era-card-highlight {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.04);
}

/* Mobile responsive fixes for About Me section split layout */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    height: auto !important;
    overflow: visible;
  }
  .about-left {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding: 2rem 1.5rem !important;
  }
  .about-right {
    width: 100% !important;
    height: 350px !important;
    margin-top: 1rem;
  }
}

/* --- PAGE 10: THANK YOU --- */
.thank-you-container {
  min-height: calc(100vh - var(--nav-height) - var(--player-height));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 6rem 8rem;
  position: relative;
}

.thank-you-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,8,8,0.9) 0%, transparent 100%);
}

.thank-you-content {
  position: relative;
  z-index: 10;
}

/* Global Music Player (Footer style) */
.music-player-bar {
  height: var(--player-height);
  background-color: #0b0b0b;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
}

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

.player-cover {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
}

.player-metadata {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.player-metadata h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.player-metadata p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.2;
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
  max-width: 600px;
}

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

.player-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.player-btn:hover {
  color: var(--accent-gold);
}

.player-btn svg {
  width: 20px;
  height: 20px;
}

.player-btn.play-pause-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
}

.player-btn.play-pause-btn:hover {
  background-color: var(--accent-gold-hover);
  color: var(--bg-primary);
}

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

.progress-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 40px;
}

.player-progress-bar {
  flex-grow: 1;
  height: 4px;
  background-color: #333;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.player-progress-current {
  height: 100%;
  background-color: var(--accent-gold);
  width: 0%;
  border-radius: 2px;
  position: relative;
}

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

.player-volume-bar {
  width: 80px;
  height: 4px;
  background-color: #333;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.player-volume-current {
  height: 100%;
  background-color: var(--accent-gold);
  width: 80%;
  border-radius: 2px;
}

/* Sidebar Dots Navigation */
.sidebar-dots {
  position: fixed;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 999;
}

.dot-nav {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot-nav:hover, .dot-nav.active {
  background-color: var(--accent-gold);
  transform: scale(1.3);
}

/* Page Indicator bottom left */
.page-indicator-text {
  display: none !important;
  position: fixed;
  left: 4rem;
  bottom: 110px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 999;
}

/* Search results modal */
.search-results-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.search-results-modal {
  background-color: rgba(18, 18, 18, 0.85);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid var(--accent-gold);
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.search-results-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.close-search-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  font-size: 1.5rem;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 350px;
  overflow-y: auto;
}

.search-result-item {
  padding: 1rem;
  border-radius: 4px;
  background-color: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-result-item:hover {
  border-color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.05);
}

/* Responsiveness */
@media (max-width: 1024px) {
  header {
    padding: 0 2rem;
  }
  .hero-title-large {
    font-size: 4rem;
  }
  .performance-grid {
    gap: 1.5rem;
  }
  .perf-card {
    grid-column: span 6 !important;
  }
  .disc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .vinyl-player-container {
    width: 350px;
    height: 350px;
    margin: 0 auto;
  }
  .album-jacket, .vinyl-disc {
    width: 250px;
    height: 250px;
  }
  .vinyl-disc {
    left: 80px;
  }
  .songs-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .instruments-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .upcoming-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* =============================================
   MOBILE — 768px and below
   IMPORTANT: Do NOT touch anything above this.
   All changes here are mobile-only.
   ============================================= */
@media (max-width: 768px) {

  /* --- CSS Variable Overrides for Mobile --- */
  :root {
    --nav-height: 60px;
    --player-height: 70px;
  }

  /* --- Body: enable vertical scrolling on mobile --- */
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* ---- HEADER ---- */
  header {
    padding: 0 1rem;
    height: var(--nav-height);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-text {
    font-size: 0.82rem;
    letter-spacing: 1px;
  }

  nav {
    display: none !important;
  }

  .search-box {
    width: 120px;
    padding: 6px 10px;
  }

  .search-box:focus-within {
    width: 155px;
  }

  /* --- Hamburger Menu Button (added via JS) --- */
  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 4px;
    cursor: pointer;
    padding: 7px 8px;
    flex-shrink: 0;
  }

  .mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* --- Mobile Nav Drawer (added via JS) --- */
  .mobile-nav-drawer {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 998;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .mobile-nav-drawer.open {
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-nav-drawer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .mobile-nav-drawer a:last-child {
    border-bottom: none;
  }

  .mobile-nav-drawer a.active,
  .mobile-nav-drawer a:hover {
    color: var(--accent-gold);
    padding-left: 0.5rem;
  }

  /* ---- MAIN SCROLL CONTAINER ---- */
  main {
    margin-top: var(--nav-height) !important;
    margin-bottom: var(--player-height) !important;
    height: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }

  /* ---- SECTIONS: stack vertically ---- */
  .page-section {
    height: auto !important;
    min-height: unset !important;
    overflow: visible !important;
    scroll-snap-align: none !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08) !important;
    padding-bottom: 2rem !important;
  }

  .page-section:last-of-type {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  /* ---- HIDE SIDEBAR DOTS & PAGE INDICATOR ---- */
  .sidebar-dots,
  .page-indicator-text {
    display: none !important;
  }

  /* =============================================
     PAGE 1 — HOME / COVER
     ============================================= */
  .cover-container {
    flex-direction: column !important;
    min-height: unset !important;
  }

  .cover-right {
    width: 100%;
    height: 480px; /* Increased from 240px to show the full photo clearly */
    flex: none;
    background-size: cover;
    background-position: center 20%; /* Position focus on face */
    order: -1;
    -webkit-mask-image: none;
    mask-image: none;
    filter: grayscale(100%) contrast(1.05) brightness(0.9);
  }

  .cover-left {
    flex: none;
    width: 100%;
    padding: 2rem 1.5rem 2.5rem !important;
    text-align: center;
    z-index: 1;
  }

  .cover-left .brand-sub {
    font-size: 0.75rem;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
  }

  .cover-left .musical-portfolio-label {
    font-size: 1.5rem !important;
    margin-top: 1rem;
    letter-spacing: 2px;
  }

  .hero-title-large {
    font-size: 1.9rem !important;
    line-height: 1.05;
    letter-spacing: -0.5px;
  }

  /* Override inline 8rem font-sizes for Upcoming & Contact headings */
  h1[style*="8rem"],
  .hero-title-large[style*="8rem"],
  h1[style*="font-size: 8rem"] {
    font-size: 2.6rem !important;
  }

  .section-header-title {
    font-size: 1.2rem !important;
  }

  .perf-city {
    font-size: 1.4rem !important;
  }

  .sidebar-dots, .page-indicator-text {
    display: none;
  }
  
  .about-content {
    padding: 2rem 1.5rem;
  }
  
  .about-bio {
    font-size: 1rem;
    line-height: 1.6;
  }

  .highlights-container {
    flex-direction: column;
  }

  .highlights-left {
    min-height: 200px;
    height: 200px;
  }

  .highlights-right {
    padding: 3rem 1.5rem;
    border-left: none;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
  }

  .vinyl-player-container {
    width: 280px;
    height: 280px;
  }

  .album-jacket, .vinyl-disc {
    width: 200px;
    height: 200px;
    top: 40px;
  }

  .vinyl-disc {
    left: 70px;
  }

  .disc-grid {
    gap: 2rem;
  }

  .disc-right {
    padding: 0 1rem;
  }

  .album-details h2 {
    font-size: 2rem;
    text-align: center;
  }

  .album-details p {
    text-align: center;
    font-size: 0.9rem;
  }

  /* Force tracklist into single-column layout on mobile */
  .tracklist {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .track-item {
    grid-template-columns: 20px 25px 1fr auto !important;
    gap: 0.8rem !important;
    padding: 0.8rem 1rem !important;
    width: 100% !important;
  }

  /* Force eras-grid to stack vertically instead of side-by-side */
  .eras-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  .artist-img-wrapper {
    height: 320px;
  }

  .artist-info-btn {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .songs-container, .instruments-container, .performance-container, .disc-container, .eras-container {
    padding: 2rem 1rem;
  }

  .upcoming-container {
    padding: 3rem 1.5rem;
  }

  .upcoming-grid {
    gap: 2rem;
  }

  .upcoming-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .contact-details p {
    font-size: 0.95rem;
  }

  .perf-img {
    height: 250px;
  }

  .performance-grid {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .perf-card {
    grid-column: span 12 !important;
    width: 100% !important;
  }

  .thank-you-container {
    padding: 4rem 1.5rem;
    justify-content: center;
    text-align: center;
  }

  .music-player-bar {
    padding: 0 1rem;
    height: 90px;
  }
  
  .player-track-info, .player-volume-container {
    display: none;
  }
  
  .player-controls {
    max-width: 100%;
    width: 100%;
  }
  
  .player-progress-container {
    width: 100%;
  }
}

/* Background canvas rendering behind all content */
#bg-canvas {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;
  pointer-events: auto !important;
}

/* Style overrides specifically for mobile scroll layout */
body.mobile-scroll-layout {
  overflow-y: auto !important;
}

body.mobile-scroll-layout main {
  height: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: none !important;
}

body.mobile-scroll-layout .page-section {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  height: auto !important;
  min-height: unset !important;
  scroll-snap-align: none !important;
  margin-bottom: 3rem !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 3rem !important;
  overflow: visible !important;
}

body.mobile-scroll-layout .page-section:last-of-type {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.cover-portrait-bg { background-image: url('../assets/2.webp') !important; }
.about-sunglasses-bg { background-image: url('../assets/3.webp') !important; }
.vinyl-center-bg { background-image: url('../assets/1.webp') !important; }

/* --- SECTION 3: DEDICATION & LETTER --- */
.letter-page-container {
  display: flex;
  justify-content: space-between;
  gap: 6rem;
  padding: 4rem 6rem;
  height: calc(100vh - var(--nav-height) - var(--player-height));
  box-sizing: border-box;
  background-color: transparent;
}

.letter-left-col, .letter-right-col {
  width: 46%;
  height: 100%;
  overflow: hidden;
  padding-right: 1.5rem;
}

.letter-section-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: capitalize;
}

.letter-text-content {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-white);
  font-weight: 400;
}

.letter-text-content p {
  margin-bottom: 0.7rem;
}

.letter-signature {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent-gold);
}

.dedication-block {
  margin-bottom: 2rem;
}

/* Mobile responsive fixes for Dedication & Letter section */
@media (max-width: 768px) {
  .letter-page-container {
    flex-direction: column;
    height: auto !important;
    padding: 2rem 1.5rem;
    gap: 3rem;
    overflow: visible;
  }
  .letter-left-col, .letter-right-col {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }
}

