/* ===== 基础变量 ===== */
:root {
  --pink: #ff8fab;
  --pink-light: #ffc2d1;
  --mint: #7ee8c7;
  --mint-light: #b8f5e0;
  --lemon: #ffe66d;
  --lavender: #c4b5fd;
  --sky: #89cff0;
  --coral: #ff9f7a;
  --white: #fffef9;
  --text: #4a3f6b;
  --text-light: #7b6f9e;
  --shadow: 0 8px 32px rgba(122, 90, 180, 0.18);
  --shadow-hover: 0 16px 48px rgba(122, 90, 180, 0.28);
  --radius: 24px;
  --radius-sm: 16px;
  --font-display: "ZCOOL KuaiLe", "Nunito", sans-serif;
  --font-body: "Nunito", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(
    160deg,
    #fff5f8 0%,
    #f0fff8 30%,
    #fff9e6 60%,
    #f3eeff 100%
  );
  background-attachment: fixed;
}

/* ===== 天空装饰 ===== */
.sky-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50px;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.8));
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud-1 {
  width: 120px;
  height: 40px;
  top: 8%;
  left: -10%;
  animation: drift 28s linear infinite;
}

.cloud-1::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 15px;
}

.cloud-1::after {
  width: 60px;
  height: 60px;
  top: -30px;
  right: 15px;
}

.cloud-2 {
  width: 90px;
  height: 32px;
  top: 18%;
  right: -8%;
  animation: drift 22s linear infinite reverse;
  opacity: 0.7;
}

.cloud-2::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 10px;
}

.cloud-2::after {
  width: 45px;
  height: 45px;
  top: -22px;
  right: 10px;
}

.cloud-3 {
  width: 70px;
  height: 26px;
  bottom: 30%;
  left: 5%;
  animation: drift 35s linear infinite;
  opacity: 0.5;
}

.cloud-3::before {
  width: 32px;
  height: 32px;
  top: -16px;
  left: 8px;
}

.cloud-3::after {
  width: 36px;
  height: 36px;
  top: -18px;
  right: 8px;
}

@keyframes drift {
  from { transform: translateX(-120px); }
  to { transform: translateX(calc(100vw + 200px)); }
}

.star {
  position: absolute;
  color: var(--lemon);
  font-size: 1.2rem;
  animation: twinkle 2.5s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(255, 230, 109, 0.8);
}

.star-1 { top: 12%; left: 20%; animation-delay: 0s; }
.star-2 { top: 25%; right: 15%; animation-delay: 0.8s; font-size: 0.9rem; }
.star-3 { top: 6%; right: 35%; animation-delay: 1.5s; font-size: 1.5rem; }
.star-4 { bottom: 40%; right: 8%; animation-delay: 0.4s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(20deg); }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(137,207,240,0.15));
  animation: float-up 8s ease-in-out infinite;
}

.bubble-1 { width: 40px; height: 40px; bottom: 10%; left: 12%; animation-delay: 0s; }
.bubble-2 { width: 24px; height: 24px; bottom: 20%; right: 20%; animation-delay: 2s; }
.bubble-3 { width: 32px; height: 32px; bottom: 15%; left: 45%; animation-delay: 4s; }

@keyframes float-up {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-30px) scale(1.1); opacity: 0.9; }
}

/* ===== 彩纸 ===== */
.confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confetti-fall 2.5s ease-in forwards;
}

@keyframes confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  padding: 48px 20px 32px;
  text-align: center;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-light), var(--lavender));
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 8px 24px;
  border-radius: 999px;
  border: 3px solid white;
  box-shadow: var(--shadow);
  animation: bounce-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.2;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.title-word {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink), var(--coral), var(--lemon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  filter: drop-shadow(0 2px 4px rgba(255, 143, 171, 0.3));
}

.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.2s; }
.title-word:nth-child(3) { animation-delay: 0.3s; }
.title-word:nth-child(4) { animation-delay: 0.4s; }

@keyframes pop-in {
  from { opacity: 0; transform: scale(0) rotate(-15deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes bounce-in {
  from { opacity: 0; transform: translateY(-30px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 28px;
  animation: fade-up 0.8s 0.5s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-banner-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid white;
  box-shadow: var(--shadow-hover);
  animation: fade-up 0.8s 0.6s ease both;
}

.hero-banner {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hero-banner-wrap:hover .hero-banner {
  transform: scale(1.03);
}

.banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 60%
  );
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.7s ease both;
}

/* ===== 按钮 ===== */
.btn {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 3px solid white;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-hover);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--coral));
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--text);
}

.btn-icon {
  font-size: 1.2rem;
}

/* ===== 主内容 ===== */
.main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.filter-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.category-enter {
  text-align: center;
  margin-bottom: 16px;
}

.category-enter[hidden] {
  display: none;
}

.category-enter-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(122, 90, 180, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-enter-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 10px 20px;
  border: 3px solid white;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(122, 90, 180, 0.1);
  text-decoration: none;
  display: inline-block;
}

.filter-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: white;
  color: var(--text);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--lavender), var(--pink-light));
  color: var(--text);
  transform: scale(1.08);
  box-shadow: var(--shadow);
}

.photo-count {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ===== 照片墙 ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.photo-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  position: relative;
}

.photo-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--pink), var(--mint), var(--lemon), var(--lavender));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.photo-card:hover {
  transform: translateY(-8px) scale(1.02) rotate(-1deg);
  box-shadow: var(--shadow-hover);
}

