/* ===== Lulu's Birthday — Slideshow ===== */

:root {
  --pink-lightest: #fff0f5;
  --pink-light: #ffd6e7;
  --pink-soft: #ffb6d3;
  --pink-medium: #ff8fb8;
  --pink-deep: #e8609a;
  --pink-dark: #c44882;
  --white: #ffffff;
  --text-dark: #5a2d45;
  --text-light: #8b5c7a;
  --shadow-pink: rgba(232, 96, 154, 0.2);
}

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

html, body {
  height: 100%;
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  font-size: 24px;
  background: linear-gradient(135deg, var(--pink-lightest) 0%, var(--pink-light) 50%, var(--pink-lightest) 100%);
  color: var(--text-dark);
  overflow: hidden;
}

h1, h2, h3, .title, .intro-title, .intro-name, .month-title, .countdown-note {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===== Floating Hearts ===== */
.hearts-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* ===== Gift Boxes Backdrop ===== */
.gifts-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.gift-icon {
  position: absolute;
  opacity: 0.15;
  animation: giftBob 5s ease-in-out infinite;
}
.gift-icon:nth-child(2) { animation-delay: 0.5s; }
.gift-icon:nth-child(3) { animation-delay: 1.1s; }
.gift-icon:nth-child(4) { animation-delay: 1.6s; }
.gift-icon:nth-child(5) { animation-delay: 2.1s; }
.gift-icon:nth-child(6) { animation-delay: 2.7s; }
.gift-icon:nth-child(7) { animation-delay: 0.3s; }
.gift-icon:nth-child(8) { animation-delay: 1.4s; }
.gift-icon:nth-child(9) { animation-delay: 3.0s; }
.gift-icon:nth-child(10) { animation-delay: 0.8s; }
.gift-icon:nth-child(11) { animation-delay: 2.3s; }
.gift-icon:nth-child(12) { animation-delay: 1.8s; }
.gift-icon:nth-child(13) { animation-delay: 0.6s; }
.gift-icon:nth-child(14) { animation-delay: 2.0s; }
.gift-icon:nth-child(15) { animation-delay: 1.2s; }
.gift-icon:nth-child(16) { animation-delay: 3.3s; }
.gift-icon:nth-child(even) {
  animation-direction: alternate-reverse;
}

@keyframes giftBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.heart {
  position: absolute;
  bottom: -40px;
  color: var(--pink-soft);
  opacity: 0.25;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.25; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* ===== Password Gate ===== */
.password-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--pink-lightest), var(--pink-light), var(--pink-soft));
}
.password-inner {
  text-align: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 3rem 4rem;
  box-shadow: 0 8px 40px var(--shadow-pink);
  max-width: 420px;
  width: 90%;
}
.password-lock-icon {
  font-size: 3rem;
  color: var(--pink-deep);
  margin-bottom: 1rem;
  display: block;
}
.password-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--pink-dark);
  margin-bottom: 0.5rem;
}
.password-subtitle {
  font-size: 1rem;
  color: var(--pink-deep);
  margin-bottom: 2rem;
}
.password-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.password-input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--pink-soft);
  border-radius: 12px;
  font-size: 1rem;
  text-align: center;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}
.password-input:focus {
  border-color: var(--pink-deep);
}
.password-btn {
  background: linear-gradient(135deg, var(--pink-medium), var(--pink-deep));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Playfair Display', serif;
}
.password-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px var(--shadow-pink);
}
.password-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ===== Countdown ===== */
.countdown-container {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
  height: 100vh; padding: 2rem;
}
.countdown-inner {
  text-align: center;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 3rem 4rem;
  box-shadow: 0 8px 40px var(--shadow-pink);
  max-width: 1024px; width: 100%;
}
.title {
  font-size: 2.2rem; color: var(--pink-deep);
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: pulse 2s ease-in-out infinite;
}
.title-icon {
  font-size: 1.4rem;
  vertical-align: middle;
  color: var(--pink-medium);
  margin: 0 0.2rem;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.03)} }
