/* =========================================================
   THE KINGDEEP — Main Stylesheet
   thekingdeep.co.za
   © 2026 Siphiwe Treasure Repinga · STM Records SA (PTY) LTD
   ========================================================= */

/* ── GOOGLE FONTS are loaded in index.html <head> ── */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --black:   #080810;
  --navy:    #0b0e1f;
  --deep:    #111830;
  --panel:   #151c35;
  --gold:    #c9a84c;
  --gold-lt: #e8c97a;
  --gold-dk: #8c6f2a;
  --ivory:   #f0eade;
  --muted:   #8892a8;
  --accent:  #3a6bff;
  --glow:    rgba(201,168,76,0.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── PARTICLES ── */
#particles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: linear-gradient(to bottom, rgba(8,8,16,.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: .08em; color: var(--gold);
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,0.35));
  transition: filter .25s, transform .25s;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 4px 16px rgba(201,168,76,0.6));
  transform: scale(1.04);
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'Space Mono', monospace;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .25s;
}
.nav-links a:hover { color: var(--gold); }

/* ── HERO ── */
#hero {
  position: relative; height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; overflow: hidden; z-index: 1;
}

/* Hero logo image */
.hero-logo {
  width: clamp(160px, 26vw, 240px);
  height: auto;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fade-up 1s 0.1s forwards;
  filter: drop-shadow(0 0 50px rgba(201,168,76,0.3));
}
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--gold-dk);
  animation: pulse-ring 8s ease-in-out infinite;
  pointer-events: none;
}
.ring1 { width: 320px; height: 320px; opacity: .25; animation-delay: 0s; }
.ring2 { width: 520px; height: 520px; opacity: .15; animation-delay: 1.5s; }
.ring3 { width: 720px; height: 720px; opacity: .08; animation-delay: 3s; }
.ring4 { width: 960px; height: 960px; opacity: .05; animation-delay: 4.5s; }
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
  opacity: 0; animation: fade-up 1s .3s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 300; line-height: .9; letter-spacing: -.02em;
  opacity: 0; animation: fade-up 1s .6s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  margin-top: 2rem; font-size: .9rem;
  letter-spacing: .1em; color: var(--muted);
  opacity: 0; animation: fade-up 1s .9s forwards;
}
.hero-sub span { color: var(--ivory); }
.hero-cta {
  margin-top: 3.5rem; display: flex; gap: 1rem;
  opacity: 0; animation: fade-up 1s 1.2s forwards;
}
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fade-up 1s 1.8s forwards;
}
.scroll-hint span {
  font-family: 'Space Mono', monospace;
  font-size: .55rem; letter-spacing: .3em;
  color: var(--muted); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold-dk), transparent);
  animation: scroll-drop 2s 2s ease-in-out infinite;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: .75rem 2rem;
  font-family: 'Space Mono', monospace;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: all .25s; cursor: pointer; border: none;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold-dk); }
.btn-outline:hover { background: var(--glow); transform: translateY(-2px); }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; padding: 7rem 3rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::after {
  content: ''; display: block;
  height: 1px; width: 60px; background: var(--gold-dk);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 2rem;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ── ABOUT ── */
#about { background: var(--navy); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start; margin-top: 3rem;
}
.about-text p { font-size: 1.05rem; line-height: 1.85; color: #c8d0de; margin-bottom: 1.5rem; }
.about-text p strong { color: var(--gold); font-weight: 500; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card {
  background: var(--panel);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 4px; padding: 1.8rem 1.5rem;
  position: relative; overflow: hidden; transition: border-color .3s;
}
.stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 3px; height: 100%;
  background: var(--gold); opacity: .6;
}
.stat-card:hover { border-color: rgba(201,168,76,.4); }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--gold); line-height: 1;
}
.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: .62rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); margin-top: .4rem;
}

/* ── STICKY PLAYER ── */
#player-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: .7rem 3rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.player-info { display: flex; flex-direction: column; min-width: 180px; }
.player-track {
  font-size: .82rem; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-artist {
  font-size: .7rem; color: var(--gold);
  font-family: 'Space Mono', monospace; letter-spacing: .1em;
}
.player-btn {
  background: var(--gold); border: none; border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .15s;
  flex-shrink: 0; color: var(--black);
}
.player-btn:hover { background: var(--gold-lt); transform: scale(1.08); }
.waveform-wrap { flex: 1; position: relative; height: 36px; cursor: pointer; }
#waveform-canvas { width: 100%; height: 100%; display: block; }
.player-time {
  font-family: 'Space Mono', monospace;
  font-size: .68rem; color: var(--muted); white-space: nowrap;
}

/* ── DISCOGRAPHY ── */
#discography { background: var(--black); }
.disco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.ep-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  cursor: pointer;
}
.ep-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 30px var(--glow);
}
.ep-art {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.ep-art-bg { position: absolute; inset: 0; }
.ep-art-icon {
  position: relative; z-index: 1; font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
.ep-body { padding: 1.2rem; }
.ep-year {
  font-family: 'Space Mono', monospace;
  font-size: .6rem; color: var(--gold);
  letter-spacing: .2em; margin-bottom: .3rem;
}
.ep-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin-bottom: .4rem;
}
.ep-feat { font-size: .75rem; color: var(--muted); }
.ep-play {
  margin-top: 1rem; display: flex; align-items: center; gap: .5rem;
  font-family: 'Space Mono', monospace;
  font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold);
}
.ep-play-dot {
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  animation: blink 1.5s infinite;
}

