:root {
  --bg-gradient: linear-gradient(135deg, #eafff1, #d4fbe6, #f3fff6);
  --primary: #2e7d4f;
  --soft-green: #66bb6a;
  --accent: #a5d6a7;
  --dark-green: #1f5c3c;
  --text-dark: #1f3d2b;
  --muted: #5f7f6d;
  --glass: rgba(255, 255, 255, 0.85);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Background */
body {
    
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: var(--bg-gradient);
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem;
  color: var(--text-dark);
  position: relative;
  overflow-x: hidden;
}

/* Soft glow background */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #bbf7d0 0%, transparent 70%);
  z-index: -1;
  opacity: 0.5;
}

body::before {
  top: -200px;
  left: -200px;
}

body::after {
  bottom: -200px;
  right: -200px;
}

/* Container */
.container {
  background: var(--glass);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: 30px;
  max-width: 650px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(46, 125, 79, 0.15);
  animation: fadeIn 1.2s ease forwards;
}

/* Header */
header {
  margin-bottom: 2.5rem;
}

/* Back link */
.back {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  transition: 0.3s ease;
  display: inline-block;
  margin-bottom: 1rem;
}

.back:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

/* Title */
h1 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Text */
.text {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 3rem;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Email input */
input[type="email"] {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border-radius: 15px;
  border: 2px solid var(--accent);
  outline: none;
  transition: 0.3s ease;
  background: white;
}

input[type="email"]:focus {
  border-color: var(--soft-green);
  box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.2);
}

/* Button */
button {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(31, 92, 60, 0.3);
}

/* Note */
.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* Footer */
footer {
  margin-top: 4rem;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Hearts Background */

.hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.heart {
  position: absolute;
  bottom: -50px;
  font-size: 1.5rem;
  opacity: 0.9;
  animation: rise linear forwards;
  filter: drop-shadow(0 0 10px rgba(255, 80, 120, 0.4));
}

@keyframes rise {
  0% {
    transform: translateY(0) scale(0.8) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-120vh) scale(1.3) rotate(20deg);
    opacity: 0;
  }
}
