﻿:root {
  --pink-1: #ff4f93;
  --pink-2: #ff7aae;
  --rose: #ffd9e8;
  --cream: #fff8fb;
  --ink: #4a2c38;
  --ink-soft: #745562;
  --glass: rgba(255, 255, 255, 0.85);
  --border: rgba(255, 255, 255, 0.5);
  --shadow: 0 16px 38px rgba(161, 67, 108, 0.2);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* No scroll for that "App" feel */
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Quicksand", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 10% 0%, #ffe8f2 0%, transparent 70%),
    radial-gradient(90% 80% at 100% 100%, #ffd8ea 0%, transparent 70%),
    linear-gradient(165deg, #fff8fc, #ffeef6 45%, #ffe2ef 100%);
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.actions {
  display: grid;
  gap: 15px;
  padding: 10px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}

.buttonRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* SPECTACULAR 3D BUTTONS */
.btn {
  position: relative;
  border: none;
  border-radius: 50px;
  height: 54px;
  font-family: "Quicksand", sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 3D Depth Classes */
.btnYes {
  background: linear-gradient(135deg, #ff4f93, #ff7ab2);
  color: #fff;
  box-shadow: 0 6px 0 #cc2a67, 0 10px 25px rgba(255, 79, 147, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btnNo {
  background: #fff;
  color: #ff4f93;
  box-shadow: 0 6px 0 #ffd1e4, 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 2px solid #ff4f93;
}

/* Interactivity */
.btn:hover {
  transform: translateY(-2px);
}

.btnYes:hover {
  box-shadow: 0 8px 0 #cc2a67, 0 12px 30px rgba(255, 79, 147, 0.5);
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Shine Effect */
.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(30deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -60%;
  }

  20% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.pulse {
  animation: smoothPulse 1.5s infinite alternate;
}

@keyframes smoothPulse {
  from {
    transform: scale(1);
    filter: brightness(1);
  }

  to {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 8px 0 #cc2a67, 0 0 30px rgba(255, 79, 147, 0.6);
  }
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.app {
  width: min(100%, 470px);
  max-width: 470px;
  height: 100vh;
  height: 100dvh;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  margin: 0 auto;
}

.top {
  display: grid;
  gap: 6px;
}

.progressBar {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  overflow: hidden;
}

.progressFill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink-1), var(--pink-2));
  transition: width 0.45s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.statusText {
  margin: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-1);
}

.storyStage {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 2px;
}

.storyStage::-webkit-scrollbar {
  width: 0;
}

.mediaCard {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 50vh;
  min-height: 300px;
  /* Ensure stability */
  border-radius: 24px;
  background: #fdf2f7;
  /* Soft pink instead of black */
  border: 10px solid #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.storyText {
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  padding: 24px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 2px solid var(--cream);
  text-align: center;
  margin-top: -15px;
  /* Slight overlap for depth */
  z-index: 5;
  animation: cardFadeIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#storyTitle {
  font-family: "Pacifico", cursive;
  font-size: 26px;
  color: var(--pink-1);
  margin: 0 0 10px 0;
  text-shadow: 1px 1px 4px rgba(255, 79, 147, 0.15);
}

#storyCopy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 700;
}

.promptText {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

@keyframes cardFadeIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.briefingOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f3e5ab, #e5c07b);
  /* Manila folder colors */
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.5s ease;
}

.briefingOverlay.decrypted {
  transform: translateY(-100%) scale(1.1);
  opacity: 0;
  pointer-events: none;
}

.folderIcon {
  font-size: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  animation: floatFolder 3s ease-in-out infinite;
}

@keyframes floatFolder {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.briefingOverlay h2 {
  font-family: "Pacifico", cursive;
  color: #c62828;
  /* Red classified color */
  font-size: 32px;
  margin: 0;
  letter-spacing: 2px;
}

.briefingOverlay p {
  font-weight: 800;
  color: #5d4037;
  margin-bottom: 30px;
  font-size: 16px;
  text-transform: uppercase;
}

.mediaEl {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Ensure nothing is cut off */
  transition: opacity 0.4s ease;
  opacity: 0;
}

.mediaEl.loaded {
  opacity: 1;
}

/* Interactive Game Styles */
.gameView {
  width: 100%;
  height: 100%;
  background: linear-gradient(#b2ebf2, #e0f7fa);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gameHarry {
  position: absolute;
  bottom: 20px;
  font-size: 45px;
  z-index: 10;
  transform: scaleX(-1);
  /* Face right */
  pointer-events: none;
}

.gameScore {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 800;
  color: #ff4f93;
  font-size: 16px;
  z-index: 20;
  box-shadow: 0 4px 15px rgba(255, 79, 147, 0.2);
  border: 2px solid #ff4f93;
}

.gameFloor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: #8d6e63;
  border-top: 2px solid #5d4037;
}

.fallingItem {
  position: absolute;
  font-size: 32px;
  z-index: 5;
  top: -50px;
  animation: fallDown 2s linear forwards;
  pointer-events: none;
}

@keyframes fallDown {
  0% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(60vh) rotate(360deg);
  }
}

.mapView {
  width: 100%;
  height: 100%;
  background: #e0f7fa;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.route {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: repeating-linear-gradient(90deg, #333 0, #333 8px, transparent 8px, transparent 16px);
}

.city {
  position: absolute;
  top: 35%;
  font-size: 10px;
  font-weight: 800;
  background: #fff;
  padding: 2px 6px;
  border-radius: 10px;
}

.cityA {
  left: 5%;
}

.cityB {
  right: 5%;
}

.car {
  position: absolute;
  top: 42%;
  left: 5%;
  font-size: 24px;
  animation: drive 3s linear infinite;
}

@keyframes drive {
  0% {
    left: 5%;
    transform: scaleX(1);
  }

  45% {
    left: 85%;
    transform: scaleX(1);
  }

  50% {
    left: 85%;
    transform: scaleX(-1);
  }

  95% {
    left: 5%;
    transform: scaleX(-1);
  }

  100% {
    left: 5%;
    transform: scaleX(1);
  }
}

.catBubble {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--pink-1);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 20;
  transform-origin: bottom right;
}

.bubble-pop {
  animation: bubblePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bubblePop {
  0% {
    transform: scale(0) rotate(15deg);
    opacity: 0;
  }

  70% {
    transform: scale(1.1) rotate(-5deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.cat-victory {
  animation: catVictory 0.6s infinite alternate ease-in-out;
}

@keyframes catVictory {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-10px) scale(1.05);
  }
}

.heartContainer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-heart {
  position: absolute;
  font-size: 20px;
  opacity: 0.15;
  animation: floatUp 6s linear infinite;
  filter: drop-shadow(0 0 5px rgba(255, 79, 147, 0.2));
}

@keyframes floatUp {
  from {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.15;
  }

  90% {
    opacity: 0.15;
  }

  to {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

.tap-heart {
  position: fixed;
  font-size: 35px;
  pointer-events: none;
  z-index: 9999;
  animation: heartBurst 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heartBurst {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
  }

  100% {
    transform: translateY(-150px) scale(0);
    opacity: 0;
  }
}

/* Enhanced Map */
.loveMeter {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 22px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid var(--pink-1);
  border-radius: 20px;
  overflow: hidden;
}

.loveFill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff4f93, #ffb3d1);
  transition: width 0.3s linear;
}

.meterLabel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.heartTrail {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 5px;
  font-size: 12px;
  opacity: 0.8;
  white-space: nowrap;
}

/* Yes Screen Overhaul */
.yesScreen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #fff, #ffe6f0, #ffcce0);
  background-size: 400% 400%;
  animation: bgFade 1s ease, celebratoryPulse 10s ease infinite;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  /* Remove padding for edge-to-edge feel */
  overflow: hidden;
  /* Lock viewport for spectacular reveal */
  isolation: isolate;
}

.celebrationPhase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  /* Dynamic viewport height for mobile */
  /* Fill the locked viewport */
  flex-shrink: 0;
  animation: fadeIn 0.8s ease-out both;
  position: absolute;
  inset: 0;
  padding: clamp(12px, 3vh, 24px) clamp(10px, 3.5vw, 24px) 220px;
  z-index: 60;
}

.happyVal {
  margin: 0 0 12px;
  text-align: center;
  font-family: "Pacifico", cursive;
  font-size: clamp(28px, 7.2vw, 56px);
  color: #ff2d7a;
  text-shadow: 1px 2px 14px rgba(255, 79, 147, 0.35);
  line-height: 1.15;
}

.centerpieceText {
  z-index: 100;
  margin-bottom: 12px !important;
  text-shadow: 2px 2px 10px rgba(255, 79, 147, 0.3);
  animation: floatText 3s infinite ease-in-out;
}

.centerpieceContainer {
  position: relative;
  width: 100%;
  height: calc(100% - 10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bigDonnyWrap {
  width: min(90vw, 450px);
  max-height: min(58vh, 540px);
  /* Prevent it from pushing things off-screen */
  margin: min(6vh, 44px) auto 0;
  border-radius: 40px;
  overflow: hidden;
  border: 10px solid #fff;
  box-shadow: 0 30px 70px rgba(255, 79, 147, 0.5);
  animation: heartbeat 1.5s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bigDonny {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heartFrame {
  position: relative;
  width: min(92vw, 750px);
  /* MASSIVE centerpiece */
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 500px);
  z-index: 50;
  background: #fff;
  padding: 12px;
  box-shadow: 0 20px 80px rgba(255, 79, 147, 0.6);
  border-radius: 30px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.centerpieceImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.centerpieceImage.active {
  opacity: 1;
}

.sunsetOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 40px 10px 10px;
  text-align: center;
}

.overlayText {
  color: #fff;
  font-family: "Pacifico", cursive;
  font-size: clamp(24px, 5vw, 36px);
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  animation: floatText 3s infinite ease-in-out;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.photoCollage {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  /* Allow interaction with centerpiece */
  overflow: hidden;
}

.photoCollage .polaroid {
  position: absolute;
  pointer-events: auto;
  /* Re-enable for hover */
}

.polaroid {
  background: white;
  padding: 5px 5px 15px 5px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(var(--rot));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: clamp(100px, 25vw, 140px);
}

.polaroid:hover {
  transform: scale(1.15) rotate(0deg) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 50;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border: 1px solid #eee;
}

@keyframes cardPop {
  from {
    transform: scale(0.75) rotate(var(--rot));
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(var(--rot));
    opacity: 1;
  }
}

.mainMediaWrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ff4f93;
  box-shadow: 0 0 20px rgba(255, 79, 147, 0.5);
  margin-bottom: 15px;
  flex-shrink: 0;
}

.dancingDonny {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.committeeResolution {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border: 2px solid #ff4f93;
  animation: slideUpPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(114px + env(safe-area-inset-bottom, 0px));
  margin: 0 auto;
  width: min(92vw, 760px);
  z-index: 140;
}

.catAvatar {
  font-size: 40px;
  flex-shrink: 0;
}

#resolutionText {
  font-size: 16px;
  font-weight: 700;
  color: #c62828;
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}

.finalNote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  margin: 0 auto;
  text-align: center;
  color: #a62d61;
  font-weight: 800;
  font-size: clamp(14px, 3.7vw, 20px);
  z-index: 145;
}

.catParade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(38px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 145;
  pointer-events: none;
}

.dancingCat {
  font-size: clamp(20px, 5.6vw, 34px);
  animation: catDance 0.9s infinite ease-in-out alternate;
}

@keyframes catDance {
  from {
    transform: translateY(0) rotate(-4deg);
  }

  to {
    transform: translateY(-8px) rotate(5deg);
  }
}

.confettiCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 95;
}

.yesScreen>.btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  width: min(90vw, 420px);
}

@keyframes slideUpPop {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes celebratoryPulse {

  0%,
  100% {
    background-position: 0% 50%;
    opacity: 1;
  }

  50% {
    background-position: 100% 50%;
    opacity: 0.95;
  }
}

@keyframes bgFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.05);
  }
}

@keyframes floatText {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.mediaEl {
  transition: opacity 0.4s ease;
  opacity: 0;
}

.mediaEl.loaded {
  opacity: 1;
}

/* Media Loader Styles */
.mediaLoader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fdf2f7;
  z-index: 20;
  color: #ff4f93;
  font-weight: 700;
  border-radius: 20px;
  animation: fadeIn 0.3s ease;
}

.spinner {
  width: 35px;
  height: 35px;
  border: 4px solid #ffeef4;
  border-top-color: #ff4f93;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hard Mobile Stabilization */
@media (max-width: 600px) {
  .app {
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .mediaCard {
    height: 44vh;
    min-height: 220px;
    margin-bottom: 15px;
    aspect-ratio: auto;
    border-width: 7px;
  }

  .storyText {
    padding: 15px;
  }

  .buttonRow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
  }

  #storyTitle {
    font-size: 22px;
  }

  #storyCopy {
    font-size: 14px;
    line-height: 1.45;
  }

  .catBubble {
    right: 10px;
    bottom: 10px;
    font-size: 12px;
    max-width: calc(100% - 20px);
  }

  .committeeResolution {
    bottom: calc(104px + env(safe-area-inset-bottom, 0px));
    padding: 12px 14px;
    border-radius: 16px;
  }

  .catAvatar {
    font-size: 30px;
  }

  #resolutionText {
    font-size: 13px;
    line-height: 1.3;
  }

  .finalNote {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    font-size: 13px;
  }
}

@media (max-height: 740px) {
  .storyStage {
    justify-content: flex-start;
    gap: 9px;
  }

  .mediaCard {
    max-height: 42vh;
    min-height: 200px;
  }

  .storyText {
    padding: 14px;
    margin-top: -6px;
  }
}

@media (hover: none) {
  .polaroid:hover {
    transform: rotate(var(--rot));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
}

.testModeBtn {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.3);
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 10px;
  cursor: pointer;
  z-index: 99999;
}

.testModeBtn:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* Subtle Replay Button */
.replayBtn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  cursor: pointer;
  animation: fadeIn 0.4s ease;
}

.replayBtn span {
  background: rgba(255, 79, 147, 0.85);
  /* Slightly transparent */
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.replayBtn:hover span {
  transform: translateY(-2px);
  background: var(--pink-1);
  box-shadow: 0 6px 15px rgba(255, 79, 147, 0.4);
}