.photo-card:hover::before {
  opacity: 1;
  animation: rainbow-border 2s linear infinite;
}

@keyframes rainbow-border {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.photo-card:nth-child(even):hover {
  transform: translateY(-8px) scale(1.02) rotate(1deg);
}

.photo-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
  background: #f3eeff;
}

.photo-thumb.thumb-loading {
  opacity: 0.55;
}

.photo-thumb.thumb-error {
  opacity: 0.45;
  cursor: pointer;
}

.photo-thumb-wrap:has(.thumb-error)::after {
  content: "点击重试";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.photo-card:hover .photo-thumb {
  transform: scale(1.1);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 63, 107, 0.5), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.overlay-hint {
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: wiggle 0.6s ease infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.photo-info {
  padding: 16px 18px;
}

.photo-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  font-weight: 700;
}

.photo-tag.art { background: var(--pink-light); color: #c44569; }
.photo-tag.outdoor { background: var(--mint-light); color: #2d8a6e; }
.photo-tag.lunch { background: #fff3bf; color: #e67700; }
.photo-tag.reading { background: #e8d5ff; color: #7c3aed; }
.photo-tag.music { background: #ffd6e8; color: #d63384; }
.photo-tag.graduation { background: #fff0cc; color: #b45309; }
.photo-tag.album { background: #e8f4ff; color: #2563eb; }

.photo-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.photo-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.photo-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.card-btn {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 8px 12px;
  border: 2px solid var(--pink-light);
  border-radius: 12px;
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.card-btn:hover {
  background: var(--pink-light);
  transform: scale(1.05);
}

.card-btn.download-btn {
  border-color: var(--mint-light);
}

.card-btn.download-btn:hover {
  background: var(--mint-light);
}

/* ===== 页脚 ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 20px 48px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer code {
  background: rgba(255, 255, 255, 0.6);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.footer-tip {
  margin-top: 8px;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ===== 灯箱 ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 63, 107, 0.75);
  backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-panel {
  position: relative;
  background: white;
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  border: 5px solid white;
  box-shadow: 0 24px 80px rgba(74, 63, 107, 0.4);
  animation: lightbox-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.zoomed .lightbox-panel {
  max-width: min(96vw, 1200px);
  overflow: hidden;
}

@keyframes lightbox-pop {
  from { opacity: 0; transform: scale(0.7) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
  background: var(--pink);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid white;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.1);
  background: var(--lemon);
}

.lightbox-prev { left: -16px; }
.lightbox-next { right: -16px; }

.lightbox-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.lightbox.zoomed .lightbox-image-wrap {
  max-height: 78vh;
  overflow: auto;
  cursor: zoom-out;
}

.lightbox-image {
  width: 100%;
  max-height: 55vh;
  object-fit: contain;
  background: linear-gradient(135deg, #fff5f8, #f0fff8);
  display: block;
  transition: opacity 0.3s ease;
  animation: image-reveal 0.5s ease;
  cursor: zoom-in;
}

.lightbox-image.loading {
  opacity: 0.5;
  cursor: wait;
}

.lightbox-image.zoomed {
  width: 160%;
  max-width: none;
  max-height: none;
  cursor: zoom-out;
  animation: none;
}

.lightbox-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  z-index: 2;
  pointer-events: none;
}

.lightbox-loading[hidden] {
  display: none;
}

.lightbox-loading p {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
}

.lightbox-loading-text {
  font-size: 1.1rem;
}

.lightbox-loading-progress {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pink);
}

.lightbox-loading-speed {
  font-size: 0.95rem;
  color: var(--text-light);
}

.lightbox-loading-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--pink-light);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes image-reveal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--lemon) 1px, transparent 1px),
    radial-gradient(circle, var(--pink) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
  background-position: 0 0, 20px 20px;
  opacity: 0.3;
  animation: sparkle-move 3s linear infinite;
}

@keyframes sparkle-move {
  from { background-position: 0 0, 20px 20px; }
  to { background-position: 40px 40px, 60px 60px; }
}

.lightbox-info {
  padding: 24px;
  text-align: center;
}

.lightbox-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.lightbox-info p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.btn-download {
  margin: 0 auto;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: white;
  font-family: var(--font-display);
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow-hover);
  z-index: 10000;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.btn-sm {
  font-size: 0.9rem;
  padding: 10px 18px;
}

.hero-actions .btn {
  text-decoration: none;
}

/* ===== 总下载页 ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 3px solid white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.download-card-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.download-card-body {
  flex: 1;
  min-width: 0;
}

.download-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.download-card-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.download-card-link {
  font-size: 0.85rem;
  color: var(--pink);
  text-decoration: none;
}

.download-card-link:hover {
  text-decoration: underline;
}

/* ===== 分类单页 ===== */
.hero-compact {
  padding: 40px 20px 30px;
}

.hero-compact .hero-inner {
  max-width: 1100px;
}

.back-home {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.back-home:hover {
  color: var(--text);
}

.album-page-title {
  font-size: clamp(2rem, 6vw, 3rem);
}

/* ===== 响应式 ===== */
@media (max-width: 600px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}

/* ===== 加载动画 ===== */
.loading-pulse {
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ===== 登录页 ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 24px 80px rgba(74, 63, 107, 0.25);
  border: 4px solid white;
}

.login-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pink-light);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.login-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.login-sub {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.login-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--pink-light);
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 143, 171, 0.2);
}

.login-error {
  color: #c44569;
  font-size: 0.9rem;
}

.login-submit {
  width: 100%;
  margin-top: 8px;
}
