@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&family=ZCOOL+XiaoWei&display=swap');

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

:root {
  --bg-deep: #2c1b3e;
  --bg-dark: #1a0f26;
  --gold: #d4ac0d;
  --gold-light: #f0d060;
  --purple-card: #9b59b6;
  --purple-dark: #6c3483;
  --purple-light: #bb8fce;
  --white: #ffffff;
  --text-light: #e8dff0;
  --muted: #b8a8c8;
  --border: rgba(212, 172, 13, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif SC', serif;
  background-color: var(--bg-deep);
  color: var(--white);
  line-height: 1.8;
  min-height: 100vh;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 3px;
}

.logo span {
  color: var(--white);
}

.header-meta {
  font-size: 13px;
  color: var(--muted);
}

.header-meta a {
  color: var(--muted);
  margin-left: 15px;
}

.header-meta a:hover {
  color: var(--gold);
}

/* Navigation */
.main-nav {
  background: var(--bg-dark);
  padding: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 14px 28px;
  color: var(--text-light);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--gold);
  background: rgba(212, 172, 13, 0.1);
}

.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--gold);
}

/* Page Title */
.page-title {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
}

.page-title h1 {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 4px;
}

.page-title p {
  color: var(--muted);
  font-size: 16px;
}

/* Main Content */
main {
  padding: 40px 0;
}

/* Hero / Featured Section */
.hero-section {
  margin-bottom: 50px;
}

.section-title {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 26px;
  color: var(--gold);
  padding-bottom: 12px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  letter-spacing: 2px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
}

.hero-main {
  background: var(--purple-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.3);
  transition: transform 0.3s ease;
}

.hero-main:hover {
  transform: translateY(-5px);
}

.hero-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-main .hero-content {
  padding: 25px;
}

.hero-main h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.4;
}

.hero-main .meta {
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.hero-main p {
  color: var(--text-light);
  line-height: 1.7;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hero-side .hero-item {
  background: var(--purple-dark);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.hero-side .hero-item:hover {
  transform: translateY(-5px);
}

.hero-side img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.hero-side .hero-item-content {
  padding: 15px;
}

.hero-side h3 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.hero-side .meta {
  font-size: 12px;
  color: var(--muted);
}

/* Magazine Card Grid */
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.magazine-card {
  background: var(--purple-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.magazine-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(155, 89, 182, 0.4);
}

.magazine-card .card-image {
  position: relative;
  overflow: hidden;
}

.magazine-card .card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.magazine-card:hover .card-image img {
  transform: scale(1.05);
}

.magazine-card .card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.magazine-card .card-body {
  padding: 20px;
}

.magazine-card h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.5;
}

.magazine-card .card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-card .card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

/* Sidebar */
.with-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--bg-dark);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid var(--border);
}

.sidebar-widget h3 {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 2px;
}

.hot-list {
  list-style: none;
  counter-reset: hot-counter;
}

.hot-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  counter-increment: hot-counter;
}

.hot-list li:last-child {
  border-bottom: none;
}

.hot-list li::before {
  content: counter(hot-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--purple-light);
  color: var(--bg-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  margin-right: 10px;
}

.hot-list li:nth-child(1)::before { background: #e74c3c; color: white; }
.hot-list li:nth-child(2)::before { background: #e67e22; color: white; }
.hot-list li:nth-child(3)::before { background: #f1c40f; color: var(--bg-dark); }

.hot-list a {
  color: var(--text-light);
  font-size: 14px;
  flex: 1;
}

.hot-list a:hover {
  color: var(--gold);
}

.hot-score {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

/* Drop Cap */
.drop-cap {
  float: left;
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 72px;
  line-height: 0.8;
  color: var(--gold);
  padding: 8px 12px 0 0;
  font-weight: 700;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--purple-light) 50%, var(--gold) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  background: var(--purple-card);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 25px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 10px rgba(212, 172, 13, 0.5);
}

.timeline-date {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.timeline-item h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Trending Ranking */
.ranking-list {
  list-style: none;
  counter-reset: rank-counter;
}

.ranking-item {
  display: flex;
  align-items: center;
  background: var(--purple-card);
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  counter-increment: rank-counter;
  transition: transform 0.3s ease;
  gap: 20px;
}

.ranking-item:hover {
  transform: translateX(5px);
}

.ranking-item::before {
  content: counter(rank-counter);
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 700;
  min-width: 50px;
  text-align: center;
}

.ranking-item:nth-child(1)::before { color: #e74c3c; }
.ranking-item:nth-child(2)::before { color: #e67e22; }
.ranking-item:nth-child(3)::before { color: #f1c40f; }

.ranking-info {
  flex: 1;
}

.ranking-info h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 5px;
}

.ranking-info .category {
  font-size: 13px;
  color: var(--muted);
}

.ranking-score {
  font-size: 24px;
  color: var(--gold);
  font-weight: 700;
}

.ranking-score .unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

/* About Page */
.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-intro h2 {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.about-intro p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.value-card {
  background: var(--purple-card);
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card .icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.value-card h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.team-member {
  background: var(--bg-dark);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.team-member img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-member .member-info {
  padding: 20px;
}

.team-member h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 5px;
}

.team-member .role {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 10px;
}

.team-member .bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: var(--bg-dark);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-gold {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--bg-dark);
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 3px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 172, 13, 0.4);
}

.contact-info {
  background: var(--purple-card);
  border-radius: 8px;
  padding: 40px;
}

.contact-info h2 {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item .icon {
  font-size: 28px;
  min-width: 40px;
}

.contact-item h4 {
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.social-link:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 3px solid var(--gold);
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-col p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 25px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom .sep {
  margin: 0 10px;
  color: var(--border);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .with-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-main img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
  }

  .nav-list a {
    padding: 12px 20px;
  }

  .page-title h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 22px;
  }

  .magazine-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline {
    padding-left: 30px;
  }

  .ranking-item::before {
    min-width: 36px;
    font-size: 24px;
  }

  .header-top {
    flex-direction: column;
    text-align: center;
  }

  .contact-form,
  .contact-info {
    padding: 25px;
  }
}

.breadcrumb {
  padding: 15px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .separator {
  margin: 0 8px;
  color: var(--border);
}

.breadcrumb .current {
  color: var(--gold);
}