/* ============================================
   棋牌游戏 - 东方水墨棋局风 主样式表
   CSS前缀: qp-
   ============================================ */

/* === 字体引入 === */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* === CSS变量 === */
:root {
  --qp-primary: #1A1A2E;
  --qp-secondary: #C19A6B;
  --qp-accent: #8B4513;
  --qp-text: #F5F0E8;
  --qp-link: #C19A6B;
  --qp-bg-dark: #0F0F1A;
  --qp-bg-card: rgba(26, 26, 46, 0.85);
  --qp-border: rgba(193, 154, 107, 0.3);
  --qp-shadow: rgba(0, 0, 0, 0.4);
  --qp-font-title: 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', serif;
  --qp-font-body: 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}

/* === 全局重置 === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--qp-font-body);
  color: var(--qp-text);
  background-color: var(--qp-primary);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--qp-link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d4af7a;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--qp-font-title);
  font-weight: 700;
  line-height: 1.4;
  color: var(--qp-text);
}

/* === 干扰块隐藏 === */
.chess-jammer-block {
  display: none;
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* === 容器 === */
.qp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === 宣纸纹理背景 === */
.qp-paper-bg {
  background-color: var(--qp-primary);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(193, 154, 107, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 69, 19, 0.03) 0%, transparent 50%);
  position: relative;
}

.qp-paper-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* === 导航栏 === */
.qp-header {
  background-color: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--qp-border);
  position: relative;
}

.qp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.qp-logo {
  font-family: var(--qp-font-title);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--qp-secondary);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qp-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--qp-secondary), var(--qp-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--qp-text);
  font-family: var(--qp-font-title);
  font-weight: 900;
}

.qp-nav-links {
  display: none;
  list-style: none;
  gap: 0;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(15, 15, 26, 0.98);
  padding: 1rem 0;
  z-index: 999;
}

.qp-nav-links.qp-active {
  display: flex;
}

.qp-nav-links li a {
  font-family: var(--qp-font-title);
  font-size: 0.95rem;
  color: var(--qp-text);
  padding: 0.75rem 1.5rem;
  display: block;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.qp-nav-links li a:hover,
.qp-nav-links li a.qp-active-link {
  color: var(--qp-secondary);
}

.qp-nav-links li a.qp-active-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background-color: var(--qp-secondary);
}

/* 汉堡菜单 */
.qp-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  background: none;
  border: none;
}

.qp-hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background-color: var(--qp-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.qp-hamburger.qp-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.qp-hamburger.qp-open span:nth-child(2) {
  opacity: 0;
}

.qp-hamburger.qp-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === 英雄区域 === */
.qp-hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--qp-bg-dark) 0%, var(--qp-primary) 100%);
}

.qp-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.qp-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 26, 0.6) 0%,
    rgba(26, 26, 46, 0.4) 50%,
    rgba(15, 15, 26, 0.8) 100%
  );
  z-index: 1;
}

.qp-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  max-width: 800px;
}

.qp-hero-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--qp-text) 0%, var(--qp-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.qp-hero-subtitle {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-family: var(--qp-font-body);
}

.qp-hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* === 按钮 === */
.qp-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--qp-font-title);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.05em;
}

.qp-btn-primary {
  background: linear-gradient(135deg, var(--qp-secondary), var(--qp-accent));
  color: var(--qp-text);
  box-shadow: 0 4px 15px rgba(193, 154, 107, 0.3);
}

.qp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 154, 107, 0.5);
  color: #fff;
}

.qp-btn-outline {
  background: transparent;
  color: var(--qp-secondary);
  border: 1px solid var(--qp-secondary);
}

.qp-btn-outline:hover {
  background: rgba(193, 154, 107, 0.1);
  color: var(--qp-secondary);
  transform: translateY(-2px);
}

/* === 区块标题 === */
.qp-section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.qp-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--qp-text);
  margin-bottom: 0.5rem;
}

.qp-section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--qp-secondary), transparent);
  margin: 1rem auto;
}

.qp-section-desc {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* === 通用Section === */
.qp-section {
  padding: 4rem 0;
  position: relative;
}

.qp-section-alt {
  background-color: var(--qp-bg-dark);
}

/* === 游戏卡片矩阵 === */
.qp-game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.qp-game-card {
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.qp-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--qp-shadow);
  border-color: var(--qp-secondary);
}