/* ── TIMELINE ── */
#timeline { background: var(--navy); }
.timeline-wrap { margin-top: 3rem; position: relative; }
.timeline-line {
  position: absolute; left: 120px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dk) 10%, var(--gold-dk) 90%, transparent);
}
.timeline-item {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 3rem; margin-bottom: 3.5rem; position: relative;
  opacity: 0; transform: translateX(-20px);
  transition: opacity .6s, transform .6s;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-year {
  text-align: right; padding-top: .2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: var(--gold); line-height: 1;
}
.timeline-dot {
  position: absolute; left: 112px; top: .4rem;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--gold);
  box-shadow: 0 0 12px var(--glow);
}
.timeline-content { padding-left: 1rem; }
.timeline-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600; margin-bottom: .4rem;
}
.timeline-content p { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ── RADIO ── */
#radio { background: var(--black); }
.radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.show-card {
  background: var(--panel); border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06); transition: border-color .3s;
}
.show-card:hover { border-color: rgba(201,168,76,.3); }
.show-header { padding: 2rem; position: relative; overflow: hidden; }
.show-royal .show-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, #c9a84c 0%, transparent 70%);
  opacity: .15;
}
.show-after .show-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, #3a6bff 0%, transparent 70%);
  opacity: .12;
}
.show-time {
  font-family: 'Space Mono', monospace; font-size: .62rem;
  letter-spacing: .2em; color: var(--gold); margin-bottom: .6rem;
  position: relative; z-index: 1;
}
.show-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; line-height: 1.1;
  position: relative; z-index: 1;
}
.show-body { padding: 1.5rem 2rem 2rem; font-size: .9rem; line-height: 1.75; color: #a0aab8; }
.podcast-card {
  margin-top: 2rem; background: var(--panel); border-radius: 6px;
  padding: 2rem; border: 1px solid rgba(201,168,76,.1);
}
.podcast-card p { color: var(--muted); font-size: .92rem; line-height: 1.75; margin-bottom: 1rem; }
.podcast-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BOOKING ── */
#booking { background: var(--navy); }
.booking-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; margin-top: 3rem; align-items: start;
}
.booking-info p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.contact-icon {
  width: 38px; height: 38px; background: var(--panel);
  border: 1px solid rgba(201,168,76,.2); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-text { font-size: .88rem; color: var(--ivory); }
.contact-text small {
  display: block; font-family: 'Space Mono', monospace;
  font-size: .6rem; color: var(--muted);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .1rem;
}
.booking-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-family: 'Space Mono', monospace;
  font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.form-input, .form-textarea, .form-select {
  background: var(--panel); border: 1px solid rgba(255,255,255,.08);
  border-radius: 3px; padding: .75rem 1rem;
  color: var(--ivory); font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem; outline: none; transition: border-color .25s; width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--gold-dk); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select option { background: var(--deep); }
.form-submit {
  background: var(--gold); color: var(--black); border: none;
  border-radius: 3px; padding: .9rem 2rem;
  font-family: 'Space Mono', monospace; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; transition: background .2s, transform .15s; align-self: flex-start;
}
.form-submit:hover { background: var(--gold-lt); transform: translateY(-2px); }

/* ── SOCIAL ── */
#social { background: var(--black); text-align: center; padding: 5rem 3rem; position: relative; z-index: 1; }
.social-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; margin-bottom: .8rem;
}
.social-heading em { font-style: italic; color: var(--gold); }
.social-sub { font-size: .88rem; color: var(--muted); margin-bottom: 3rem; }
.social-links { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; gap: .7rem;
  background: var(--panel); border: 1px solid rgba(201,168,76,.15);
  border-radius: 4px; padding: .9rem 1.5rem; text-decoration: none;
  color: var(--ivory); font-family: 'Space Mono', monospace;
  font-size: .7rem; letter-spacing: .1em; transition: all .25s;
}
.social-link:hover { border-color: var(--gold-dk); background: var(--glow); transform: translateY(-3px); }
.social-link-icon { font-size: 1.2rem; }

/* ── FOOTER ── */
footer {
  background: var(--deep); border-top: 1px solid rgba(255,255,255,.05);
  padding: 2rem 3rem; display: flex;
  align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.footer-logo { display: flex; align-items: center; }
.footer-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,0.25));
  opacity: 0.9;
}
.footer-copy { font-family: 'Space Mono', monospace; font-size: .6rem; color: var(--muted); letter-spacing: .1em; }
.footer-stm { font-family: 'Space Mono', monospace; font-size: .6rem; color: var(--gold-dk); letter-spacing: .15em; }

/* ── NOTIFICATION TOAST ── */
.notif {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--panel); border: 1px solid var(--gold-dk);
  border-radius: 6px; padding: 1rem 1.5rem;
  font-size: .85rem; color: var(--ivory);
  z-index: 999; transform: translateY(6rem); opacity: 0;
  transition: all .35s; max-width: 300px;
}
.notif.show { transform: translateY(0); opacity: 1; }
.notif strong { color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  section { padding: 5rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .radio-grid { grid-template-columns: 1fr; }
  .booking-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .timeline-line { left: 80px; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 1.5rem; }
  .timeline-dot { left: 72px; }
  #player-bar { padding: .7rem 1rem; gap: .8rem; }
  .player-info { min-width: 100px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 4rem; }
  .nav-links { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .disco-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
