/* 粉蓝ACG动漫风格主样式 */
:root {
  --primary: #ffb6ec;
  --secondary: #6ecbff;
  --accent: #fff6fa;
  --bg: #f7faff;
  --bg-light: #ffffff;
  --text: #222;
  --text-secondary: #6ecbff;
  --card-bg: #fff6fa;
  --shadow: 0 4px 24px rgba(110,203,255,0.12);
  --radius: 18px;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --font-main: 'Noto Sans SC', '思源黑体', 'Microsoft YaHei', Arial, sans-serif;
}
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
.hero-carousel, .feature-list, .review-list, .about-stats, .faq-list {
  max-width: 100vw;
  overflow-x: auto;
}
.platform-intro-inner, .about-inner, .card, .section, .main, main {
  max-width: 100vw;
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
}
nav, .nav-bar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.5em 0;
  overflow-x: hidden;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.nav-logo span {
  color: var(--primary);
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: 2px;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  max-width: 100vw;
  overflow-x: auto;
}
.nav-menu a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1em;
  transition: color var(--transition);
}
.nav-menu a.active, .nav-menu a:hover {
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1em;
}
.nav-btn {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5em 1.5em;
  font-size: 1em;
  font-weight: bold;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.nav-btn:hover {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: translateY(-2px) scale(1.04);
}
.nav-search-btn, .nav-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3em;
  cursor: pointer;
  margin: 0 0.2em;
}
.hero-section {
  max-width: 100vw;
  overflow-x: auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 3em 0 2em 0;
  position: relative;
}
.hero-content-wrap {
  max-width: 100vw;
  overflow-x: auto;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
}
.hero-content {
  flex: 1 1 350px;
  min-width: 300px;
}
.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}
.hero-content p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}
.hero-btns {
  display: flex;
  gap: 1em;
}
.hero-btn {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.7em 2em;
  font-size: 1.1em;
  font-weight: bold;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-btn-outline {
  background: none;
  border: 2px solid #fff;
  color: #fff;
}
.hero-btn:hover, .hero-btn-outline:hover {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.hero-visual {
  flex: 1 1 350px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-carousel {
  width: 100%;
  max-width: 680px;
  height: 320px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--accent);
}
.hero-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  transition: opacity 0.5s;
}
.hero-slide.active {
  display: block;
  position: relative;
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 0.5em;
}
.hero-carousel-prev, .hero-carousel-next {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.2em;
  height: 2.2em;
  font-size: 1.2em;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition);
}
.hero-carousel-prev:hover, .hero-carousel-next:hover {
  background: var(--secondary);
}
.hero-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin-top: 0.5em;
}
.hero-carousel-indicators span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity var(--transition);
}
.hero-carousel-indicators span.active {
  opacity: 1;
  background: var(--primary);
}
.platform-intro-section, .feature-section, .about-section, .faq-section, .review-section {
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 1em;
}
.platform-intro-inner, .about-inner {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2em 1.5em;
}
.feature-title-group, .faq-title-group, .review-title-group {
  text-align: center;
  margin-bottom: 2em;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.feature-item {
  flex: 1 1 220px;
  min-width: 200px;
  background: var(--bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5em 1em;
  text-align: center;
  margin-bottom: 1em;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(255,182,236,0.18);
  transform: translateY(-2px) scale(1.04);
}
.feature-icon {
  font-size: 2.2em;
  color: var(--primary);
  margin-bottom: 0.5em;
}
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-top: 1.5em;
}
.about-stat {
  flex: 1 1 120px;
  min-width: 100px;
  background: var(--accent);
  border-radius: var(--radius);
  text-align: center;
  padding: 1em 0.5em;
  margin-bottom: 0.5em;
}
.stat-num {
  font-size: 1.3em;
  color: var(--primary);
  font-weight: bold;
}
.stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95em;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}
.faq-card {
  flex: 1 1 320px;
  min-width: 260px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2em 1em;
  margin-bottom: 1em;
}
.faq-q {
  font-weight: bold;
  cursor: pointer;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-a {
  display: none;
  margin-top: 0.7em;
  color: var(--text);
  background: var(--accent);
  border-radius: var(--radius);
  padding: 0.8em 1em;
}
.faq-card.active .faq-a {
  display: block;
}
.review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.review-card {
  flex: 1 1 320px;
  min-width: 260px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2em 1em;
  margin-bottom: 1em;
  display: flex;
  gap: 1em;
  align-items: flex-start;
}
.review-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.review-content {
  flex: 1;
}
.review-stars {
  color: var(--primary);
  margin-bottom: 0.3em;
}
.review-user {
  color: var(--text-secondary);
  font-size: 0.95em;
  margin-top: 0.5em;
}
.footer-section {
  background: var(--bg-light);
  color: var(--text-secondary);
  border-top: 2px solid var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 2em 0 1em 0;
  margin-top: 2em;
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-between;
}
.footer-brand {
  flex: 1 1 260px;
}
.footer-logo {
  color: var(--secondary);
  font-size: 1.5em;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5em;
}
.footer-social a {
  color: var(--primary);
  font-size: 1.3em;
  margin-right: 0.7em;
  transition: color var(--transition);
}
.footer-social a:hover {
  color: var(--secondary);
}
.footer-links {
  flex: 1 1 180px;
}
.footer-links h4 {
  color: var(--primary);
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5em;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 1.5em;
}
.back2top {
  position: fixed;
  right: 2em;
  bottom: 2em;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 100;
  opacity: 0.8;
  transition: background var(--transition), opacity var(--transition);
}
.back2top:hover {
  background: var(--secondary);
  opacity: 1;
}
.search-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.search-modal.active {
  display: flex;
}
.search-modal-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2em 1.5em;
  min-width: 320px;
  max-width: 90vw;
}
.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}
.search-modal-form {
  display: flex;
  gap: 0.5em;
  margin-bottom: 1em;
}
.search-modal-form input {
  flex: 1;
  padding: 0.5em 1em;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  font-size: 1em;
}
.search-modal-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5em 1.2em;
  font-size: 1em;
  cursor: pointer;
  transition: background var(--transition);
}
.search-modal-form button:hover {
  background: var(--secondary);
}
.search-modal-tags {
  color: var(--text-secondary);
  font-size: 0.95em;
}
.search-modal-tags a {
  color: var(--primary);
  margin-right: 0.7em;
  text-decoration: none;
  transition: color var(--transition);
}
.search-modal-tags a:hover {
  color: var(--secondary);
}
.nav-toggle {
  display: none;
}
.menu-drawer {
  display: none;
}
.menu-drawer.active {
  display: block;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 300;
}
.menu-drawer .drawer-panel {
  position: absolute;
  right: 0; top: 0;
  width: 70vw;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: -2px 0 16px rgba(110,203,255,0.12);
  border-radius: 18px 0 0 18px;
  padding: 2em 1.2em 1em 1.2em;
  display: flex;
  flex-direction: column;
  animation: slideInDrawer 0.3s cubic-bezier(.4,0,.2,1);
}
.menu-drawer .drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6em;
  margin-bottom: 1em;
  cursor: pointer;
}
.menu-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.menu-drawer a {
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.5em 1em;
  transition: background 0.2s;
}
.menu-drawer a.active, .menu-drawer a:hover {
  background: rgba(255,255,255,0.12);
}
@keyframes slideInDrawer {
  from { right: -100vw; opacity: 0; }
  to { right: 0; opacity: 1; }
}
@media (max-width: 900px) {
  .nav-inner {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .nav-inner, .hero-content-wrap, .platform-intro-section, .feature-section, .about-section, .faq-section, .review-section, .footer-main {
    max-width: 98vw;
    flex-direction: column;
    gap: 1.5em;
  }
  .feature-list, .review-list, .about-stats, .faq-list {
    flex-direction: column;
    gap: 1em;
  }
  .nav-inner {
    flex-direction: column;
    gap: 1em;
    max-width: 100vw;
    width: 100vw;
    overflow-x: hidden;
  }
  .nav-menu {
    display: none !important;
  }
  .nav-toggle {
    display: inline-block !important;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.7em;
    margin-left: 0.5em;
    cursor: pointer;
    z-index: 301;
  }
  .nav-menu {
    flex-wrap: wrap;
    gap: 1em;
    max-width: 100vw;
    width: 100vw;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .hero-content-wrap, .feature-list, .review-list {
    flex-direction: column;
    gap: 1em;
    max-width: 100vw;
    overflow-x: auto;
  }
  .hero-section {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .nav-inner {
    flex-direction: column;
    gap: 1em;
    padding: 0 0.5em;
    max-width: 100vw;
    width: 100vw;
    overflow-x: hidden;
  }
  .nav-menu {
    flex-wrap: wrap;
    gap: 0.5em;
    max-width: 100vw;
    width: 100vw;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .hero-section {
    padding: 1.5em 0 1em 0;
  }
  .hero-content h1 {
    font-size: 1.5em;
  }
  .hero-carousel {
    width: 100vw;
    height: 220px;
  }
  .hero-content-wrap, .feature-list, .review-list {
    flex-direction: column;
    gap: 1em;
    max-width: 100vw;
    overflow-x: auto;
  }
  .hero-section {
    padding-left: 0;
    padding-right: 0;
  }
} 

/* 友情链接 */
.friendship-links {
  background: #f8f9fa;
  padding: 1rem 0;
  border-top: 1px solid #e9ecef;
}

.friendship-links .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3vw;
}

.friendship-links h3 {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
  font-weight: normal;
}

.links-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.links-list a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.links-list a:hover {
  color: var(--primary);
}