:root {
  --primary-color: #f03a5f; /* Vibrant Pink-Red */
  --secondary-color: #a4133c; /* Deep Crimson */
  --accent-color: #ff8fab; /* Softer Pink */
  --background-gradient: linear-gradient(
    160deg,
    #2a0813 0%,
    /* Dark Red-Black */ #1a1a1a 100% /* Near Black */
  );
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-color: rgba(255, 255, 255, 0.9); /* Default light text color */
  --font-heading: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;
  --envelope-bg: #ff758f;
  --envelope-flap: var(--primary-color); /* Consistent with actual usage */
  --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --shadow-strong: 0 25px 50px rgba(164, 19, 60, 0.4); /* Shadow from new secondary color */
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #2a0813;
}

body {
  font-family: var(--font-body);
  background-color: #2a0813;
  background-image: var(--background-gradient);
  min-height: 100vh;
  display: block; /* Changed from flex to block to allow natural scrolling */
  overflow-x: hidden;
  color: var(--text-color); /* Use the new light default */
  background-size: 200% 200%;
  animation: gradientBG 15s ease infinite;
  position: relative;
}

/* Animated Background Particles */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(240, 58, 95, 0.1) 0%,
      /* Use new primary color */ transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(164, 19, 60, 0.15) 0%,
      /* Use new secondary color */ transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

/* New Animated Glow Orb */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 40vmax;
  height: 40vmax;
  background: radial-gradient(
    circle,
    rgba(164, 19, 60, 0.3) 0%,
    transparent 70%
  ); /* Use new secondary color for glow */
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1; /* Behind other elements */
  pointer-events: none;
  animation: move-glow 30s linear infinite;
}

/* Floating Hearts Animation */
@keyframes float-hearts {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.heart {
  position: absolute;
  font-size: 20px;
  animation: float-hearts 15s infinite;
  opacity: 0;
}

.heart:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  font-size: 15px;
}
.heart:nth-child(2) {
  left: 25%;
  animation-delay: 2s;
  font-size: 25px;
}
.heart:nth-child(3) {
  left: 40%;
  animation-delay: 4s;
  font-size: 18px;
}
.heart:nth-child(4) {
  left: 55%;
  animation-delay: 6s;
  font-size: 22px;
}
.heart:nth-child(5) {
  left: 70%;
  animation-delay: 8s;
  font-size: 16px;
}
.heart:nth-child(6) {
  left: 85%;
  animation-delay: 10s;
  font-size: 20px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Container */
.container {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 20px;
  color: var(
    --text-color
  ); /* Explicitly set color to fix potential mobile inheritance issues */
}

/* 3D Envelope Container */
.envelope-wrapper {
  position: relative;
  width: 320px;
  height: 220px;
  margin: 50px auto;
  cursor: pointer;
  perspective: 1500px;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.envelope-wrapper:hover {
  transform: scale(1.08) translateY(-5px);
}

.envelope {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  background: #ffccd5;
}

/* The Pocket (Front - visible part holding the letter) */
.envelope .pocket {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 3;
  border-top: 110px solid transparent;
  border-right: 160px solid var(--accent-color);
  border-bottom: 110px solid var(--accent-color);
  border-left: 160px solid var(--accent-color);
  transform-origin: bottom;
  filter: brightness(1.1);
}

/* The Flap (Top - opens up) */
.envelope .flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 4;
  border-top: 110px solid var(--primary-color);
  border-right: 160px solid transparent;
  border-bottom: 110px solid transparent;
  border-left: 160px solid transparent;
  transform-origin: top;
  transition:
    transform 0.6s ease 0.5s,
    z-index 0.2s ease 0.5s;
  filter: brightness(0.95);
}

/* Open Animation */
.envelope-wrapper.open .flap {
  transform: rotateX(180deg);
  z-index: 1;
  transition:
    transform 0.6s ease,
    z-index 0.2s ease;
}

.envelope .letter {
  position: absolute;
  top: 15px;
  left: 25px;
  width: 270px;
  height: 180px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transition: transform 0.6s ease 1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 77, 109, 0.2);
}

.envelope-wrapper.open .letter {
  transform: translateY(-130px) scale(0.95);
  z-index: 5;
}

.letter h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  color: var(--primary-color);
  text-shadow: none;
}
.letter p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Main Content (Hidden initially) */
#main-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: none;
  width: 100%;
  max-width: 520px;
  padding: 20px;
}

