/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

/* 确保移动端不会横向滚动 */
@media screen and (max-width: 768px) {
  body, html {
    overflow-x: hidden;
    width: 100%;
  }
  
  .site-header,
  .main-content,
  .content-section,
  .hero-section {
    width: 100%;
    overflow-x: hidden;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

/* 粒子背景 - 都市奇幻风格 */
.particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 100, 150, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(100, 150, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(150, 100, 255, 0.2) 0%, transparent 50%);
  z-index: -1;
}

/* 头部样式 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 100, 150, 0.2);
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.title-group {
  display: flex;
  flex-direction: column;
}

.main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.subtitle {
  font-size: 0.875rem;
  color: #a0a0a0;
  font-weight: 400;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #a0a0a0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6496, #6496ff);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  background: rgba(255, 100, 150, 0.1);
  border: 1px solid rgba(255, 100, 150, 0.3);
  border-radius: 4px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
  outline: none;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 100, 150, 0.2);
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* 主要内容 */
.main-content {
  margin-top: 100px;
  padding: 0 2rem;
}

.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6496, #6496ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.125rem;
  color: #d0d0d0;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button.primary {
  background: linear-gradient(135deg, #ff6496, #6496ff);
  color: #ffffff;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 100, 150, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 100, 150, 0.3);
}

.cta-button.secondary:hover {
  background: rgba(255, 100, 150, 0.1);
  border-color: rgba(255, 100, 150, 0.5);
}

.platform-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.platform-badge {
  background: rgba(255, 100, 150, 0.1);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 100, 150, 0.3);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(255, 100, 150, 0.3);
}

/* 内容区域 */
.content-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #a0a0a0;
  max-width: 600px;
  margin: 0 auto;
}

/* 世界观卡片 */
.world-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.world-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.world-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 100, 150, 0.08);
  border-color: rgba(255, 100, 150, 0.4);
}

.world-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.world-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.world-card p {
  color: #d0d0d0;
  line-height: 1.6;
}

/* 新闻网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

.news-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.news-item:hover {
  background: rgba(255, 100, 150, 0.08);
  border-color: rgba(255, 100, 150, 0.4);
}

.news-date {
  color: #ff6496;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.news-content {
  color: #ffffff;
  line-height: 1.6;
}

/* 特色网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 100, 150, 0.08);
  border-color: rgba(255, 100, 150, 0.4);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #d0d0d0;
  line-height: 1.6;
}

.team-section {
  margin-top: 4rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 16px;
  padding: 2rem;
}

.team-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.team-section p {
  color: #d0d0d0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* 角色网格 */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.character-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.character-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 100, 150, 0.08);
  border-color: rgba(255, 100, 150, 0.4);
}

.character-avatar {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.character-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.character-description {
  color: #d0d0d0;
  line-height: 1.6;
}

/* 图片画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 100, 150, 0.2);
}

.gallery-image:hover {
  transform: scale(1.05);
  border-color: rgba(255, 100, 150, 0.5);
}

.gallery-note {
  text-align: center;
  color: #a0a0a0;
  font-size: 0.875rem;
}

/* 评价网格 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  background: rgba(255, 100, 150, 0.08);
  border-color: rgba(255, 100, 150, 0.4);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-name {
  font-weight: 600;
  color: #ff6496;
}

.review-rating {
  font-size: 0.875rem;
}

.review-text {
  color: #d0d0d0;
  line-height: 1.6;
}

.feedback-section {
  text-align: center;
}

.feedback-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6496, #6496ff);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feedback-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 100, 150, 0.4);
}

/* 游戏评分区域样式 */
.rating-section {
  margin: 3rem 0;
  text-align: center;
}

.rating-section h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2rem;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rating-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.rating-item:hover {
  background: rgba(255, 100, 150, 0.08);
  border-color: rgba(255, 100, 150, 0.4);
  transform: translateY(-2px);
}

.rating-category {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.rating-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6496;
  margin-bottom: 1rem;
}

.total-score {
  font-size: 1.75rem;
  color: #6496ff;
}

.rating-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6496, #6496ff);
  border-radius: 4px;
  transition: width 1s ease;
}

.total-fill {
  background: linear-gradient(90deg, #6496ff, #ff6496);
}

.rating-summary {
  color: #a0a0a0;
  font-size: 0.875rem;
  font-style: italic;
}

/* FAQ样式 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 100, 150, 0.08);
  border-color: rgba(255, 100, 150, 0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 100, 150, 0.05);
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #ff6496;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #d0d0d0;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* 下载网格 */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.download-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 100, 150, 0.08);
  border-color: rgba(255, 100, 150, 0.4);
}

.download-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.download-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.download-card p {
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.download-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6496, #6496ff);
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 100, 150, 0.4);
}

.download-note {
  text-align: center;
  color: #a0a0a0;
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.contact-section {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 100, 150, 0.2);
  border-radius: 16px;
  padding: 2rem;
}

.contact-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: #d0d0d0;
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: #ff6496;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* 页脚 */
.site-footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 100, 150, 0.2);
  padding: 3rem 2rem 2rem;
  margin-top: 6rem;
}

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

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.friend-links,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.friend-links a,
.legal-links a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.friend-links a:hover,
.legal-links a:hover {
  color: #ff6496;
}

.copyright {
  color: #808080;
  font-size: 0.875rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 100, 150, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: relative;
  }
  
  .main-nav {
    display: none;
  }
  
  .main-nav.active {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .main-nav.active .nav-link {
    display: block;
    font-size: 1rem;
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 100, 150, 0.1);
  }
  
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .content-section {
    padding: 4rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .world-content,
  .features-grid,
  .characters-grid,
  .download-grid,
  .rating-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .platform-badges {
    justify-content: center;
  }
  
  .platform-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 0 1rem;
    width: 100%;
  }
  
  .hero-title {
    font-size: 2rem;
    word-wrap: break-word;
  }
  
  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .section-title {
    font-size: 1.75rem;
    word-wrap: break-word;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-link {
    font-size: 0.9rem;
    padding: 0.875rem 1.5rem;
  }
  
  .hero-logo {
    width: 200px;
    height: 200px;
  }
  
  .rating-item {
    padding: 1rem;
  }
  
  .rating-category {
    font-size: 1rem;
  }
  
  .rating-score {
    font-size: 1.25rem;
  }
  
  .content-section {
    padding: 3rem 1rem;
    width: 100%;
  }
  
  .hero-section {
    padding: 0 1rem;
    width: 100%;
  }
}