/* =========================================================
   POD POSSIBLE — Theme stylesheet
   Electric purple/blue, dark, geeky. Matches the logo art.
   ========================================================= */

:root {
  --bg:        #0a0614;
  --bg-2:      #110a22;
  --bg-3:      #160d2e;
  --surface:   rgba(28, 18, 54, 0.55);
  --surface-2: rgba(40, 26, 78, 0.55);
  --border:    rgba(157, 78, 221, 0.25);

  --purple:    #9d4edd;
  --purple-br: #b266ff;
  --blue:      #4cc9f0;
  --blue-br:   #62e0ff;
  --spotify:   #1db954;

  --text:      #f1ecff;
  --muted:     #b3a8d4;
  --faint:     #8a7eb0;

  --glow-purple: 0 0 30px rgba(157, 78, 221, 0.55);
  --glow-blue:   0 0 24px rgba(76, 201, 240, 0.45);

  --maxw: 1160px;
  --nav-h: 64px;
  --radius: 16px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;        /* prevent iOS font auto-zoom */
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Animated lightning background ===== */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 600px at 80% -5%, rgba(76, 201, 240, 0.12), transparent 60%),
    radial-gradient(1000px 700px at 10% 10%, rgba(157, 78, 221, 0.18), transparent 60%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite alternate;
}
.glow-1 { width: 460px; height: 460px; background: rgba(157, 78, 221, 0.5); top: -120px; left: -100px; }
.glow-2 { width: 520px; height: 520px; background: rgba(76, 201, 240, 0.4); bottom: -160px; right: -120px; animation-delay: -6s; }
.glow-3 { width: 380px; height: 380px; background: rgba(123, 63, 242, 0.35); top: 40%; left: 50%; animation-delay: -11s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

/* ===== Lightning (SVG jagged bolts) ===== */
.lightning {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lbolt {
  fill: none;
  stroke: #d6f0ff;                 /* hot near-white core */
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  filter:
    drop-shadow(0 0 5px #62e0ff)
    drop-shadow(0 0 12px #9d4edd)
    drop-shadow(0 0 22px #7b3ff2);
}
.lbolt.branch { stroke-width: 1.6; }

/* Multi-flicker so each strike stutters like real lightning */
@keyframes strike {
  0%, 45%   { opacity: 0; }
  46%       { opacity: 1; }
  48%       { opacity: 0.15; }
  50%       { opacity: 0.95; }
  53%       { opacity: 0.3; }
  56%, 100% { opacity: 0; }
}

.b1, .f1 { animation: strike 7s   linear infinite; }
.b2, .f2 { animation: strike 8.5s linear infinite; }
.b3, .f3 { animation: strike 6.5s linear infinite; }
.b4      { animation: strike 9s   linear infinite; }
.b5      { animation: strike 7.8s linear infinite; }

.b1, .f1 { animation-delay: 0.5s; }
.b2, .f2 { animation-delay: 2.8s; }
.b3, .f3 { animation-delay: 4.2s; }
.b4      { animation-delay: 1.6s; }
.b5      { animation-delay: 5.3s; }

@media (prefers-reduced-motion: reduce) {
  .glow, .lbolt, .scroll-cue span,
  .player-shell::before, .player-glow, .live-dot, .equalizer span,
  .hero-img { animation: none; }
  .lbolt { opacity: 0.5; }   /* show a static bolt instead of flashing */
  html { scroll-behavior: auto; }
}

/* ===== Layout helpers ===== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(157, 78, 221, 0.05) 50%, transparent),
    rgba(13, 8, 28, 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 3px;
  color: var(--blue-br);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #fff, var(--purple-br) 60%, var(--blue-br));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(10, 6, 20, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--nav-h);     /* fixed height: no shift when the web-font loads */
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 1.05rem;
  white-space: nowrap;       /* never wrap to a second line */
}
.brand-mark { color: var(--blue-br); filter: drop-shadow(0 0 8px var(--blue)); }
.brand-text {
  background: linear-gradient(120deg, var(--purple-br), var(--blue-br));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(157, 78, 221, 0.12); }
.nav-cta {
  background: linear-gradient(120deg, var(--purple), var(--blue));
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: var(--glow-purple);
}
.nav-cta:hover { filter: brightness(1.1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;     /* fixed, comfortable tap target */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--text);
  border-radius: 2px; transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;   /* respects mobile browser toolbars */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 60px;
  position: relative;
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--blue-br);
  border: 1px solid var(--border);
  background: rgba(76, 201, 240, 0.08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 2px;
  text-shadow: var(--glow-purple);
}
.title-accent {
  display: block;
  background: linear-gradient(120deg, var(--purple-br), var(--blue-br));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 24px 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art { position: relative; }
.hero-img {
  width: 100%;
  animation: float 6s ease-in-out infinite;
  /* drop-shadow follows the PNG's transparent edges, so the glow hugs the
     artwork itself instead of a rectangle */
  filter:
    drop-shadow(0 0 26px rgba(157, 78, 221, 0.65))
    drop-shadow(0 0 52px rgba(76, 201, 240, 0.40));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--faint);
  border-radius: 14px;
  display: flex; justify-content: center;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--blue-br);
  border-radius: 2px;
  margin-top: 7px;
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(-4px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-spotify {
  background: var(--spotify);
  color: #fff;
  box-shadow: 0 0 24px rgba(29, 185, 84, 0.4);
}
.btn-spotify:hover { filter: brightness(1.08); }
.btn-ghost {
  background: rgba(157, 78, 221, 0.1);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(157, 78, 221, 0.2); box-shadow: var(--glow-purple); }
.btn-block { width: 100%; justify-content: center; }

/* ===== Episodes / player ===== */
.player-shell {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 2px;            /* thickness of the animated border */
  isolation: isolate;
}
/* Animated rotating gradient border */
.player-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    var(--purple-br), var(--blue-br), var(--spotify),
    var(--blue-br), var(--purple-br)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: spin-border 8s linear infinite;
}
@keyframes spin-border { to { transform: rotate(360deg); } }

/* Soft pulsing halo behind the player */
.player-glow {
  position: absolute;
  inset: -30px;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(157,78,221,0.5), transparent 75%);
  filter: blur(40px);
  opacity: 0.7;
  animation: halo-pulse 5s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50%      { opacity: 0.85; transform: scale(1.04); }
}

.player-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0e0e12;   /* matches Spotify's dark embed so corner gaps disappear */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 30px 60px rgba(0,0,0,0.55);
}

/* Spotify draws its own rounded card inside the iframe; pull it up so those
   rounded top corners tuck behind the header bar for a seamless join. */
.player-wrap iframe {
  display: block;
  margin-top: -16px;
  position: relative;
  z-index: 1;
}

/* Header bar above the embed */
.player-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(90deg, #2a1b4d, #1c2745);  /* opaque so corners stay hidden */
  border-bottom: 1px solid var(--border);
}
.player-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
}
.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--spotify);
  box-shadow: 0 0 0 0 rgba(29,185,84,0.7);
  animation: live-ping 1.8s ease-out infinite;
}
@keyframes live-ping {
  0%   { box-shadow: 0 0 0 0 rgba(29,185,84,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(29,185,84,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,185,84,0); }
}
.player-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  background: linear-gradient(120deg, var(--purple-br), var(--blue-br));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated equalizer bars */
.equalizer { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.equalizer span {
  width: 3px;
  background: linear-gradient(to top, var(--blue-br), var(--purple-br));
  border-radius: 2px;
  animation: eq 1.1s ease-in-out infinite;
}
.equalizer span:nth-child(1) { animation-delay: 0s;    height: 40%; }
.equalizer span:nth-child(2) { animation-delay: 0.2s;  height: 80%; }
.equalizer span:nth-child(3) { animation-delay: 0.4s;  height: 55%; }
.equalizer span:nth-child(4) { animation-delay: 0.15s; height: 95%; }
.equalizer span:nth-child(5) { animation-delay: 0.35s; height: 60%; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.35); }
  50%      { transform: scaleY(1); }
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.platforms-label { color: var(--faint); font-size: 0.9rem; }
.chip {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--spotify);
  color: #fff;
  transition: transform 0.2s, filter 0.2s;
}
.chip:hover { transform: translateY(-2px); filter: brightness(1.1); }
.chip-soft {
  background: rgba(157, 78, 221, 0.12);
  color: var(--muted);
  border: 1px solid var(--border);
}
.chip-soft:hover { color: var(--text); background: rgba(157, 78, 221, 0.22); }