.subtitle {
  font-size: 1.1rem; color: var(--text-light);
  margin-bottom: 2.5rem; font-style: italic;
}
.timer { display:flex; justify-content:center; gap:1.2rem; margin-bottom:2rem; flex-wrap:wrap; }
.time-block {
  background: linear-gradient(145deg, var(--pink-medium), var(--pink-deep));
  border-radius: 16px; padding: 1.2rem 1.5rem; min-width: 90px;
  box-shadow: 0 4px 20px var(--shadow-pink);
}
.time-number { font-size:2.8rem; font-weight:bold; color:var(--white); line-height:1; }
.time-label { font-family:'Lato',sans-serif; font-size:0.75rem; color:var(--pink-lightest); text-transform:uppercase; margin-top:0.3rem; letter-spacing:1.5px; font-weight:300; }
.countdown-note { font-size:1.3rem; color:var(--pink-deep); margin-bottom:1.5rem; }
.sparkle-row { display:flex; justify-content:center; gap:1rem; }
.sparkle { font-size:1rem; color:var(--pink-medium); animation: twinkle 1.5s ease-in-out infinite; }
@keyframes twinkle { 0%,100%{opacity:0.3;transform:scale(0.8)} 50%{opacity:1;transform:scale(1.2)} }

/* ===== Slideshow Layout ===== */
.slideshow-wrap {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-viewport {
  width: 100%;
  max-width: 720px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1rem;
}

/* ===== Nav Arrows ===== */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 2px solid var(--pink-soft);
  color: var(--pink-deep);
  font-size: 2.4rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px var(--shadow-pink);
  line-height: 1;
  padding-bottom: 3px;
}
.nav-arrow:hover {
  background: var(--pink-medium);
  color: var(--white);
  border-color: var(--pink-medium);
  transform: translateY(-50%) scale(1.1);
}
.nav-left { left: 1.5rem; }
.nav-right { right: 1.5rem; }

/* ===== Progress Dots ===== */
.progress-dots {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink-soft);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
}
.dot.active {
  background: var(--pink-deep);
  opacity: 1;
  transform: scale(1.3);
}
.dot:hover { opacity: 0.8; transform: scale(1.2); }

.slide-counter {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  font-size: 0.85rem;
  color: var(--text-light);
  z-index: 10;
}

/* ===== Birthday Intro Slide ===== */
.birthday-intro {
  text-align: center;
  position: relative;
  width: 100%;
}
.intro-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.sparkle-star {
  position: absolute;
  color: var(--pink-medium);
  opacity: 0.4;
  animation: twinkle 2s ease-in-out infinite;
}
.intro-content {
  position: relative;
  z-index: 1;
}
.intro-icon {
  margin-bottom: 0.5rem;
  animation: float 3s ease-in-out infinite;
}
.decorative-flourish {
  font-size: 3rem;
  color: var(--pink-deep);
  line-height: 1;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.intro-title {
  font-size: 3.2rem;
  color: var(--pink-deep);
  margin-bottom: 0.2rem;
  letter-spacing: 2px;
  animation: pulse 2s ease-in-out infinite;
}
.intro-name {
  font-size: 4.5rem;
  color: var(--pink-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro-divider {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pink-medium), transparent);
  margin: 0 auto 1.5rem;
}
.intro-message {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.intro-sub {
  font-size: 0.95rem;
  color: var(--pink-medium);
  font-style: italic;
  margin-bottom: 2.5rem;
}
.intro-start {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--pink-medium), var(--pink-deep));
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
  font-family: inherit;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--shadow-pink);
  transition: all 0.3s ease;
}
.intro-start:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(232, 96, 154, 0.4);
}
.start-arrow {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}
.intro-start:hover .start-arrow {
  transform: translateX(5px);
}

/* ===== Month Slide ===== */
.month-slide {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-soft) transparent;
}
.month-header {
  text-align: center;
  margin-bottom: 1.2rem;
}
.month-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-medium), var(--pink-deep));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}
.month-title {
  font-size: 1.8rem;
  color: var(--pink-deep);
  margin-top: 0.4rem;
}

