/* ============================================
   PURVI TALENT ACQUISITION PORTAL — v2
   Theme: Soft Pink / Lavender / Rose Gold
   Style: Glassmorphism + Elegant Typography
   ============================================ */

:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --lavender-50: #f5f3ff;
  --lavender-100: #ede9fe;
  --lavender-200: #ddd6fe;
  --lavender-300: #c4b5fd;
  --lavender-400: #a78bfa;
  --rose-gold: #b76e79;
  --rose-gold-light: #d4a0a7;
  --rose-gold-glow: rgba(183, 110, 121, 0.3);
  --white: #ffffff;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --text-dark: #2d1f3d;
  --text-medium: #4a3660;
  --text-light: #7c6991;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-bg-strong: rgba(255, 255, 255, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #fce4ec 0%, #e8d5f5 30%, #f3e5f5 60%, #fce4ec 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  position: relative;
}

/* ============================================
   FLOATING HEARTS BACKGROUND
   ============================================ */

#hearts-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  font-size: 1rem;
  opacity: 0;
  animation: floatUp linear forwards;
  pointer-events: none;
  color: var(--pink-300);
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg) scale(0.5);
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% {
    opacity: 0;
    transform: translateY(-10vh) rotate(360deg) scale(1);
  }
}

/* ============================================
   MUSIC TOGGLE
   ============================================ */

#music-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

#music-toggle:hover {
  background: var(--white-40);
  transform: scale(1.1);
}

#music-toggle.playing .music-icon {
  animation: musicPulse 0.6s ease-in-out infinite alternate;
}

.music-icon {
  font-size: 1.2rem;
  color: var(--rose-gold);
}

@keyframes musicPulse {
  to { transform: scale(1.2); }
}

/* ============================================
   SLIDE NAVIGATION DOTS
   ============================================ */

#slide-nav {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white-40);
  border: 1px solid var(--white-60);
  cursor: pointer;
  transition: all 0.4s ease;
}

.nav-dot:hover {
  background: var(--pink-300);
  transform: scale(1.3);
}

.nav-dot.active {
  background: var(--rose-gold);
  width: 10px;
  height: 26px;
  border-radius: 5px;
  border-color: var(--rose-gold-light);
}

/* ============================================
   SLIDE CONTAINER
   ============================================ */

#slide-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 2.5rem 1.5rem 3rem;
  padding-right: 3rem;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  z-index: 10;
}

.slide.exit-up {
  opacity: 0;
  transform: translateY(-40px);
}

.slide-content {
  max-width: 880px;
  width: 100%;
  position: relative;
  z-index: 1;
  margin: auto 0;
}

/* ============================================
   SLIDE HEADER
   ============================================ */

.slide-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.slide-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 0.6rem;
  background: var(--white-20);
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.slide-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.slide-subhead {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ============================================
   GLASS CARD
   ============================================ */

.glass-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.32);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--pink-400) 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  letter-spacing: 0.3px;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
  background: var(--white-20);
  border: 1px solid var(--white-40);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
}

.btn-secondary:hover {
  background: var(--white-40);
  transform: translateY(-2px);
}

.slide-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

/* ============================================
   SLIDE 0: LANDING
   ============================================ */

.landing-slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white-20);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  border: 1px solid var(--white-40);
}

.badge-icon {
  color: var(--rose-gold);
  font-size: 1.1rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.2); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  56% { transform: scale(1); }
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-medium);
}

.portal-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-medium);
  font-weight: 400;
}

.portal-tagline {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 1px;
  font-style: italic;
}

.landing-letter {
  margin: 1rem 0;
}

.landing-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  min-height: 3.5rem;
}

.landing-subtext {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-medium);
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
  min-height: 3rem;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--rose-gold);
  margin-left: 2px;
  animation: blink 0.7s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ============================================
   SLIDE 1: CANDIDATE OVERVIEW
   ============================================ */

.candidate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.candidate-info {
  grid-column: 1 / -1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--white-20);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose-gold), var(--pink-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.role-tag {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--white-10);
  gap: 0.5rem;
}

