@font-face {
  font-family: "Luckiest Guy";
  src: url("fonts/LuckiestGuy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #ff4fa3;
  --pink-light: #ff7ec8;
  --pink-soft: #ffd6ec;
  --purple: #6a2c91;
  --purple-deep: #3d1658;
  --lavender: #c057d8;
  --cream: #fff7fc;
  --gold: #ffe27a;
  --mint: #7ee0c6;
  --ink: #2a1038;
  --youtube: #e11d2e;
  --shadow: 4px 5px 0 var(--purple);
  --radius: 1.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Nunito, "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  background-color: #6a2c91;
  background-image:
    radial-gradient(ellipse 70% 45% at 12% 12%, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(255, 226, 122, 0.22), transparent 50%),
    radial-gradient(ellipse 55% 50% at 88% 88%, rgba(61, 22, 88, 0.45), transparent 55%),
    linear-gradient(165deg, #ff9ad0 0%, #ff4fa3 30%, #c057d8 62%, #6a2c91 100%);
  background-attachment: fixed;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  background: #fff;
  color: var(--purple);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
}

.skip:focus {
  top: 0.8rem;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.scene-art {
  width: 100%;
  height: 100%;
  display: block;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  padding: 0.85rem 0 0.4rem;
}

.nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-inner {
  background: rgba(255, 247, 252, 0.82);
  backdrop-filter: blur(10px);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 0.45rem 0.5rem 0.45rem 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 2px 2px 0 var(--purple);
  line-height: 0;
}

.brand-mark svg {
  display: block;
}

.brand-name {
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-size: 1.2rem;
  color: var(--pink);
  letter-spacing: 0.02em;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     3px  3px 0 var(--purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem 0.85rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 800;
  color: var(--purple);
  padding: 0.35rem 0.2rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--pink);
}

.nav-cta {
  background: var(--youtube);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.4rem 0.95rem !important;
  border: 2px solid #fff;
  box-shadow: 2px 3px 0 var(--purple);
}

.hero {
  padding: 1.6rem 0 2.4rem;
  text-align: center;
}

.hero-inner {
  padding: 1.2rem 0 0.4rem;
}

.kicker {
  margin: 0 0 0.4rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #fff;
  text-shadow: 0 1px 0 var(--purple), 0 0 12px rgba(106, 44, 145, 0.35);
}

.wordmark {
  margin: 0;
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(5rem, 16vw, 9.6rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: var(--pink);
  text-shadow:
    -5px -5px 0 #fff,
     5px -5px 0 #fff,
    -5px  5px 0 #fff,
     5px  5px 0 #fff,
    -7px  0 0 #fff,
     7px  0 0 #fff,
     0   -7px 0 #fff,
     0    7px 0 #fff,
     9px 10px 0 var(--purple);
}

.wordmark-line {
  display: block;
}

.lede {
  margin: 1.25rem auto 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 750;
  color: #fff;
  text-shadow: 0 2px 0 rgba(61, 22, 88, 0.45);
}

.btn-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--youtube);
  color: #fff;
  text-decoration: none;
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: 0.04em;
  padding: 0.72rem 1.45rem 0.58rem 0.85rem;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 5px 6px 0 var(--purple);
  transform: rotate(-1.5deg);
}

.btn-sub:hover,
.btn-sub:focus-visible {
  transform: rotate(-1.5deg) translateY(-2px);
}

.btn-play {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #fff;
  color: var(--youtube);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.section-head h2,
.footer-name {
  margin: 0;
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow:
    -2px -2px 0 var(--purple),
     2px -2px 0 var(--purple),
    -2px  2px 0 var(--purple),
     2px  2px 0 var(--purple);
}

.section-note,
.empty-copy,
.parent-note,
.legal {
  margin: 0;
}

.section-note {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(61, 22, 88, 0.4);
}

.topics,
.catalog {
  padding: 0.4rem 0 2.4rem;
}

.topic-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.topic,
.card,
.empty,
.privacy-copy,
.player-dialog {
  background: rgba(255, 247, 252, 0.94);
  border: 3px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.topic {
  margin: 0;
  padding: 1rem 0.85rem 1.15rem;
  text-align: center;
}

.topic-icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 0.55rem;
  background: #fff;
  border-radius: 1.2rem;
  border: 2px solid var(--pink-soft);
}

.topic-icon svg {
  width: 3.1rem;
  height: 3.1rem;
}

.topic h3 {
  margin: 0 0 0.25rem;
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--purple);
  letter-spacing: 0.01em;
}

.topic p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: #4a2263;
}

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

.grid[aria-busy="true"]:empty,
.grid:has(.empty) {
  grid-template-columns: 1fr;
}

.empty {
  padding: 2rem 1.4rem 2.15rem;
  text-align: center;
}

.empty-art {
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 0.7rem;
}

.empty h3 {
  margin: 0 0 0.35rem;
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--pink);
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     3px  3px 0 var(--purple);
}

