:root {
  --navy: #07101b;
  --ink: #111827;
  --gold: #f2c14e;
  --pink: #ef476f;
  --teal: #006d77;
  --sky: #118ab2;
  --display: "Rye", Georgia, serif;
  --body: "Barlow Condensed", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(45deg, rgba(17, 138, 178, .13) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(239, 71, 111, .11) 25%, transparent 25%),
    #eef4f6;
  background-size: 36px 36px;
  color: white;
  font-family: var(--body);
}

.launch-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-content: center;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(7, 16, 27, .94), rgba(7, 16, 27, .54)),
    url("./assets/tournament-control-room.png");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--gold) 0 10deg, var(--pink) 10deg 20deg, var(--sky) 20deg 30deg);
  opacity: .25;
}

.broadcast-label,
.status-card,
.gif-card,
.ticker-copy {
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 20px 50px rgba(7, 16, 27, .28);
}

.broadcast-label {
  justify-self: start;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.hero-copy {
  max-width: 900px;
  position: relative;
  z-index: 1;
  grid-column: 1;
}

.hero-copy p {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 1000;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 400;
  line-height: .9;
  text-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.hero-copy span {
  display: block;
  max-width: 680px;
  color: #dbeafe;
  font-size: clamp(18px, 2vw, 24px);
}

.countdown {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 14px;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.countdown div {
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  border: 5px solid white;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  transform: rotate(-1deg);
}

.countdown div:nth-child(even) {
  transform: rotate(1deg);
}

.countdown strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 400;
  line-height: 1;
  color: var(--teal);
}

.countdown span {
  color: #64748b;
  font-weight: 1000;
  text-transform: uppercase;
}

.status-card {
  grid-column: 1 / -1;
  justify-self: start;
  display: grid;
  gap: 4px;
  background: rgba(7, 16, 27, .82);
  border-radius: 8px;
  padding: 16px 18px;
  position: relative;
  z-index: 1;
}

.status-card strong {
  color: var(--gold);
  text-transform: uppercase;
}

.hero-gifs {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.hero-gifs figure {
  margin: 0;
  background: white;
  border: 6px solid white;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(7, 16, 27, .34);
  overflow: hidden;
  transform: rotate(1.5deg);
}

.hero-gifs figure:nth-child(2) {
  transform: rotate(-1deg);
}

.hero-gifs figure:nth-child(3) {
  transform: rotate(2deg);
}

.hero-gifs img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: var(--navy);
}

.hero-gifs figcaption {
  background: var(--navy);
  color: white;
  padding: 7px 10px;
  text-align: center;
  font-weight: 1000;
  text-transform: uppercase;
}

.ticker {
  display: none;
  grid-template-columns: minmax(180px, .6fr) minmax(260px, 1fr) minmax(180px, .6fr);
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #f8fafc),
    repeating-linear-gradient(90deg, rgba(239, 71, 111, .18) 0 12px, rgba(242, 193, 78, .18) 12px 24px);
}

.gif-card,
.ticker-copy {
  background: white;
  color: var(--ink);
  border-radius: 8px;
  overflow: hidden;
}

.gif-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: var(--navy);
}

.gif-card span,
.ticker-copy span {
  display: block;
  padding: 10px 12px;
  color: #64748b;
  font-weight: 900;
}

.ticker-copy {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}

.ticker-copy strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .countdown,
  .ticker {
    grid-template-columns: 1fr;
  }

  .hero-gifs img {
    height: 130px;
  }
}