#main-content.visible {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

/* Modern Glassmorphism Card */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  margin: 20px auto;
  max-width: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 5px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  object-fit: cover;
}
.hero-image:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 45px var(--shadow-strong);
}

/* --- Professional Hero Layout (New) --- */
.hero-card {
  max-width: 950px; /* Lebih lebar untuk layout split */
  padding: 0; /* Reset padding default card */
  align-items: stretch; /* Agar anak elemen full height */
}

.row-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 50px;
  gap: 50px;
  text-align: left;
  width: 100%;
}

.col-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.col-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-image-lg {
  width: 240px;
  height: 240px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
  border: 4px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.4s ease;
}

.hero-image-lg:hover {
  transform: scale(1.05) rotate(2deg);
}

.typing-wrapper {
  min-height: 70px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Countdown */
.countdown-box {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 25px 0;
  flex-wrap: wrap;
}
.time-unit {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 15px 12px;
  border-radius: 16px;
  min-width: 65px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}
.time-unit:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.time-unit span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.time-unit small {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Input & Button */
.input-group {
  position: relative;
  margin: 0;
}
.modern-input {
  width: 100%;
  padding: 16px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 1.05rem;
  text-align: center;
  transition: all 0.3s ease;
  outline: none;
  color: #fff;
  font-weight: 500;
}
.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.modern-input:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.action-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 77, 109, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px var(--shadow-strong);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Gallery & Polaroid Stack */
.gallery-stack {
  position: relative;
  height: 320px;
  width: 260px;
  margin: 0 auto 30px;
}
.polaroid-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  padding: 12px 12px 30px 12px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.polaroid-card:hover {
  transform: scale(1.02); /* Removed !important to allow JS animation */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.polaroid-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 12px;
}
.polaroid-card p {
  font-family: var(--font-heading);
  color: #333;
  font-size: 1.3rem;
  margin: 0;
}

/* Feature Cards for Index */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
  width: 100%;
  max-width: 900px;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Love Calculator Styles */
.calculator-input {
  width: 100%;
  padding: 14px 20px;
  margin: 10px 0;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 1rem;
  text-align: center;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.calculator-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.calculator-input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.result-box {
  margin: 20px 0;
  padding: 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.result-percentage {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  margin: 10px 0;
}

.result-message {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 10px;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .envelope-wrapper {
    transform: scale(0.85);
  }
  .card {
    padding: 25px 20px;
    margin: 10px;
    width: 95%;
    border-radius: 20px;
  }
  h1 {
    font-size: 2rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  .time-unit {
    min-width: 55px;
    padding: 12px 8px;
  }
  .time-unit span {
    font-size: 1.5rem;
  }
  #noBtn {
    transition:
      left 0.3s ease,
      top 0.3s ease;
  }
}

/* Music Control & Modal */
.music-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1000;
  display: flex;
  gap: 15px;
}

.music-btn {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #fff;
  font-size: 1.3rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.music-btn:hover {
  transform: scale(1.2) rotate(10deg);
  background: rgba(255, 77, 109, 0.8);
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 35px rgba(255, 77, 109, 0.5);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

.modal-content {
  background: rgba(30, 30, 30, 0.5); /* Darker modal */
  backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 35px;
  border-radius: 24px;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 300;
}
.close-btn:hover {
  color: #fff;
  transform: rotate(90deg) scale(1.2);
}

/* Song List */
.song-list {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.song-item {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 500;
  color: #fff;
  text-align: left;
}

.song-item span {
  font-size: 1.4rem;
}

.song-item:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 8px 25px var(--shadow-strong);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Advanced Animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 77, 109, 0.4);
  }
  50% {
    box-shadow:
      0 0 40px var(--primary-color),
      0 0 60px var(--secondary-color);
  }
}

@keyframes move-glow {
  0% {
    transform: translate(10vw, -10vh) scale(1);
  }
  50% {
    transform: translate(60vw, 80vh) scale(1.2);
  }
  100% {
    transform: translate(10vw, -10vh) scale(1);
  }
}

@keyframes float-up-down {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes scale-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Particle Background Effect */
.particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: ember-float 20s infinite;
  box-shadow:
    0 0 8px var(--accent-color),
    0 0 12px var(--primary-color);
}

/* Propose Page Fullscreen Layout */
.propose-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
}

.propose-container .glass-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0; /* Override previous margins */
  display: none; /* Hide all by default, JS will show them */
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center content horizontally */
  text-align: center; /* Center text by default */
  /* Premium Glass Effect for Propose */
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  border-radius: 35px;
}

/* Custom animation speed for propose steps */
.propose-container .animate__animated {
  --animate-duration: 0.6s;
}

@keyframes ember-float {
  0% {
    transform: translateY(100vh) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* Propose Page Enhancements */
.question-container {
  position: relative;
  padding: 40px;
  background: linear-gradient(
    135deg,
    rgba(240, 58, 95, 0.1) 0%,
    rgba(164, 19, 60, 0.15) 100%
  );
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  animation: pulse-glow 4s infinite;
}

.animated-text {
  background: linear-gradient(
    90deg,
    #fff,
    var(--accent-color),
    #fff,
    var(--primary-color),
    #fff
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.reason-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  margin: 15px 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.reason-card:hover::before {
  left: 100%;
}

.reason-card:hover {
  transform: translateX(10px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px var(--shadow-strong);
}

/* Stats/Counter Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Interactive Button Effects */
.btn-interactive {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-interactive::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
  z-index: -1;
}

.btn-interactive:hover::after {
  width: 300px;
  height: 300px;
}

/* Compact Grid for Features */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.compact-feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.compact-feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.compact-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  animation: float-up-down 3s infinite;
}

.compact-feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #fff;
}

.compact-feature-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Two Column Layout for Index */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 30px auto;
}

@media (max-width: 768px) {
  .two-column-layout {
    grid-template-columns: 1fr;
  }
  .compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile Hero Adjustments */
  .row-layout {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
    gap: 30px;
  }
  .col-content {
    text-align: center;
    align-items: center;
  }
  .action-group {
    flex-direction: column;
    width: 100%;
  }
}

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin: 15px 0;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color),
    var(--primary-color)
  );
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* Enhanced Modal */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-icon {
  font-size: 3rem;
  animation: scale-pulse 2s infinite;
}

/* Footer */
footer {
  position: fixed;
  bottom: 15px;
  right: 25px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color),
    var(--secondary-color)
  );
  z-index: 9999;
  transition: width 0.2s ease;
}

