/* ========== VARIABLES — GameBuff Design Tokens ========== */
:root {
  --bg-body: #0B1120;
  --bg-header: #004F67;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-input: rgba(255, 255, 255, 0.06);
  --border-card: #1E2D44;
  --border-subtle: #1A2740;
  --text-primary: #E8F2FF;
  --text-body: #CCCCCC;
  --text-muted: #8A93A6;
  --text-dim: #96C4D3;
  --accent-teal: #419DB9;
  --accent-teal-light: #4EC6EA;
  --accent-orange: #FE7816;
  --accent-orange-hover: #FF8C33;
  --accent-blue: #00A2FF;
  --white: #FFFFFF;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --radius-card: 12px;
  --radius-btn: 6px;
  --radius-pill: 25px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.35);
}

html { scroll-behavior: smooth; }
/*body {*/
/*  background: var(--bg-body);*/
/*  color: var(--text-body);*/
/*  font-size: 14px;*/
/*  line-height: 1.6;*/
/*  -webkit-font-smoothing: antialiased;*/
/*}*/

a { text-decoration: none; color: var(--accent-teal); transition: color 0.2s; }
a:hover { color: var(--accent-teal-light); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ========== CONTAINER ========== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }


/* ========== SIDEBAR ========== */
.gb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gb-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 22px 20px;
}
.gb-sidebar-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Download CTA card */
.gb-sidebar-dl-card {
  background: linear-gradient(135deg, rgba(0, 79, 103, 0.5), rgba(65, 157, 185, 0.15));
  border-color: rgba(65, 157, 185, 0.3);
}
.gb-sidebar-dl-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  /*background: linear-gradient(135deg, var(--accent-teal), #2DD4BF);*/
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.gb-sidebar-dl-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.gb-sidebar-dl-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.gb-btn-download {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  background: var(--accent-orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: background 0.2s, transform 0.2s;
}
.gb-btn-download:hover {
  background: var(--accent-orange-hover);
  color: var(--white);
  transform: translateY(-1px);
}

/* Category nav */
.gb-sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-body);
  border-radius: 6px;
  margin-bottom: 4px;
  transition: background 0.2s, color 0.2s;
}
.gb-sidebar-cat-list a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--accent-teal);
}
.gb-sidebar-cat-list a.active {
  background: rgba(65, 157, 185, 0.1);
  color: var(--accent-teal);
  font-weight: 600;
}
.gb-sidebar-cat-count {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 50px;
}

/* ========== RESPONSIVE========== */
@media (max-width: 768px) {
  .gb-nav { display: none; }
  .gb-menu-btn { display: flex; }
  .gb-footer-inner { flex-direction: column; gap: 28px; }
  .gb-footer-links { gap: 28px; }
  .gb-footer-bottom { flex-direction: column; text-align: center; }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: #1E2D44; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2A3D5A; }


/* ========== FAQ 详情页独有样式 (faqs-detail.css) ========== */

/* ========== BREADCRUMB ========== */
.gb-breadcrumb {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.gb-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  flex-wrap: wrap;
}
.gb-breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0;
}
.gb-breadcrumb-list li + li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A93A6' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.gb-breadcrumb-list a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.gb-breadcrumb-list a:hover { color: var(--accent-teal); }
.gb-breadcrumb-list .gb-crumb-current {
  color: var(--text-dim);
  font-weight: 500;
}

/* ========== PAGE HEADER ========== */
.gb-page-header {
  padding: 36px 0 32px;
}
.gb-page-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 14px;
}
.gb-page-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
}

/* ========== MAIN LAYOUT ========== */
.gb-content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding-bottom: 60px;
}

/* ========== ARTICLE ========== */
.gb-article {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px 36px;
}
.gb-article h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-blue);
  line-height: 1.4;
}
.gb-article h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 14px;
  line-height: 1.4;
}
.gb-article p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}
.gb-article ul, .gb-article ol {
  margin: 12px 0 18px 8px;
}
.gb-article li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  padding: 4px 0 4px 20px;
  position: relative;
}
.gb-article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
}
.gb-article ol { counter-reset: step; }
.gb-article ol li { counter-increment: step; }
.gb-article ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  background: rgba(65, 157, 185, 0.15);
  color: var(--accent-teal);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gb-article strong {
  color: var(--text-primary);
  font-weight: 600;
}
.gb-article code {
  background: rgba(65, 157, 185, 0.12);
  color: var(--accent-teal-light);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 13px;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
}