/* ===== Topics grid ===== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.topic-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-br);
  box-shadow: var(--glow-purple);
}
.topic-icon { font-size: 2.4rem; margin-bottom: 12px; }
.topic-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.topic-card p { color: var(--muted); font-size: 0.96rem; }

/* ===== Hosts ===== */
.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.host-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s, box-shadow 0.25s;
}
.host-card:hover { transform: translateY(-6px); box-shadow: var(--glow-blue); }
.host-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-size: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(157,78,221,0.4), rgba(76,201,240,0.4));
  border: 1px solid var(--border);
}
.host-card h3 { font-family: var(--font-display); font-size: 1.25rem; }
.host-role {
  display: block;
  color: var(--blue-br);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 4px 0 12px;
}
.host-card p { color: var(--muted); font-size: 0.96rem; }
.about-blurb {
  max-width: 720px;
  margin: 44px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.08rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.contact-form, .connect-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(10, 6, 20, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple-br);
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.2);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 12px; font-size: 0.9rem; min-height: 1.2em; }
.form-note.ok { color: var(--blue-br); }
.form-note.err { color: #ff6b8a; }

.connect-card h3 { font-family: var(--font-display); margin-bottom: 8px; }
.connect-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: transform 0.2s, background 0.2s;
}
.social:hover { transform: translateX(4px); background: rgba(157, 78, 221, 0.22); }
.social.spotify { background: rgba(29, 185, 84, 0.18); border-color: rgba(29,185,84,0.4); }
.social.spotify:hover { background: rgba(29, 185, 84, 0.3); }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: rgba(8, 5, 16, 0.7);
}
.footer-inner { text-align: center; }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(120deg, var(--purple-br), var(--blue-br));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 8px;
}
.footer-inner p { color: var(--faint); font-size: 0.88rem; }

