/* 故事页面通用样式 */
.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 10px;
  margin-top: 50px;
}

.news-header {
  text-align: center;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.news-title {
  font-size: 28px;
  color: #d4af37;
  margin-bottom: 10px;
}

.news-date {
  color: #ccc;
  font-size: 14px;
}

.news-content {
  line-height: 1.8;
  font-size: 16px;
  max-width: 80%;
  margin: 0 auto 60px auto;
}

.news-content h3 {
  color: #d4af37;
  margin: 20px 0 10px 0;
}

.news-content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.news-content li {
  margin: 8px 0;
  line-height: 1.6;
}

.activity-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 4px solid #d4af37;
}

.activity-section h3 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.activity-section ul {
  list-style-type: none;
  padding-left: 0;
}

.activity-section li {
  padding-left: 25px;
  position: relative;
  margin: 12px 0;
}

.activity-section li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #d4af37;
  font-size: 18px;
}

.activity-section li.example {
  color: #aaa;
  font-style: italic;
  font-size: 14px;
  margin-top: 10px;
}

.activity-section li.example:before {
  content: "💡";
  font-style: normal;
}

.activity-section .warning {
  color: #ff9999;
  padding: 15px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 5px;
  border: 1px solid rgba(255, 153, 153, 0.3);
}

body {
  background: url("../images/bg-body.jpg") center center;
  background-size: cover;
  min-height: 100vh;
}

strong {
  background: #d4af37;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.highlight {
  background: #ffc731;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

/* 移动设备优化 */
@media (max-width: 768px) {
  .news-container {
    margin: 20px 10px;
    padding: 15px;
  }

  .news-title {
    font-size: 24px;
  }

  .news-content {
    font-size: 15px;
    max-width: 95%;
  }

  .activity-section {
    padding: 15px;
    margin-bottom: 20px;
  }

  .activity-section h3 {
    font-size: 18px;
  }

  .activity-section li {
    font-size: 14px;
  }

  .link-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
  }

  .link-card {
    padding: 25px 15px;
  }

  .card-icon {
    font-size: 40px;
  }

  .link-card h3 {
    font-size: 20px;
  }

  .card-desc {
    font-size: 13px;
    min-height: auto;
  }

  .view-btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .tips-box {
    padding: 20px 15px;
    margin: 30px 0;
  }

  .tips-box h4 {
    font-size: 16px;
  }

  .tips-box li {
    font-size: 14px;
  }

  .intro-text {
    padding: 15px;
    margin-bottom: 30px;
  }

  .intro-text p {
    font-size: 14px;
  }
}

.last-sentence em {
  color: #d4af37;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}
.signature {
  font-size: 18px;
  text-align: right;
  margin-top: 30px;
  font-style: italic;
  color: #d4af37;
}
.signature strong {
  color: #fff;
  font-style: normal;
}

/* 介绍文字样式 */
.intro-text {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
}

.intro-text p {
  font-size: 16px;
  color: #ccc;
  margin: 10px 0;
}

/* 链接卡片容器 */
.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* 单个链接卡片 */
.link-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.link-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #d4af37, #ffd700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.link-card:hover:before {
  transform: scaleX(1);
}

/* 职业特定颜色 */
.link-card.warrior:hover {
  border-color: #ff6b6b;
}

.link-card.warrior:hover:before {
  background: linear-gradient(90deg, #ff6b6b, #ff8787);
}

.link-card.mage:hover {
  border-color: #4ecdc4;
}

.link-card.mage:hover:before {
  background: linear-gradient(90deg, #4ecdc4, #45b7af);
}

.link-card.warlock:hover {
  border-color: #b19cd9;
}

.link-card.warlock:hover:before {
  background: linear-gradient(90deg, #b19cd9, #9370db);
}

.card-icon {
  font-size: 50px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.link-card h3 {
  color: #d4af37;
  font-size: 24px;
  margin: 15px 0;
}

.card-desc {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin: 15px 0 25px 0;
  min-height: 40px;
}

.view-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #d4af37, #ffd700);
  color: #000;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.view-btn:hover {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* 提示框样式 */
.tips-box {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  padding: 25px;
  margin: 40px 0;
}

.tips-box h4 {
  color: #d4af37;
  font-size: 18px;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tips-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tips-box li {
  padding-left: 25px;
  position: relative;
  margin: 10px 0;
  color: #ccc;
  line-height: 1.6;
}

.tips-box li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d4af37;
  font-weight: bold;
}

/* 二维码容器样式 */
.qrcode-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.qrcode-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #d4af37;
}

.qrcode-item img {
  display: block;
  margin: 0 auto 10px auto;
  border: 2px solid #d4af37;
  border-radius: 5px;
}

.qrcode-item p {
  color: #d4af37;
  font-weight: bold;
  margin: 0;
  font-size: 14px;
}

/* 移动设备优化 */
@media (max-width: 768px) {
  .qrcode-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .qrcode-item {
    padding: 10px;
  }
  
  .qrcode-item img {
    width: 300px;
    height: 300px;
  }
}
