.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes hero-info-glow {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.14),
      0 0 0 rgba(244, 195, 0, 0);
  }

  50% {
    transform: scale(1.06);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.18),
      0 0 22px rgba(244, 195, 0, 0.32);
  }
}

@keyframes hero-gift-shuffle {
  0%,
  18%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  4% {
    transform: translateX(-1.5px) rotate(-10deg);
  }

  8% {
    transform: translateX(1.5px) rotate(9deg);
  }

  12% {
    transform: translateX(-1px) rotate(-5deg);
  }

  16% {
    transform: translateX(1px) rotate(4deg);
  }
}

@keyframes hero-gift-ring {
  0% {
    transform: scale(0.88);
    opacity: 0;
  }

  24% {
    opacity: 0.5;
  }

  58%,
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.hero__hover-actions {
  position: absolute;
  inset-inline: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 2.8vw, 2rem);
  pointer-events: none;
  z-index: 3;
}

.hero__hover-card {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  pointer-events: auto;
}

.hero__hover-card--left {
  left: 0;
}

.hero__hover-card--right {
  right: 0;
}

.hero__hover-trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.78rem;
  padding: 0.34rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(17, 18, 23, 0.9), rgba(22, 28, 38, 0.84)),
    rgba(17, 18, 23, 0.72);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.hero__hover-trigger:hover,
.hero__hover-trigger:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(244, 195, 0, 0.52);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.32);
  outline: none;
}

.hero__hover-trigger--info {
  padding: 0.42rem 1.42rem 0.42rem 0.46rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 0.42vw + 0.98rem, 1.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__hover-trigger--gift {
  width: 4.9rem;
  height: 4.9rem;
  padding: 0.28rem;
  border-radius: 999px;
}

.hero__hover-trigger--gift::after {
  content: "";
  position: absolute;
  inset: -0.24rem;
  border-radius: inherit;
  border: 1px solid rgba(244, 195, 0, 0.22);
  animation: hero-gift-ring 3.2s ease-out infinite;
}

.hero__hover-trigger-label {
  white-space: nowrap;
}

.hero__hover-trigger-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 58%),
    linear-gradient(140deg, rgba(244, 195, 0, 0.95), rgba(193, 18, 31, 0.88));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hero__hover-trigger-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__hover-trigger-icon--info {
  animation: hero-info-glow 4.8s ease-in-out infinite;
}

.hero__hover-trigger-icon--gift {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 52%),
    linear-gradient(150deg, rgba(244, 195, 0, 0.9), rgba(193, 18, 31, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(193, 18, 31, 0.22);
  animation: hero-gift-shuffle 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: center;
}

.hero__hover-trigger-icon--gift svg {
  width: 1.62rem;
  height: 1.62rem;
}

.hero__hover-trigger--info:hover .hero__hover-trigger-icon--info,
.hero__hover-trigger--info:focus-visible .hero__hover-trigger-icon--info {
  animation-duration: 2.8s;
}

.hero__hover-trigger--gift:hover::after,
.hero__hover-trigger--gift:focus-visible::after {
  border-color: rgba(244, 195, 0, 0.34);
  animation-duration: 1.9s;
}

.hero__hover-trigger--gift:hover .hero__hover-trigger-icon--gift,
.hero__hover-trigger--gift:focus-visible .hero__hover-trigger-icon--gift {
  animation-duration: 1.5s;
}

.hero__hover-panel {
  position: absolute;
  bottom: calc(100% + 0.82rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(160deg, rgba(22, 28, 38, 0.97), rgba(11, 15, 22, 0.95)),
    rgba(11, 15, 22, 0.94);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.32);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

.hero__hover-panel::after {
  content: "";
  position: absolute;
  bottom: -0.56rem;
  width: 1rem;
  height: 1rem;
  background: rgba(11, 15, 22, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
}

.hero__hover-card--left .hero__hover-panel {
  left: 0;
  width: min(31rem, calc(100vw - 3rem));
  padding: 1.24rem 1.28rem 1.2rem;
  border-radius: 1.1rem;
  text-align: left;
}

.hero__hover-card--left .hero__hover-panel::after {
  left: 1.5rem;
}

.hero__hover-card--right .hero__hover-panel {
  right: 0;
  width: min(20rem, calc(100vw - 3rem));
  padding: 0.62rem;
  border-radius: 1.2rem;
}

.hero__hover-card--right .hero__hover-panel::after {
  right: 1.18rem;
}

.hero__hover-panel-title {
  margin: 0 0 0.54rem;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 0.48vw + 1rem, 1.38rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__hover-panel-copy {
  margin: 0;
  font-size: clamp(0.9rem, 0.2vw + 0.86rem, 0.98rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.hero__hover-panel-copy + .hero__hover-panel-copy {
  margin-top: 0.74rem;
}

.hero__hover-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  object-fit: cover;
}

.hero__hover-card:hover .hero__hover-panel,
.hero__hover-card:focus-within .hero__hover-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .hero__hover-actions {
    inset-inline: clamp(0.9rem, 2.4vw, 1.4rem);
    bottom: clamp(0.85rem, 2vw, 1.45rem);
  }

  .hero__hover-card--left .hero__hover-panel {
    width: min(25rem, calc(100vw - 2.6rem));
  }

  .hero__hover-card--right .hero__hover-panel {
    width: min(16.5rem, calc(100vw - 2.6rem));
  }
}

@media (max-width: 900px), (max-height: 720px) {
  .hero__hover-actions {
    inset-inline: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  .hero__hover-actions {
    inset-inline: 0.85rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom));
  }

  .hero__hover-trigger--info {
    gap: 0.56rem;
    padding: 0.34rem 1rem 0.34rem 0.36rem;
    font-size: 0.94rem;
  }

  .hero__hover-trigger--gift {
    width: 3.9rem;
    height: 3.9rem;
    padding: 0.22rem;
  }

  .hero__hover-trigger-icon {
    width: 2rem;
    height: 2rem;
  }

  .hero__hover-trigger-icon svg {
    width: 1.02rem;
    height: 1.02rem;
  }

  .hero__hover-trigger-icon--gift svg {
    width: 1.24rem;
    height: 1.24rem;
  }

  .hero__hover-card--left .hero__hover-panel {
    width: min(19rem, calc(100vw - 2rem));
    padding: 0.96rem 0.98rem 0.94rem;
  }

  .hero__hover-card--right .hero__hover-panel {
    width: min(13rem, calc(100vw - 2rem));
    padding: 0.42rem;
  }

  .hero__hover-panel-title {
    font-size: 0.98rem;
  }

  .hero__hover-panel-copy {
    font-size: 0.83rem;
    line-height: 1.48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__hover-trigger-icon--info,
  .hero__hover-trigger-icon--gift,
  .hero__hover-trigger--gift::after {
    animation: none;
  }
}
