/* ==========================================================================
   实丰互娱官网 - 样式表
   设计基准：1920px 暗黑鎏金国风仙侠视觉规范
   ========================================================================== */

:root {
  --bg-page: #07070d;
  --bg-card: #14142a;
  --bg-card-hover: #181833;
  --text-primary: #eeebf6;
  --text-secondary: #ded8ee;
  --text-nav: #d8d3e6;
  --text-light-muted: #c9c2d8;
  --text-tag: #bdb6cd;
  --text-muted: #948da8;
  --gold-light: #e8c987;
  --gold-mid: #c9a35a;
  --accent-orange: #e08a3c;
  --accent-orange-bright: #e8913a;
  --accent-orange-dark: #c9702a;
  --accent-badge-end: #a8551d;
  --accent-tag-text: #f0b47a;
  --border-pill: #555573;
  --border-divider: rgba(255, 255, 255, 0.28);

  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Source Han Serif CN', 'Songti SC', 'STSong', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;

  --container-width: 1636px;
  --header-height: 108px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.container {
  width: min(var(--container-width), calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   顶部导航栏
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 13, 0.95) 0%,
    rgba(7, 7, 13, 0.35) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 13, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: min(var(--container-width), calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  padding-left: 26px;
}

.header-logo {
  margin-top: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s ease;
}

.header-logo:hover {
  opacity: 0.9;
}

.header-logo img {
  width: 194px;
  height: 58px;
  object-fit: contain;
}

.header-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 72px;
  margin-left: 86px;
  margin-top: 32px;
  padding-bottom: 18px;
}

.nav-link {
  font-size: 20.7px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.065em;
  color: var(--text-nav);
  transition: color 0.25s ease;
  white-space: nowrap;
}

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

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: -12px;
  width: 62px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--accent-orange-bright);
  transition: transform 0.35s var(--ease-out), width 0.35s var(--ease-out);
  pointer-events: none;
}

.mobile-menu-btn {
  display: none;
  margin-left: auto;
  margin-top: 30px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-btn.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(7, 7, 13, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-link {
  padding: 14px 8px;
  font-size: 17px;
  color: var(--text-nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

/* ==========================================================================
   01 首屏轮播 Hero
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 770px;
  overflow: hidden;
  background-color: var(--bg-page);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* 暗角渐变遮罩（左右压暗突出左侧信息） */
.hero-overlay-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 10, 0.74) 0%,
    rgba(5, 5, 10, 0.4) 30%,
    rgba(5, 5, 10, 0) 58%,
    rgba(5, 5, 10, 0.12) 100%
  );
}

/* 上下压暗遮罩 */
.hero-overlay-vertical {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 10, 0.3) 0%,
    rgba(5, 5, 10, 0) 22%,
    rgba(5, 5, 10, 0) 80%,
    rgba(5, 5, 10, 0.5) 100%
  );
}

/* 底部融底遮罩，平滑衔接 #07070D 页面背景 */
.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(7, 7, 13, 0.92) 0%,
    rgba(5, 5, 10, 0.55) 12%,
    rgba(5, 5, 10, 0) 28%
  );
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(var(--container-width), calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  padding-top: 123px;
}

.hero-content {
  max-width: 820px;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}

