* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  height: auto;
  background: #000;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #fff;
  overflow: auto;
}

a { text-decoration: none; color: inherit; }
img { display: block; border: 0; }

/* ========== 头部 ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(110 / 750 * 100vw);
  z-index: 100;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(40 / 750 * 100vw);
}

.header-logo {
  height: calc(55 / 750 * 100vw);
  width: auto;
}

.header-nav {
  display: flex;
  gap: calc(40 / 750 * 100vw);
}

.header-nav a {
  font-size: calc(26 / 750 * 100vw);
  color: #fff;
}

.header-nav a.active {
  color: rgba(198, 236, 75, 1);
}

.header-back {
  font-size: calc(26 / 750 * 100vw);
  color: rgba(198, 236, 75, 1);
}

/* ========== Footer ========== */
.footer {
  position: static;
  width: 100%;
  padding: calc(30 / 750 * 100vw);
  background: #000;
}

.about-footer {
  width: 100%;
  font-size: calc(20 / 750 * 100vw);
  text-align: center;
  line-height: calc(32 / 750 * 100vw);
  color: rgba(255, 255, 255, 0.5);
  display: none;
}

.about-footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.empty {
  width: 100%;
  text-align: center;
  color: #888;
  padding: calc(80 / 750 * 100vw) 0;
  font-size: calc(28 / 750 * 100vw);
}

/* ========== 资讯首页 (news.html) ========== */
.news-page {
  padding: calc(140 / 750 * 100vw) calc(40 / 750 * 100vw) calc(30 / 750 * 100vw);
  background: url(../img/bg-1.png) center top no-repeat;
  background-size: 100% 100%;
  background-color: #000;
  min-height: 100vh;
}

/* 标题区 */
.news-title-box {
  position: relative;
  margin: calc(40 / 750 * 100vw) auto calc(50 / 750 * 100vw);
  text-align: center;
}


.news-title-bg {
  width: 60%;
  height: auto;
  margin:10% auto;
}

/* 卡片网格 - 2列 */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: calc(20 / 750 * 100vw);
}

.news-card {
  width: calc((100% - 20 / 750 * 100vw) / 2);
  cursor: pointer;
}

.news-card .pic {
  width: 100%;
  padding-bottom: 56.7%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: calc(8 / 750 * 100vw);
}

