/* 魔法少女的魔女审判 - 全新魔法主题样式 */

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

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

body {
  font-family: 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #ffb6c1 0%, #dda0dd 25%, #e6e6fa 50%, #add8e6 75%, #b0e0e6 100%);
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* 魔法背景效果 */
.magic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(221, 160, 221, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(230, 230, 250, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(173, 216, 230, 0.2) 0%, transparent 50%);
  z-index: -2;
  overflow: hidden;
}

/* 星星效果 */
.magic-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 60px 60px, 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.4;
  animation: twinkle 6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* 魔法阵装饰 */
.magic-circle {
  position: fixed;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 105, 180, 0.3);
  border-radius: 50%;
  top: 20%;
  right: -150px;
  z-index: -1;
  animation: rotate 20s linear infinite;
}

.magic-circle::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(138, 43, 226, 0.3);
  border-radius: 50%;
  top: 50px;
  left: 50px;
  animation: rotate-reverse 15s linear infinite;
}

.magic-circle::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(70, 130, 180, 0.3);
  border-radius: 50%;
  top: 100px;
  left: 100px;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* 头部样式 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255, 182, 193, 0.5);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(255, 182, 193, 0.3);
  transition: all 0.3s ease;
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.header-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.6);
  border: 2px solid rgba(255, 105, 180, 0.8);
  transition: all 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 105, 180, 0.8);
}

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

.main-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ff69b4, #da70d6, #ba55d3, #9370db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(255, 182, 193, 0.3);
}

.subtitle {
  font-size: 0.8rem;
  color: #666666;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* 语言切换器 */
.language-selector {
  display: flex;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.25rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 105, 180, 0.3);
  flex-shrink: 0;
}

.lang-btn {
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: #666666;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.lang-btn:hover {
  background: rgba(255, 182, 193, 0.3);
  color: #333333;
  transform: translateY(-1px);
}

.lang-btn.active {
  background: linear-gradient(135deg, #ff69b4, #da70d6);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 105, 180, 0.4);
}

/* 主导航 */
.main-nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: #666666;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 182, 193, 0.3);
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff69b4, #da70d6);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff69b4, #da70d6);
  border-radius: 1px;
  transition: all 0.3s ease;
}

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

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

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

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

/* 响应式设计 */
@media (max-width: 1200px) {
  .header-container {
    padding: 0 1.5rem;
  }
  
  .main-title {
    font-size: 1.3rem;
  }
  
  .subtitle {
    font-size: 0.75rem;
  }
  
  .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
  }
}

@media (max-width: 992px) {
  .header-container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }
  
  .logo-section {
    gap: 1rem;
  }
  
  .header-logo {
    width: 50px;
    height: 50px;
  }
  
  .main-title {
    font-size: 1.2rem;
  }
  
  .main-nav {
    gap: 0.6rem;
  }
  
  .nav-link {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .main-content {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 182, 193, 0.5);
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(255, 182, 193, 0.3);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-link {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    width: 80%;
    text-align: center;
  }
  
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-section {
    flex-grow: 1;
  }
  
  .main-title {
    font-size: 1.1rem;
  }
  
  .subtitle {
    font-size: 0.7rem;
  }
  
  .language-selector {
    order: 3;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem;
  }
  
  .logo-section {
    gap: 0.8rem;
  }
  
  .header-logo {
    width: 40px;
    height: 40px;
  }
  
  .main-title {
    font-size: 1rem;
  }
  
  .subtitle {
    display: none;
  }
  
  .lang-btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
  
  .main-content {
    margin-top: 80px;
    padding: 0 1rem;
  }
}

/* 英雄区域 */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(255, 182, 193, 0.3);
  border: 1px solid rgba(255, 105, 180, 0.2);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ff69b4, #da70d6, #ba55d3, #9370db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(255, 182, 193, 0.3);
  margin-bottom: 1.5rem;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 4px 8px rgba(255, 182, 193, 0.3); }
  to { text-shadow: 0 4px 20px rgba(255, 105, 180, 0.6), 0 0 30px rgba(218, 112, 214, 0.4); }
}

.hero-description {
  font-size: 1.2rem;
  color: #666666;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.1);
}

.hero-description span {
  color: #ff69b4;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary, .btn-secondary {
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #ff69b4, #da70d6);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 105, 180, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #ff69b4;
  border: 2px solid #ff69b4;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #ff69b4, #da70d6);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 105, 180, 0.4);
}

.btn-primary::before, .btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
  left: 100%;
}