/* ============================================
   ULTRA PREMIUM ENHANCEMENTS
   ============================================ */

/* Hero Section Premium */
.hero-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(240, 58, 95, 0.1) 0%,
    rgba(164, 19, 60, 0.1) 100%
  );
  border-radius: 30px;
  margin-bottom: 40px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate-slow 20s linear infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--accent-color) 50%,
    var(--primary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  text-shadow: 0 5px 20px var(--shadow-strong);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Tabbed Navigation */
.tabs-container {
  margin: 40px auto;
  max-width: 1200px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.4s,
    height 0.4s;
}

.tab-btn:hover::before {
  width: 300px;
  height: 300px;
}

.tab-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px var(--shadow-strong);
}

.tab-btn.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  box-shadow: 0 10px 30px var(--shadow-strong);
  transform: translateY(-3px);
}

.tab-content {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Feature Grid */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.premium-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 77, 109, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}

.premium-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 5px 15px var(--shadow-strong));
  animation: float-up-down 4s infinite ease-in-out;
}

.premium-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
  z-index: 2;
  font-weight: 600;
}

.premium-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Animated Counter */
.counter-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.counter-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.counter-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.counter-card:hover::after {
  opacity: 1;
}

.counter-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.counter-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.counter-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* Section Divider */
.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  margin: 50px auto;
  border-radius: 2px;
}

/* Info Cards */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s;
}

.info-card:hover::before {
  left: 100%;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.info-card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.info-card h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.info-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(240, 58, 95, 0.2) 0%,
    rgba(164, 19, 60, 0.2) 100%
  );
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 50px 30px;
  text-align: center;
  margin: 50px auto;
  max-width: 800px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  animation: rotate-slow 15s linear infinite;
}

.cta-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.cta-button {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #fff;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(255, 77, 109, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.cta-button:hover::before {
  width: 400px;
  height: 400px;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px var(--shadow-strong);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .premium-grid {
    grid-template-columns: 1fr;
  }

  .counter-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .tabs-nav {
    gap: 10px;
  }

  .tab-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NEW PROFESSIONAL DASHBOARD LAYOUT
   ============================================ */

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: stretch;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Premium Shine Effect */
.glass-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.5s;
  pointer-events: none;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.glass-panel:hover::after {
  left: 150%;
  transition: 0.7s ease-in-out;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.profile-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-info h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 0%, #ffccd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px var(--shadow-strong);
  line-height: 1.2;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.time-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 5px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  min-width: 0; /* Prevent grid blowout */
}

.time-box:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px var(--shadow-strong);
}

