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

body {
  background-color: #0a0a0f;
  color: #e6e6e6;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.stars {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iNSIgY3k9IjUiIHI9IjEiIGZpbGw9IiNmZmYiIG9wYWNpdHk9IjAuMyIvPjwvc3ZnPg==');
  opacity: 0.3;
  z-index: -1;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.story-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.story-section.visible {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #f0f0f0;
}

p {
  font-size: 1.3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  font-size: 1rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

#question {
  background: linear-gradient(rgba(10, 10, 15, 0.8), rgba(10, 10, 15, 0.95));
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

#question h2 {
  font-size: 2rem;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

form {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  position: relative;
}

form::before {
  content: '💌';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

textarea {
  width: 100%;
  height: 180px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: #fff;
  font-family: inherit;
  font-size: 1.1rem;
  resize: vertical;
  transition: all 0.3s ease;
}

textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 60px;
  font-size: 1.5rem;
}

button {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(45deg, #ff4d6d, #ff85a1);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

button::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: 0.5s;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 77, 109, 0.4);
}

button:hover::before {
  left: 100%;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

.gift-message {
  font-style: italic;
  color: #ffd1dc;
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(255, 209, 220, 0.3);
  padding: 2rem;
  border-top: 1px solid rgba(255, 209, 220, 0.2);
  border-bottom: 1px solid rgba(255, 209, 220, 0.2);
  max-width: 800px !important;
  line-height: 1.8;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255, 209, 220, 0.3);
  }

  to {
    text-shadow: 0 0 20px rgba(255, 209, 220, 0.6);
  }
}