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

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

:root {
  --rose: #e91e63;
  --purple: #9c27b0;
  --light-pink: #f8bbd0;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
  --gradient-soft: linear-gradient(135deg, #f8bbd0 0%, #e1bee7 100%);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.4);
  --text-dark: #333;
  --text-light: #666;
  --shadow-soft: 0 8px 32px rgba(156, 39, 176, 0.15);
  --shadow-card: 0 4px 20px rgba(233, 30, 99, 0.12);
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e1bee7 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'ZCOOL XiaoWei', serif;
  color: var(--purple);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

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

header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.35);
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  gap: 6px;
}

nav a {
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--purple);
  cursor: pointer;
}

.hero {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 36px;
}

.hero-btn {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 16px 48px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.35);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(233, 30, 99, 0.45);
}

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

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--purple);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(156, 39, 176, 0.2);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

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

.card:hover .card-img img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.card-body h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 500;
}

.card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hot-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hot-scroll::-webkit-scrollbar {
  height: 6px;
}

.hot-scroll::-webkit-scrollbar-track {
  background: var(--light-pink);
  border-radius: 3px;
}

.hot-scroll::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 3px;
}

.hot-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

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

.hot-item .card-img {
  aspect-ratio: 2/3;
}

.hot-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.category-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  background: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.category-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--purple);
}

.category-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 26px;
  border: 2px solid var(--light-pink);
  background: var(--white);
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.25);
}

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

.feature-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(156, 39, 176, 0.18);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--purple);
}

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

.feature-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header {
  padding: 60px 20px 40px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  color: var(--light-pink);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-card);
  max-width: 680px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-pink);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: #fff;
}

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

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

.submit-btn {
  width: 100%;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.35);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

.info-card h3 {
  color: var(--purple);
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--glass-bg);
  border-radius: 50px;
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  padding: 10px 32px;
  border: none;
  background: transparent;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-family: inherit;
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.policy-section {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
}

.policy-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--purple);
}

.policy-section h3 {
  font-size: 1.2rem;
  margin: 20px 0 12px;
  color: var(--text-dark);
}

.policy-section p,
.policy-section li {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 10px;
}

.policy-section ul {
  padding-left: 20px;
}

footer {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(233, 30, 99, 0.08) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--purple);
}

.footer-col p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

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

.footer-col ul li a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(156, 39, 176, 0.2);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.badge-item {
  background: var(--white);
  border: 2px solid var(--light-pink);
  border-radius: 15px;
  padding: 10px 22px;
  font-weight: 500;
  color: var(--purple);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  nav.open {
    display: flex;
  }

  nav a {
    text-align: center;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .hot-item {
    flex: 0 0 160px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 28px;
  }

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

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body h3 {
    font-size: 0.95rem;
  }
}