/* ===== Reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; max-width: 420px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  /* Scroll cue overlaps the stacked hero on phones — hide it here */
  .scroll-cue { display: none; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(260px, 75vw);
    padding: 18px;
    background: rgba(12, 7, 26, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-bottom-left-radius: 16px;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    height: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 12px 16px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  /* Stack hero buttons full-width for easy tapping */
  .hero { padding: 104px 18px 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Single-column grids */
  .topics-grid { grid-template-columns: 1fr; }

  /* Player frame: thinner glow/halo, snug fit */
  .player-glow { inset: -14px; }
  .player-bar { padding: 10px 14px; }
  .player-status { font-size: 0.64rem; letter-spacing: 1.5px; }
  .player-brand { font-size: 0.72rem; }

  /* 16px inputs stop iOS from auto-zooming on focus */
  .field input, .field textarea { font-size: 16px; }
  .contact-form, .connect-card { padding: 24px; }

  .platforms { gap: 8px; }
  .footer-inner p { font-size: 0.8rem; }
}

@media (max-width: 400px) {
  .hero-title { letter-spacing: 1px; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 1.5px; }
  /* Drop the equalizer so the player header never crowds */
  .equalizer { display: none; }
  .player-bar { justify-content: space-between; }
}

/* Short / landscape screens: no room for the scroll cue */
@media (max-height: 640px) {
  .scroll-cue { display: none; }
}
