.intro-video {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  box-sizing: border-box;
}

.intro-video.is-open {
  display: flex;
}

.intro-video__dim {
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 28, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.intro-video__frame {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  border-radius: 28px;
  overflow: hidden;
  background: #0e141c;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.intro-video__player {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 80px);
  background: #0e141c;
  object-fit: contain;
  cursor: pointer;
}

.intro-video__pause {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.72);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.intro-video__pause[hidden] {
  display: none;
}

.intro-video__pause-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 28px;
  height: 32px;
}

.intro-video__pause-icon::before,
.intro-video__pause-icon::after {
  content: "";
  width: 8px;
  height: 32px;
  border-radius: 2px;
  background: #ffffff;
}

.intro-video__pause-label {
  color: #ffffff;
  font-family: "Pretendard", Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.intro-video__actions {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.intro-video__btn {
  height: 40px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-family: "Pretendard", Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 40px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.intro-video__btn[hidden] {
  display: none;
}

.intro-video__btn:focus-visible {
  outline: 2px solid #067171;
  outline-offset: 2px;
}

html.intro-video-open,
body.intro-video-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (max-width: 767px) {
  .intro-video {
    padding: 16px;
  }

  .intro-video__frame {
    border-radius: 16px;
  }

  .intro-video__player {
    max-height: calc(100vh - 32px);
  }

  .intro-video__actions {
    top: 10px;
    right: 10px;
  }

  .intro-video__btn {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 34px;
  }
}