.platforms {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.platform-tag {
  background: rgba(255, 255, 255, 0.8);
  color: #666666;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 105, 180, 0.3);
  transition: all 0.3s ease;
}

.platform-tag:hover {
  background: rgba(255, 182, 193, 0.3);
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

.hero-visual {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-logo {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 3px solid rgba(255, 105, 180, 0.8);
  box-shadow: 0 0 50px rgba(255, 105, 180, 0.6);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 70px rgba(255, 105, 180, 0.8);
  }
}

/* 通用部分样式 */
.content-section {
  padding: 6rem 0;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

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

.section-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff69b4, #da70d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(255, 182, 193, 0.3);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666666;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.1);
}

/* 关于游戏部分 */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 182, 193, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.1);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 182, 193, 0.2), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.about-card:hover::before {
  opacity: 1;
  animation: shine 2s ease-in-out;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 182, 193, 0.2);
  border-color: rgba(255, 105, 180, 0.5);
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
  color: #ff69b4;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #333333;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
}

.card-description {
  color: #666666;
  line-height: 1.8;
  font-weight: 400;
}

/* 角色部分 */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.character-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 182, 193, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.1);
  position: relative;
  overflow: hidden;
}

.character-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff69b4, #da70d6);
  border-radius: 0 0 20px 20px;
}

.character-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 182, 193, 0.2);
  border-color: rgba(255, 105, 180, 0.5);
}

.character-avatar {
  margin-bottom: 1.5rem;
  position: relative;
}

.avatar-frame {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff69b4, #da70d6);
  animation: pulse 3s ease-in-out infinite;
  color: white;
  font-size: 4rem;
}

.character-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #333333;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
}

.character-description {
  color: #666666;
  line-height: 1.8;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 182, 193, 0.2);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 182, 193, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff69b4, #da70d6);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 182, 193, 0.2);
  border-color: rgba(255, 105, 180, 0.5);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
  color: #ff69b4;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #333333;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
}

.feature-description {
  color: #666666;
  line-height: 1.8;
  font-weight: 400;
}

/* 游戏截图部分 */
.gallery-container {
  position: relative;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 15px 40px rgba(255, 182, 193, 0.2);
  border-color: rgba(255, 105, 180, 0.5);
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.3), rgba(218, 112, 214, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-note {
  text-align: center;
  color: #666666;
  font-size: 0.9rem;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.1);
  margin-top: 2rem;
}

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

.download-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 182, 193, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.1);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff69b4, #da70d6);
}

.download-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 182, 193, 0.2);
  border-color: rgba(255, 105, 180, 0.5);
}

.download-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
  color: #ff69b4;
}

.download-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #333333;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
}

.download-description {
  color: #666666;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 182, 193, 0.2);
}

.download-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff69b4, #da70d6);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
  position: relative;
  overflow: hidden;
}

.download-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.download-button:hover::before {
  left: 100%;
}

.download-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 105, 180, 0.6);
}

.download-note {
  text-align: center;
  color: #666666;
  font-size: 0.9rem;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.1);
  margin-top: 2rem;
}

/* 攻略页面样式 */
.guide-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.guide-main {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 182, 193, 0.2);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.1);
}

.guide-sidebar {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 182, 193, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.1);
  position: sticky;
  top: 200px;
  height: fit-content;
}

.guide-section {
  margin-bottom: 3rem;
}

.guide-section h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #333333;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ff69b4, #da70d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
}

.guide-section p {
  color: #666666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.guide-section img {
  max-width: 100%;
  border-radius: 15px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  margin: 1.5rem 0;
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.1);
}

.sidebar-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #333333;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 1rem;
}

.sidebar-links a {
  text-decoration: none;
  color: #666666;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border-left: 3px solid transparent;
}

.sidebar-links a:hover {
  background: rgba(255, 182, 193, 0.3);
  color: #333333;
  transform: translateX(5px);
  border-left-color: #ff69b4;
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
}

/* 法律页面样式 */
.legal-content {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 182, 193, 0.2);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.1);
  max-width: 1000px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #333333;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ff69b4, #da70d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
}

.legal-section p {
  color: #666666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* 页脚 */
.site-footer {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(255, 182, 193, 0.5);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
  box-shadow: 0 -10px 30px rgba(255, 182, 193, 0.1);
  backdrop-filter: blur(20px);
}

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

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

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: #333333;
  text-shadow: 0 1px 2px rgba(255, 182, 193, 0.3);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links li a {
  color: #666666;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
  display: inline-block;
}

.footer-links li a:hover {
  color: #ff69b4;
  transform: translateX(5px);
}

.footer-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #ff69b4, #da70d6);
  transition: width 0.3s ease;
}

.footer-links li a:hover::after {
  width: 100%;
}

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

.friend-links a {
  color: #666666;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 182, 193, 0.2);
  transition: all 0.3s ease;
}

.friend-links a:hover {
  background: rgba(255, 182, 193, 0.3);
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
}

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

.legal-links a {
  color: #666666;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 182, 193, 0.2);
  transition: all 0.3s ease;
}

.legal-links a:hover,
.legal-links a.active {
  background: rgba(255, 182, 193, 0.3);
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 182, 193, 0.2);
}

.copyright {
  color: #666666;
  font-size: 0.9rem;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.1);
}