/* Media grid */
.month-media {
  display: grid;
  gap: 10px;
  margin-bottom: 1.2rem;
}
.month-media.media-count-1 {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.month-media.media-count-2 {
  grid-template-columns: 1fr 1fr;
}
.month-media.media-count-3 {
  grid-template-columns: 1fr 1fr;
}
.month-media.media-count-3 .media-item:first-child {
  grid-column: 1 / -1;
}
.media-item {
  min-width: 0;
}
.media-caption {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.4rem;
  font-style: italic;
}

.month-photo-frame {
  background: var(--white);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 30px var(--shadow-pink);
  overflow: hidden;
}
.month-photo {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.5s ease;
}
video.month-photo {
  background: #000;
}
.month-photo-frame:hover .month-photo {
  transform: scale(1.02);
}

.month-body {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px var(--shadow-pink);
}
.month-caption {
  font-size: 1.35rem;
  color: var(--pink-deep);
  margin-bottom: 0.6rem;
}
.month-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Slide Transitions ===== */
.slide-right-enter-active,
.slide-right-leave-active,
.slide-left-enter-active,
.slide-left-leave-active {
  transition: all 0.4s ease;
}
.slide-right-enter-from { opacity: 0; transform: translateX(60px); }
.slide-right-leave-to   { opacity: 0; transform: translateX(-60px); }
.slide-left-enter-from  { opacity: 0; transform: translateX(-60px); }
.slide-left-leave-to    { opacity: 0; transform: translateX(60px); }

/* Countdown transitions */
.fade-enter-active, .fade-leave-active { transition: opacity 0.6s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }
.reveal-enter-active { animation: grandReveal 1.2s ease-out; }
@keyframes grandReveal {
  0%   { opacity:0; transform:scale(0.8); filter:blur(10px); }
  50%  { opacity:0.8; filter:blur(2px); }
  100% { opacity:1; transform:scale(1); filter:blur(0); }
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .nav-arrow { width: 44px; height: 44px; font-size: 1.8rem; }
  .nav-left { left: 0.8rem; }
  .nav-right { right: 0.8rem; }
  .intro-title { font-size: 2.2rem; }
  .intro-name { font-size: 3rem; }
  .month-media.media-count-2,
  .month-media.media-count-3 { grid-template-columns: 1fr; }
  .month-media.media-count-3 .media-item:first-child { grid-column: 1; }
  .slide-viewport { padding: 1.5rem 0.5rem; }
}

/* ===== Let's Play Interstitial ===== */
.lets-play-slide {
  text-align: center;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.lets-play-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.lp-sparkle {
  position: absolute;
  opacity: 0.3;
  animation: lpTwinkle 2.5s ease-in-out infinite;
}
@keyframes lpTwinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 0.6; transform: scale(1.3) rotate(180deg); }
}
.lets-play-content {
  position: relative;
  z-index: 1;
}
.lp-icons {
  margin-bottom: 1rem;
}
.lp-icon-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.lp-icon {
  font-size: 2.8rem;
  display: inline-block;
  opacity: 0;
  transform: scale(0) rotate(-20deg);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lp-icon.lp-icon-pop {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.lp-title {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.lp-title-word {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--pink-deep), #c44dff, var(--pink-medium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  opacity: 0;
  animation: lpWordDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes lpWordDrop {
  0% { opacity: 0; transform: translateY(-40px) scale(0.5) rotate(-5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
.lp-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--pink-medium), #c44dff, var(--pink-medium));
  margin: 0 auto 1.2rem;
  border-radius: 2px;
  animation: lpDividerGrow 0.8s ease-out 0.5s both;
}
@keyframes lpDividerGrow {
  0% { width: 0; opacity: 0; }
  100% { width: 80px; opacity: 1; }
}
.lp-message {
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 0.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.lp-message strong {
  color: var(--pink-deep);
  font-size: 1.3rem;
}
.lp-sub {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.8rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.lp-game-previews {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.lp-preview {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  width: 150px;
  box-shadow: 0 4px 20px var(--shadow-pink);
  border: 2px solid var(--pink-light);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lp-preview.lp-preview-in {
  opacity: 1;
  transform: translateY(0);
}
.lp-preview:hover {
  transform: translateY(-5px);
  border-color: var(--pink-medium);
  box-shadow: 0 8px 30px rgba(232, 96, 154, 0.3);
}
.lp-preview-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.lp-preview-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-deep);
  margin-bottom: 0.3rem;
}
.lp-preview-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.4;
}
.lp-ready {
  font-size: 1.15rem;
  color: var(--pink-deep);
  font-weight: 600;
  margin-bottom: 1.2rem;
  animation: lpPulse 2s ease-in-out infinite;
}
@keyframes lpPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.lp-go {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #c44dff, var(--pink-deep));
  color: var(--white);
  border: none;
  padding: 1rem 3rem;
  font-size: 1.3rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  letter-spacing: 3px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(196, 77, 255, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.lp-go::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  animation: lpShine 3s ease-in-out infinite;
}
@keyframes lpShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}
.lp-go:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 40px rgba(196, 77, 255, 0.5);
}
.lp-go-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.lp-go:hover .lp-go-arrow {
  transform: translateX(4px);
}

@media (max-width: 700px) {
  .lp-title-word { font-size: 2.8rem; }
  .lp-preview { width: 130px; padding: 1rem 0.8rem; }
  .lp-icon { font-size: 2.2rem; }
}
@media (max-width: 500px) {
  .lp-title-word { font-size: 2.2rem; }
  .lp-game-previews { gap: 0.6rem; }
  .lp-preview { width: 110px; padding: 0.8rem 0.6rem; }
  .lp-preview-icon { font-size: 1.8rem; }
  .lp-go { padding: 0.8rem 2rem; font-size: 1.1rem; }
}

/* ===== Outro / See You Next Year ===== */
.outro-slide {
  text-align: center;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.outro-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.outro-star {
  position: absolute;
  opacity: 0.25;
  animation: outroTwinkle 3s ease-in-out infinite;
}
@keyframes outroTwinkle {
  0%, 100% { opacity: 0.1; transform: scale(0.6); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.outro-content {
  position: relative;
  z-index: 1;
}
.outro-heart-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.outro-heart {
  font-size: 1.8rem;
  display: inline-block;
  animation: outroHeartFloat 2s ease-in-out infinite;
}
@keyframes outroHeartFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.15); }
}
.outro-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--pink-deep);
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
  animation: outroFadeIn 1s ease-out both;
}
@keyframes outroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.outro-divider {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pink-medium), var(--pink-deep), var(--pink-medium), transparent);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}
.outro-message {
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.8;
  max-width: 460px;
  margin: 0 auto 0.8rem;
  animation: outroFadeIn 1s ease-out 0.3s both;
}
.outro-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
  animation: outroFadeIn 1s ease-out 0.5s both;
}
.outro-promise {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 20px var(--shadow-pink);
  border: 2px solid var(--pink-light);
  margin-bottom: 1.8rem;
  animation: outroFadeIn 1s ease-out 0.7s both;
}
.outro-promise-icon {
  font-size: 1.4rem;
}
.outro-promise-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pink-deep);
  font-style: italic;
}
.outro-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink-medium), #c44dff, var(--pink-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 6px;
  animation: outroFadeIn 1.2s ease-out 0.9s both;
}
.outro-footer {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
  animation: outroFadeIn 1s ease-out 1.1s both;
}