.time-val {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #ffccd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.1;
  margin-bottom: 5px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.time-label {
  font-size: clamp(0.65rem, 1.5vw, 0.85rem);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  font-weight: 600;
}

.features-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .profile-section {
    flex-direction: row; /* Keep row on tablet */
    text-align: left;
  }

  .glass-panel {
    padding: 30px;
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
  }
  .profile-info h1 {
    font-size: 2.2rem;
  }
  .input-group {
    flex-direction: column;
  }
  .input-group button {
    width: 100%;
  }

  /* Fix for Propose Buttons on Mobile */
  #step-5 .buttons {
    flex-direction: column;
    gap: 15px;
    min-height: 140px;
    padding-top: 10px;
  }

  #step-5 #yesBtn {
    order: 1; /* Show Yes button first */
  }

  #step-5 #noBtn {
    order: 2; /* Show No button second */
    position: relative !important; /* Override JS/inline for initial layout */
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 90%;
    max-width: 300px;
  }

  footer {
    position: static; /* Change to static for better mobile UX */
    margin-top: 40px;
    padding-bottom: 20px;
    text-align: center;
  }
}

/* ============================================
   NEW MODERN INDEX (V2) STYLES
   ============================================ */

/* Lock Screen Overlay */
.lock-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.lock-content {
  text-align: center;
  color: #fff;
}

.btn-unlock {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 40px;
  border-radius: 50px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: auto;
}

.btn-unlock:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Dashboard Layout */
.dashboard-v2 {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 100px;
  min-height: 100vh;
  color: var(
    --text-color
  ); /* Explicitly set color to fix potential mobile inheritance issues */
}

/* --- NEW FULLSCREEN DASHBOARD LAYOUT --- */
.dashboard-fullscreen {
  width: 100%;
  min-height: 100vh; /* Allow content to grow */
  height: auto; /* Remove fixed height */
  padding: 40px 20px; /* Add more padding */
  display: block; /* Changed from flex to block */
  position: relative;
  z-index: 10;
  overflow-y: auto; /* Allow scrolling */
  overflow-x: hidden;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 360px 1fr; /* Fixed Left, Flexible Right */
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  height: auto; /* Remove fixed height */
  margin: 0 auto;
  align-items: start; /* Align items to top for sticky behavior */
}

/* Left Column: Hero/Profile */
.dashboard-left {
  height: auto;
  position: sticky; /* Make sidebar sticky */
  top: 30px; /* Stick 30px from top */
  z-index: 50;
}

.glass-panel-full {
  background: rgba(255, 255, 255, 0.12); /* Slightly more visible */
  backdrop-filter: blur(40px) saturate(180%); /* Premium blur */
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  padding: 40px 30px;
  height: auto; /* Let content define height */
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.profile-img-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}

.profile-img-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.countdown-compact {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 25px 0;
}

.time-box-compact {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  border-radius: 15px;
  min-width: 70px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-box-compact span {
  display: block;
  font-weight: 800;
  font-size: 1.5rem;
}

.input-group-full {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.input-group-full input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  outline: none;
}
.input-group-full button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.input-group-full button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary-color);
}

/* Right Column: Widgets & Apps */
.dashboard-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: auto;
}

.widgets-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 0 0 auto;
}

.widget-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mood-icons {
  display: flex;
  justify-content: space-between;
  font-size: 1.8rem;
  margin-top: 10px;
}
.mood-icons span {
  cursor: pointer;
  transition: transform 0.2s;
}
.mood-icons span:hover {
  transform: scale(1.3);
}

.apps-container-full {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  border-radius: 30px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: none; /* Don't force stretch */
  height: auto;
  overflow: visible;
}

.app-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.app-item-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.app-item-compact:hover {
  transform: translateY(-5px);
}
.app-icon-compact {
  width: 55px;
  height: 55px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .dashboard-fullscreen {
    padding: 80px 15px 40px;
  }
  .dashboard-grid {
    display: flex;
    flex-direction: column;
  }
  .glass-panel-full {
    padding: 30px 20px;
  }
  .dashboard-left {
    position: relative; /* Disable sticky on mobile */
    top: 0;
  }
  .widgets-row {
    grid-template-columns: 1fr;
  }
  .apps-container-full {
    height: auto;
    overflow: visible;
  }
}

