:root {
  --video-purple-950: #241735;
  --video-purple-800: #49336f;
  --video-purple-700: #67458d;
  --video-ink: #2b2134;
}

.video-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5vw, 68px) 0 clamp(74px, 8vw, 98px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(213, 182, 255, .3), transparent 25%),
    radial-gradient(circle at 8% 110%, rgba(144, 103, 193, .24), transparent 38%),
    linear-gradient(125deg, var(--video-purple-950), var(--video-purple-800) 58%, #79529c);
}

.video-hero::before,
.video-hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.video-hero::before { width: 430px; height: 430px; right: -145px; top: -255px; }
.video-hero::after { width: 610px; height: 610px; right: -230px; top: -355px; }

.video-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.video-hero-copy { max-width: 720px; }

.video-hero-kicker,
.video-toolbar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e8d9f8;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-hero-kicker {
  margin-bottom: 14px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.video-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .98;
}

.video-hero-copy p {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(.98rem, 1.5vw, 1.08rem);
  line-height: 1.7;
}

.video-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 25px;
  color: #f1e8fb;
  font-size: .82rem;
}

.video-hero-stats span { display: inline-flex; align-items: center; gap: 7px; }
.video-hero-stats strong { color: #fff; font-size: 1rem; }

.video-hero-art {
  position: relative;
  display: grid;
  flex: 0 0 205px;
  place-items: center;
  width: 205px;
  height: 205px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 44% 56% 53% 47% / 54% 43% 57% 46%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04));
  box-shadow: inset 0 0 0 17px rgba(255, 255, 255, .035), 0 20px 50px rgba(24, 11, 37, .22);
  transform: rotate(8deg);
}

.video-hero-art > i { color: #fff; font-size: 4.3rem; transform: rotate(-8deg); }
.video-wave { position: absolute; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.wave-one { inset: -22px 28px 27px -30px; transform: rotate(-30deg); }
.wave-two { inset: 25px -28px -25px 26px; transform: rotate(26deg); }

.video-youtube-page {
  position: relative;
  padding-top: 0;
}

.video-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -35px auto 34px;
  padding: 17px 20px;
  border: 1px solid rgba(111, 80, 145, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 40px rgba(56, 34, 83, .12);
}

.video-toolbar strong { display: block; margin-top: 3px; color: var(--video-ink); font-size: .95rem; }
.video-toolbar-label { color: var(--video-purple-700); }

.video-filter-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.video-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(290px, 35vw);
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ded3e9;
  border-radius: 9px;
  color: #8a789d;
  background: #fff;
}

.video-search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: #4a3c57; background: transparent; font: inherit; font-size: .82rem; }
.video-filter-form select, .video-filter-form button, .video-filter-reset { min-height: 40px; border-radius: 9px; font: inherit; font-size: .82rem; }
.video-filter-form select { min-width: 112px; padding: 0 28px 0 10px; border: 1px solid #ded3e9; color: #4a3c57; background: #fff; }
.video-filter-form button { padding: 0 14px; border: 0; color: #fff; background: var(--video-purple-800); font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.video-filter-form button:hover { background: #362354; transform: translateY(-1px); }
.video-filter-reset { display: inline-flex; align-items: center; padding: 0 6px; color: var(--video-purple-700); text-decoration: none; }

.video-youtube-head { margin-bottom: 27px; }
.video-youtube-grid { gap: 32px 21px; }

.video-reveal { animation: video-card-reveal .55s both; animation-delay: var(--video-delay, 0ms); }

@keyframes video-card-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.yt-thumbnail { isolation: isolate; }
.yt-thumbnail-shine { position: absolute; z-index: 1; inset: -80% 45% -80% -35%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-120%) rotate(12deg); transition: transform .7s ease; }
.yt-video-card:hover .yt-thumbnail-shine { transform: translateX(260%) rotate(12deg); }
.yt-watch-label { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 6px; color: #fff; background: rgba(29, 18, 43, .72); font-size: .62rem; font-weight: 700; opacity: 0; transform: translateY(5px); transition: opacity .25s ease, transform .25s ease; }
.yt-video-card:hover .yt-watch-label { opacity: 1; transform: translateY(0); }
.yt-video-card:hover .yt-thumbnail { transform: translateY(-4px) scale(1.012); }

@media (max-width: 950px) {
  .video-toolbar { align-items: flex-start; flex-direction: column; }
  .video-filter-form { justify-content: flex-start; width: 100%; }
  .video-search-box { flex: 1 1 230px; }
}

@media (max-width: 640px) {
  .video-hero { padding-top: 43px; padding-bottom: 78px; }
  .video-hero .container { display: block; }
  .video-hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .video-hero-art { display: none; }
  .video-toolbar { margin: -31px 12px 28px; padding: 15px; }
  .video-filter-form { display: grid; grid-template-columns: 1fr 1fr; }
  .video-search-box { grid-column: 1 / -1; min-width: 0; }
  .video-filter-form select, .video-filter-form button { width: 100%; min-width: 0; }
  .video-filter-form button { grid-column: 1 / -1; }
}
