.hero {
  position: relative;
  margin: 0 8px;
  min-height: 640px;
  height: calc(210.5vw - 34px);
  max-height: 812px;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
  background: #282834;
}
.hero__bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.hero__bg-overflow { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: block; overflow: hidden; }
.hero__bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero__gradient { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 26%, rgba(0,0,0,0) 48%); }
.hero__content {
  position: absolute;
  bottom: 72px;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
}
.hero__title {
  margin: 0;
  padding: 0;
  width: 100%;
  max-height: 120px;
  overflow: hidden;
  word-break: break-word;
  font-family: 'Proxima Nova A', 'Proxima Nova', -apple-system, 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -2px;
  color: #ffffff;
  font-feature-settings: "salt" 1, "calt" 0;
  text-shadow: 0 1px 16px rgba(0,0,0,.28);
}
.hero__cta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 2px 24px;
  box-sizing: border-box;
  background-color: #434ce4;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Inter', -apple-system, 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
  font-feature-settings: "case" 1;
  transition: background-color .15s ease, transform .1s ease;
}
.hero__cta:hover { background-color: #3b44cc; }
.hero__cta:active { background-color: #3339b3; transform: scale(.98); }
.hero__cta:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

.hero__bubble {
  position: absolute;
  left: 50%;
  top: 51.4%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 276px;
  height: 64px;
  min-height: 64px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 20px 20px 20px 4px;
  overflow: hidden;
  background: rgba(40,40,52,.55);
}
.hero__bubble::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(from 0deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.12) 55%, rgba(255,255,255,.5) 68%, rgba(255,255,255,1) 76%, rgba(255,255,255,.5) 84%, rgba(255,255,255,.12) 92%, rgba(255,255,255,.12) 100%);
  animation: none;
  z-index: 0;
  pointer-events: none;
}
.hero__bubble::after {
  content: '';
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  right: 1.5px;
  bottom: 1.5px;
  border-radius: 19px 19px 19px 3px;
  background: rgba(40,40,52,.4);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}
.hero__bubble-thumb-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.hero__bubble-text { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hero__bubble-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__bubble-link {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.5);
  text-underline-offset: 1px;
  white-space: nowrap;
}
.hero__bubble-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 2px;
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 6px;
}
.hero__bubble-time {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  color: #ffffff;
  width: 28px;
  text-align: center;
}
.hero__bubble-checks { width: 12px; height: 12px; display: block; }
.hero.is-playing .hero__bubble::before { animation: hero-beam 2s linear infinite; }

@media (min-width: 768px) {
  .hero { min-height: 640px; height: calc(100vh - 16px); max-height: 724px; }
  .hero__bg-img { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .hero__content { right: auto; bottom: 112px; padding: 40px 0 0 40px; gap: 40px; }
  .hero__cta { left: 40px; right: auto; bottom: 40px; width: auto; }

  .hero__bubble {
    left: auto;
    right: 20%;
    top: 66%;
    width: 276px;
    height: 64px;
    min-height: 64px;
    padding: 0 16px;
    transform: none;
    border-radius: 20px 20px 20px 4px;
  }
  .hero__bubble-thumb-img { width: 40px; height: 40px; }
  .hero__bubble-meta { padding-bottom: 6px; }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .hero__content { width: 54%; }
  .hero__title { font-size: 56px; letter-spacing: -2px; max-height: 132px; }
}

@media (min-width: 1280px) {
  .hero__content { width: 52%; max-width: 900px; }
  .hero__title { font-size: 88px; letter-spacing: -4px; max-height: 176px; }
  .hero__bubble { right: 22%; top: 70%; }
}

@media (min-width: 1920px) {
  .hero {
    max-height: 712px;
  }
}

@keyframes hero-beam {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero.is-playing .hero__bubble::before { animation: none; }
  .hero__cta { transition: none; }
}
