.home-page {
  min-height: calc(100vh - var(--header-height));
}

.hero-section {
  background: linear-gradient(135deg, #F5EFE4 0%, #EDE3D0 50%, #E8D9BE 100%);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B4513' fill-opacity='0.04'%3E%3Cpath d='M40 20c-11 0-20 9-20 20s9 20 20 20 20-9 20-20-9-20-20-20zm0 36c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm-2-26h4v20h-4zm0-10h4v4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--bg-page));
  z-index: 1;
}

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

.hero-subtitle-top {
  font-size: 14px;
  color: var(--primary-brown);
  letter-spacing: 6px;
  margin-bottom: 16px;
  opacity: 0.8;
  font-family: 'STSong', 'SimSun', serif;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary-brown);
  font-family: 'STSong', 'SimSun', serif;
  text-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 16px;
  margin-bottom: 44px;
  color: var(--text-secondary);
  opacity: 0.85;
  letter-spacing: 3px;
}

.hero-search {
  max-width: 640px;
  margin: 0 auto;
}

.search-box-large {
  display: flex;
  background: #fff;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(139, 69, 19, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.search-input-large {
  flex: 1;
  border: none;
  padding: 0 28px;
  font-size: 15px;
  background: transparent;
  color: var(--text-primary);
}

.search-input-large::placeholder {
  color: var(--text-tertiary);
}

.search-btn-large {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary-brown), var(--primary-brown-light));
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.search-btn-large img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.search-btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

.quick-enter {
  margin-top: 18px;
}

.quick-link {
  color: var(--primary-brown);
  font-size: 13px;
  opacity: 0.75;
  letter-spacing: 1px;
}

.quick-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.stats-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  border-right: 1px solid var(--border-light);
  min-width: 0;
  transition: transform 0.3s ease;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.stat-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.stat-icon.members {
  background: linear-gradient(135deg, #8B7355, #A08060);
}

.stat-icon.spectrum {
  background: linear-gradient(135deg, #8B4513, #A0522D);
}

.stat-icon.article {
  background: linear-gradient(135deg, #6B8E9B, #7FA0AB);
}

.stat-icon.xiupushi {
  background: linear-gradient(135deg, #C9A96E, #D4B87F);
}

.stat-icon.hall {
  background: linear-gradient(135deg, #5D875C, #6E9A6D);
}

.stat-info {
  flex: 1;
  min-width: 0;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  font-family: Georgia, 'STSong', serif;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  white-space: nowrap;
}

.stat-desc {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
  white-space: nowrap;
}

.hot-section {
  padding: 70px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title-wrap {
  text-align: center;
  flex: 1;
}

.section-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  font-family: 'STSong', 'SimSun', serif;
  letter-spacing: 2px;
}

.section-title::before,
.section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-gold));
}

.section-title::before {
  right: 100%;
  margin-right: 16px;
}

.section-title::after {
  left: 100%;
  margin-left: 16px;
  background: linear-gradient(90deg, var(--primary-gold), transparent);
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 8px;
  letter-spacing: 2px;
}

.more-link {
  color: var(--primary-brown);
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.more-link:hover {
  color: var(--primary-gold);
  letter-spacing: 1px;
}

.spectrum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spectrum-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.spectrum-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-gold);
}

.card-cover {
  aspect-ratio: 210 / 297;
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.spectrum-card:hover .card-cover img {
  transform: scale(1.05);
}

.card-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(139, 69, 19, 0.6) 100%);
  z-index: 1;
}

.card-cover .surname-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-brown);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'STSong', 'SimSun', serif;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-cover .visibility-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.card-cover .visibility-tag.public {
  color: var(--success-color);
}

.card-cover .visibility-tag.private {
  color: var(--danger-color);
}

.card-cover .hall-name {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.card-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  margin-bottom: 14px;
  flex: 1;
}

.card-stats {
  display: flex;
  gap: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  justify-content: space-between;
}

.card-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.card-stats .stat-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-brown);
  font-family: Georgia, serif;
}

.card-stats .stat-label {
  font-size: 11px;
  color: var(--text-tertiary);
}

.loading, .empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
  font-size: 14px;
}

.feature-section {
  padding: 70px 0;
  background: var(--bg-warm);
  position: relative;
}

.feature-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-md);
  transition: all 0.35s ease;
  background: #fff;
  border: 1px solid var(--border-light);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.feature-icon {
  margin-bottom: 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: 'STSong', 'SimSun', serif;
  letter-spacing: 1px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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