@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@300;500&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #0d0d0d;
  color: #eee;
  text-align: center;
}

header {
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #111, #1a1a1a);
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #ff66cc;
  text-shadow: 0 0 10px #ff66cc;
  margin-bottom: 0.5rem;
}

#garden {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.flower {
  background: rgba(255, 102, 204, 0.1);
  border: 1px solid rgba(255, 102, 204, 0.4);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #ffccff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 102, 204, 0.6);
}

.flower:hover {
  transform: scale(1.1);
  background: rgba(255, 102, 204, 0.2);
  box-shadow: 0 0 25px rgba(255, 102, 204, 1);
}

#word-form {
  margin: 2rem auto;
  max-width: 400px;
}

#word-form input {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: none;
  outline: none;
}

#plantBtn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: #ff66cc;
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 15px #ff66cc;
  transition: 0.3s;
}

#plantBtn:hover {
  background: #ff33aa;
}

#popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.hidden {
  display: none !important;
}

.popup-content {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: left;
  box-shadow: 0 0 25px rgba(255,102,204,0.8);
  color: #fff;
  position: relative;
}

#closePopup {
  position: absolute;
  top: 10px; right: 15px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #ff66cc;
}