﻿:root {
  --bg: #f3f5f8;
  --card: #fff;
  --accent: #6d7788;
  --accent-dark: #4f5968;
  --text: #1f2937;
  --muted: #667085;
  --line: #d7dde6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fafb 0%, #eceff3 52%, #e2e8f0 100%);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  min-height: 68vh;
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(120deg, #5b6472, #919aaa 45%, #c4ccd8);
  color: #fff;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.16), rgba(0,0,0,.35));
}

.nav, .hero-content { position: relative; z-index: 1; }

.nav {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { margin: 0; font-size: 1.5rem; letter-spacing: 1px; }

.hero-content {
  padding: 60px 0 80px;
  max-width: 760px;
}

.tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1.2;
}

.btn {
  display: inline-block;
  margin-top: 16px;
  background: var(--accent);
  color: #f8fafc;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); background: var(--accent-dark); }
.btn.small { margin-top: 0; padding: 8px 14px; }

.section { padding: 64px 0; }
.section h3 { margin-top: 0; font-size: 2rem; }
.alt { background: #eef2f7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hint { color: var(--muted); margin-top: -8px; }

#about {
  position: relative;
  overflow: hidden;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(96, 106, 122, 0.14);
}

.toolbar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: #fff;
  border: 1px solid #c9d1dd;
  color: #4b5565;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.filter-btn.active {
  background: #e5ebf4;
  border-color: #8e99aa;
  color: #2f3a48;
}

#searchInput {
  flex: 1;
  min-width: 240px;
  padding: 10px 12px;
  border: 1px solid #c8d1de;
  border-radius: 10px;
  font-size: 0.98rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.menu-item {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.menu-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .93rem;
}

.price {
  color: #4b5565;
  font-weight: 700;
}

.fat-cat {
  position: absolute;
  right: 16px;
  bottom: 10px;
  width: 130px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(70, 78, 92, 0.22));
  opacity: 0.94;
}

footer {
  text-align: center;
  padding: 28px 12px;
  color: #596274;
  font-size: .92rem;
  background: linear-gradient(180deg, #edf1f5, #dce3ec);
}

@media (max-width: 700px) {
  .hero { min-height: 56vh; }
  .section { padding: 48px 0; }
  .fat-cat {
    width: 92px;
    right: 10px;
    bottom: 8px;
  }
}