/* 平板端设计 */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-content {
    max-width: 500px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-logo {
    width: 300px;
    height: 300px;
  }
  
  .about-content,
  .features-grid,
  .characters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .guide-content {
    grid-template-columns: 1fr;
  }
  
  .guide-sidebar {
    position: relative;
    top: 0;
  }
}

/* 移动端设计 */
@media (max-width: 768px) {
  /* 移动端头部 */
  .site-header {
    padding: 0.75rem 0;
  }
  
  .header-container {
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .logo-section {
    gap: 1rem;
  }
  
  .header-logo {
    width: 50px;
    height: 50px;
  }
  
  .main-title {
    font-size: 1.4rem;
  }
  
  .subtitle {
    font-size: 0.75rem;
  }
  
  .language-selector {
    padding: 0.125rem;
  }
  
  .lang-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  
  /* 移动端菜单 */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 182, 193, 0.5);
    border-bottom: 1px solid rgba(255, 182, 193, 0.5);
    padding: 1rem 0;
    transition: top 0.3s ease;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .main-nav.active {
    top: 100%;
    transform: translateY(-100%);
  }
  
  .nav-link {
    width: 90%;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    border-left: 3px solid transparent;
  }
  
  .nav-link:hover {
    border-left-color: #ff69b4;
    background: rgba(255, 182, 193, 0.3);
  }
  
  .nav-link::after {
    display: none;
  }
  
  /* 移动端主要内容 */
  .main-content {
    margin-top: 140px;
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 2rem 0;
    min-height: auto;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .platforms {
    justify-content: center;
  }
  
  .hero-visual {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    display: flex;
    justify-content: center;
  }
  
  .hero-logo {
    width: 200px;
    height: 200px;
  }
  
  /* 移动端内容区域 */
  .content-section {
    padding: 3rem 0;
  }
  
  .section-container {
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0.8rem;
  }
  
  /* 移动端网格布局 */
  .about-content,
  .features-grid,
  .characters-grid,
  .download-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* 移动端卡片样式 */
  .about-card,
  .feature-card,
  .character-card,
  .download-card {
    padding: 1.5rem;
  }
  
  .card-title,
  .feature-title,
  .character-name,
  .download-title {
    font-size: 1.2rem;
  }
  
  .card-description,
  .feature-description,
  .character-description,
  .download-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .card-icon,
  .feature-icon,
  .avatar-frame,
  .download-icon {
    font-size: 3rem;
  }
  
  /* 移动端攻略页面 */
  .guide-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .guide-main {
    padding: 2rem;
  }
  
  .guide-sidebar {
    padding: 1.5rem;
  }
  
  /* 移动端法律页面 */
  .legal-content {
    padding: 2rem;
  }
  
  /* 移动端页脚 */
  .site-footer {
    padding: 2rem 1rem 1rem;
    margin-top: 3rem;
  }
  
  .footer-content {
    gap: 2rem;
  }
  
  .footer-section {
    gap: 1rem;
  }
  
  .friend-links,
  .legal-links {
    justify-content: center;
  }
}

/* 小屏幕移动端优化 */
@media (max-width: 480px) {
  /* 更紧凑的头部 */
  .site-header {
    padding: 0.5rem 0;
  }
  
  .header-container {
    padding: 0 0.8rem;
  }
  
  .header-logo {
    width: 45px;
    height: 45px;
  }
  
  .main-title {
    font-size: 1.2rem;
  }
  
  .subtitle {
    font-size: 0.7rem;
  }
  
  .mobile-menu-toggle {
    width: 25px;
    height: 18px;
  }
  
  /* 主要内容调整 */
  .main-content {
    margin-top: 120px;
    padding: 0 0.8rem;
  }
  
  .hero-section {
    padding: 1.5rem 0;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.8rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    max-width: 250px;
  }
  
  .hero-logo {
    width: 150px;
    height: 150px;
  }
  
  /* 内容区域优化 */
  .content-section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.6rem;
  }
  
  /* 卡片样式优化 */
  .about-card,
  .feature-card,
  .character-card,
  .download-card {
    padding: 1.2rem;
  }
  
  .card-title,
  .feature-title,
  .character-name,
  .download-title {
    font-size: 1.1rem;
  }
  
  .card-description,
  .feature-description,
  .character-description,
  .download-description {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .card-icon,
  .feature-icon,
  .avatar-frame,
  .download-icon {
    font-size: 2.5rem;
  }
  
  /* 攻略和法律页面优化 */
  .guide-main,
  .legal-content {
    padding: 1.5rem;
  }
  
  .guide-sidebar {
    padding: 1.2rem;
  }
  
  /* 页脚优化 */
  .site-footer {
    padding: 1.5rem 0.8rem 1rem;
    margin-top: 2rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-section {
    gap: 0.8rem;
  }
  
  .footer-links li a {
    font-size: 0.85rem;
  }
}