/* ============================================
   Meet the Shine — Static Site Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=Oswald:wght@400;600;700&display=swap');

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

:root {
  --bg-body: #050505;
  --bg-container: #0d0d0d;
  --bg-card: #161616;
  --bg-nav: #0a0a0aee;
  --border: #222;
  --border-light: #333;
  --text-primary: #e0e0e0;
  --text-secondary: #999;
  --text-muted: #666;
  --accent: #4facfe;
  --accent-hover: #6fc0ff;
  --accent-glow: rgba(79, 172, 254, 0.25);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Oswald', 'Impact', sans-serif;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  line-height: 1.7;
  background: var(--bg-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Container ---------- */
.container {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-container);
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
  position: relative;
}

/* ---------- Header ---------- */
.site-header img {
  width: 100%;
  display: block;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 20px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-list a {
  display: block;
  transition: transform var(--transition), filter var(--transition);
}

.nav-list img {
  height: 34px;
  filter: grayscale(20%) brightness(0.9);
  transition: filter var(--transition), transform var(--transition);
}

.nav-list a:hover img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.08);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Sections ---------- */
section {
  padding: 70px 44px;
  border-bottom: 1px solid var(--border);
  animation: fadeInUp 0.6s ease-out both;
}

section:last-of-type { border-bottom: none; }

section .banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 44px;
  border-radius: 4px;
}

section p {
  font-size: 1.05rem;
  margin-bottom: 22px;
  color: var(--text-primary);
  line-height: 1.8;
}

section p strong {
  color: #fff;
}

/* ---------- Headings ---------- */
h2, h3 {
  font-family: var(--font-heading);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 2rem;
  margin: 40px 0 24px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 1.3rem;
  margin: 44px 0 12px;
  color: var(--accent);
  letter-spacing: 1.5px;
}

/* ---------- Links ---------- */
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---------- Headshot / Images ---------- */
.headshot {
  display: block;
  margin: 0 auto 30px;
  max-width: 100%;
  border-radius: 6px;
}

/* ---------- Script Button ---------- */
.script-btn-wrap {
  display: block;
  text-align: center;
  margin: 20px 0;
}

.script-btn-wrap img {
  transition: transform var(--transition), filter var(--transition);
  filter: brightness(0.95);
}

.script-btn-wrap:hover img {
  transform: scale(1.04);
  filter: brightness(1.1);
}

/* ---------- Audio Player ---------- */
.player-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.now-playing {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.now-playing-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 16px;
  min-height: 1.5em;
}

audio {
  width: 100%;
  margin-bottom: 18px;
  outline: none;
  border-radius: 8px;
}

.playlist {
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  border-top: 1px solid var(--border-light);
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.playlist::-webkit-scrollbar { width: 6px; }
.playlist::-webkit-scrollbar-track { background: transparent; }
.playlist::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.playlist li {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.playlist li:hover {
  background: rgba(79, 172, 254, 0.06);
  color: #fff;
  padding-left: 22px;
}

.playlist li.active {
  background: rgba(79, 172, 254, 0.1);
  color: var(--accent);
  font-weight: 600;
  border-left: 3px solid var(--accent);
}

.playlist li .track-num {
  display: inline-block;
  width: 28px;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.playlist li.active .track-num { color: var(--accent); }

/* ---------- Lyrics Accordion ---------- */
.lyrics-accordion {
  max-width: 700px;
  margin: 0 auto;
}

.lyrics-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(180deg, #7ba4d4 0%, #5a82b5 50%, #4a72a5 100%);
  border: 2px solid #8ab4e0;
  border-bottom: 1px solid #3d6290;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  text-align: center;
  transition: filter var(--transition);
}

.lyrics-btn:first-child { border-radius: 0; }
.lyrics-btn:last-of-type { border-bottom: 2px solid #8ab4e0; }

.lyrics-btn:hover {
  filter: brightness(1.15);
}

.lyrics-btn.active {
  background: linear-gradient(180deg, #8bb8e8 0%, #5a82b5 50%, #4a72a5 100%);
  border-color: #9cc4f0;
}

/* Hide track number/icon spans — use a single centered text approach */
.lyrics-btn-num,
.lyrics-btn-icon {
  display: none;
}

.lyrics-btn-title {
  font-weight: 600;
}

.lyrics-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #e8e4df;
  border-left: 2px solid #8ab4e0;
  border-right: 2px solid #8ab4e0;
}

.lyrics-panel.open {
  max-height: 4000px;
}

.lyrics-panel-title {
  font-family: 'Times New Roman', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  text-decoration: underline;
  color: #222;
  padding: 30px 20px 20px;
  margin: 0;
}

.lyrics-panel pre {
  font-family: 'Georgia', 'Times New Roman', serif;
  white-space: pre-wrap;
  text-align: left;
  color: #555;
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  padding: 10px 30px 30px;
  background: transparent;
  border-radius: 0;
  border: none;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer a { color: var(--accent); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  section { padding: 40px 20px; }

  .nav-toggle { display: block; }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
  }

  .nav-list.open { display: flex; }

  .site-nav { padding: 10px 16px; }

  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }

  .player-container { padding: 16px; }
}

@media (max-width: 480px) {
  section { padding: 30px 16px; }
  section p { font-size: 0.95rem; }
  .nav-list img { height: 28px; }
}

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Footer Credit ---------- */
.footer-credit {
  font-size: 0.85em;
  opacity: 0.7;
  margin-top: 0.25em;
}
.footer-credit a {
  color: inherit;
  text-decoration: underline;
}
