/* pypoy 乡野治愈风主题 */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f7f4;
  --fg: #1a1a2e;
  --muted: #6b7280;
  --accent: #fbbf24;
  --accent2: #34d399;
  --accent-dark: #f59e0b;
  --card: #ffffff;
  --border: #e5e7eb;
}

body {
  background: var(--bg);
}

/* Hero 轮播图 */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #17405f;
  margin: 0 0 10px;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.55);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #2e5a73;
  margin: 0 0 18px;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.6);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2e5a73;
  margin: 0 0 26px;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.65);
}

.hero-features .sep {
  opacity: 0.45;
  font-weight: 400;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--card);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 560px;
  margin: 0 auto;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 10px 20px;
  font-size: 1rem;
  background: transparent;
}

.hero-search button {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 999px;
}

.brand-mark {
  color: var(--fg);
}

.btn-register {
  background: var(--accent);
}

.vip-banner {
  background: linear-gradient(135deg, #1e293b, #334155);
}

/* 移动端适配（放在主题文件末尾，覆盖 base.css 的同名规则） */
@media (max-width: 768px) {
  .hero-carousel { height: 420px; }
  .hero-content { padding: 0 16px; max-width: 100%; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; margin: 0 0 14px; }
  .hero-features { font-size: 0.85rem; gap: 6px 10px; margin: 0 0 20px; }
  .hero-search { max-width: 92%; }
}

@media (max-width: 400px) {
  .hero-carousel { height: 360px; }
  .hero-content { padding: 0 10px; }
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.85rem; }
  .hero-features { font-size: 0.72rem; gap: 4px 8px; }
  .hero-search { max-width: 100%; padding: 4px; }
  .hero-search input { font-size: 0.8rem; padding: 8px 10px; }
  .hero-search button { width: 38px; height: 38px; }
}