@media (max-width: 700px) {
  .outro-title { font-size: 2.2rem; }
  .outro-year { font-size: 3.5rem; }
}
@media (max-width: 500px) {
  .outro-title { font-size: 1.8rem; }
  .outro-year { font-size: 2.8rem; }
  .outro-promise { padding: 0.6rem 1.5rem; }
}

/* ===== Whack-a-Mole Game ===== */
.game-slide {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.game-header {
  margin-bottom: 1rem;
}
.game-title {
  font-size: 2rem;
  color: var(--pink-deep);
  margin-bottom: 0.3rem;
}
.game-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
}

/* Start screen */
.game-start {
  padding: 2rem;
}
.game-preview {
  margin-bottom: 1.5rem;
}
.preview-face {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--pink-medium);
  box-shadow: 0 6px 24px var(--shadow-pink);
  image-rendering: pixelated;
  animation: peekBounce 1.5s ease-in-out infinite;
}
@keyframes peekBounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}
.game-instructions {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.game-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--pink-medium), var(--pink-deep));
  color: var(--white);
  border: none;
  padding: 0.9rem 2.2rem;
  font-size: 1.15rem;
  font-family: inherit;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--shadow-pink);
  transition: all 0.3s ease;
}
.game-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(232, 96, 154, 0.45);
}
.game-btn:active {
  transform: translateY(0);
}
.game-btn-next {
  background: linear-gradient(135deg, #f8a4c8, #e8457a);
  margin-left: 0.75rem;
}

/* HUD */
.game-hud {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--shadow-pink);
}
.hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hud-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}
.hud-value {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--pink-deep);
  font-family: 'Playfair Display', serif;
}
.hud-warning {
  color: #e53e3e;
  animation: hudPulse 0.5s ease-in-out infinite;
}
@keyframes hudPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* 3D Mole Board */
.mole-board {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 1.5rem 1rem 2rem;
  background: linear-gradient(180deg, #c8e6c9 0%, #a5d6a7 40%, #81c784 100%);
  border-radius: 20px;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.1), 0 8px 30px var(--shadow-pink);
  overflow: visible;
  cursor: none;
}
.mole-row {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.mole-hole {
  position: relative;
  width: 110px;
  height: 110px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: none;
}

/* The hole ellipse */
.hole-front {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 30px;
  background: radial-gradient(ellipse at center, #5d4037 40%, #3e2723 100%);
  border-radius: 50%;
  z-index: 3;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,0.4);
  pointer-events: none;
}

/* Mole wrapper — pops up from behind the hole */
.mole-wrapper {
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 72px;
  height: 72px;
  z-index: 2;
  transform: translateX(-50%) translateY(60px);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.mole-wrapper.mole-up {
  transform: translateX(-50%) translateY(-10px);
}
.mole-wrapper.mole-whacked {
  transform: translateX(-50%) translateY(-10px) rotate(20deg) scale(0.8);
  transition: transform 0.15s ease-out;
}
.mole-wrapper.mole-down {
  transform: translateX(-50%) translateY(60px);
}

/* Clip the bottom of the mole behind the hole using the hole container */
.mole-hole {
  overflow: hidden;
  padding-top: 30px; /* extra space above for the face to pop into */
}

.mole-face {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  border-radius: 50%;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
  pointer-events: none;
}
.mole-wrapper.mole-whacked .mole-face {
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25)) brightness(1.5);
}

