/* Keep the link's hit area still while the inner face lifts. */
.home-hero-copy .hero-naver-link {
  max-width: 100%;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
}

/* Release the entrance animation's opacity layer so the glass samples the photo. */
.motion-ready .home-hero-copy .hero-naver-link {
  animation-fill-mode: backwards;
}

.hero-naver-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid #fff;
  border-radius: inherit;
  background-color: rgb(25 32 37 / 72%);
  background-image: linear-gradient(135deg, rgb(255 255 255 / 9%), transparent 65%);
  text-shadow: 0 1px 2px rgb(0 0 0 / 32%);
  font: 600 15px/1.4 var(--font-sans);
  letter-spacing: 0;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-naver-button {
    background-color: rgb(25 32 37 / 55%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.hero-naver-mark {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: none;
  border-radius: 3px;
  border: 1px solid rgb(255 255 255 / 50%);
  font: 900 15px/1 Arial, sans-serif;
}

.hero-naver-arrow {
  padding-inline-start: 12px;
  border-inline-start: 1px solid rgb(255 255 255 / 45%);
  font: 19px/1 var(--font-sans);
}

.hero-naver-link:is(:hover, :focus-visible) .hero-naver-button {
  background-color: rgb(25 32 37 / 78%);
}

.hero-naver-link:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready:not(.motion-paused) .hero-naver-link:not(:hover):not(:focus-visible) .hero-naver-button {
    animation: booking-lift 4.2s ease-in-out 1.6s infinite;
  }

  @keyframes booking-lift {
    0%, 18%, 100% { transform: translateY(0); }
    6% { transform: translateY(-3px); }
    11% { transform: translateY(0); }
    14% { transform: translateY(-1px); }
  }
}

@media (max-width: 600px) {
  .hero-naver-button {
    min-height: 48px;
    padding: 9px 14px;
    font-size: 14px;
  }
}
