:root {
  --love-green: #3f8f68;
  --love-green-dark: #2f6f53;
  --love-cream: #fff8ec;
  --love-ink: #314238;
  --love-gold: #f0b45a;
  --love-card: rgba(255, 250, 239, 0.90);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--love-ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(240, 180, 90, .30), transparent 28%),
    linear-gradient(135deg, rgba(255, 248, 236, .82), rgba(235, 246, 231, .74)),
    url('/login-assets/cat-background.jpeg') center/cover fixed;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(34, 61, 44, .16), rgba(255,255,255,.08));
}

.shell {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story {
  min-height: 520px;
  padding: 36px;
  border-radius: 30px;
  background: linear-gradient(140deg, rgba(255,248,236,.74), rgba(222,238,217,.52));
  border: 1px solid rgba(255,255,255,.66);
  box-shadow: 0 24px 80px rgba(47, 81, 57, .22);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.story::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -80px;
  border-radius: 999px;
  background: rgba(63, 143, 104, .16);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 42px; height: 42px; border-radius: 14px; box-shadow: 0 8px 20px rgba(63,143,104,.28); }

.headline { max-width: 560px; }
.headline .eyebrow { color: var(--love-green-dark); font-weight: 800; margin-bottom: 12px; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: .96; margin: 0 0 20px; letter-spacing: -.05em; }
.headline p { font-size: 18px; line-height: 1.9; margin: 0; color: rgba(49,66,56,.82); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.chip { padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.58); color: var(--love-green-dark); font-size: 14px; font-weight: 700; }

.card {
  border-radius: 30px;
  padding: 34px 30px;
  background: var(--love-card);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 28px 90px rgba(47, 81, 57, .28);
  backdrop-filter: blur(18px);
}

.card h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.03em; }
.card .sub { margin: 0 0 28px; color: rgba(49,66,56,.72); line-height: 1.7; }
label { display: block; font-size: 14px; font-weight: 800; color: var(--love-green-dark); margin: 18px 0 8px; }

input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(63,143,104,.22);
  border-radius: 16px;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
  color: var(--love-ink);
  background: rgba(255,255,255,.74);
  transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus { border-color: rgba(63,143,104,.72); box-shadow: 0 0 0 5px rgba(63,143,104,.12); background: #fff; }

button {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 18px;
  margin-top: 24px;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--love-green), #76b981 58%, var(--love-gold));
  box-shadow: 0 16px 34px rgba(63,143,104,.32);
  transition: transform .18s ease, box-shadow .18s ease;
}

button:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(63,143,104,.38); }

.login-error {
  border-radius: 14px;
  padding: 11px 13px;
  color: #a44526;
  background: rgba(255, 230, 215, .82);
  border: 1px solid rgba(203, 91, 51, .22);
  font-weight: 700;
  margin-bottom: 12px;
}

.hint { margin-top: 18px; font-size: 13px; color: rgba(49,66,56,.58); text-align: center; line-height: 1.6; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .story { min-height: 360px; padding: 28px; }
  .card { padding: 28px 24px; }
}
