:root {
  --emerald-900: #065f46;
  --emerald-700: #047857;
  --emerald-400: #10b981;
  --ink: #ecfdf5;
  --muted: #a7f3d0;
}

.spot-page,
.spot-embed,
.spot-stage,
.spot-bar,
.spot-play,
.spot-page *,
.spot-embed *,
.spot-stage *,
.spot-bar * {
  box-sizing: border-box;
}

html:has(.spot-page),
body:has(.spot-page) {
  margin: 0;
  min-height: 100%;
  background: #020617;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

.spot-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px 28px;
  background: #020617;
  color: var(--ink);
}

.spot-stage {
  position: relative;
  width: min(100%, 1280px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #0b1220;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  container-type: inline-size;
  container-name: spot;
}

.spot-stage.is-playing {
  cursor: default;
}

.spot-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.spot-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.08) 28%, rgba(2, 6, 23, 0.42) 72%, rgba(2, 6, 23, 0.58) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, transparent 28%, transparent 62%, rgba(2, 6, 23, 0.38) 100%);
  pointer-events: none;
}

.spot-type {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.type-hook {
  position: absolute;
  top: 10%;
  right: clamp(8px, 3.6cqi, 44px);
  width: min(72%, 580px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(3px, 1.1cqi, 8px);
}

.banner-product {
  position: absolute;
  top: 56%;
  right: clamp(8px, 3.6cqi, 44px);
  max-width: min(82%, 580px);
}

.type-lockup {
  position: absolute;
  right: clamp(8px, 3.6cqi, 44px);
  bottom: 10%;
  width: min(72%, 580px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(2px, 0.6cqi, 4px);
}

.banner {
  margin: 0;
  padding: clamp(3px, 1.1cqi, 8px) clamp(7px, 2.2cqi, 16px);
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.82), rgba(4, 120, 87, 0.72));
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 8px 24px rgba(6, 95, 70, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(28px);
  opacity: 0;
  text-align: right;
  line-height: 1.2;
  word-spacing: 0.04em;
  white-space: nowrap;
}

.banner.is-in,
.lockup-logo.is-in,
.lockup-tagline.is-in {
  animation: slideIn 450ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.banner.is-swap {
  animation: slideSwap 450ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.banner-hook {
  font-size: clamp(0.5rem, 2.1cqi, 1.45rem);
  font-weight: 600;
  padding: clamp(3px, 1.4cqi, 10px) clamp(8px, 2.5cqi, 18px);
}

.banner-industry {
  font-size: clamp(0.42rem, 1.45cqi, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 0;
}

.banner-industry.is-final {
  font-style: italic;
  color: #d1fae5;
}

.banner-product {
  font-size: clamp(0.42rem, 1.45cqi, 1.05rem);
  font-weight: 600;
}

.lockup-logo,
.lockup-tagline {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateX(28px);
  opacity: 0;
  text-align: right;
  text-shadow: 0 2px 18px rgba(2, 6, 23, 0.55);
  white-space: nowrap;
}

.lockup-logo {
  font-family: "Bebas Neue", Inter, sans-serif;
  font-size: clamp(0.85rem, 4.4cqi, 3.2rem);
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: #ffffff;
}

.lockup-tagline {
  font-size: clamp(0.45rem, 1.55cqi, 1.15rem);
  font-weight: 500;
  font-style: italic;
  color: #ffffff;
}

.banner[hidden],
.lockup-logo[hidden],
.lockup-tagline[hidden] {
  display: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideSwap {
  0% {
    opacity: 0;
    transform: translateX(28px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.spot-bar {
  width: min(100%, 1280px);
  display: flex;
  align-items: center;
  gap: 16px;
}

.spot-play {
  appearance: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.6cqi, 12px);
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.28);
  color: #fff;
  cursor: pointer;
  opacity: 1;
  transition: opacity 220ms ease, background 180ms ease;
}

.spot-play-mark {
  width: clamp(4.25rem, 8.5cqi, 5.75rem);
  height: clamp(4.25rem, 8.5cqi, 5.75rem);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.3);
  display: grid;
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
}

.spot-play-mark::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #0f172a;
}

.spot-play-label {
  font: 600 13px/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(2, 6, 23, 0.45);
}

.spot-play.is-replay {
  gap: 0;
}

.spot-play.is-replay .spot-play-label,
.spot-play-label[hidden] {
  display: none !important;
}

.spot-play:hover .spot-play-mark,
.spot-play:focus-visible .spot-play-mark {
  background: #059669;
  transform: scale(1.04);
}

.spot-play:hover .spot-play-mark::before,
.spot-play:focus-visible .spot-play-mark::before {
  border-left-color: #fff;
}

.spot-play:focus-visible {
  outline: none;
}

.spot-play:focus-visible .spot-play-mark {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.spot-stage.is-playing .spot-play {
  opacity: 0;
  pointer-events: none;
}

.spot-note {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.choose-body .spot-embed {
  width: 100%;
  margin: 0 0 28px;
}

.choose-body .spot-stage {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.choose-body .spot-bar,
.choose-body .spot-note {
  display: none;
}

@container spot (max-width: 520px) {
  .type-hook,
  .type-lockup {
    width: min(90%, 580px);
  }

  .banner-product {
    max-width: min(92%, 580px);
  }

  .banner-hook {
    font-size: clamp(0.62rem, 2.9cqi, 0.85rem);
  }

  .banner-industry,
  .banner-product {
    font-size: clamp(0.52rem, 2.45cqi, 0.72rem);
  }

  .lockup-logo {
    font-size: clamp(1rem, 5.2cqi, 1.6rem);
  }

  .lockup-tagline {
    font-size: clamp(0.5rem, 2.2cqi, 0.7rem);
  }

  .spot-play {
    gap: 6px;
  }

  .spot-play-mark {
    width: clamp(2.15rem, 11cqi, 2.65rem);
    height: clamp(2.15rem, 11cqi, 2.65rem);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.28);
  }

  .spot-play-mark::before {
    margin-left: 3px;
    border-width: 7px 0 7px 11px;
  }

  .spot-play-label {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .spot-play.is-replay {
    gap: 0;
  }

  .spot-play.is-replay .spot-play-label,
  .spot-play-label[hidden] {
    display: none !important;
  }
}