.info-row:last-child { border-bottom: none; }

.info-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
  flex-shrink: 0;
}

.info-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: right;
}

.info-value.accent {
  color: var(--rose-gold);
  font-weight: 600;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pink-500);
  background: rgba(236, 72, 153, 0.12);
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
}

.experience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.experience-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-medium);
}

.exp-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--white-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--rose-gold);
  flex-shrink: 0;
}

.strengths .exp-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.weakness-card {
  grid-column: 1 / -1;
}

.weakness-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.weakness-severity {
  font-size: 0.8rem;
  color: var(--text-light);
}

.weakness-severity .accent {
  color: var(--pink-500);
  font-weight: 600;
}

.glass-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}

/* ============================================
   SLIDE 2: HR EVALUATION
   ============================================ */

.eval-container {
  display: flex;
  justify-content: center;
}

.eval-card {
  max-width: 560px;
  width: 100%;
}

.eval-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--white-20);
}

.eval-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--pink-500);
  background: rgba(236, 72, 153, 0.1);
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.eval-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.eval-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
}

.eval-ratings {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  background: var(--white-10);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.rating-row:hover { background: var(--white-20); }

.rating-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  min-width: 60px;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars span {
  font-size: 1.2rem;
  color: #fbbf24;
  opacity: 0;
  animation: starPop 0.3s ease forwards;
}

.slide.active .stars span:nth-child(1) { animation-delay: 0.3s; }
.slide.active .stars span:nth-child(2) { animation-delay: 0.5s; }
.slide.active .stars span:nth-child(3) { animation-delay: 0.7s; }
.slide.active .stars span:nth-child(4) { animation-delay: 0.9s; }
.slide.active .stars span:nth-child(5) { animation-delay: 1.1s; }

@keyframes starPop {
  0% { opacity: 0; transform: scale(0) rotate(-180deg); }
  60% { transform: scale(1.3) rotate(10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.rating-overflow {
  background: rgba(236, 72, 153, 0.08);
}

.overflow-msg {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--pink-500);
  font-weight: 600;
  font-size: 0.85rem;
}

.overflow-msg .blink {
  animation: blinkWarn 1s ease-in-out infinite;
}

@keyframes blinkWarn {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.eval-remarks {
  background: var(--white-10);
  border-radius: 12px;
  padding: 1.1rem;
  border-left: 3px solid var(--rose-gold);
}

.eval-remarks h4 {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.eval-remarks p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============================================
   SLIDE 3: INTERVIEW STATUS
   ============================================ */

.interview-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-card {
  padding: 0;
  overflow: hidden;
}

.email-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--white-10);
  border-bottom: 1px solid var(--white-20);
}

.email-dots {
  display: flex;
  gap: 5px;
}

.email-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.email-dots span:nth-child(1) { background: #ff6058; }
.email-dots span:nth-child(2) { background: #ffbd2e; }
.email-dots span:nth-child(3) { background: #28ca42; }

.email-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
}

.email-body {
  padding: 1.25rem;
}

.email-meta {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--white-10);
}

.email-meta p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.email-meta strong { color: var(--text-medium); }

.email-content { line-height: 1.7; }

.email-content p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 0.6rem;
}

.email-content em { color: var(--rose-gold); }

.status-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mini-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

.mini-value {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mini-value.accent { color: var(--rose-gold); }

.loading-bar-container { text-align: center; }

.loading-text {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 0.75rem;
  font-style: italic;
  transition: opacity 0.3s ease;
}

.loading-bar {
  height: 5px;
  background: var(--white-20);
  border-radius: 3px;
  overflow: hidden;
}

.loading-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rose-gold), var(--pink-400), var(--lavender-400));
  border-radius: 3px;
  animation: loadingAnim 3s ease-in-out infinite;
}

@keyframes loadingAnim {
  0% { width: 0%; }
  50% { width: 80%; }
  70% { width: 85%; }
  100% { width: 0%; }
}

/* ============================================
   SLIDE 4: ROUND 2 REQUEST
   ============================================ */

.round2-subtext {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.6;
}

.questions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.question-card {
  position: relative;
  transition: all 0.4s ease;
}

.question-card[data-answered="true"] {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}

.q-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white-20);
  position: absolute;
  top: 0.75rem;
  right: 1rem;
}