/* Tip / Warning box */
.gb-tip-box {
  background: rgba(65, 157, 185, 0.08);
  border: 1px solid rgba(65, 157, 185, 0.2);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.gb-tip-box.warning {
  background: rgba(254, 120, 22, 0.08);
  border-color: rgba(254, 120, 22, 0.25);
}
.gb-tip-box-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gb-tip-box .gb-tip-box-title { color: var(--accent-teal); }
.gb-tip-box.warning .gb-tip-box-title { color: var(--accent-orange); }
.gb-tip-box p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
  color: var(--text-body);
}

/* Article meta */
.gb-article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-card);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.gb-article-meta a { color: var(--accent-teal); }
.gb-article-meta a:hover { color: var(--accent-teal-light); }

/* ========== RELATED QUESTIONS ========== */
.gb-related {
  margin-top: 28px;
}
.gb-related-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.gb-related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gb-related-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.gb-related-item:hover {
  border-color: rgba(65, 157, 185, 0.4);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}
.gb-related-item a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.6;
}
.gb-related-item a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.gb-related-item a:hover { color: var(--accent-teal-light); }

/* ========== PROMO BANNER ========== */
.gb-promo-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(0, 79, 103, 0.6) 0%, rgba(65, 157, 185, 0.2) 50%, rgba(254, 120, 22, 0.1) 100%);
  border: 1px solid rgba(65, 157, 185, 0.25);
  border-radius: var(--radius-card);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.gb-promo-info { flex: 1; min-width: 200px; }
.gb-promo-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.gb-promo-features {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.gb-promo-features span {
  font-size: 13px;
  color: var(--text-dim);
}
.gb-promo-btn {
  padding: 10px 28px;
  background: var(--accent-orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.gb-promo-btn:hover {
  background: var(--accent-orange-hover);
  color: var(--white);
  transform: translateY(-1px);
}

/* ========== RESPONSIVE — 详情页独有 ========== */
@media (max-width: 900px) {
  .gb-content-layout {
    grid-template-columns: 1fr;
  }
  .gb-article { padding: 24px 20px; }
  .gb-page-header h1 { font-size: 22px; }
  .gb-promo-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .gb-page-header h1 { font-size: 19px; }
  .gb-article h2 { font-size: 17px; }
}




.gb-fusion-banner {
  width: 100%;
  max-width: 770px;
  margin: 20px auto;
  background: linear-gradient(90deg, #013243 0%, #024053 100%);
  border: 1px solid #107695;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.gb-fusion-banner:hover {
  filter: brightness(1.1);
  border-color: #00A3FF;
}

.gb-fusion-link {
  text-decoration: none !important;
}

.gb-fusion-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 18px;
  white-space: nowrap;
}

.gb-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.gb-pp-logo {
  height: 40px;
  width: 40px;
  margin-right: 12px;
}

.gb-pp-logo2 {
  height: 15px;
  width: 108px;
  margin-right: 12px;
}

.gb-pp-text {
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.pp-orange {
  color: #ff9d00;
}

.gb-pp-slogan {
  -webkit-text-size-adjust: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.42857143;
  font-size: 10px;
  color: #FFFFFF;
  display: inline-block;
  margin: 2px 0 0 0;
  font-weight: bold;
  opacity: 0.8;
}

.gb-feature-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  margin-left: 5px;
}

.f-item {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: normal!important;
  word-break: break-word!important;
}

.f-split {
  width: 1px;
  height: 10px;
  background: rgba(16, 118, 149, 0.6);
}

.gb-btn-blue {
  background: #00A3FF;
  color: #FFFFFF;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 163, 255, 0.4);
  white-space: normal!important;
  word-break: break-word!important;
}

.btn-arrow-circle {
  width: 15px;
  height: 15px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 850px) {
  .gb-feature-row { display: none; }
}