:root {
  --green: #2bad4b;
  --green-light: #3bc45e;
  --green-dark: #1b8738;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(43, 173, 75, .08), transparent 34%),
    #fff;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vh, 20px);
  padding: clamp(12px, 2vh, 20px) clamp(16px, 3vw, 36px);
}

.video-frame {
  width: min(1280px, 100%, calc((100dvh - 120px) * 16 / 9));
  overflow: hidden;
  border: 1px solid rgba(15, 62, 28, .13);
  border-radius: 22px;
  background: #080a08;
  box-shadow:
    0 35px 90px rgba(16, 66, 30, .17),
    0 4px 14px rgba(16, 66, 30, .08);
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080a08;
  object-fit: contain;
}

.cta-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 29px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  color: #fff;
  box-shadow: 0 17px 42px rgba(35, 161, 65, .28), inset 0 1px rgba(255,255,255,.28);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: translate .22s ease, box-shadow .22s ease, filter .22s ease;
}

.cta-button span,
.cta-button svg {
  position: relative;
  z-index: 2;
}

.cta-button svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate .22s ease;
}

.cta-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -45% auto -45% -38%;
  width: 27%;
  rotate: 16deg;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.88), transparent);
  filter: blur(1px);
  animation: shine 3.2s cubic-bezier(.4, 0, .2, 1) infinite;
}

.cta-button:hover {
  translate: 0 -3px;
  filter: saturate(1.08);
  box-shadow: 0 23px 50px rgba(35, 161, 65, .34), inset 0 1px rgba(255,255,255,.28);
}

.cta-button:hover svg { translate: 4px 0; }

.cta-button:focus-visible {
  outline: 3px solid rgba(43, 173, 75, .38);
  outline-offset: 5px;
}

@keyframes shine {
  0%, 56% { translate: -290% 0; }
  82%, 100% { translate: 660% 0; }
}

@media (max-width: 640px) {
  main { padding: 12px; gap: 14px; }
  .video-frame { border-radius: 15px; }
  .cta-button { width: min(100%, 390px); min-height: 60px; padding-inline: 20px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-button, .cta-button svg { transition: none; }
  .cta-button::after { animation: none; display: none; }
}
