/* service-pick-2.html — promotion sections (hero/detail styles in contents.css) */

/* Pick2 hero — z: bg(0) < video(1) < text(2) < stars(3) */
.service-wrap.middle .item-box.pick2-hero.bg-item-main {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #090812;
  background-image: none;
}

.pick2-hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 600px + 560px);
  right: -48px;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  pointer-events: none;
}

.pick2-hero-media .pick2-hero-video {
  display: block;
  width: auto;
  height: 100vh;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  background: transparent;
  transform: translateX(56px);
}

.pick2-hero .service-main-wrap {
  position: relative;
  z-index: 2;
  align-items: center;
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  min-height: 100vh;
  padding-top: 0 !important;
  padding-bottom: 0;
  pointer-events: none;
}

.pick2-hero .text-wrap {
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex-shrink: 0;
  pointer-events: auto;
}

.pick2-hero-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: block;
  pointer-events: none;
  opacity: 1;
}

@media (min-width: 769px) and (max-width: 1280px) {
  .pick2-hero-media {
    left: 46%;
    right: -32px;
  }

  .pick2-hero-media .pick2-hero-video {
    transform: translateX(32px);
  }

  .pick2-hero .text-wrap {
    max-width: 46vw;
  }
}

@keyframes pick2-stars-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pick2-hero-stars.is-ready {
  animation: pick2-stars-fade 1.2s ease 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
  .pick2-hero-stars {
    animation: none;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .service-wrap.middle .item-box.pick2-hero.bg-item-main {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .pick2-hero .service-main-wrap {
    order: 1;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 0;
  }

  .pick2-hero-media {
    order: 2;
    position: relative;
    inset: auto;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 48px;
  }

  .pick2-hero-media .pick2-hero-video {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-position: center bottom;
    transform: none;
  }
}

/* Top reward banner (GNB 위) */
:root {
  --service-banner-height: 3rem;
}

html.nd-banner-pick-reward {
  --service-banner-height: 0px;
}

html.nd-banner-pick-reward #pickRewardBanner {
  display: none;
}

.service-top-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 1200px;
  height: var(--service-banner-height);
  padding: 0 3rem;
  overflow: hidden;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--neutrals-bg-800, #1a1a1a);
}

.service-top-banner__flow {
  position: absolute;
  inset: 0;
  z-index: -1;
  animation: service-banner-flow 5s linear infinite;
  background-image: repeating-linear-gradient(
    70deg,
    rgba(0, 149, 255, 0.56) 0%,
    rgba(231, 77, 255, 0.77) 12.5%,
    rgba(255, 0, 0, 0.73) 25%,
    rgba(131, 255, 166, 0.66) 37.5%,
    rgba(0, 149, 255, 0.56) 50%
  );
  background-size: 200% 100%;
  filter: saturate(2);
  -webkit-mask-image: linear-gradient(to bottom, white, transparent),
    radial-gradient(circle at top center, white, transparent);
  mask-image: linear-gradient(to bottom, white, transparent),
    radial-gradient(circle at top center, white, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.service-top-banner__text {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.4;
  font-size: 1.1rem;
}

.service-top-banner__text em {
  font-style: normal;
  font-weight: 800;
}

.service-top-banner__close {
  position: absolute;
  top: 50%;
  right: 5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.733);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.service-top-banner__close:hover,
.service-top-banner__close:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.service-top-banner__close .material-symbols-outlined {
  font-size: 1rem;
}

.qupid-wrap .gnb {
  top: var(--service-banner-height);
}

@keyframes service-banner-flow {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}

@media screen and (max-width: 991px) {
  .service-top-banner {
    min-width: 100%;
    padding: 0 2.75rem 0 1rem;
  }

  .service-top-banner__close {
    right: 0.5rem;
  }
}

/* Bubble Section--------------------------*/
.bubble-section {
  position: relative;
  width: 100%;
}

.bubble-section-track {
  height: 300dvh;
}

.bubble-section-inner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(3rem, 20vh, 10rem);
  overflow: hidden;
  contain: layout style paint;
}

.bubble-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bubble-section-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.bubble-section-dim {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.96) 100%);
  pointer-events: none;
}

.bubble-section-intro {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 0.75rem;
  width: min(92%, 40rem);
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  pointer-events: none;
}

.bubble-section-header {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  line-height: 1.35;
}

.bubble-section-text {
  margin: 0;
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.bubble-section-bubbles {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 2.5vw, 1.5rem);
  width: min(92%, 40rem);
  padding: clamp(0.8rem, 4vw, 1.2rem);
}

.bubble-item {
  margin: 0;
  padding: clamp(0.875rem, 2.5vw, 1.375rem) clamp(1.125rem, 3.5vw, 2rem);
  background-color: #f8f8f8;
  color: #111;
  font-size: clamp(1rem, 3.2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}

.bubble-item--1 {
  border-radius: 50px 50px 50px 0;
}

.bubble-item--2 {
  border-radius: 50px 50px 0 50px;
}

.bubble-item--3 {
  border-radius: 50px 50px 50px 0;
}

/* Card Section--------------------------*/
.card-section {
  width: 100%;
  min-height: 100dvh;
  display: flex;
}

.card-section-container {
  flex: 1;
  display: flex;
  flex-flow: column;
  width: 100%;
  min-height: 100dvh;
  background-color: #f4f4f4;
  color: #111;
}

.card-section-header {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 12vw, 10em) 1.5rem clamp(2rem, 5vw, 3em);
}

.card-section-header p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.005em;
  margin: 0;
}

.card-section-header h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin: 0;
}

.card-section-content {
  flex: 1;
  display: flex;
}

