/* WaitThatsTrue — one-page link-in-bio
   Brand colours from the kit: navy #0B1220, yellow #FFD60A, muted #B4C4DC.
   Poppins is self-hosted (SIL OFL 1.1). No external font, analytics, or tracker requests. */

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-regular.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-semibold.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/poppins-extrabold.woff2") format("woff2");
}

:root {
  --navy: #0b1220;
  --navy-2: #121c34;
  --navy-3: #1a2744;
  --yellow: #ffd60a;
  --yellow-hover: #ffe34d;
  --white: #ffffff;
  --muted: #b4c4dc;
  --muted-2: #8a9bb3;
  --dark: #080c16;
  --line: rgba(180, 196, 220, 0.14);
  --card: rgba(255, 255, 255, 0.045);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 1rem;
  --wrap: 44rem;
  --hairline: 4px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 214, 10, 0.11), transparent 55%),
    radial-gradient(ellipse 50% 30% at 80% 20%, rgba(18, 28, 52, 0.9), transparent 70%),
    radial-gradient(1.2px 1.2px at 8% 16%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 18% 48%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1.4px 1.4px at 27% 12%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 41% 28%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1.2px 1.2px at 63% 8%, rgba(255, 255, 255, 0.32), transparent),
    radial-gradient(1px 1px at 72% 36%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.3px 1.3px at 86% 18%, rgba(255, 255, 255, 0.38), transparent),
    radial-gradient(1px 1px at 93% 52%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1px 1px at 12% 78%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1.2px 1.2px at 54% 88%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 78% 72%, rgba(255, 255, 255, 0.22), transparent);
  background-attachment: scroll;
}

/* Brand yellow hairline, always visible at the top of the viewport. */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hairline);
  background: var(--yellow);
  z-index: 200;
  pointer-events: none;
}

::selection {
  background: var(--yellow);
  color: var(--navy);
}

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

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

a {
  color: var(--yellow);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--yellow-hover);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 300;
  padding: 0.5rem 0.9rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0.5rem;
}

.skip-link:focus {
  top: var(--hairline);
  color: var(--navy);
}

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

/* ----- Hero ----- */

.hero {
  padding: 3.5rem 0 2.75rem;
  text-align: center;
}

.hero-logo {
  width: 7.25rem;
  height: 7.25rem;
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.wordmark {
  margin: 0;
  font-size: clamp(1.85rem, 8.4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.wordmark .accent,
.tagline .accent {
  color: var(--yellow);
}

.wordmark .q {
  color: var(--white);
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 600;
  color: var(--white);
}

.tagline .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--yellow);
  flex: 0 0 auto;
}

.subline {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
}

.btn-yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
  min-height: 3.35rem;
  margin: 1.6rem auto 0;
  padding: 0.8rem 1.5rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(255, 214, 10, 0.22);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-yt:hover {
  color: var(--navy);
  background: var(--yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 214, 10, 0.3);
}

.btn-yt:active {
  transform: translateY(0);
}

.btn-yt .icon {
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
}

/* ----- Channels ----- */

.channels {
  padding: 0.5rem 0 2.75rem;
}

.section-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.7rem 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

a.channel:hover {
  color: inherit;
  border-color: var(--yellow);
  background: rgba(255, 214, 10, 0.08);
  transform: translateY(-1px);
}

.channel-icon {
  grid-row: 1 / span 2;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.45rem;
  border-radius: 0.7rem;
  background: var(--navy-3);
  color: var(--muted);
}

.channel.is-live .channel-icon {
  background: var(--yellow);
  color: var(--navy);
}

.channel-name {
  grid-column: 2;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}

.channel-handle {
  grid-column: 2;
  font-size: 0.8rem;
  color: var(--muted-2);
  line-height: 1.3;
}

.channel-status {
  grid-column: 3;
  grid-row: 1 / span 2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.channel.is-live .channel-status {
  color: var(--yellow);
}

.channel.is-soon {
  opacity: 0.78;
  cursor: default;
}

/* ----- Fact of the day ----- */

.fact-strip {
  background: var(--yellow);
  color: var(--navy);
  padding: 1.25rem 0 1.4rem;
}

.fact-inner {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fact-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
}

#fact-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#fact-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(11, 18, 32, 0.7);
}

.fact-nav-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.fact-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.1);
  color: var(--navy);
  cursor: pointer;
}

.fact-nav svg {
  width: 1.15rem;
  height: 1.15rem;
}

.fact-nav:hover {
  background: rgba(11, 18, 32, 0.18);
}

.fact-count {
  min-width: 3.4rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(11, 18, 32, 0.7);
}

#fact-text {
  margin: 0;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ----- Shorts ----- */

.shorts {
  padding: 2.75rem 0 3rem;
}

.shorts-grid {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.short {
  width: min(100%, 22.5rem);
}

.short-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 1.1rem;
  overflow: hidden;
  background-color: var(--dark);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.short-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.short-play svg {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.85rem 0.7rem 0.85rem 1rem;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}

.short-play:hover svg {
  background: var(--yellow-hover);
  transform: scale(1.06);
}

.short-title {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

/* ----- Footer ----- */

.footer {
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0 0 0.4rem;
}

.footer .hashtag {
  margin-bottom: 0.7rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--yellow);
}

.footer .note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted-2);
}

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

.footer a:hover {
  color: var(--yellow);
}

/* ----- Wider screens ----- */

@media (min-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 3rem));
  }

  .hero {
    padding: 4.5rem 0 3.25rem;
  }

  .hero-logo {
    width: 8.5rem;
    height: 8.5rem;
  }

  .channel-list {
    grid-template-columns: 1fr 1fr;
  }

  .channel-list li:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  :root {
    --wrap: 58rem;
  }

  .hero {
    padding: 5rem 0 3.5rem;
  }

  .shorts-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 22.5rem));
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
