
.discover {
  margin-top: clamp(34px, 5.4vw, 52px);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-label span {
  display: inline-block;
  padding-bottom: 8px;
}

:root[data-theme="light"] .section-label span {
  border-bottom: 1px solid var(--line);
  padding-right: 4px;
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  isolation: isolate;
}


.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/video/meet-dalilbox-poster.jpg");
  background-size: cover;
  background-position: center;
}

:root[data-theme="dark"] .video-card::before {
  filter: brightness(0.8);
}

.video-card__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-card__title {
  position: absolute;
  top: calc(50% + clamp(60px, 9vw, 84px));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.9vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  color: #f6f5f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] .video-card__title {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ------------------------------- Play button ------------------------------ */

.play-btn {
  --size: clamp(72px, 14vw, 104px);
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.play-btn__disc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--play-bg);
  color: var(--play-ink);
  border-radius: 50%;
  transition: transform 0.45s var(--ease-back), box-shadow 0.35s ease;
}

.play-btn__disc .icon {
  width: 38%;
  height: 38%;
  margin-left: 6%;
}

.play-btn:hover .play-btn__disc {
  transform: scale(1.07);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--play-bg) 12%, transparent);
}

.play-btn:active .play-btn__disc {
  transform: scale(0.96);
}

.play-btn__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.play-btn__ring--inner {
  inset: -18%;
  border: 1px dotted var(--play-ring);
  opacity: 0.75;
  animation: spin 40s linear infinite;
}

.play-btn__ring--outer {
  inset: -40%;
  border: 1px dashed var(--play-ring);
  opacity: 0.35;
  animation: spin 70s linear infinite reverse;
}

.play-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--play-ring);
  opacity: 0;
  animation: pulse-ring 3.2s var(--ease-out) infinite;
  pointer-events: none;
}

/* ------------------------------ Video dialog ------------------------------ */

.video-dialog {
  width: min(92vw, 960px);
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.video-dialog[open] {
  animation: pop-in 0.3s var(--ease-out) both;
}

.video-dialog__close {
  position: absolute;
  top: 6px;
  inset-inline-end: 10px;
  z-index: 2;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}

.video-dialog__body {
  display: grid;
  min-height: 220px;
  place-items: center;
}

.video-dialog__body video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}

.video-dialog__msg {
  padding: 56px 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink-soft);
}