/* Whack hit effect — floating layer above board */
.whack-effects-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  overflow: visible;
}
.whack-effect {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.whack-star {
  position: absolute;
  font-size: 1.6rem;
  color: #ffd700;
  animation: whackBurst 0.4s ease-out forwards;
}
.whack-star.star-2 {
  animation-delay: 0.05s;
  left: -20px;
  color: var(--pink-medium);
}
.whack-star.star-3 {
  animation-delay: 0.1s;
  left: 20px;
  color: #ff6b6b;
}
@keyframes whackBurst {
  0% { opacity: 1; transform: translateY(0) scale(0.5); }
  100% { opacity: 0; transform: translateY(-40px) scale(1.5); }
}

/* Game over overlay */
.game-over-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 240, 245, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  z-index: 20;
}
.game-over-card {
  text-align: center;
  padding: 2rem;
}
.over-title {
  font-size: 2rem;
  color: var(--pink-deep);
  margin-bottom: 1rem;
}
.over-score-wrap {
  margin-bottom: 0.8rem;
}
.over-score-number {
  font-size: 4rem;
  font-weight: bold;
  color: var(--pink-dark);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.over-score-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.over-message {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}
.over-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.stat {
  text-align: center;
}
.stat-val {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--pink-deep);
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

/* Game area wrapper for overlay positioning */
.game-area {
  position: relative;
}

/* Animated hammer cursor */
.hammer-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 60px;
  height: 60px;
  transform: translate(-15px, -10px);
  transition: none;
}
.hammer-cursor .hammer-inner {
  width: 100%;
  height: 100%;
  transform-origin: 75% 85%;
  transform: rotate(0deg);
  transition: transform 0.08s ease-out;
}
.hammer-cursor.is-swinging .hammer-inner {
  transform: rotate(-90deg);
  transition: transform 0.08s ease-in;
}
.hammer-cursor.is-returning .hammer-inner {
  transform: rotate(0deg);
  transition: transform 0.15s ease-out;
}
.hammer-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(2px 3px 3px rgba(0,0,0,0.3));
}