.qp-game-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.qp-game-card:hover .qp-game-card-img {
  transform: scale(1.05);
}

.qp-game-card-body {
  padding: 1.2rem;
}

.qp-game-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--qp-secondary);
}

.qp-game-card-text {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.qp-game-card-link {
  font-family: var(--qp-font-title);
  font-size: 0.9rem;
  color: var(--qp-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.qp-game-card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.qp-game-card-link:hover::after {
  transform: translateX(5px);
}

/* === 实时对局展示 === */
.qp-live-showcase {
  background: var(--qp-bg-dark);
}

.qp-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.qp-live-item {
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 8px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.qp-live-item:hover {
  border-color: var(--qp-secondary);
}

.qp-live-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--qp-secondary), var(--qp-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--qp-font-title);
  font-weight: 700;
  color: var(--qp-text);
  flex-shrink: 0;
}

.qp-live-info {
  flex: 1;
}

.qp-live-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--qp-text);
  margin-bottom: 0.2rem;
}

.qp-live-meta {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
}

.qp-live-status {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: rgba(193, 154, 107, 0.15);
  color: var(--qp-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.qp-live-status-hot {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

/* === 品牌故事 === */
.qp-brand-story {
  position: relative;
  overflow: hidden;
}

.qp-story-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.qp-story-text {
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(245, 240, 232, 0.85);
}

.qp-story-text p {
  margin-bottom: 1.5rem;
  text-indent: 2em;
}

.qp-story-img {
  border-radius: 8px;
  border: 1px solid var(--qp-border);
  overflow: hidden;
}

.qp-story-img img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.qp-story-img:hover img {
  transform: scale(1.03);
}

/* === 棋艺论道精选 === */
.qp-discussion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qp-discussion-card {
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.qp-discussion-card:hover {
  border-color: var(--qp-secondary);
  transform: translateX(5px);
}

.qp-discussion-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: rgba(193, 154, 107, 0.15);
  color: var(--qp-secondary);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.qp-discussion-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--qp-text);
  margin-bottom: 0.5rem;
}

.qp-discussion-excerpt {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.qp-discussion-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
}

.qp-discussion-footer span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* === 新手引导 === */
.qp-guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

.qp-guide-step {
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  counter-increment: step;
  transition: all 0.3s ease;
}

.qp-guide-step:hover {
  border-color: var(--qp-secondary);
}

.qp-guide-step::before {
  content: counter(step);
  position: absolute;
  top: -12px;
  left: 1.5rem;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--qp-secondary), var(--qp-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--qp-font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--qp-text);
}

.qp-guide-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--qp-secondary);
  margin-bottom: 0.5rem;
  padding-top: 0.3rem;
}

.qp-guide-text {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
}

/* === 平台优势 === */
.qp-advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.qp-advantage-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.qp-advantage-item:hover {
  border-color: var(--qp-secondary);
  transform: translateY(-3px);
}

.qp-advantage-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(193, 154, 107, 0.2), rgba(139, 69, 19, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.qp-advantage-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--qp-secondary);
  margin-bottom: 0.5rem;
}

.qp-advantage-text {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.6;
}

/* === 荣誉与伙伴 === */
.qp-honors {
  text-align: center;
}

.qp-honor-badge {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--qp-bg-card);
  border: 2px solid var(--qp-secondary);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.qp-honor-text {
  font-family: var(--qp-font-title);
  font-size: 0.95rem;
  color: var(--qp-secondary);
  font-weight: 600;
}

.qp-honor-year {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 0.3rem;
}

/* === APP下载横幅 === */
.qp-app-banner {
  background: linear-gradient(135deg, var(--qp-primary) 0%, var(--qp-bg-dark) 100%);
  border: 1px solid var(--qp-border);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 0 1rem;
}

.qp-app-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--qp-secondary);
  margin-bottom: 0.5rem;
}

