/* styles.css */

:root {
  --pink-main: #d86b7a;
  --pink-soft: #f6c1cb;
  --text-main: #7b2f3b;

  /* Background tones */
  --bg-top: #fdecef;
  --bg-mid: #f5d7dc;
  --bg-bottom: #efc3cd;

  --card-bg: rgba(255, 255, 255, 0.65);
}

* {
  box-sizing: border-box;
  font-family: "Georgia", serif;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 24px;

  /* Gradient + subtle texture */
  background:
    linear-gradient(
      180deg,
      var(--bg-top) 0%,
      var(--bg-mid) 45%,
      var(--bg-bottom) 100%
    );
}

/* Main card */
.container {
  max-width: 420px;
  width: 100%;
  padding: 22px;
  border-radius: 28px;
  position: relative;

  background: var(--card-bg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Paper / watercolor grain overlay */
.container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 2px
    );
  opacity: 0.35;
  pointer-events: none;
}

/* Header image */
.header img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 18px;
  display: block;
}

/* Title */
h1 {
  color: var(--pink-main);
  text-align: center;
  margin: 6px 0;
  font-size: 32px;
  letter-spacing: 0.5px;
}

/* Subtitle */
.subtitle {
  text-align: center;
  color: #8a3a46;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 22px;
  padding: 0 10px;
}

.subtitle em {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-style: italic;
  color: #9a5a64;
}

/* Section headers */
form h2 {
  font-size: 18px;
  margin-top: 20px;
  color: var(--text-main);
}

/* Inputs */
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e7b0b9;
  margin-top: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.85);
}

/* Textarea (free text) */
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #e7b0b9;
  margin-top: 10px;
  font-size: 15px;
  resize: vertical;
  min-height: 110px;
  background: rgba(255, 255, 255, 0.85);
}

/* Focus state */
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--pink-main);
}

/* Submit button */
button {
  margin-top: 22px;
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(
    180deg,
    #e17b8a,
    var(--pink-main)
  );
  color: white;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(216, 107, 122, 0.35);
}

button:hover {
  opacity: 0.92;
}

/* Footer text */
.footer {
  margin-top: 18px;
  font-size: 13px;
  text-align: center;
  color: #6a3a42;
  line-height: 1.4;
}

/* Status message */
#statusMsg {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
}

/* Desktop enhancement */
@media (min-width: 768px) {
  body {
    padding: 60px;
  }

  .container {
    max-width: 520px;
  }
}
