/* ============================================================
   THANK YOU PAGE — thankyou.css
   ============================================================ */

.thankyou-section {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--nav-h) 24px 60px;
  background: var(--bg-secondary);
  flex-direction: column;
  position: relative;
}

.ty-back {
  position: absolute;
  top: calc(var(--nav-h) + 24px);
  left: 0;
  right: 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.ty-glow { display: none; }

.ty-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 520px;
}

.ty-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.confetti-piece {
  position: absolute; top: -10px;
  width: 8px; height: 8px; border-radius: 2px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall { to { transform: translateY(110vh) rotate(540deg); opacity: 0; } }

/* Icon */
.ty-icon-wrap { position: relative; width: 100px; height: 100px; margin: 0 auto 28px; }
.ty-icon-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(99,102,241,0.2);
  animation: pulse-ring 2.5s ease-in-out infinite;
}
@keyframes pulse-ring { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.12); opacity: 0.15; } }
.ty-icon {
  width: 100%; height: 100%;
  background: #fff; border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-pink);
  box-shadow: var(--shadow);
  animation: heart-beat 1.8s ease-in-out infinite;
}
@keyframes heart-beat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.ty-title { font-size: clamp(2.8rem, 7vw, 4.5rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 14px; }
.ty-subtitle { font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.ty-desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; }

.ty-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }

.ty-social > span { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 12px; }
.ty-social-links { display: flex; gap: 10px; justify-content: center; }
.ty-social-btn {
  width: 40px; height: 40px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.ty-social-btn:hover { border-color: rgba(99,102,241,0.25); color: var(--accent); transform: translateY(-2px); }

.ty-countdown { font-size: 0.8rem; color: var(--text-muted); margin-top: 28px; }
.ty-countdown span { color: var(--accent); font-weight: 700; }