.modern-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.modern-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

/* App Grid System */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.app-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-item:hover .app-icon-box {
  transform: translateY(-5px) scale(1.1);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 30px var(--shadow-strong);
}

.app-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.3px;
}

@media (max-width: 600px) {
  .app-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .modern-card {
    padding: 25px 20px;
  }
}

/* Lock Screen Clock */
.lock-clock-container {
  margin-bottom: 30px;
  text-align: center;
  animation: fadeInDown 1s ease;
}
.lock-time {
  font-size: 4.5rem;
  font-weight: 200;
  line-height: 1;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.lock-date {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
}

/* Timeline Styles */
.timeline-section {
  text-align: left;
  padding: 10px 0;
  position: relative;
}
.timeline-item {
  position: relative;
  padding-left: 35px;
  margin-bottom: 25px;
}
.timeline-line {
  position: absolute;
  left: 7px;
  top: 5px;
  bottom: -25px;
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
}
.timeline-item:last-child .timeline-line {
  display: none;
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px var(--shadow-strong);
}
.timeline-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}
.timeline-content:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.15);
}

/* Gift Box Animation */
.gift-shake {
  animation: gift-shake 2s infinite;
}
@keyframes gift-shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* Voice Note Visualizer */
.visualizer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin: 20px 0 10px;
}

.bar {
  width: 6px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 3px;
  animation: none;
}

.visualizer-container.playing .bar {
  animation: sound-wave 1s infinite ease-in-out;
}

@keyframes sound-wave {
  0%,
  100% {
    height: 10px;
    opacity: 0.5;
  }
  50% {
    height: 35px;
    opacity: 1;
  }
}

/* Stagger animations for wave effect */
.visualizer-container.playing .bar:nth-child(1) {
  animation-delay: 0s;
}
.visualizer-container.playing .bar:nth-child(2) {
  animation-delay: 0.2s;
}
.visualizer-container.playing .bar:nth-child(3) {
  animation-delay: 0.4s;
}
.visualizer-container.playing .bar:nth-child(4) {
  animation-delay: 0.1s;
}
.visualizer-container.playing .bar:nth-child(5) {
  animation-delay: 0.3s;
}
.visualizer-container.playing .bar:nth-child(6) {
  animation-delay: 0.5s;
}
.visualizer-container.playing .bar:nth-child(7) {
  animation-delay: 0.2s;
}
.visualizer-container.playing .bar:nth-child(8) {
  animation-delay: 0.4s;
}
.visualizer-container.playing .bar:nth-child(9) {
  animation-delay: 0.1s;
}
.visualizer-container.playing .bar:nth-child(10) {
  animation-delay: 0.3s;
}

/* Pet Control Buttons */
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.btn-icon:hover {
  background: var(--primary-color);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(240, 58, 95, 0.4);
}
.btn-icon:active {
  transform: scale(0.95);
}

/* Magic Ball Widget */
.magic-ball-wrapper {
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle at 30% 30%,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.3),
    inset 0 5px 15px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}
.magic-ball-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(240, 58, 95, 0.4);
}
.magic-ball-wrapper:active {
  transform: scale(0.95);
}
.magic-ball-inner {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.1);
}
.magic-ball-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  line-height: 1.2;
  padding: 5px;
  transition: opacity 0.3s;
}
.shaking-ball {
  animation: shake-ball 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes shake-ball {
  10%,
  90% {
    transform: translate3d(-2px, 0, 0) rotate(-5deg);
  }
  20%,
  80% {
    transform: translate3d(4px, 0, 0) rotate(5deg);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-6px, 0, 0) rotate(-5deg);
  }
  40%,
  60% {
    transform: translate3d(6px, 0, 0) rotate(5deg);
  }
}