.hero-content.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.hero-icon-wrap {
  width: 137px;
  height: 137px;
  margin-left: 3px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.hero-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-size: 85px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.094em;
  color: var(--text-primary);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  margin-top: 26px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

.hero-cta {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 206px;
  height: 75px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
  color: #ffffff;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.125em;
  box-shadow: 0 10px 28px rgba(224, 138, 60, 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, filter 0.25s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 34px rgba(224, 138, 60, 0.4);
}

.hero-cta-arrow {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.hero-cta:hover .hero-cta-arrow {
  transform: translate(3px, -1px);
}

/* 轮播左右箭头（左右对称分布于首屏两侧） */
.hero-arrows {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(7, 7, 13, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hero-arrow-prev {
  left: 36px;
}

.hero-arrow-next {
  right: 36px;
}

.hero-arrow:hover {
  border-color: var(--accent-orange);
  background: rgba(224, 138, 60, 0.22);
  color: var(--gold-light);
  transform: translateY(-50%) scale(1.06);
}

/* 底部轮播指示点 */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 15px;
  height: 15px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.35);
  transition: width 0.35s var(--ease-out), background-color 0.3s ease;
}

.hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.65);
}

.hero-dot.is-active {
  width: 43px;
  background-color: var(--accent-orange);
}

/* ==========================================================================
   区块公共头部
   ========================================================================== */
.section-header-center {
  text-align: center;
}

.section-eyebrow {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.417em;
  text-indent: 0.417em;
  color: var(--gold-mid);
  text-transform: uppercase;
}

.section-title {
  margin-top: 30px;
  font-family: var(--font-serif);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.147em;
  text-indent: 0.147em;
  color: var(--text-primary);
}

.section-desc {
  margin-top: 40px;
  font-size: 18.7px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ==========================================================================
   02 游戏产品
   ========================================================================== */
.section-games {
  padding-top: 66px;
}

.games-grid {
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 31px;
}

.game-card {
  background-color: var(--bg-card);
  border-radius: 21px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s ease;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
  transform: translateY(-6px);
  background-color: var(--bg-card-hover);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(232, 201, 135, 0.16);
}

.game-card.is-highlighted {
  box-shadow: 0 0 0 2px var(--accent-orange), 0 22px 48px rgba(224, 138, 60, 0.25);
}

.game-cover {
  position: relative;
  height: 390px;
  padding: 3px 3px 0;
  overflow: hidden;
  flex-shrink: 0;
}

.game-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  transition: transform 0.6s var(--ease-out);
}

.game-card:hover .game-cover-img {
  transform: scale(1.04);
}

.game-cover-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 108px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 42, 0) 0%,
    rgba(16, 16, 32, 0.72) 60%,
    rgba(20, 20, 42, 0.98) 100%
  );
}

.game-category {
  position: absolute;
  top: 20px;
  left: 21px;
  height: 43px;
  padding: 0 21px;
  border-radius: 21.5px;
  background: rgba(7, 7, 13, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  line-height: 1;
  color: var(--gold-light);
  white-space: nowrap;
}

.game-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 39px;
  padding: 0 15px;
  border-radius: 19.5px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-badge-end) 100%);
  display: inline-flex;
  align-items: center;
  font-size: 14.7px;
  line-height: 1;
  letter-spacing: 0.09em;
  color: #ffffff;
  white-space: nowrap;
}