.qp-app-desc {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.qp-app-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.qp-app-feature {
  font-size: 0.85rem;
  color: var(--qp-secondary);
  font-weight: 500;
}

/* === 页脚 === */
.qp-footer {
  background-color: var(--qp-bg-dark);
  border-top: 1px solid var(--qp-border);
  padding: 3rem 0 1.5rem;
}

.qp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.qp-footer-title {
  font-family: var(--qp-font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--qp-secondary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--qp-border);
}

.qp-footer-text {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.qp-footer-links {
  list-style: none;
}

.qp-footer-links li {
  margin-bottom: 0.5rem;
}

.qp-footer-links li a {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.6);
  transition: color 0.3s ease;
}

.qp-footer-links li a:hover {
  color: var(--qp-secondary);
}

.qp-footer-bottom {
  border-top: 1px solid var(--qp-border);
  padding-top: 1.5rem;
  text-align: center;
}

.qp-footer-honor {
  margin-bottom: 1rem;
}

.qp-footer-honor-text {
  font-size: 0.8rem;
  color: var(--qp-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--qp-border);
  border-radius: 4px;
  display: inline-block;
}

.qp-footer-beian {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.4);
  line-height: 1.8;
}

.qp-footer-beian span {
  color: rgba(245, 240, 232, 0.4);
}



.qp-footer-copyright {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.3);
  margin-top: 0.5rem;
}

/* === 内页通用 === */
.qp-page-hero {
  padding: 6rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--qp-bg-dark) 0%, var(--qp-primary) 100%);
  position: relative;
}

.qp-page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.qp-page-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--qp-text);
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}

.qp-page-subtitle {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.6);
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.qp-breadcrumb {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.qp-breadcrumb a {
  color: rgba(245, 240, 232, 0.5);
}

.qp-breadcrumb a:hover {
  color: var(--qp-secondary);
}

/* === 内页内容区 === */
.qp-content {
  padding: 3rem 0;
}

.qp-article {
  max-width: 800px;
  margin: 0 auto;
}

.qp-article h2 {
  font-size: 1.4rem;
  color: var(--qp-secondary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--qp-border);
}

.qp-article h3 {
  font-size: 1.15rem;
  color: var(--qp-text);
  margin: 1.5rem 0 0.8rem;
}

.qp-article p {
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 1.2rem;
  text-indent: 2em;
}

.qp-article-img {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--qp-border);
}

.qp-article-img img {
  width: 100%;
  height: auto;
}

.qp-article-caption {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
  margin-top: 0.5rem;
  font-style: italic;
}

/* === 棋艺论道页面 === */
.qp-forum-container {
  max-width: 800px;
  margin: 0 auto;
}

.qp-ask-box {
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.qp-ask-input {
  width: 100%;
  background: rgba(15, 15, 26, 0.5);
  border: 1px solid var(--qp-border);
  border-radius: 6px;
  padding: 1rem;
  color: var(--qp-text);
  font-family: var(--qp-font-body);
  font-size: 0.95rem;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.3s ease;
}

.qp-ask-input:focus {
  outline: none;
  border-color: var(--qp-secondary);
}

.qp-ask-input::placeholder {
  color: rgba(245, 240, 232, 0.3);
}

.qp-ask-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.qp-tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.qp-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(193, 154, 107, 0.1);
  color: var(--qp-secondary);
  border: 1px solid var(--qp-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qp-tag:hover,
.qp-tag.qp-tag-active {
  background: rgba(193, 154, 107, 0.2);
  border-color: var(--qp-secondary);
}

.qp-qa-card {
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.qp-qa-card:hover {
  border-color: var(--qp-secondary);
}

.qp-qa-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.qp-qa-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.qp-qa-vote-btn {
  width: 32px;
  height: 32px;
  background: rgba(193, 154, 107, 0.1);
  border: 1px solid var(--qp-border);
  border-radius: 4px;
  color: var(--qp-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.qp-qa-vote-btn:hover {
  background: rgba(193, 154, 107, 0.2);
  border-color: var(--qp-secondary);
}

.qp-qa-count {
  font-family: var(--qp-font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--qp-secondary);
}

.qp-qa-body {
  flex: 1;
}

.qp-qa-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--qp-text);
  margin-bottom: 0.5rem;
}

.qp-qa-answer {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
  padding: 1rem;
  background: rgba(15, 15, 26, 0.3);
  border-radius: 6px;
  border-left: 3px solid var(--qp-secondary);
}

.qp-qa-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
  flex-wrap: wrap;
}

.qp-badge-miaoshou {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  background: linear-gradient(135deg, var(--qp-secondary), var(--qp-accent));
  color: var(--qp-text);
  border-radius: 3px;
  font-weight: 600;
}

/* === APP下载页 === */
.qp-download-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--qp-bg-dark) 0%, var(--qp-primary) 50%, var(--qp-bg-dark) 100%);
}

