:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --ink: #1d1d1f;
  --muted: #5e6673;
  --accent: #3b67ff;
  --accent-2: #00b3a4;
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 24px 70px rgba(35, 54, 84, 0.16);
  --radius: 22px;
  --glass: rgba(255, 255, 255, 0.72);
}

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

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", "PingFang SC", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 12% 12%, #ffffff, transparent 42%),
    radial-gradient(circle at 88% 18%, #dbe6ff, transparent 38%),
    radial-gradient(circle at 18% 78%, #ffe1d2, transparent 42%),
    radial-gradient(circle at 80% 78%, #d7fff6, transparent 45%),
    linear-gradient(180deg, #f7f8fb 0%, #edf1fb 100%);
  min-height: 100vh;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.hero {
  margin-bottom: 32px;
  animation: fadeIn 0.9s ease forwards;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 10px;
  color: var(--muted);
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(59, 103, 255, 0.18);
}

.cards {
  display: grid;
  gap: 20px;
}

.login {
  max-width: 460px;
  margin: 80px auto;
  display: grid;
  gap: 20px;
}

.login-hero {
  text-align: center;
}

.login-hero h1 {
  font-size: 30px;
  margin: 0 0 6px;
}

.login-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.login-card {
  padding: 24px;
}

.login .field input {
  width: 100%;
}

.login-actions {
  display: grid;
  gap: 10px;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f6f8ff 100%);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  animation: rise 0.7s ease forwards;
  opacity: 0;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 8px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--card-accent),
    rgba(255, 255, 255, 0.2) 60%,
    transparent 100%
  );
}

.card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.2) 35%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0.8;
}

.card:nth-of-type(1) {
  animation-delay: 0.05s;
}
.card:nth-of-type(2) {
  animation-delay: 0.12s;
}
.card:nth-of-type(3) {
  animation-delay: 0.19s;
}
.card:nth-of-type(4) {
  animation-delay: 0.26s;
}
.card:nth-of-type(5) {
  animation-delay: 0.33s;
}

.card-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card-head p {
  margin: 0 0 16px;
  color: var(--muted);
}

.card-a1 {
  --card-accent: #ff6b8a;
  background: linear-gradient(145deg, #ffffff 0%, #ffe8ee 100%);
}

.card-a2 {
  --card-accent: #2bd1b3;
  background: linear-gradient(145deg, #ffffff 0%, #e6fbf7 100%);
}

.card-b {
  --card-accent: #5a7bff;
  background: linear-gradient(145deg, #ffffff 0%, #e9eeff 100%);
}

.card-c {
  --card-accent: #ffb545;
  background: linear-gradient(145deg, #ffffff 0%, #fff2dc 100%);
}

.card-d {
  --card-accent: #8b8ef0;
  background: linear-gradient(145deg, #ffffff 0%, #eff0ff 100%);
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
}

textarea,
input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea:focus,
input[type="date"]:focus {
  outline: none;
  border-color: rgba(10, 132, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}

textarea {
  min-height: 90px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

button {
  border: none;
  background: linear-gradient(135deg, #3b67ff 0%, #6b8bff 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(59, 103, 255, 0.3);
  filter: brightness(1.03);
}

.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(59, 103, 255, 0.35);
}

.status {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  min-height: 18px;
}

.hint {
  font-size: 12px;
  color: var(--muted);
}

.quote {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 18px rgba(90, 123, 255, 0.08);
}

.quote p {
  margin: 0 0 6px;
  font-size: 16px;
}

.quote span {
  font-size: 12px;
  color: var(--muted);
}

.movie h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.movie-note {
  font-size: 12px;
  color: var(--muted);
}

.placeholder {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed rgba(59, 103, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (max-width: 720px) {
  .page {
    padding: 32px 16px 64px;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  button {
    width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