.game-identity {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 9px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.game-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.game-name {
  font-family: var(--font-serif);
  font-size: 30.7px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.087em;
  color: var(--text-primary);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.game-body {
  padding: 3px 31px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-left: -9px;
}

.game-tag {
  height: 37px;
  min-width: 79px;
  padding: 0 10px;
  border-radius: 18.5px;
  border: 1px solid var(--border-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.7px;
  line-height: 1;
  color: var(--text-tag);
}

.game-summary {
  margin-top: 26px;
  font-size: 17.3px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-muted);
  min-height: 61px;
}

.game-download-btn {
  margin-top: 24px;
  width: 100%;
  height: 68px;
  border-radius: 11px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.133em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(224, 138, 60, 0.24);
  transition: transform 0.25s var(--ease-out), filter 0.25s ease, box-shadow 0.25s ease;
}

.game-download-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(224, 138, 60, 0.36);
}

.game-qr-box {
  margin-top: 38px;
  padding-left: 28px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.game-qr-img {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  background-color: #ffffff;
  border-radius: 4px;
  object-fit: contain;
}

.game-qr-title {
  font-size: 18.7px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gold-light);
}

.game-qr-desc {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}

.game-divider {
  margin-top: 26px;
  width: 100%;
  height: 1px;
  background-color: var(--border-divider);
}

/* ==========================================================================
   03 新闻资讯
   ========================================================================== */
.section-news {
  padding-top: 191px;
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 26px;
  padding-right: 31px;
}

.news-heading-group {
  display: flex;
  align-items: baseline;
  gap: 17px;
}

.news-title {
  font-family: var(--font-serif);
  font-size: 38.7px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.103em;
  color: var(--text-primary);
}

.news-eyebrow {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.417em;
  color: var(--accent-orange);
}

.news-more-btn {
  height: 37px;
  padding: 0 14px 0 16px;
  border-radius: 18.5px;
  border: 1px solid var(--border-pill);
  font-size: 17.3px;
  line-height: 1;
  color: var(--text-light-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.news-more-btn:hover {
  border-color: var(--accent-orange);
  color: var(--gold-light);
  background-color: rgba(224, 138, 60, 0.08);
}

.news-list {
  margin-top: 86px;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 32px 27px;
  border-bottom: 1px solid var(--border-divider);
  cursor: pointer;
  transition: background-color 0.25s ease, padding-left 0.25s var(--ease-out);
}

.news-item:hover {
  background-color: rgba(255, 255, 255, 0.025);
  padding-left: 34px;
}

.news-date {
  width: 143px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-day {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.048em;
  color: var(--gold-light);
}

.news-year {
  margin-top: 12px;
  padding-left: 20px;
  font-size: 14.7px;
  line-height: 1.2;
  letter-spacing: 0.091em;
  color: var(--text-muted);
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 59px;
  height: 31px;
  padding: 0 12px;
  border-radius: 5.3px;
  background-color: rgba(224, 138, 60, 0.1);
  color: var(--accent-tag-text);
  font-size: 14.7px;
  line-height: 1;
  letter-spacing: 0.091em;
}

.news-item-title {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.036em;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.news-item:hover .news-item-title {
  color: var(--gold-light);
}

/* ==========================================================================
   04 常见问题
   ========================================================================== */
.section-faq {
  padding-top: 190px;
}

.faq-header .section-title {
  margin-top: 23px;
}

.faq-list {
  width: min(1124px, 100%);
  margin: 122px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-divider);
}

.faq-question {
  width: 100%;
  min-height: 95px;
  padding: 24px 13px 24px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 24px;
  line-height: 1;
  color: var(--accent-orange);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 40px 28px 7px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ==========================================================================
   05 页脚
   ========================================================================== */
.site-footer {
  padding: 143px 0 96px;
}

.footer-inner {
  display: block;
  text-align: center;
}

.footer-logo-row {
  display: flex;
  justify-content: center;
}

.footer-logo {
  display: inline-flex;
  transition: opacity 0.25s ease;
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo img {
  width: 221px;
  height: 59px;
  object-fit: contain;
}

.footer-beian-row {
  margin-top: 26px;
}

.footer-beian {
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-beian:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   模态弹窗 & Toast
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 4, 9, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid rgba(232, 201, 135, 0.2);
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  transform: translateY(16px);
  transition: transform 0.3s var(--ease-out);
}

.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--gold-light);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-right: 28px;
}

.modal-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.modal-text p + p {
  margin-top: 14px;
}

.modal-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-news-card {
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(7, 7, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.modal-news-card:hover {
  border-color: rgba(224, 138, 60, 0.5);
  background: rgba(224, 138, 60, 0.06);
}

.modal-news-card h4 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-primary);
}

.modal-news-card p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 16px);
  z-index: 300;
  padding: 14px 26px;
  border-radius: 10px;
  background: rgba(20, 20, 42, 0.96);
  border: 1px solid rgba(224, 138, 60, 0.45);
  color: var(--text-primary);
  font-size: 15px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   响应式适配（笔记本 / 平板 / 手机）
   ========================================================================== */
@media (max-width: 1840px) {
  .hero-inner {
    padding-left: 96px;
    padding-right: 96px;
  }
}

@media (max-width: 1600px) {
  .games-grid {
    gap: 24px;
  }

  .game-body {
    padding: 4px 24px 28px;
  }

  .game-tags {
    margin-left: 0;
    gap: 10px;
  }

  .game-qr-box {
    padding-left: 8px;
    gap: 18px;
  }
}

@media (max-width: 1280px) {
  .header-inner {
    padding-left: 0;
  }

  .header-nav {
    gap: 44px;
    margin-left: 48px;
  }

  .hero {
    height: 680px;
  }

  .hero-inner {
    padding-top: 106px;
    padding-left: 72px;
    padding-right: 72px;
  }

  .hero-icon-wrap {
    width: 112px;
    height: 112px;
  }

  .hero-title {
    font-size: 68px;
  }

  .hero-cta {
    margin-top: 38px;
    width: 186px;
    height: 64px;
  }

  .hero-arrow {
    width: 52px;
    height: 52px;
  }

  .hero-arrow-prev {
    left: 20px;
  }

  .hero-arrow-next {
    right: 20px;
  }

  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .game-cover {
    height: 310px;
  }

  .game-category {
    font-size: 13px;
    padding: 0 14px;
    height: 34px;
    left: 14px;
    top: 14px;
  }

  .game-badge {
    font-size: 13px;
    padding: 0 12px;
    height: 32px;
    right: 14px;
    top: 14px;
  }

  .game-identity {
    left: 18px;
    gap: 14px;
  }

  .game-icon {
    width: 60px;
    height: 60px;
  }

  .game-name {
    font-size: 24px;
  }

  .game-qr-img {
    width: 92px;
    height: 92px;
  }

  .game-qr-desc {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .section-news,
  .section-faq {
    padding-top: 120px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .container,
  .header-inner,
  .hero-inner {
    width: calc(100% - 32px);
  }

  .header-logo {
    margin-top: 14px;
  }

  .header-logo img {
    width: 144px;
    height: 43px;
  }

  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    margin-top: 16px;
  }

  .hero {
    height: 560px;
  }

  .hero-inner {
    padding-top: 96px;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-icon-wrap {
    width: 84px;
    height: 84px;
    border-radius: 18px;
  }

  .hero-title {
    margin-top: 18px;
    font-size: 46px;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 17px;
  }

  .hero-cta {
    margin-top: 28px;
    width: 168px;
    height: 54px;
    font-size: 17px;
  }

  .hero-arrows {
    display: none;
  }

  .hero-dots {
    bottom: 34px;
  }

  .section-title {
    font-size: 32px;
    margin-top: 16px;
  }

  .section-desc {
    font-size: 15px;
    margin-top: 18px;
  }

  .games-grid {
    margin-top: 40px;
    grid-template-columns: minmax(0, 1fr);
  }

  .game-card {
    min-width: 0;
  }

  .game-cover {
    height: 248px;
  }

  .game-category {
    top: 12px;
    left: 12px;
    height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }

  .game-badge {
    top: 12px;
    right: 12px;
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .game-body {
    padding: 8px 20px 24px;
  }

  .game-summary {
    font-size: 15px;
    min-height: auto;
  }

  .game-download-btn {
    height: 54px;
    font-size: 17px;
  }

  .game-qr-box {
    margin-top: 28px;
    padding-left: 0;
  }

  .section-news,
  .section-faq {
    padding-top: 88px;
  }

  .news-header {
    padding-left: 0;
    padding-right: 0;
  }

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

  .news-list {
    margin-top: 36px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 8px;
    gap: 12px;
  }

  .news-item:hover {
    padding-left: 8px;
  }

  .news-date {
    width: auto;
    padding-top: 0;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }

  .news-year {
    margin-top: 0;
    padding-left: 0;
  }

  .news-item-title {
    font-size: 18px;
  }

  .faq-list {
    margin-top: 48px;
  }

  .faq-question {
    min-height: 70px;
    font-size: 16.5px;
    padding: 18px 4px;
  }

  .site-footer {
    padding: 72px 0 56px;
  }

  .footer-logo img {
    width: 172px;
    height: 46px;
  }

  .footer-beian-row {
    margin-top: 18px;
  }

  .footer-beian {
    font-size: 13px;
  }

  .modal-dialog {
    padding: 26px 22px;
  }
}