.q-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 500;
  line-height: 1.5;
  padding-right: 2rem;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.q-btn {
  padding: 0.6rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-medium);
  background: var(--white-20);
  border: 1px solid var(--white-40);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.q-btn:hover {
  background: var(--white-40);
  transform: translateX(4px);
}

.q-btn.selected {
  background: rgba(183, 110, 121, 0.15);
  border-color: var(--rose-gold-light);
  color: var(--rose-gold);
  font-weight: 600;
}

/* ============================================
   SLIDE 5: PERFORMANCE REVIEW FORM
   ============================================ */

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 580px;
  margin: 0 auto;
}

.slider-card {
  padding: 1.25rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.slider-label {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.slider-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose-gold);
  background: rgba(183, 110, 121, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}

.fancy-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--white-20);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.fancy-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-gold), var(--pink-400));
  border: 3px solid var(--white);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fancy-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.fancy-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-gold), var(--pink-400));
  border: 3px solid var(--white);
  cursor: pointer;
}

.slider-range {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: var(--text-light);
}

.rating-select-card { text-align: center; }

.rating-options {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.rating-btn {
  padding: 0.6rem 1.1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-medium);
  background: var(--white-20);
  border: 1.5px solid var(--white-40);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.rating-btn:hover {
  background: var(--white-40);
  transform: translateY(-2px);
}

.rating-btn.selected {
  background: linear-gradient(135deg, var(--rose-gold), var(--pink-400));
  color: var(--white);
  border-color: transparent;
  font-weight: 600;
}

.submit-btn {
  align-self: center;
  margin-top: 0.25rem;
}

/* ============================================
   SLIDE 6: FINAL OFFER + LOVE NOTE
   ============================================ */

.offer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.offer-card {
  max-width: 580px;
  width: 100%;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.offer-seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-gold), var(--pink-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin: 0 auto 1.25rem;
  animation: sealPulse 2s ease-in-out infinite;
}

@keyframes sealPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.offer-body p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.offer-salutation {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem !important;
  font-weight: 600;
  color: var(--text-dark) !important;
  margin-bottom: 1.25rem !important;
}

.offer-quote {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--rose-gold);
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--white-10);
  border-radius: 12px;
  border-left: 3px solid var(--rose-gold);
}

.offer-gif {
  margin: 1.25rem auto;
  max-width: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--white-40);
}

.offer-gif img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.offer-signature {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--white-20);
}

.offer-signature p {
  margin-bottom: 0.2rem !important;
  font-size: 0.85rem !important;
}

.signature-name {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem !important;
  color: var(--text-dark) !important;
  font-weight: 700;
}

.signature-role {
  color: var(--text-light) !important;
  font-size: 0.8rem !important;
  font-style: italic;
}

.love-note-card {
  max-width: 580px;
  width: 100%;
  text-align: center;
}

.love-note-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.5;
}

.love-note-textarea {
  width: 100%;
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white-20);
  border: 1px solid var(--white-40);
  border-radius: 14px;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  min-height: 100px;
}

.love-note-textarea:focus {
  border-color: var(--rose-gold-light);
  background: var(--white-40);
}

.love-note-textarea::placeholder {
  color: var(--text-light);
  font-style: italic;
  opacity: 0.7;
}

.love-note-btn {
  margin-top: 0.75rem;
}

.final-btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* ============================================
   POPUP
   ============================================ */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 31, 61, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1rem;
}

.popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.popup-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 2.25rem 2rem;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(255, 255, 255, 0.35) !important;
  position: relative;
}

