:root {
  --bg: #faf7f2;
  --bg-card: #ffffff;
  --text: #2c2416;
  --text-muted: #6b5f4f;
  --accent: #e07a2f;
  --accent-soft: #fff3e8;
  --border: #ebe4d8;
  --shadow: 0 12px 40px rgba(44, 36, 22, 0.08);
  --radius: 20px;
  --max: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* Hero */
.hero {
  padding: 72px 0 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(224, 122, 47, 0.18), transparent),
    linear-gradient(180deg, #fff8f0 0%, var(--bg) 100%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero .subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 36em;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 48px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-desc {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* About */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.about-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-muted);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(44, 36, 22, 0.12);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.card .meta {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
}

.card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 640px) {
  .card-featured {
    grid-template-columns: 1fr;
  }
}

.card-featured .card-icon {
  font-size: 56px;
}

/* Hobbies */
.hobby-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hobby-item {
  flex: 1 1 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
}

.hobby-item span {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
}

.hobby-item strong {
  display: block;
  margin-bottom: 4px;
}

.hobby-item small {
  color: var(--text-muted);
  font-size: 13px;
}

/* Contact */
.contact-box {
  background: linear-gradient(135deg, #fff8f0, #ffffff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.btn:hover {
  background: #c96a24;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

/* Legal pages */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.legal-section p {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 15px;
}

.legal-note {
  background: #fff8e6;
  border: 1px solid #f0d9a8;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: #7a5c1e;
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  padding: 32px 0 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer p + p {
  margin-top: 8px;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

/* Nav */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .nav-links {
    gap: 12px;
    font-size: 13px;
  }
}
