:root {
  --ink: #f6efe6;
  --ink-soft: rgba(246, 239, 230, 0.74);
  --night: #0b0e2a;
  --gold: #f7c98c;
  --ember: #f3871f;
  --edge: rgba(255, 226, 190, 0.16);
  --display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --ui: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* Dusk over the sea, after the Balloon Pop reference: storm indigo on the
   left, rose in the middle, a gold glow low on the right, dark water below. */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 92% 58%, rgba(255, 214, 150, 0.75), transparent 70%),
    radial-gradient(70% 45% at 70% 60%, rgba(229, 157, 140, 0.45), transparent 70%),
    radial-gradient(90% 60% at 0% 30%, rgba(5, 6, 23, 0.85), transparent 70%),
    linear-gradient(180deg, #070925 0%, #141a50 22%, #2b3a79 38%, #7073a4 52%, #b190ac 60%, #e9bbb7 64%, #3a4a86 64.5%, #1d2758 78%, #0b0e2a 100%);
}

.sky::after {
  /* a slow shimmer on the water */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 64.5%;
  bottom: 0;
  background: repeating-linear-gradient(180deg, rgba(247, 201, 140, 0.07) 0 2px, transparent 2px 9px);
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%, #000 100%);
  animation: shimmer 9s ease-in-out infinite alternate;
}

@keyframes shimmer {
  to {
    transform: translateY(6px);
    opacity: 0.6;
  }
}

.hero {
  width: min(1100px, 100% - 32px);
  margin: 0 auto;
  padding: clamp(40px, 9vh, 96px) 0 clamp(24px, 5vh, 48px);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 9vw, 84px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-shadow: 0 4px 30px rgba(3, 4, 18, 0.45);
}

.tagline {
  margin: 14px 0 0;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: clamp(16px, 2.2vw, 19px);
}

main {
  flex: 1;
  width: min(1100px, 100% - 32px);
  margin: 0 auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 24, 64, 0.72), rgba(28, 20, 50, 0.72));
  border: 1px solid var(--edge);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(3, 4, 18, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(3, 4, 18, 0.55);
}

.cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1b2259;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.card:hover .cover img {
  transform: scale(1.04);
}

.body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}

.body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
}

.body p {
  margin: 0;
  color: var(--ink-soft);
}

.tags {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags li {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.play {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--ember));
  color: #1a0f08;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(243, 135, 31, 0.3);
  transition: transform 0.15s ease;
}

.body p + .play,
.tags + .play {
  margin-top: 14px;
}

.play:hover {
  transform: translateY(-1px);
}

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

.note {
  color: var(--ink-soft);
}

.note a {
  color: var(--gold);
}

footer {
  width: min(1100px, 100% - 32px);
  margin: 0 auto;
  padding: 48px 0 28px;
  color: rgba(246, 239, 230, 0.5);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .sky::after {
    animation: none;
  }

  .card,
  .cover img,
  .play {
    transition: none;
  }
}