.empty-copy {
  max-width: 32rem;
  margin: 0 auto;
  color: #4a2263;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--purple-deep);
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-play {
  position: absolute;
  inset: auto auto 0.7rem 0.7rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--youtube);
  display: grid;
  place-items: center;
  box-shadow: 2px 3px 0 var(--purple);
}

.card-body {
  padding: 0.85rem 0.95rem 1rem;
}

.card-body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.card-date,
.player-date {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--purple);
}

.card-body p {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

.status {
  color: #fff;
  font-weight: 800;
  margin: 0 0 0.8rem;
  text-shadow: 0 1px 0 rgba(61, 22, 88, 0.4);
}

.footer {
  padding: 0 0 2rem;
}

.footer-inner {
  background: rgba(61, 22, 88, 0.72);
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem 1.2rem;
  align-items: flex-end;
}

.parent-note,
.legal,
.legal a {
  color: #fff;
}

.parent-note {
  max-width: 38rem;
  margin-top: 0.35rem;
  font-weight: 650;
}

.legal {
  font-weight: 800;
  white-space: nowrap;
}

.legal a:hover,
.legal a:focus-visible,
.text-link:hover {
  text-decoration-thickness: 2px;
}

.privacy {
  padding: 1.5rem 0 2.5rem;
}

.privacy-copy {
  padding: 1.5rem 1.4rem 1.7rem;
  max-width: 42rem;
  margin: 0 auto;
}

.privacy-copy h1 {
  margin: 0 0 0.8rem;
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--pink);
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     3px  4px 0 var(--purple);
}

.player {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.player[hidden] {
  display: none;
}

.player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 16, 56, 0.7);
}

.player-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 0.9rem 0.9rem 1.1rem;
}

.player-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.player-bar .kicker {
  color: var(--purple);
  text-shadow: none;
}

.player-close {
  font: inherit;
  font-weight: 800;
  background: var(--pink);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  box-shadow: 2px 3px 0 var(--purple);
  cursor: pointer;
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0.7rem 0 0.8rem;
  background: #000;
  border-radius: 0.9rem;
  overflow: hidden;
}

.player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-meta h2 {
  margin: 0 0 0.2rem;
}

.text-link {
  color: var(--purple);
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .topic-row,
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-row li:last-child {
    grid-column: 1 / -1;
  }

  .wordmark {
    font-size: clamp(4.2rem, 22vw, 6.5rem);
    text-shadow:
      -4px -4px 0 #fff,
       4px -4px 0 #fff,
      -4px  4px 0 #fff,
       4px  4px 0 #fff,
      -6px  0 0 #fff,
       6px  0 0 #fff,
       0   -6px 0 #fff,
       0    6px 0 #fff,
       7px  8px 0 var(--purple);
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .nav-inner {
    border-radius: 1.3rem;
    padding: 0.55rem 0.65rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .topic-row,
  .grid {
    grid-template-columns: 1fr;
  }

  .topic-row li:last-child {
    grid-column: auto;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .legal {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-sub,
  .btn-sub:hover,
  .btn-sub:focus-visible {
    transform: none;
  }
}
