﻿:root {
  --ink: #1d1d1f;
  --muted: #6a5b4c;
  --accent: #d9723b;
  --accent-soft: #f6c6a6;
  --bg: #f7efe6;
  --card: #fff7ef;
  --border: #e9d9ca;
  --shadow: 0 24px 60px rgba(120, 84, 48, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "PingFang SC", serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fbe6d4 0%, transparent 42%),
    radial-gradient(circle at 70% 20%, #f4e7d8 0%, transparent 50%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6vw;
  background: rgba(255, 249, 241, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.brand strong {
  display: block;
  font-size: 16px;
}

.brand span {
  color: var(--muted);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0805c, #f7c59f);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5);
}

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

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav a:hover,
.nav a.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(217, 114, 59, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 48px 6vw 24px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 12px 0 16px;
}

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

.lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 20px rgba(217, 114, 59, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
}

.hero-panel {
  background: var(--card);
  border-radius: 28px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.slides {
  display: grid;
}

.slide {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: none;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
}

.slide.is-active {
  display: flex;
  animation: fadeIn 0.6s ease;
}

.slide-text {
  backdrop-filter: blur(6px);
  background: rgba(20, 20, 20, 0.35);
  padding: 12px 16px;
  border-radius: 14px;
}

.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 12px 0 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.is-active {
  width: 20px;
  background: var(--accent);
}

.section {
  padding: 32px 6vw;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

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

.card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}

.forum-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(246, 198, 166, 0.2));
  border-radius: 24px;
  border: 1px solid var(--border);
}

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

.forum-stats div {
  background: white;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  text-align: center;
}

.forum-stats strong {
  font-size: 20px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.pill-list li {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
}

.footer {
  margin-top: 24px;
  padding: 24px 6vw 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

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

@media (max-width: 700px) {
  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .hero {
    padding-top: 24px;
  }
}

.forum-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.forum-tip {
  background: rgba(217, 114, 59, 0.08);
  border: 1px dashed var(--accent);
  padding: 14px 18px;
  border-radius: 16px;
  max-width: 240px;
  font-size: 13px;
  color: var(--muted);
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.topic-card .meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

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

.forum-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.forum-form input,
.forum-form select,
.forum-form textarea {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-size: 14px;
  background: white;
}

@media (max-width: 900px) {
  .forum-layout {
    grid-template-columns: 1fr;
  }
  .forum-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .forum-tip {
    max-width: 100%;
  }
}
