
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Short Stack', cursive;
  color: white;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background: #0a0514;
}

/* 🌌 Cosmic Video Background */
#cosmic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.9) contrast(1.1);
}

/* ✨ Sparkle Overlay */
.sparkle-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(#noise)" opacity="0.1"/></svg>');
  background-size: 200px 200px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* 💖 Main Container */
.love-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* 🎀 Cute Header */
.header {
  margin-bottom: 2rem;
  background: rgba(255, 182, 193, 0.15);
  padding: 1.5rem;
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(255, 107, 139, 0.3);
  backdrop-filter: blur(5px);
  border: 2px dashed #ff9bb3;
  animation: floatHeader 8s ease-in-out infinite;
}

@keyframes floatHeader {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.header h1 {
  font-size: 4rem;
  color: #ff9bb3;
  text-shadow: 0 0 15px #ff6b8b, 0 0 30px rgba(255, 107, 139, 0.5);
  margin-bottom: 0.5rem;
  font-family: 'Love Ya Like A Sister', cursive;
}

.subtitle {
  font-size: 1.8rem;
  color: #ffdfba;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
  margin-top: 1rem;
}

.couple-emoji {
  font-size: 3rem;
  animation: float 4s ease-in-out infinite;
  display: block;
  margin: 1rem auto;
}

/* ❤️ Love Counter */
.love-counter {
  margin: 2rem 0;
  background: rgba(182, 225, 255, 0.15);
  padding: 1.5rem 3rem;
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(182, 225, 255, 0.3);
  backdrop-filter: blur(3px);
  border: 2px solid rgba(182, 225, 255, 0.3);
  animation: pulseContainer 3s ease-in-out infinite;
}

@keyframes pulseContainer {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

#days-together {
  font-size: 4rem;
  color: #ffdfba;
  display: block;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  font-weight: bold;
  background: linear-gradient(45deg, #ff9bb3, #ffdfba);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientGlow 3s infinite alternate;
}

/* 💖 Beautiful Next Page Button */
.next-page-btn {
  margin-top: 2rem;
  position: relative;
  display: inline-block;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(45deg, #ff9bb3, #d9b8ff);
  color: white;
  font-size: 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 25px rgba(255, 107, 139, 0.6);
  overflow: hidden;
  transition: all 0.4s;
  z-index: 1;
  font-family: 'Pacifico', cursive;
  text-decoration: none;
  transform: rotate(-3deg);
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0%, 100% { box-shadow: 0 5px 25px rgba(255, 107, 139, 0.6); }
  50% { box-shadow: 0 5px 35px rgba(255, 107, 139, 0.9); }
}

.next-page-btn:hover {
  transform: translateY(-5px) rotate(2deg) scale(1.05);
  box-shadow: 0 10px 35px rgba(255, 107, 139, 0.8);
  animation: none;
}

.next-page-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #d9b8ff, #ff9bb3);
  z-index: -1;
  transition: opacity 0.4s;
  opacity: 0;
  border-radius: 50px;
}

.next-page-btn:hover::before {
  opacity: 1;
}

.next-page-btn span {
  display: inline-block;
  transition: transform 0.4s;
  text-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

.next-page-btn:hover span {
  transform: translateX(8px);
}

.button-hearts {
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 1.8rem;
  animation: pulse 1.5s infinite;
  text-shadow: 0 0 10px rgba(255, 107, 139, 0.8);
}

/* 💫 Floating Elements */
.floating-element {
  position: fixed;
  font-size: 1.5rem;
  animation: float 8s linear infinite;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

@keyframes gradientGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* 💌 Secret Message */
.secret-box {
  margin-top: 3rem;
  background: rgba(217, 184, 255, 0.15);
  padding: 1.5rem;
  border-radius: 20px;
  backdrop-filter: blur(3px);
  border: 2px dashed #d9b8ff;
}

.secret-box p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffdfba;
}

#secret-input {
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 2px solid #ff9bb3;
  background: rgba(255, 255, 255, 0.9);
  color: #5a0e2a;
  font-size: 1rem;
  width: 80%;
  max-width: 250px;
  text-align: center;
  font-family: 'Pacifico', cursive;
  transition: all 0.3s;
}

#secret-input:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(255, 107, 139, 0.5);
  transform: scale(1.05);
}

#hidden-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 182, 193, 0.3);
  border-radius: 15px;
  animation: fadeIn 1s;
}

.kiss {
  font-size: 2.5rem;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🌙 Crescent Moon */
.moon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: transparent;
  z-index: 0;
  box-shadow: 
    inset -15px 0 0 0 #ffdfba,
    0 0 20px rgba(255, 223, 186, 0.5);
  animation: rotateMoon 20s linear infinite;
}

@keyframes rotateMoon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .header h1 { font-size: 2.5rem; }
  .subtitle { font-size: 1.4rem; }
  .love-container { padding: 1rem; }
  #days-together { font-size: 3rem; }
  .next-page-btn { font-size: 1.3rem; padding: 1rem 2rem; }
  .moon { width: 50px; height: 50px; top: 15px; right: 15px; }
}

