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

:root {
  --cream:    #f7f2ec;
  --blush:    #e8c9c1;
  --rose:     #c9897a;
  --stone:    #9e9189;
  --charcoal: #3d3430;
  --petal:    #f0ddd8;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

/* Subtle petal watermark background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(232,201,193,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(201,137,122,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(201,137,122,0.25);
  border-radius: 2px;
  padding: 3.5rem 4rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 40px rgba(157,130,120,0.10);
}

.flourish {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose), transparent);
  margin: 0 auto 1.8rem;
}

h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2rem;
  color: var(--rose);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2.6rem;
}

.instruction {
  font-size: 0.97rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.input-wrapper {
  position: relative;
  margin-bottom: 0.6rem;
}

input[type="text"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--blush);
  outline: none;
  padding: 0.6rem 0.2rem;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--charcoal);
  text-align: center;
  letter-spacing: 0.05em;
  transition: border-color 0.3s ease;
}

input[type="text"]::placeholder {
  color: var(--blush);
  font-style: italic;
}

input[type="text"]:focus {
  border-bottom-color: var(--rose);
}

.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blush), transparent);
  margin: 0.2rem 0 1.8rem;
}

button {
  background: transparent;
  border: 1px solid var(--rose);
  color: var(--rose);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 2.4rem;
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.25s ease, color 0.25s ease;
}

button:hover {
  background: var(--rose);
  color: #fff;
}

.message {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  min-height: 1.4rem;
  transition: opacity 0.3s ease;
}

.message.incorrect {
  color: var(--stone);
  font-style: italic;
}

.bottom-flourish {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blush), transparent);
  margin: 2.2rem auto 0;
}