.news-card .title {
  margin-top: calc(12 / 750 * 100vw);
  font-size: calc(24 / 750 * 100vw);
  font-family: PingFangSC-Medium, sans-serif;
  font-weight: 500;
  color: #fff;
  line-height: calc(34 / 750 * 100vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card .underline {
  width: 100%;
  height: 1px;
  background-color: rgba(198, 236, 75, 1);
  margin-top: calc(12 / 750 * 100vw);
}

/* ========== 资讯列表页 (news-list.html) ========== */
.list-page {
  padding: calc(140 / 750 * 100vw) calc(20 / 750 * 100vw) calc(30 / 750 * 100vw);
  min-height: 100vh;
  background: url(../img/bg-1.png) center top no-repeat;
  background-size: 100% 100%;
}

.list-panel {
  background-color: rgba(202, 202, 202, 1);
  border-radius: calc(16 / 750 * 100vw);
  border: 3px solid #000;
  padding: calc(16 / 750 * 100vw);
}

.list-banner {
  position: relative;
  width: 100%;
  height: calc(120 / 750 * 100vw);
  border-radius: calc(10 / 750 * 100vw) calc(10 / 750 * 100vw) 0 0;
  border: 3px solid #000;
  background: linear-gradient(135deg, #1a1a3e, #2a1a4e);
  display: flex;
  align-items: center;
  padding-left: calc(30 / 750 * 100vw);
  margin-bottom: calc(20 / 750 * 100vw);
}

.list-banner .game-cn {
  font-size: calc(36 / 750 * 100vw);
  font-weight: bold;
  color: #fff;
}
.list-banner .label-left,
.list-banner .label-right {
  position: absolute;
  top: -30%;
  width: calc(30 / 750 * 100vw);
  height: calc(40 / 750 * 100vw);
  background: url(../img/label.png) center no-repeat;
  background-size: 100% 100%;
  z-index: 3;
}

.list-banner .label-left { left: 10%; }
.list-banner .label-right { right: 10%; }
.list-banner .center { right: 10%; }
/* 列表卡片 - 2列 */
.list-body {
  display: flex;
  flex-wrap: wrap;
  gap: calc(20 / 750 * 100vw);
}

.list-card {
  width: calc((100% - 20 / 750 * 100vw) / 2);
  cursor: pointer;
}

.list-card .pic {
  width: 100%;
  padding-bottom: 56.7%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: calc(6 / 750 * 100vw);
}

.list-card .desc {
  margin-top: calc(12 / 750 * 100vw);
  font-size: calc(22 / 750 * 100vw);
  color: rgba(58, 58, 58, 1);
  line-height: calc(32 / 750 * 100vw);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.list-card .date-item {
  margin-top: calc(12 / 750 * 100vw);
  padding: calc(10 / 750 * 100vw) calc(14 / 750 * 100vw);
  background: rgba(25, 19, 45, 1);
  border-radius: calc(4 / 750 * 100vw);
}

.list-card .date-text {
  font-size: calc(22 / 750 * 100vw);
  font-weight: 600;
  line-height: calc(32 / 750 * 100vw);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.list-card .date-text .date {
  color: rgba(198, 236, 75, 1);
}

.list-card .date-text .sep {
  color: rgba(57, 52, 76, 1);
  margin: 0 calc(6 / 750 * 100vw);
}

.list-card .date-text .name {
  color: #fff;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 / 750 * 100vw);
  padding: calc(40 / 750 * 100vw) 0;
}

.pagination a {
  cursor: pointer;
  font-size: calc(24 / 750 * 100vw);
  font-weight: bold;
  color: #fff;
}

.pagination a.prev,
.pagination a.next {
  padding: calc(8 / 750 * 100vw) calc(16 / 750 * 100vw);
}

.pagination a.num {
  width: calc(40 / 750 * 100vw);
  text-align: center;
}

.pagination a.active {
  color: rgba(198, 236, 75, 1);
}

/* 列表页的分页（灰色背景）- 使用黑色文字 */
.list-panel .pagination a {
  color: #000;
}

.list-panel .pagination a.active {
  color: rgba(51, 24, 174, 1);
}

/* ========== 资讯详情页 (news-detail.html) ========== */
.detail-page {
  padding: calc(140 / 750 * 100vw) calc(40 / 750 * 100vw) calc(60 / 750 * 100vw);
  min-height: 100vh;
  background: url(../img/bg-1.png) center top no-repeat;
  background-size: 100% 100%;
  background-color: #000;
}

/* 面包屑 */
.detail-breadcrumb {
  background-color: rgba(25, 19, 45, 1);
  padding: calc(16 / 750 * 100vw) calc(20 / 750 * 100vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: calc(22 / 750 * 100vw);
  color: rgba(186, 186, 186, 1);
  margin-bottom: calc(30 / 750 * 100vw);
  border-radius: calc(6 / 750 * 100vw);
}

.detail-breadcrumb a {
  color: rgba(186, 186, 186, 1);
}

.detail-breadcrumb .back {
  color: rgba(198, 236, 75, 1);
}

.detail-title {
  font-size: calc(36 / 750 * 100vw);
  font-family: "Microsoft YaHei", sans-serif;
  color: #fff;
  line-height: calc(50 / 750 * 100vw);
  margin-bottom: calc(12 / 750 * 100vw);
}

.detail-date {
  font-size: calc(22 / 750 * 100vw);
  color: rgba(80, 80, 98, 1);
  line-height: calc(40 / 750 * 100vw);
}

.detail-divider {
  width: 100%;
  height: 1px;
  background: rgba(80, 80, 98, 0.6);
  margin: calc(16 / 750 * 100vw) 0 calc(30 / 750 * 100vw);
}

.detail-content {
  font-size: calc(28 / 750 * 100vw);
  color: rgba(186, 186, 186, 1);
  line-height: calc(48 / 750 * 100vw);
}

.detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: calc(20 / 750 * 100vw) 0;
}

/* Markdown */
.markdown-body p { margin: 0 0 calc(24 / 750 * 100vw); }
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 {
  color: #fff;
  margin: calc(36 / 750 * 100vw) 0 calc(16 / 750 * 100vw);
  font-weight: 600;
}
.markdown-body h1 { font-size: calc(36 / 750 * 100vw); }
.markdown-body h2 { font-size: calc(32 / 750 * 100vw); }
.markdown-body h3 { font-size: calc(28 / 750 * 100vw); }
.markdown-body a { color: rgba(198, 236, 75, 1); text-decoration: underline; }
.markdown-body strong, .markdown-body b { color: #fff; font-weight: 600; }
.markdown-body ul, .markdown-body ol { padding-left: calc(40 / 750 * 100vw); margin-bottom: calc(24 / 750 * 100vw); }
.markdown-body li { margin-bottom: calc(8 / 750 * 100vw); list-style: inherit; }
.markdown-body blockquote {
  border-left: 3px solid rgba(198, 236, 75, 1);
  padding: calc(16 / 750 * 100vw) calc(20 / 750 * 100vw);
  margin: calc(20 / 750 * 100vw) 0;
  background: rgba(255, 255, 255, 0.04);
  color: #ccc;
}
.markdown-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: calc(24 / 750 * 100vw);
}
.markdown-body pre {
  background: rgba(255, 255, 255, 0.06);
  padding: calc(20 / 750 * 100vw);
  border-radius: 4px;
  overflow-x: auto;
  margin: calc(20 / 750 * 100vw) 0;
}
.markdown-body pre code {
  background: transparent;
  padding: 0;
}