.card-section-row {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  overflow: hidden;
}

.card-section .card {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: #f4f4f4;
}

.card-section .card-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.2);
  transition: filter 1.2s ease;
}

.card-section .card-image img.is-lit {
  filter: grayscale(0%) brightness(1);
}

.card-section .card-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3em);
  background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
}

.title-card {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 0.35em;
}

.title-card span {
  font-size: clamp(0.8rem, 2vw, 1.4rem);
}

.card-section .card-content .summary,
.summary-card {
  font-size: clamp(0.95rem, 1.8vw, 1.3rem);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* Reveal text section */
.reveal-text-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f4f4f4;
  color: #201d1d;
  isolation: isolate;
}

.reveal-text {
  font-size: clamp(1.5rem, 5.5vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.005em;
  width: min(90%, 28em);
  margin: 0;
  color: #201d1d;
}

.reveal-text span {
  color: #ddd;
}

.reveal-text em {
  color: #ddd;
  font-style: normal;
  font-weight: 800;
}

.pick-service-detail {
  position: relative;
  z-index: 1;
}

/* 서비스 이용방법 — play + youtube */
.pick-guide-head {
  position: relative;
  z-index: 20;
  margin-bottom: 68px;
}

.pick-guide-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pick-service-detail .service-wrap .pc-wrap .text-wrap .pick-guide-title-row .item-title {
  margin-bottom: 0;
}

.pick-guide-play {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 1;
  cursor: pointer;
}

.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play,
.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play.active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 1;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play::before,
.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play::after {
  display: none;
  content: none;
}

.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play img,
.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play img.active {
  position: static;
  display: block;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  top: auto;
  left: auto;
  opacity: 1;
  visibility: visible;
  transition: none;
}

.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play .pick-guide-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.pick-guide-play img {
  position: static;
  display: block;
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  top: auto;
  left: auto;
  opacity: 1;
  visibility: visible;
  transition: none;
}

.pick-service-detail .service-wrap .pc-wrap .pc-slider {
  padding-top: 130px;
}

.pick-service-detail .service-wrap .pc-wrap .img-wrap {
  margin-top: 0;
}

.pick-guide-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.pick-guide-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;
}

.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play .pick-guide-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;
}

.pick-guide-head:hover .pick-guide-tooltip,
.pick-guide-head.is-open .pick-guide-tooltip,
.pick-guide-play:focus-visible .pick-guide-tooltip,
.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play:hover .pick-guide-tooltip,
.pick-service-detail .service-wrap .pc-wrap button.pick-guide-play:focus-visible .pick-guide-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.pick-guide-video {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  z-index: 20;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease;
}

.pick-guide-video-inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
}

.pick-guide-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: #000;
}

.pick-guide-head:hover .pick-guide-video,
.pick-guide-head.is-open .pick-guide-video {
  max-height: 360px;
  opacity: 1;
  pointer-events: auto;
}

.pick-guide-head:hover .pick-guide-video[hidden],
.pick-guide-head.is-open .pick-guide-video[hidden] {
  display: block;
}

.pick-guide-head:hover::after,
.pick-guide-head.is-open::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: min(100%, 560px);
  height: calc(20px + 560px * 9 / 16);
}

.pick-service-detail .service-wrap .pc-wrap .text-wrap .item-list {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .pick-guide-head {
    margin-bottom: 40px;
  }

  .pick-guide-video-inner {
    max-width: 100%;
  }

  .pick-service-detail .service-wrap .pc-wrap .pc-slider {
    padding-top: 0;
  }

  .pick-service-detail .service-wrap .pc-wrap .img-wrap {
    margin-top: 0;
  }
}

/* Event section */
.event-section {
  background-color: var(--neutrals-bg-600);
  color: #fff;
  text-align: center;
}

.event-section-inner {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: min(92%, 40rem);
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 12rem) clamp(1.25rem, 4vw, 2rem);
}

.event-lead {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.event-visual {
  margin: 0;
}

.event-visual video {
  display: block;
  width: clamp(14rem, 28vw, 20rem);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.event-message {
  display: flex;
  flex-flow: column;
  align-items: center;
}

.event-message-point {
  margin: 0;
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #875fff;
}

.event-message-point b {
  display: inline-block;
  font-weight: inherit;
  background: linear-gradient(
    105deg,
    #6a3fe5 0%,
    #875fff 18%,
    #b794ff 32%,
    #ffffff 50%,
    #b794ff 68%,
    #875fff 82%,
    #6a3fe5 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: event-point-shimmer 2.8s linear infinite;
  filter: drop-shadow(0 2px 12px rgba(135, 95, 255, 0.35));
}

@keyframes event-point-shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

.event-message-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.event-message-title em {
  font-style: normal;
  color: #875fff;
}

.event-button {
  background: #875fff;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin: 2.5rem 0 0;
}

.event-button:hover {
  background: #6a3fe5;
}

.event-notice {
  display: flex;
  flex-flow: column;
  align-items: center;
  margin: clamp(0.5rem, 2vw, 1rem) 0 0;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.event-notice span {
  display: block;
}

@media screen and (max-width: 991px) {
  .bubble-section-bg-img {
    position: absolute;
    left: 50%;
    top: 0;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center center;
  }

  .card-section {
    min-height: auto;
  }

  .card-section-container {
    min-height: auto;
  }

  .card-section-content {
    display: block;
  }

  .card-section-row {
    grid-template-columns: 1fr;
  }

  .card-section .card {
    min-height: 70vh;
  }
}

@media screen and (max-width: 767px) {
  .card-section .card {
    min-height: 60vh;
  }

  .reveal-text-wrap {
    min-height: 80vh;
  }
}