.popup-overlay.visible .popup-card {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white-20);
  border: none;
  color: var(--text-medium);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.popup-close:hover { background: var(--white-40); }

.popup-hearts {
  font-size: 1.5rem;
  color: var(--rose-gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.popup-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.popup-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.popup-sign {
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  color: var(--rose-gold);
  margin-top: 0.75rem !important;
}

/* ============================================
   NOTIFICATION TOAST
   ============================================ */

.notification {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1500;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: calc(100vw - 2rem);
}

.notification.visible {
  transform: translateX(-50%) translateY(0);
}

.notif-icon {
  color: var(--rose-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.notif-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ============================================
   CONFETTI CANVAS
   ============================================ */

#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3000;
}

/* ============================================
   STAGGER ANIMATIONS
   ============================================ */

.slide.active .glass-card {
  opacity: 0;
  animation: fadeSlideUp 0.6s ease forwards;
}

.slide.active .glass-card:nth-child(1) { animation-delay: 0.1s; }
.slide.active .glass-card:nth-child(2) { animation-delay: 0.2s; }
.slide.active .glass-card:nth-child(3) { animation-delay: 0.3s; }
.slide.active .glass-card:nth-child(4) { animation-delay: 0.4s; }
.slide.active .glass-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE — TABLET (768px)
   ============================================ */

@media (max-width: 768px) {
  .slide {
    padding: 1.75rem 1rem 2.5rem;
    padding-right: 2.5rem;
  }

  .landing-heading {
    font-size: 2rem;
  }

  .landing-subtext {
    font-size: 0.95rem;
  }

  .slide-header h2 {
    font-size: 1.7rem;
  }

  .candidate-grid {
    grid-template-columns: 1fr;
  }

  .questions-grid {
    grid-template-columns: 1fr;
  }

  .status-cards {
    grid-template-columns: 1fr;
  }

  .rating-options {
    gap: 0.5rem;
  }

  #slide-nav {
    right: 0.4rem;
    gap: 6px;
  }

  .nav-dot {
    width: 7px;
    height: 7px;
  }

  .nav-dot.active {
    width: 7px;
    height: 18px;
  }

  .glass-card {
    padding: 1.15rem;
    border-radius: 16px;
  }

  .offer-quote {
    font-size: 1.3rem;
  }

  .eval-card {
    max-width: 100%;
  }

  .offer-card {
    padding: 1.5rem;
  }

  #music-toggle {
    top: 0.6rem;
    right: 0.6rem;
    width: 38px;
    height: 38px;
  }

  .music-icon {
    font-size: 1rem;
  }

  .slide-nav-buttons {
    margin-top: 1.5rem;
    position: sticky;
    bottom: 0;
    padding: 0.75rem 0;
    z-index: 5;
  }

  .email-body {
    padding: 1rem;
  }

  .review-form {
    max-width: 100%;
  }

  .popup-card {
    padding: 1.75rem 1.5rem;
  }

  .landing-slide {
    gap: 0.75rem;
  }

  .landing-letter {
    margin: 0.5rem 0;
  }
}

/* ============================================
   RESPONSIVE — PHONE (480px)
   ============================================ */

@media (max-width: 480px) {
  .slide {
    padding: 1.25rem 0.75rem 2rem;
    padding-right: 2rem;
  }

  .slide-content {
    margin: 0;
  }

  .landing-heading {
    font-size: 1.5rem;
    min-height: 2rem;
  }

  .landing-subtext {
    font-size: 0.82rem;
    min-height: auto;
    max-width: 100%;
  }

  .landing-slide {
    gap: 0.6rem;
  }

  .landing-letter {
    margin: 0.4rem 0;
  }

  .slide-header h2 {
    font-size: 1.3rem;
  }

  .slide-header {
    margin-bottom: 1rem;
  }

  .slide-subhead {
    font-size: 0.78rem;
  }

  .btn-primary {
    padding: 0.75rem 1.4rem;
    font-size: 0.82rem;
  }

  .btn-secondary {
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
  }

  .glass-card {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .glass-card:hover {
    transform: none;
  }

  .card-header {
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .card-header h3 {
    font-size: 1rem;
  }

  .role-tag {
    font-size: 0.68rem;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.5rem 0;
  }

  .info-label {
    font-size: 0.72rem;
  }

  .info-value {
    text-align: left;
    font-size: 0.8rem;
  }

  .glass-card h4 {
    font-size: 0.88rem;
    margin-bottom: 0.65rem;
  }

  .experience-list {
    gap: 0.5rem;
  }

  .experience-list li {
    font-size: 0.78rem;
    gap: 0.5rem;
  }

  .exp-icon {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
    border-radius: 6px;
  }

  .weakness-text {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .weakness-severity {
    font-size: 0.72rem;
  }

  .candidate-grid {
    gap: 0.75rem;
  }

  .eval-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .eval-badge {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .eval-header h3 {
    font-size: 1rem;
  }

  .eval-subtitle {
    font-size: 0.72rem;
  }

  .eval-ratings {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .rating-row {
    padding: 0.55rem 0.65rem;
  }

  .rating-label {
    font-size: 0.8rem;
    min-width: 50px;
  }

  .stars span {
    font-size: 1rem;
  }

  .overflow-msg {
    font-size: 0.72rem;
  }

  .eval-remarks {
    padding: 0.85rem;
  }

  .eval-remarks h4 {
    font-size: 0.68rem;
  }

  .eval-remarks p {
    font-size: 0.8rem;
  }

  .email-header {
    padding: 0.6rem 0.9rem;
  }

  .email-dots span {
    width: 8px;
    height: 8px;
  }

  .email-title {
    font-size: 0.68rem;
  }

  .email-body {
    padding: 0.85rem;
  }

  .email-meta p {
    font-size: 0.72rem;
  }

  .email-content p {
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
  }

  .mini-label {
    font-size: 0.62rem;
  }

  .mini-value {
    font-size: 0.88rem;
  }

  .loading-text {
    font-size: 0.78rem;
  }

  .round2-subtext {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .questions-grid {
    gap: 0.75rem;
  }

  .q-number {
    font-size: 1.4rem;
    top: 0.5rem;
    right: 0.7rem;
  }

  .q-text {
    font-size: 0.82rem;
    padding-right: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .q-options {
    gap: 0.4rem;
  }

  .q-btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 8px;
  }

  .review-form {
    gap: 0.75rem;
  }

  .slider-card {
    padding: 1rem;
  }

  .slider-header {
    margin-bottom: 0.5rem;
  }

  .slider-label {
    font-size: 0.88rem;
  }

  .slider-value {
    font-size: 0.68rem;
    padding: 0.15rem 0.5rem;
  }

  .slider-range {
    font-size: 0.62rem;
  }

  .rating-options {
    gap: 0.4rem;
  }

  .rating-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.72rem;
    border-radius: 10px;
  }

  .offer-container {
    gap: 1rem;
  }

  .offer-card {
    padding: 1.15rem;
  }

  .offer-seal {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .offer-body p {
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }

  .offer-salutation {
    font-size: 1.05rem !important;
    margin-bottom: 0.85rem !important;
  }

  .offer-quote {
    font-size: 1.05rem;
    padding: 0.7rem;
    margin: 0.85rem 0;
  }

  .offer-signature {
    margin-top: 1rem;
    padding-top: 0.85rem;
  }

  .signature-name {
    font-size: 1.3rem !important;
  }

  .signature-role {
    font-size: 0.72rem !important;
  }

  .love-note-card {
    padding: 0.9rem;
  }

  .love-note-hint {
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
  }

  .love-note-textarea {
    font-size: 0.82rem;
    padding: 0.75rem;
    min-height: 70px;
    border-radius: 12px;
  }

  .love-note-btn {
    margin-top: 0.5rem;
  }

  .final-btn {
    font-size: 0.88rem;
    padding: 0.8rem 1.75rem;
  }

  .popup-card {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  .popup-hearts {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .popup-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .popup-card p {
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
  }

  .popup-sign {
    font-size: 1.05rem;
  }

  .notification {
    bottom: 0.75rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    gap: 0.4rem;
  }

  .notif-icon {
    font-size: 0.85rem;
  }

  .notif-text {
    font-size: 0.72rem;
  }

  .portal-subtitle {
    font-size: 0.85rem;
  }

  .portal-tagline {
    font-size: 0.68rem;
  }

  .logo-badge {
    padding: 0.35rem 0.85rem;
  }

  .badge-icon {
    font-size: 0.9rem;
  }

  .badge-text {
    font-size: 0.6rem;
  }

  .slide-nav-buttons {
    margin-top: 1.25rem;
    gap: 0.5rem;
  }

  #slide-nav {
    right: 0.25rem;
    gap: 5px;
  }

  .nav-dot {
    width: 6px;
    height: 6px;
  }

  .nav-dot.active {
    width: 6px;
    height: 16px;
    border-radius: 3px;
  }

  #music-toggle {
    top: 0.5rem;
    right: 0.5rem;
    width: 34px;
    height: 34px;
  }

  .music-icon {
    font-size: 0.9rem;
  }
}

/* ============================================
   RESPONSIVE — VERY SMALL (375px, iPhone SE)
   ============================================ */

@media (max-width: 375px) {
  .slide {
    padding: 1rem 0.6rem 1.75rem;
    padding-right: 1.5rem;
  }

  .landing-heading {
    font-size: 1.3rem;
    min-height: auto;
  }

  .landing-subtext {
    font-size: 0.75rem;
  }

  .slide-header h2 {
    font-size: 1.15rem;
  }

  .slide-label {
    font-size: 0.55rem;
    padding: 0.2rem 0.6rem;
    letter-spacing: 2px;
  }

  .btn-primary {
    padding: 0.7rem 1.2rem;
    font-size: 0.78rem;
  }

  .btn-secondary {
    padding: 0.55rem 0.85rem;
    font-size: 0.72rem;
  }

  .glass-card {
    padding: 0.75rem;
    border-radius: 12px;
  }

  .avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .card-header h3 {
    font-size: 0.92rem;
  }

  .experience-list li {
    font-size: 0.72rem;
  }

  .exp-icon {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  .weakness-text {
    font-size: 0.78rem;
  }

  .q-text {
    font-size: 0.78rem;
  }

  .q-btn {
    font-size: 0.7rem;
    padding: 0.5rem 0.7rem;
  }

  .rating-btn {
    font-size: 0.68rem;
    padding: 0.45rem 0.75rem;
  }

  .offer-quote {
    font-size: 0.95rem;
  }

  .final-btn {
    font-size: 0.82rem;
    padding: 0.7rem 1.5rem;
  }
}

/* ============================================
   LANDSCAPE PHONE
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
  .slide {
    padding: 0.75rem 2rem 1.5rem;
    padding-right: 3rem;
    align-items: flex-start;
  }

  .slide-content {
    margin: 0;
  }

  .landing-heading {
    font-size: 1.4rem;
    min-height: auto;
  }

  .landing-subtext {
    font-size: 0.8rem;
    min-height: auto;
  }

  .landing-slide {
    gap: 0.4rem;
  }

  .landing-letter {
    margin: 0.25rem 0;
  }

  .slide-header {
    margin-bottom: 0.5rem;
  }

  .slide-header h2 {
    font-size: 1.2rem;
  }

  .glass-card {
    padding: 0.85rem;
  }

  .candidate-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */

.slide::-webkit-scrollbar {
  width: 3px;
}

.slide::-webkit-scrollbar-track {
  background: transparent;
}

.slide::-webkit-scrollbar-thumb {
  background: var(--white-40);
  border-radius: 2px;
}

/* Firefox */
.slide {
  scrollbar-width: thin;
  scrollbar-color: var(--white-40) transparent;
}