/* Responsive game */
@media (max-width: 500px) {
  .mole-hole {
    width: 85px;
    height: 90px;
  }
  .mole-wrapper {
    width: 56px;
    height: 56px;
  }
  .hole-front {
    width: 76px;
    height: 24px;
  }
  .mole-row { gap: 8px; }
  .mole-board { gap: 8px; padding: 0.8rem 0.6rem 1.2rem; }
  .game-title { font-size: 1.5rem; }
}
@media (max-width: 380px) {
  .mole-hole {
    width: 70px;
    height: 78px;
  }
  .mole-wrapper {
    width: 48px;
    height: 48px;
  }
  .hole-front {
    width: 58px;
    height: 22px;
  }
}

/* ===== Catch the Kiss Game ===== */
.catch-kiss-slide {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  user-select: none;
}

.catch-kiss-slide .game-header {
  margin-bottom: 1rem;
}
.catch-kiss-slide .game-title {
  font-size: 2rem;
  font-weight: 800;
  color: #e8457a;
  text-shadow: 0 2px 8px rgba(232, 69, 122, 0.3);
}
.catch-kiss-slide .game-subtitle {
  color: #c06;
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* Start screen */
.catch-kiss-slide .game-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.catch-kiss-slide .preview-char {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.catch-kiss-slide .preview-heart {
  font-size: 2rem;
  animation: pulse-heart 1s ease-in-out infinite;
}
@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Arena */
.kiss-arena {
  position: relative;
  width: 100%;
  height: 75vh;
  background: linear-gradient(135deg, #ffeef5 0%, #ffe0ec 50%, #ffd6e7 100%);
  border-radius: 1.2rem;
  overflow: hidden;
  border: 3px solid #f8a4c8;
  box-shadow: 0 8px 32px rgba(232, 69, 122, 0.15);
  cursor: crosshair;
}

/* HUD */
.kiss-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  z-index: 10;
  border-bottom: 2px solid #f8a4c8;
}
.kiss-hud .hud-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.kiss-hud .hud-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #c06;
  text-transform: uppercase;
}
.kiss-hud .hud-value {
  font-size: 1rem;
  font-weight: 800;
  color: #e8457a;
}
.heart-pip {
  font-size: 0.9rem;
  transition: opacity 0.3s, transform 0.3s;
}
.heart-pip.used {
  opacity: 0.25;
  transform: scale(0.7);
}

/* Characters */
.char-lulu, .char-me {
  position: absolute;
  width: 90px;
  transition: none;
  z-index: 5;
}
.char-lulu {
  left: 10px;
}
.char-me {
  right: 10px;
}
.char-lulu img, .char-me img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.char-me.is-hit img {
  filter: drop-shadow(0 0 12px #ff69b4) brightness(1.2);
  animation: me-flash 0.3s ease;
}
@keyframes me-flash {
  0% { transform: scale(1); }
  50% { transform: scale(1.15) rotate(5deg); }
  100% { transform: scale(1); }
}

/* Projectiles */
.projectile {
  position: absolute;
  z-index: 8;
  pointer-events: none;
}
.heart-proj {
  animation: heart-wobble 0.4s ease-in-out infinite alternate;
}
.heart-proj img {
  width: 42px;
  height: auto;
}
@keyframes heart-wobble {
  0% { transform: translateY(-3px) rotate(-5deg); }
  100% { transform: translateY(3px) rotate(5deg); }
}
.kiss-proj {
  font-size: 2rem;
  animation: kiss-float 0.5s ease-in-out infinite alternate;
}
@keyframes kiss-float {
  0% { transform: translateY(-4px) scale(1); }
  100% { transform: translateY(4px) scale(1.1); }
}

/* Hit effects */
.hit-effect {
  position: absolute;
  pointer-events: none;
  z-index: 12;
}
.hit-star {
  position: absolute;
  font-size: 1.4rem;
  animation: hit-burst 0.6s ease-out forwards;
}
.hit-star.star-2 {
  animation-delay: 0.05s;
  left: 15px;
}
.hit-star.star-3 {
  animation-delay: 0.1s;
  left: -10px;
  top: -10px;
}
@keyframes hit-burst {
  0% { transform: scale(0.5) translateY(0); opacity: 1; }
  100% { transform: scale(1.5) translateY(-30px); opacity: 0; }
}

/* Win card */
.kiss-win-card {
  background: linear-gradient(135deg, #fff0f5, #ffe0ec) !important;
  border-color: #f8a4c8 !important;
}
.kiss-win-card .over-title {
  color: #e8457a;
}
.win-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(232, 69, 122, 0.25);
}
.win-message {
  font-size: 1.15rem;
  font-weight: 600;
  color: #c06;
  margin: 0.5rem 0;
  line-height: 1.5;
}
.win-sub {
  font-size: 0.95rem;
  color: #d4699a;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Kiss game end screens */
.kiss-arena-wrap {
  position: relative;
  width: 100%;
}
.kiss-end-screen {
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff0f5 0%, #ffe0ec 50%, #ffd6e7 100%);
  border-radius: 1.2rem;
  border: 3px solid #f8a4c8;
  box-shadow: 0 8px 32px rgba(232, 69, 122, 0.15);
  padding: 2rem;
}
.kiss-end-card {
  text-align: center;
  max-width: 400px;
}
.kiss-end-title {
  font-size: 2rem;
  font-weight: 800;
  color: #e8457a;
  margin-bottom: 1rem;
}
.kiss-end-msg {
  font-size: 1.15rem;
  font-weight: 600;
  color: #c06;
  margin: 0.5rem 0;
  line-height: 1.6;
}
.kiss-end-sub {
  font-size: 0.95rem;
  color: #d4699a;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.kiss-end-card .win-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(232, 69, 122, 0.25);
}
.kiss-end-card .game-btn {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 500px) {
  .kiss-arena {
    height: 420px;
  }
  .char-lulu, .char-me {
    width: 70px;
  }
  .heart-proj img {
    width: 32px;
  }
  .kiss-proj {
    font-size: 1.5rem;
  }
  .catch-kiss-slide .game-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 380px) {
  .kiss-arena {
    height: 360px;
  }
  .char-lulu, .char-me {
    width: 55px;
  }
}

/* ===== Pop the Hearts Game ===== */
.pop-hearts-slide {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  user-select: none;
}
.pop-hearts-slide .game-title {
  font-size: 2rem;
  font-weight: 800;
  color: #e8457a;
  text-shadow: 0 2px 8px rgba(232, 69, 122, 0.3);
}
.pop-hearts-slide .game-subtitle {
  color: #c06;
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* Demo floating hearts on start screen */
.pop-preview {
  position: relative;
  height: 120px;
  margin: 1rem 0;
  overflow: hidden;
}
.demo-heart {
  position: absolute;
  bottom: -20px;
  color: #e8457a;
  animation: demo-float 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(232, 69, 122, 0.3));
}
@keyframes demo-float {
  0% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-80px); opacity: 1; }
  100% { transform: translateY(-130px); opacity: 0; }
}
.game-instructions-sub {
  color: #d4699a;
  font-size: 0.9rem;
  margin: 1.25rem;
}

/* Arena */
.pop-arena {
  position: relative;
  width: 100%;
  height: 75vh;
  background: linear-gradient(180deg, #1a0a2e 0%, #2d1b4e 40%, #4a2068 70%, #6b2fa0 100%);
  border-radius: 1.2rem;
  overflow: hidden;
  border: 3px solid #9b59b6;
  box-shadow: 0 8px 32px rgba(155, 89, 182, 0.25), inset 0 0 60px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Subtle stars in background */
.pop-arena::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 50% 15%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 20% 80%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 45% 50%, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
  z-index: 0;
}

/* HUD */
.pop-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  z-index: 10;
  border-bottom: 2px solid rgba(155, 89, 182, 0.5);
}
.pop-hud .hud-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #d4a0e8;
  text-transform: uppercase;
  margin-right: 0.4rem;
}
.pop-hud .hud-value {
  font-size: 1rem;
  font-weight: 800;
  color: #f0c0ff;
}

