:root {
  --ink: #18213f;
  --sky-top: #7fc6f5;
  --sky-bottom: #d6efff;
  --grass: #5dbd4e;
  --grass-light: #69c85a;
  --gold: #ffc83d;
  --cream: #fffaf0;
  --orange: #f7891f;
  --orange-deep: #c4520a;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  font-family: var(--body);
  background: var(--grass);
}

.world {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.sky {
  position: relative;
  min-height: 168px;
  padding: 18px 16px 78px;
  background: linear-gradient(var(--sky-top), var(--sky-bottom));
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 40px;
  height: 28px;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before { width: 34px; height: 34px; left: 12px; top: -16px; }
.cloud::after { width: 46px; height: 46px; left: 36px; top: -26px; }
.c1 { width: 110px; top: 28px; left: 8%; }
.c2 { width: 150px; top: 54px; right: 12%; transform: scale(1.15); }
.c3 { width: 80px; top: 18px; left: 46%; opacity: .95; }

.hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 46%;
  display: block;
}

.tree {
  position: absolute;
  bottom: 8px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #3d9a4e;
  box-shadow: 18px 8px 0 #58b865, -16px 10px 0 #2f8a42;
}
.tree::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -16px;
  width: 8px;
  height: 22px;
  background: #8a5a36;
  border-radius: 3px;
}
.t1 { left: 6%; transform: scale(.7); }
.t2 { left: 22%; transform: scale(.9); }
.t3 { left: 48%; transform: scale(.75); }
.t4 { left: 68%; transform: scale(1); }
.t5 { left: 86%; transform: scale(.8); }

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.logo {
  width: min(460px, 68vw);
  height: auto;
  filter: drop-shadow(0 8px 0 rgba(24, 33, 63, .08));
}

.field {
  position: relative;
  flex: 1;
  background:
    repeating-linear-gradient(
      90deg,
      var(--grass) 0 88px,
      var(--grass-light) 88px 176px
    );
  padding: 8px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lines { position: absolute; inset: 0; pointer-events: none; }
.yard {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 4px;
  background: rgba(255, 255, 255, .85);
}
.y1 { top: 18%; }
.y2 { top: 62%; }
.circle {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(280px, 46vw);
  height: min(120px, 18vw);
  transform: translate(-50%, -50%);
  border: 4px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
}

.episode {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  text-align: center;
  margin-top: -18px;
}

.eyebrow {
  margin: 0;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--ink);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.2rem, 12vw, 7.2rem);
  line-height: .85;
  color: var(--cream);
  -webkit-text-stroke: .08em var(--ink);
  paint-order: stroke fill;
  letter-spacing: .01em;
}
h1::first-letter { color: var(--gold); }

.lede {
  margin: 10px auto 16px;
  max-width: 36rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.screen {
  position: relative;
  border: 6px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: #0e1530;
  box-shadow: 0 16px 0 rgba(24, 33, 63, .18);
}
.screen video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0e1530;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  padding: 14px 28px 14px 20px;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--orange-deep);
}
.play svg { width: 22px; height: 22px; fill: #fff; }
.play:active { transform: translate(-50%, calc(-50% + 3px)); box-shadow: 0 3px 0 var(--orange-deep); }
.play:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px }
.play[hidden] { display: none; }

.crew {
  position: relative;
  z-index: 3;
  width: min(920px, 100%);
  height: auto;
  margin-top: -8px;
  margin-bottom: -6px;
  pointer-events: none;
}

.credit {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.ball {
  position: absolute;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #fff 0 7px, transparent 8px),
    radial-gradient(circle at 50% 55%, #ffb15a, #f7891f 62%, #d26510);
  border: 3px solid var(--ink);
  left: -40px;
  bottom: 92px;
  animation: roll 9s linear infinite;
}
@keyframes roll {
  0% { transform: translateX(0) rotate(0); }
  100% { transform: translateX(calc(100vw + 80px)) rotate(720deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ball { animation: none; display: none; }
}

@media (max-width: 700px) {
  .sky { padding: 12px 12px 64px; }
  h1 { -webkit-text-stroke-width: .06em; }
  .lede { font-size: 1rem; }
  .screen { border-width: 4px; border-radius: 16px; box-shadow: 0 10px 0 rgba(24, 33, 63, .18); }
  .crew { width: 100%; }
}
