/* 设计令牌 */
:root {
  --color-primary: #374151;
  --color-secondary: #6b7280;
  --color-accent: #92400e;
  --color-surface: #f9fafb;
  --color-text: #111827;
  --color-text-light: #9ca3af;
  --font-family: 'Source Han Sans CN', 'Noto Sans SC', sans-serif;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
}

/* 基础样式 */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 导航栏样式 */
.navbar {
  background-color: rgba(249, 250, 251, 0.7);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background-color: rgba(249, 250, 251, 0.95);
  box-shadow: var(--shadow-md);
}

/* 主视觉区样式 */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.hero-content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  opacity: 0.9;
}

/* 季节精选网格 */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.season-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.season-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.season-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.season-card:hover .season-image {
  transform: scale(1.15);
}

.season-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.season-card:hover .season-label {
  opacity: 1;
}

/* 造型叙事 */
.story-section {
  padding: 4rem 2rem;
  background-color: white;
}

.story-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
}

.story-card {
  flex: 0 0 300px;
  scroll-snap-align: center;
  text-align: center;
}

.story-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
}

.story-quote {
  font-style: italic;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

/* 分类导航 */
.category-tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.category-tag {
  padding: 0.75rem 2rem;
  border: 1px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-radius: var(--border-radius-sm);
}

.category-tag:hover,
.category-tag.active {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

/* 微光按钮效果 */
.glow-button {
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.glow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.glow-button:hover::before {
  left: 100%;
}

/* 页脚样式 */
.footer {
  background-color: black;
  color: white;
  padding: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-link:hover {
  opacity: 1;
}

/* 响应式设计 */
@media (min-width: 768px) {
  .season-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-content {
    bottom: 15%;
  }
}

@media (min-width: 1440px) {
  .season-grid {
    max-width: 1400px;
  }
}

/* 页面过渡动画 */
.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity var(--transition-base);
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity var(--transition-base);
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-text-light);
  border-radius: 50%;
  border-top-color: var(--color-primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 隐藏滚动条但保持功能 */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}