.qp-download-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
}

.qp-download-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--qp-text);
  margin-bottom: 0.5rem;
}

.qp-download-subtitle {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.qp-download-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.qp-download-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qp-download-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(193, 154, 107, 0.2), rgba(139, 69, 19, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.qp-download-feature-text {
  font-size: 0.85rem;
  color: var(--qp-secondary);
  font-weight: 500;
}

.qp-download-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.qp-qr-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.qp-qr-item {
  text-align: center;
}

.qp-qr-box {
  width: 120px;
  height: 120px;
  background: var(--qp-text);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  border: 3px solid var(--qp-border);
  font-family: var(--qp-font-title);
  color: var(--qp-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.qp-qr-label {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
}

/* === 信息表格 === */
.qp-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.qp-info-table th,
.qp-info-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--qp-border);
  font-size: 0.9rem;
}

.qp-info-table th {
  background: rgba(193, 154, 107, 0.1);
  color: var(--qp-secondary);
  font-family: var(--qp-font-title);
  font-weight: 600;
}

.qp-info-table td {
  color: rgba(245, 240, 232, 0.7);
}

/* === 术语卡片 === */
.qp-term-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.qp-term-card {
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 6px;
  padding: 1rem 1.2rem;
}

.qp-term-name {
  font-family: var(--qp-font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--qp-secondary);
  margin-bottom: 0.3rem;
}

.qp-term-desc {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.6;
}

/* === 回到顶部 === */
.qp-back-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qp-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.qp-back-top.qp-visible {
  opacity: 1;
  visibility: visible;
}

.qp-back-top:hover {
  background: var(--qp-secondary);
  color: var(--qp-text);
}

/* ============================================
   响应式断点
   ============================================ */

/* 平板端 768px */
@media (min-width: 768px) {
  .qp-hamburger {
    display: none;
  }

  .qp-nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 0;
  }

  .qp-nav-links li a {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .qp-hero-title {
    font-size: 2.5rem;
  }

  .qp-hero-subtitle {
    font-size: 1.1rem;
  }

  .qp-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qp-live-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qp-story-content {
    grid-template-columns: 1fr 1fr;
  }

  .qp-guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .qp-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qp-term-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qp-section-title {
    font-size: 1.8rem;
  }

  .qp-page-title {
    font-size: 2.5rem;
  }
}

/* 桌面端 1024px */
@media (min-width: 1024px) {
  .qp-nav-links li a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .qp-hero-title {
    font-size: 3rem;
  }

  .qp-hero-subtitle {
    font-size: 1.15rem;
  }

  .qp-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qp-live-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qp-guide-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .qp-advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .qp-section {
    padding: 5rem 0;
  }

  .qp-section-title {
    font-size: 2rem;
  }

  .qp-page-title {
    font-size: 2.8rem;
  }
}

/* 大桌面端 1440px */
@media (min-width: 1440px) {
  .qp-container {
    max-width: 1320px;
  }

  .qp-hero-title {
    font-size: 3.5rem;
  }
}

/* === APP下载页面补充样式 === */
.qp-download-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 12px;
}

@media (min-width: 768px) {
  .qp-download-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.qp-download-info h2 {
  font-family: var(--qp-font-title);
  font-size: 1.8rem;
  color: var(--qp-secondary);
  margin-bottom: 0.5rem;
}

.qp-download-version {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 1rem;
}

.qp-download-info p {
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.qp-download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.qp-download-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem !important;
}

.qp-download-btn span small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
}

.qp-download-btn span strong {
  display: block;
  font-size: 1rem;
}

.qp-download-btn-icon {
  font-size: 1.5rem;
}

.qp-download-note {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
}

.qp-download-img img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

/* === FAQ样式 === */
.qp-faq {
  margin: 2rem 0;
}

.qp-faq-item {
  background: var(--qp-bg-card);
  border: 1px solid var(--qp-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.qp-faq-question {
  font-family: var(--qp-font-title);
  font-size: 1.05rem;
  color: var(--qp-secondary);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.qp-faq-answer {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.8;
}
