@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=ZCOOL+KuaiLe&display=swap');

:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --ink: #1a1c20;
  --muted: #6c6f75;
  --card: #ffffff;
  --shadow: 0 22px 45px rgba(20, 20, 20, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  background: radial-gradient(circle at 15% 20%, #ffe8cc 0%, transparent 45%),
    radial-gradient(circle at 85% 0%, #d5e7ff 0%, transparent 40%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 28px clamp(16px, 3vw, 36px);
  gap: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: block;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 20px rgba(20, 20, 20, 0.12);
  padding: 8px;
}

.title {
  font-weight: 700;
  font-size: 1.35rem;
}

.subtitle {
  font-size: 0.95rem;
  color: var(--muted);
}

.hint {
  background: #ffffffd9;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: start;
}

.card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(20, 20, 20, 0.18);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 18px 20px 22px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.card-desc {
  margin-top: 6px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hint {
    display: none;
  }

  .card img {
    height: 180px;
  }
}