/* Floating hearts */
.pop-heart {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.1s ease;
  filter: drop-shadow(0 0 10px rgba(232, 69, 122, 0.6));
}
.pop-heart:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 18px rgba(232, 69, 122, 0.9));
}
.pop-heart:active {
  transform: scale(0.95);
}
.pop-heart-emoji {
  color: #ff4081;
  text-shadow: 0 0 12px rgba(255, 64, 129, 0.5);
}
.pop-heart.is-popping {
  pointer-events: none;
  animation: heart-pop 0.4s ease-out forwards;
}
@keyframes heart-pop {
  0% { transform: scale(1); opacity: 1; }
  30% { transform: scale(1.6); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

/* Reason card reveal */
.reason-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.2rem 1.8rem;
  max-width: 320px;
  z-index: 15;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
  pointer-events: none;
}
.reason-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e8457a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}
.reason-number::before {
  content: 'Reason #';
}
.reason-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a2068;
  line-height: 1.5;
  font-style: italic;
}

/* Reason reveal transition */
.reason-reveal-enter-active {
  animation: reason-in 0.4s ease-out;
}
.reason-reveal-leave-active {
  animation: reason-out 0.3s ease-in;
}
@keyframes reason-in {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes reason-out {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
}

/* Collected reasons ticker */
.reasons-collected {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 0.4rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 8;
}
.reason-mini {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(232, 69, 122, 0.3);
  font-size: 0.65rem;
  color: #f0c0ff;
}
.reason-mini.latest {
  background: rgba(232, 69, 122, 0.7);
  animation: mini-pop 0.5s ease;
}
@keyframes mini-pop {
  0% { transform: scale(0.5); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.reason-mini-heart {
  font-size: 0.6rem;
  color: #ff4081;
}
.reason-mini-num {
  font-weight: 700;
}

/* Completion screen */
.pop-end-screen {
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(180deg, #1a0a2e 0%, #2d1b4e 40%, #4a2068 70%, #6b2fa0 100%);
  border-radius: 1.2rem;
  border: 3px solid #9b59b6;
  box-shadow: 0 8px 32px rgba(155, 89, 182, 0.25);
  padding: 1.5rem;
  overflow-y: auto;
}
.pop-end-card {
  text-align: center;
  max-width: 440px;
  width: 100%;
}
.pop-end-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ff4081;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 20px rgba(255, 64, 129, 0.5);
}
.reasons-scroll {
  text-align: left;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.5rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #9b59b6 transparent;
}
.reasons-scroll::-webkit-scrollbar {
  width: 6px;
}
.reasons-scroll::-webkit-scrollbar-thumb {
  background: #9b59b6;
  border-radius: 3px;
}
.reason-final {
  padding: 0.5rem 0.6rem;
  margin-bottom: 0.3rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #ff4081;
  animation: reason-fade-in 0.4s ease both;
}
.reason-final:nth-child(even) {
  border-left-color: #e040fb;
}
.reason-final-num {
  font-weight: 800;
  color: #ff4081;
  margin-right: 0.4rem;
  font-size: 0.85rem;
}
.reason-final-text {
  color: #f0d0ff;
  font-size: 0.9rem;
  line-height: 1.4;
}
@keyframes reason-fade-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
.pop-end-footer {
  margin-top: 1rem;
}
.pop-end-msg {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0c0ff;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}
.pop-end-card .game-btn {
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 500px) {
  .pop-arena, .pop-end-screen {
    height: 420px;
    min-height: 420px;
  }
  .pop-hearts-slide .game-title {
    font-size: 1.5rem;
  }
  .reason-card {
    max-width: 260px;
    padding: 1rem 1.2rem;
  }
  .reason-text {
    font-size: 0.95rem;
  }
}
@media (max-width: 380px) {
  .pop-arena, .pop-end-screen {
    height: 360px;
    min-height: 360px;
  }
}

/* ===== Celebrations Canvas (Confetti + Fireworks) ===== */
.celebrations-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

