/* Video stays inside the existing banner; the image remains its fallback. */
.sp-video-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-size: cover;
}
.sp-video-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  z-index: -2;
}
.sp-video-hero.has-video-frame .sp-video-hero__media { opacity: 1; }
.sp-video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.4));
  pointer-events: none;
  z-index: -1;
}
.sp-video-hero__content { position: relative; }
.sp-video-hero__toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 4px;
  padding: 6px 10px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font: 12px/1.4 Arial, sans-serif;
  cursor: pointer;
}
.sp-video-hero__toggle:focus-visible { outline: 2px solid #ffe261; outline-offset: 3px; }
@media (max-width: 767px) {
  .sp-video-hero { padding-bottom: 52px; }
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(100%, 560px);
  margin: 5px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}
.sp-video-hero .sp-hero-button {
  display: inline-flex;
  flex: 1 1 210px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  max-width: 280px;
  min-height: 56px;
  padding: 13px 20px;
  box-sizing: border-box;
  border: 1px solid;
  border-radius: 7px;
  color: #fff;
  font: 800 clamp(15px, 1.5vw, 19px)/1.25 Roboto, Arial, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}
.sp-hero-button svg { width: 24px; height: 24px; flex: 0 0 24px; }
.sp-video-hero .sp-hero-button--play {
  background: linear-gradient(180deg, #ffc13b, #e78308);
  border-color: #ffcf72;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 3px 12px rgba(0,0,0,.3);
}
.sp-video-hero .sp-hero-button--discord {
  background: rgba(54, 60, 132, .65);
  border-color: #a5adff;
  box-shadow: inset 0 0 0 2px rgba(165,173,255,.13), 0 3px 12px rgba(0,0,0,.3);
}
.sp-video-hero .sp-hero-button--play:hover { border-color: #fff0be; box-shadow: 0 0 18px rgba(255,174,41,.35); }
.sp-video-hero .sp-hero-button--discord:hover { background: #5865f2; border-color: #ccd0ff; }
.sp-video-hero .sp-hero-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 479px) {
  .sp-hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .sp-video-hero .sp-hero-button { flex: 0 1 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sp-video-hero .sp-hero-button { transition: none; } }

@keyframes sp-hero-play-glow {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 0 9px rgba(255,174,41,.25); }
  50% { box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 0 32px rgba(255,196,0,.65); }
}
.sp-video-hero .sp-hero-button--play { animation: sp-hero-play-glow 2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .sp-video-hero .sp-hero-button--play { animation: none; }
}
