body {
  margin: 0;
}

.container {
  width: 95dvw;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #444444;
  font-family: sans-serif;
  margin: 0 auto;
  padding: 2.5dvh 0;
}

.player {
  flex: 0 1 auto;
  width: 100%;
  height: clamp(180px, 56vw, 70vh);
  padding-bottom: 16px;
  display: flex;
  justify-content: center;
  min-height: 0;
  max-height: 70vh;
  overflow: hidden;
  container-type: size;
}

.player-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

@container (min-aspect-ratio: 16/9) {
  .player-wrapper {
    height: 100%;
    width: auto;
    max-width: 100%;
  }
}

.player-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.media {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 16px clamp(12px, 2.4vw, 24px) 20px;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
}

.media a {
  --media-button-height: clamp(72px, 9vw, 92px);
  display: flex;
  width: 100%;
  min-height: var(--media-button-height);
  padding: clamp(12px, 1.6vw, 16px) clamp(16px, 2.4vw, 24px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  outline: 2px solid #FFF;
  outline-offset: -4px;
  border-radius: 10px;
  font-size: clamp(18px, calc(18px + (var(--media-button-height) - 72px) * 0.5), 28px);
  line-height: 1.15;
  text-decoration: none;
  box-sizing: border-box;
}

.media-label {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  min-width: 0;
  flex-wrap: wrap;
}

.media-label .media-title {
  color: #FFF;
  font-weight: 600;
}

.media-label .media-handle {
  color: #9CA3AF;
  font-size: 0.62em;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.media-x {
  background-color: #0F1419;
}

.media-insta {
  background: linear-gradient(to right, #833AB4, #FD1D1D, #FCB045);
}

.media-tiktok {
  background-color: #040404;
}

.media a img {
  display: block;
  width: auto;
  height: clamp(28px, 3.4vw, 44px);
  flex-shrink: 0;
  object-fit: contain;
}

.media-tiktok img {
  height: clamp(32px, 4vw, 48px);
}

@media screen and (max-width: 768px) {
  .media {
    gap: 10px;
  }

  .media a {
    --media-button-height: 68px;
    min-height: var(--media-button-height);
    padding: 12px 16px;
    border-radius: 12px;
  }

  .media a .media-label {
    max-width: 12em;
  }

  .media-label {
    gap: 0.35em;
  }
}

.footer {
  width: 100%;
  padding: 16px 0;
  text-align: center;
  font-size: 24px;
}

@media screen and (max-width: 1024px) {
  .footer {
    font-size: 3vw;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    font-size: 5vw;
  }
}