/* Floating Home Button for Propose Page */
.btn-home-floating {
  position: fixed;
  top: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-home-floating:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

/* --- MODERN MEMORY CAROUSEL (New Feature) --- */
.memory-carousel {
  position: relative;
  width: 100%;
  max-width: 380px; /* Optimal width for cards */
  height: 420px;
  margin: 0 auto 20px;
  perspective: 1000px;
}

.memory-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.9) translateX(50px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy effect */
  pointer-events: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.memory-card.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.memory-img-holder {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  margin-bottom: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.memory-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.memory-card:hover .memory-img-holder img {
  transform: scale(1.1);
}

.memory-date {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.memory-text {
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  margin-top: 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.btn-nav {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.btn-nav:hover {
  background: var(--primary-color);
  transform: scale(1.15);
  box-shadow: 0 0 15px var(--primary-color);
  border-color: transparent;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
  width: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- PREMIUM PROPOSAL SECTION --- */
.proposal-img-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 35px;
}

.proposal-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 50px rgba(240, 58, 95, 0.6);
  position: relative;
  z-index: 2;
  animation: float-up-down 4s ease-in-out infinite;
}

.proposal-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}

.proposal-glow-ring:nth-child(2) {
  animation-delay: 0.8s;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 1;
    border-width: 2px;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
    border-width: 0px;
  }
}

.proposal-question {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.proposal-name-highlight {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  background: linear-gradient(to right, #fff 20%, #ffccd5 50%, #fff 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
  display: block;
  margin-top: 10px;
  text-shadow: 0 5px 25px rgba(240, 58, 95, 0.6);
}

.btn-yes-premium {
  background: linear-gradient(135deg, #ff3366 0%, #ff0044 100%);
  color: white;
  font-size: 1.4rem;
  padding: 20px 60px;
  border-radius: 60px;
  border: none;
  box-shadow:
    0 10px 40px rgba(255, 0, 68, 0.5),
    inset 0 2px 5px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: heartbeat 1.5s infinite;
  position: relative;
  overflow: hidden;
  z-index: 10;
  font-weight: 700;
  letter-spacing: 1px;
}

.btn-yes-premium:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 20px 50px rgba(255, 0, 68, 0.7);
}

/* --- MODERN PROPOSAL LAYOUT FIXES --- */
.proposal-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px !important;
}

.proposal-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.proposal-text {
  color: rgba(255, 255, 255, 0.95);
  margin: 10px auto 30px;
  font-size: 1.1rem;
  max-width: 90%;
  line-height: 1.5;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.proposal-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 80px;
  align-items: center;
}

.btn-no-floating {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  position: absolute;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

/* Mobile Optimization for Proposal Page */
@media (max-width: 768px) {
  .proposal-panel {
    padding: 20px 15px !important;
    justify-content: flex-start; /* Start from top to prevent cutting off */
  }
  .proposal-img-wrapper {
    width: 160px;
    height: 160px;
    margin: 10px auto 20px;
  }
  .proposal-question {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .proposal-name-highlight {
    font-size: 2.2rem;
    margin-top: 5px;
  }
  .proposal-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .btn-yes-premium {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 280px;
  }
  .proposal-buttons {
    flex-direction: column;
    gap: 15px;
    min-height: 120px;
  }
  .btn-no-floating {
    position: relative; /* Stack initially on mobile */
    width: 100%;
    max-width: 280px;
  }
}

/* --- PROPOSE PAGE REFINEMENTS (V2) --- */
.propose-step-title {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
}

.propose-step-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: clamp(1rem, 3vw, 1.1rem);
  line-height: 1.5;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.btn-full-width {
  width: 100%;
  max-width: 350px;
  margin-top: 30px;
}

/* Timeline Refinements */
.timeline-section {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px 20px;
  text-align: left;
  width: 100%;
  max-width: 480px; /* Limit width for better centering */
  margin: 0 auto; /* Force center block */
}

.timeline-item .timeline-content h4 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-item {
  padding-left: 55px; /* More space for line/dot */
  margin-bottom: 30px;
}

.timeline-line {
  left: 24px; /* Perfectly centered with dot */
  background: rgba(255, 255, 255, 0.2);
}

.timeline-dot {
  left: 15px; /* Perfectly centered */
  width: 20px;
  height: 20px;
  border-width: 3px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.timeline-item .timeline-dot.color-1 {
  background: var(--primary-color);
}
.timeline-item .timeline-dot.color-2 {
  background: var(--accent-color);
}
.timeline-item .timeline-dot.color-3 {
  background: #fff;
}

/* Gift Ticket Refinements */
.gift-ticket {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 20px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.gift-ticket::before,
.gift-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #2a0813; /* Match the body background start color */
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.gift-ticket::before {
  left: -10px;
}

.gift-ticket::after {
  right: -10px;
}

.gift-ticket h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.gift-ticket p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

/* Love Letter Modal Refinements */
.modal-button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.modal-button-grid .btn-primary {
  font-size: 0.9rem;
  padding: 12px;
}
