@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&family=Great+Vibes&display=swap');

:root {
  --primary-pink: #ff4d6d;
  --secondary-pink: #ff758f;
  --soft-red: #c9184a;
  --dark-red: #590d22;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: #000;
  color: var(--white);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('../img/bg-love.png') no-repeat center center/cover;
  filter: brightness(0.6);
  animation: zoomBackground 20s infinite alternate ease-in-out;
}

@keyframes zoomBackground {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.glass-card {
  width: 90%;
  max-width: 600px;
  padding: 3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
}

.main-title {
  font-family: 'Great Vibes', cursive;
  font-size: 5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #ff4d6d, #ffccd5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 2s ease-out;
}

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

.sub-title {
  font-size: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0.8;
}

.message-box {
  min-height: 100px;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

/* Propose Section */
.propose-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.propose-text {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.propose-btns {
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: relative;
  min-height: 80px;
}

.btn-no {
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  border: 1px solid var(--glass-border) !important;
}

.btn-luxury {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-pink), var(--soft-red));
  border: none;
  border-radius: 50px;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255, 77, 109, 0.4);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-luxury:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 77, 109, 0.6);
  letter-spacing: 3px;
}

/* Premium Photo Gallery */
.photo-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 350px;
  margin: 0 auto 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
}

.gallery-inner {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.gallery-img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.1);
  position: absolute;
  top: 0;
  left: 0;
}

.gallery-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  position: relative;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 1rem;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-size: 1.2rem;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Floating Heart Animations */
.heart-particle {
  position: fixed;
  pointer-events: none;
  z-index: 5;
  animation: floatHeart linear forwards;
  width: 50px;
  height: 50px;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: url('../img/heart-mask.svg');
  mask-image: url('../img/heart-mask.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
}

@keyframes floatHeart {
  0% { transform: translateY(0) scale(0) rotate(0deg); opacity: 0; }
  20% { opacity: 0.8; transform: scale(1); }
  100% { transform: translateY(-100vh) scale(0.5) rotate(360deg); opacity: 0; }
}

.heart-fall {
  animation: fallHeart linear forwards;
}

@keyframes fallHeart {
  0% { transform: translateY(-10vh) scale(0) rotate(0deg); opacity: 0; }
  20% { opacity: 0.6; transform: scale(0.8); }
  100% { transform: translateY(110vh) scale(0.4) rotate(360deg); opacity: 0; }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .main-title { font-size: 2.8rem; margin-top: 1rem; }
  .glass-card { padding: 1.5rem; width: 95%; margin: 2rem auto; }
  .sub-title { font-size: 0.9rem; letter-spacing: 2px; }
  .message-box { font-size: 1rem; margin-bottom: 1rem; min-height: auto; }
  .photo-gallery { max-height: 250px; margin-bottom: 1.5rem; }
  .propose-text { font-size: 1.2rem; }
  .propose-btns { gap: 1rem; }
  .btn-luxury { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
  body { overflow-y: auto; }
}

@media (max-height: 600px) {
  .glass-card { margin-top: 5vh; transform: scale(0.9); }
  .photo-gallery { max-height: 200px; }
}
