/* ==========================================================================
   HOLD-THE-HEART OPENING INTERACTION
   Bright blush, soft pulsing glow, circular progress ring
   ========================================================================== */

.hold-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 50% 40%, #ffffff 0%, #fff0f5 55%, #ffe6ee 100%);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  padding: 1.5rem;
  text-align: center;
}

.hold-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hold-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  width: 100%;
  padding: 2.8rem 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 182, 193, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(230, 80, 125, 0.15), 0 0 40px rgba(255, 182, 193, 0.25);
  position: relative;
  overflow: hidden;
}

.hold-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 220, 230, 0.4) 0%, transparent 60%);
  pointer-events: none;
  animation: gentleFloat 8s ease-in-out infinite;
}

.hold-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hold-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.hold-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 280px;
}

/* Button & Progress Ring */
.hold-btn-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
}

.hold-progress-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.hold-ring-track {
  fill: none;
  stroke: rgba(255, 182, 193, 0.35);
  stroke-width: 5;
}

.hold-ring-progress {
  fill: none;
  stroke: url(#holdGradient);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.72; /* 2 * PI * 52 */
  stroke-dashoffset: 326.72;
  transition: stroke-dashoffset 0.08s linear;
}

.hold-heart-inner {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #ffe9ef 60%, #ffd0dc 100%);
  border: 1px solid rgba(255, 182, 193, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(255, 77, 121, 0.22), inset 0 2px 6px rgba(255, 255, 255, 0.9);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
  z-index: 2;
}

.hold-heart-icon {
  font-size: 2.6rem;
  color: var(--pink-primary);
  display: inline-block;
  transition: transform 0.2s ease;
  animation: heartPulse 2.2s infinite ease-in-out;
  text-shadow: 0 4px 12px rgba(255, 77, 121, 0.4);
}

.hold-btn-wrapper:active .hold-heart-inner,
.hold-btn-wrapper.is-holding .hold-heart-inner {
  transform: scale(0.93);
  box-shadow: 0 6px 18px rgba(255, 77, 121, 0.35), inset 0 2px 10px rgba(255, 77, 121, 0.2);
}

.hold-btn-wrapper.is-holding .hold-heart-icon {
  animation: heartPulse 0.7s infinite ease-in-out;
}

.hold-instruction {
  margin-top: 2rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.hold-instruction .heart-emoji {
  animation: heartPulse 1.8s infinite;
  display: inline-block;
}

.hold-hint {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 400px) {
  .hold-card {
    padding: 2.2rem 1.2rem;
    border-radius: 22px;
  }

  .hold-title {
    font-size: 1.6rem;
  }

  .hold-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .hold-btn-wrapper {
    width: 125px;
    height: 125px;
  }

  .hold-heart-inner {
    width: 86px;
    height: 86px;
  }

  .hold-heart-icon {
    font-size: 2.2rem;
  }
}
