:root{
  --blue: #092AA5;
  --btn: #06185C;
  --btn-hover: #0a2280;
  --yellow: #EDE72D;
  --glow: 0 0 20px rgba(237,231,45,.8);
  --glow-soft: 0 0 6px rgba(237,231,45,.35);

  /* mobile defaults */
  --text-size: 19px;
  --btn-text-size: 16px;
}

/* desktop standard */
@media (min-width:1024px){
  :root{
    --text-size: 24px;
    --btn-text-size: 16px;
  }
}

/* desktop large */
@media (min-width:1920px){
  :root{
    --text-size: 32px;
    --btn-text-size: 24px;
  }
}

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

html,body{
  height:100%;
  background:#030a2e;
  color:var(--yellow);
  font-family:'Instrument Serif', serif;
  overflow-x:hidden;
}

.bg{
  position:fixed;
  inset:0;
  z-index:0;
  background-image:
    linear-gradient(to bottom, rgba(9,42,165,0) 0%, rgba(9,42,165,1) 100%),
    url("assets/texture.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.page{
  position:relative;
  z-index:2;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px;
  text-align:center;
}

.eyebrow{
  font-size:var(--text-size);
  letter-spacing:.04em;
  text-transform:uppercase;
  line-height:1.05;
  color:var(--yellow);
  text-shadow:var(--glow);
}

.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:32px;
}

.logo{
  display:block;
  width:auto;
  height:clamp(170px, 29vh, 270px);
  max-width:92vw;
  filter:drop-shadow(var(--glow));
}

@media (min-width:1024px){
  .hero{ gap:64px; }
  /* fluid: ≈270px at a 1440px-wide "desktop standard" screen, ≈360px at 1920px */
  .logo{ height:clamp(220px, 18.75vw, 480px); }
}

.watch-links{
  display:flex;
  gap:48px;
  justify-content:center;
  flex-wrap:wrap;
}

.watch-group{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}

.label{
  font-size:var(--text-size);
  letter-spacing:.03em;
  text-transform:uppercase;
  line-height:1.05;
  color:var(--yellow);
  text-shadow:var(--glow);
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  padding:.4em .9em;
  border-radius:999px;
  background:var(--btn);
  color:var(--yellow);
  text-decoration:none;
  font-family:'Instrument Serif', serif;
  font-size:var(--text-size);
  border:none;
  line-height:1;
  transition:background .15s ease, transform .15s ease;
  white-space:nowrap;
}

.btn:hover{
  background:var(--btn-hover);
  transform:translateY(-1px);
}

.btn img,
.btn svg{
  width:1em;
  height:1em;
  flex-shrink:0;
  display:block;
}

.icon-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

.footer-buttons .btn,
#add-to-calendar,
.contact-btn{
  font-size:var(--btn-text-size);
  padding:.375em 1em;
}

.contact-btn{
  position:fixed;
  top:24px;
  right:24px;
  z-index:5;
}

@media (min-width:1024px){
  .contact-btn{
    top:32px;
    right:52px;
  }
}

.next-live{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
  padding:22px 32px;
  border:1px solid var(--yellow);
  border-radius:18px;
  background:transparent;
  box-shadow:var(--glow-soft), inset var(--glow-soft);
}

.next-live__text{
  font-size:var(--text-size);
  letter-spacing:.03em;
  text-transform:uppercase;
  line-height:1;
  text-shadow:var(--glow);
}

#next-live-date{
  font-style:italic;
}

/* ── Footer: mobile order = next-live, socials, podcast ── */
.footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
}

.next-live{ order:1; margin-bottom:24px; }
.footer-label--socials{ order:2; margin-bottom:8px; }
.footer-buttons--socials{ order:2; margin-bottom:24px; }
.footer-label--podcast{ order:3; margin-bottom:8px; }
.footer-buttons--podcast{ order:3; margin-bottom:0; }

/* ── Desktop: podcast (left) / next-live (center) / socials (right), ──
   labels aligned to each other, buttons aligned to each other,
   the next-live card independent of that alignment ── */
@media (min-width:1024px){
  html,body{
    height:100vh;
    overflow:hidden;
  }

  .page{
    height:100vh;
    padding:32px 52px;
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows:auto 1fr auto;
    gap:0;
  }

  .intro{ grid-row:1; }
  .hero{
    grid-row:2;
    align-self:center;
    justify-self:center;
  }
  .footer{
    grid-row:3;
    position:relative;
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    column-gap:32px;
    row-gap:8px;
    align-items:start;
  }

  .next-live,
  .footer-label--socials,
  .footer-buttons--socials,
  .footer-label--podcast,
  .footer-buttons--podcast{
    margin-bottom:0;
  }

  .footer-label--podcast{
    grid-column:1; grid-row:1;
    text-align:left;
  }
  .footer-buttons--podcast{
    grid-column:1; grid-row:2;
    justify-content:flex-start;
  }

  .footer-label--socials{
    grid-column:3; grid-row:1;
    text-align:right;
  }
  .footer-buttons--socials{
    grid-column:3; grid-row:2;
    justify-content:flex-end;
  }

  .next-live{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    top:-23px;
    bottom:-23px;
    justify-content:space-between;
    gap:0;
  }
}
