/*!
 * Copyright (c) 2026 Daki.cc — Niclas Specht. All rights reserved.
 *
 * Proprietary and confidential. Unauthorized copying, distribution,
 * modification, or use of this file or its contents, in whole or in
 * part, via any medium, is strictly prohibited.
 */

/* ── Hero "watch" pill ────────────────────────────────────────────────
   A quiet third action under the CTAs: a tiny still from the ad, its
   length, and a play button that pulses now and then. Frosted glass like
   the outline button, so it reads on the LED wall without competing. */
.hero-watch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-block: 5px;
  padding-inline: 5px 14px;
  border: 1px solid rgba(240, 194, 248, 0.18);
  border-radius: 12px;
  background: rgba(17, 10, 22, 0.5);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #efe4f3;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .18s ease, box-shadow .25s ease;
}
.hero-watch:hover,
.hero-watch:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 194, 248, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 26px rgba(192, 38, 211, 0.3);
}
.hero-watch:focus-visible { outline: 2px solid #d48ae6; outline-offset: 3px; }
.hero-watch:active { transform: scale(0.97); transition-duration: .1s; }

.hero-watch-thumb {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 36px;
  overflow: hidden;
  border-radius: 8px;
  background: #1a0f20;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero-watch-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-watch:hover .hero-watch-thumb img { transform: scale(1.1); }
.hero-watch-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(13, 6, 18, 0.32);
}
.hero-watch-play svg {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.hero-watch-play circle { fill: rgba(255, 255, 255, 0.94); }
.hero-watch-play path { fill: #8c10ae; }
/* A ring breathes out of the play button every few seconds. */
.hero-watch-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(240, 194, 248, 0.8);
  opacity: 0;
  animation: hero-watch-ping 3.2s cubic-bezier(0.22, 1, 0.36, 1) 1.5s infinite;
}
@keyframes hero-watch-ping {
  0%   { transform: scale(1);   opacity: .9; }
  45%, 100% { transform: scale(2.1); opacity: 0; }
}
.hero-watch-time {
  padding-inline-start: 11px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
  color: #9f8fa8;
  font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}
.hero-led .hero-watch + .hero-rating { margin-top: 22px; }

/* Phones: as wide as the stacked buttons above it. */
@media (max-width: 575px) {
  .hero-watch { align-self: stretch; margin-top: 10px; }
  .hero-watch-text { flex: 1; text-align: start; }
}

/* ── Video lightbox ───────────────────────────────────────────────────
   As large as the screen allows at 16:9, in the site's black card with
   the hero's corner ticks, over a near-black backdrop. */
body.video-open .modal-backdrop.show { background: rgba(6, 3, 9, 0.9); }

.modal-dialog.modal-video {
  width: auto;
  max-width: min(1120px, calc((100vh - 150px) * 16 / 9));
  max-width: min(1120px, calc((100dvh - 150px) * 16 / 9));
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
.modal.fade .modal-video {
  transform: scale(0.94);
  filter: blur(6px);
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), filter .3s ease, opacity .2s ease;
}
.modal.show .modal-video { transform: none; filter: none; }

.video-modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 160, 232, 0.16);
  border-radius: 18px;
  background: #0d0d0d;
  color: #f2edf5;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 120px rgba(140, 16, 174, 0.18);
}
.video-modal-content :focus-visible { outline: 2px solid #d48ae6; outline-offset: 2px; }

.video-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  padding-inline: 18px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.video-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #d9b8e4;
  font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.video-modal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e98bf4;
  box-shadow: 0 0 10px #c026d3;
}
.video-modal.is-playing .video-modal-dot { animation: video-modal-rec 1.6s ease-in-out infinite; }
@keyframes video-modal-rec { 50% { opacity: .3; } }
.video-modal .video-modal-close { position: static; flex-shrink: 0; }

.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050307;
}
.video-modal-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #050307;
  object-fit: contain;
}

/* End card: the site's closing line and the two next steps. */
.video-modal-end {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(140, 16, 174, 0.35), transparent 70%),
    rgba(8, 4, 11, 0.86);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: video-modal-end-in .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.video-modal-end[hidden] { display: none; }
@keyframes video-modal-end-in {
  from { opacity: 0; transform: scale(1.03); }
}
.video-modal-end-title {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.video-modal-end-title .hero-accent {
  display: block;
  background: linear-gradient(118deg, #e29bf0 0%, #c026d3 48%, #a432c0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.video-modal-end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.video-modal-end .btn-hero-outline {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(240, 194, 248, 0.3);
  color: #fff;
}
.video-modal-end .btn-hero-outline:hover { border-color: rgba(240, 194, 248, 0.6); }
.video-modal-end .btn-hero-outline svg { width: 16px; height: 16px; }

@media (max-width: 575px) {
  .modal-dialog.modal-video { padding: 0 8px; }
  .video-modal-content { border-radius: 14px; }
  .video-modal-bar { padding-block: 8px; padding-inline: 14px 8px; }
  .video-modal-end { gap: 12px; padding: 12px; }
  .video-modal-end .btn-hero-primary,
  .video-modal-end .btn-hero-outline { padding: 9px 16px; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-watch-play::after,
  .video-modal.is-playing .video-modal-dot,
  .video-modal-end { animation: none; }
  .modal.fade .modal-video { transform: none; filter: none; transition: opacity .2s ease; }
}
