/* ============================================================
   999bajibet.com - Global Stylesheet
   竞品骨架参考: telsesra.za.com (98WIN越南站)
   Style DNA: 混合型 | 深色博彩 | 红金配色 | 重型Footer
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #e8001d;
  --primary-dark: #8b0000;
  --primary-light: #ff4444;
  --gold: #FFD700;
  --gold-dark: #FFA500;
  --bg-deep: #0a0010;
  --bg-dark: #120018;
  --bg-card: #1a0028;
  --bg-card2: #200030;
  --bg-section: #150020;
  --bg-footer: #0d0018;
  --text-white: #ffffff;
  --text-light: #e0d0f0;
  --text-muted: #9980b0;
  --border-color: rgba(232,0,29,0.25);
  --border-gold: rgba(255,215,0,0.3);
  --shadow-red: 0 4px 24px rgba(232,0,29,0.3);
  --shadow-gold: 0 4px 24px rgba(255,215,0,0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --transition: 0.25s ease;
  --container-max: 1280px;
  --header-h: 70px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-stack);
  background: var(--bg-deep);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { color: var(--text-white); font-weight: 700; line-height: 1.3; }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER
   竞品骨架: 顶部Logo居中 + 左右CTA按钮 + 下方导航栏
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a0028 0%, #120018 100%);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 2px 20px rgba(232,0,29,0.4);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo img,
.header-logo svg {
  height: 44px;
  width: auto;
  max-width: 180px;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* Header nav bar */
.header-nav-bar {
  background: var(--primary-dark);
  border-top: 1px solid rgba(255,215,0,0.15);
}
.header-nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav li a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition);
  border-radius: var(--radius-sm);
}
.main-nav li a:hover,
.main-nav li.active a {
  background: linear-gradient(90deg, #8b4c03, #fc8c01);
  color: #fff;
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #fff;
  font-size: 1.5rem;
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  flex-direction: column;
  padding: 20px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 20px;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav-list li a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-list li a:hover { background: var(--primary); }
.mobile-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.btn-register {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a0028;
  border-color: var(--gold);
  animation: btnPulse 2s infinite;
}
.btn-register:hover {
  background: linear-gradient(135deg, #fff176, var(--gold));
  color: #0a0010;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-login {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: var(--primary);
  animation: btnPulse2 2s infinite;
}
.btn-login:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a0028;
  border-color: var(--gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #1a0028;
}
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }

@keyframes btnPulse {
  0%,100% { box-shadow: 0 0 8px rgba(255,215,0,0.4); }
  50% { box-shadow: 0 0 20px rgba(255,215,0,0.8); }
}
@keyframes btnPulse2 {
  0%,100% { box-shadow: 0 0 8px rgba(232,0,29,0.4); }
  50% { box-shadow: 0 0 20px rgba(232,0,29,0.8); }
}

/* ============================================================
   BANNER / HERO
   竞品骨架: 导航栏正下方全宽Banner轮播
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-banner img,
.hero-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.banner-slider {
  position: relative;
  overflow: hidden;
}
.banner-slide {
  display: none;
  width: 100%;
}
.banner-slide.active { display: block; }
.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.banner-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.banner-dot.active { background: var(--gold); }

/* ============================================================
   SHORTCUT CARDS (快捷入口图块)
   竞品骨架: Banner下方快捷分类入口
   ============================================================ */
.shortcut-section {
  background: var(--bg-section);
  padding: 28px 0;
  border-bottom: 1px solid var(--border-color);
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-white);
}
.shortcut-card:hover {
  background: var(--bg-card2);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  color: var(--gold);
}
.shortcut-icon {
  width: 48px; height: 48px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}
.shortcut-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 60px 0;
}
.section-alt {
  background: var(--bg-section);
}
.section-dark {
  background: var(--bg-dark);
}
.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  margin-top: 8px;
  border-radius: 2px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 36px;
  margin-top: 12px;
}
.section-header {
  margin-bottom: 36px;
}
.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   FEATURE CARDS (功能分发区)
   竞品骨架: 核心功能分发区 - 4列卡片
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(232,0,29,0.25);
}
.feature-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-dark), var(--bg-card2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.feature-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feature-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}
.feature-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 16px;
}
.feature-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-hot { background: var(--primary); color: #fff; }
.badge-new { background: var(--gold); color: #1a0028; }
.badge-live { background: #00c853; color: #fff; }

/* ============================================================
   GAME LISTING (栏目归档型 - Casino/Slots)
   ============================================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.game-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.game-card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-card2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-info {
  padding: 12px;
}
.game-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}
.game-card-provider {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.game-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

/* ============================================================
   PROMOTION CARDS
   ============================================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.promo-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.promo-card-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 24px 20px;
  text-align: center;
  position: relative;
}
.promo-card-icon { font-size: 2.5rem; margin-bottom: 8px; }
.promo-card-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
}
.promo-card-amount {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 4px 0;
}
.promo-card-body { padding: 20px; }
.promo-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark), #3d0000);
  padding: 28px 0;
  border-top: 1px solid rgba(255,215,0,0.2);
  border-bottom: 1px solid rgba(255,215,0,0.2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ============================================================
   LONG-FORM CONTENT AREA (长文承接区)
   竞品骨架: 首页中后段长文说明区
   ============================================================ */
.longform-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 0;
}
.longform-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin: 28px 0 14px;
  display: block;
}
.longform-section h2:first-child { margin-top: 0; }
.longform-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 20px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}
.longform-section p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 14px;
  line-height: 1.8;
}
.longform-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.longform-section ul li {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.7;
}
.longform-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}
.longform-section table th {
  background: var(--primary-dark);
  color: var(--gold);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}
.longform-section table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
}
.longform-section table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}
.longform-section blockquote {
  border-left: 4px solid var(--gold);
  padding: 12px 20px;
  background: rgba(255,215,0,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
  user-select: none;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #1a0028; }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section { padding: 60px 0; background: var(--bg-dark); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #3d0000 50%, var(--bg-dark) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.5; }
.breadcrumb-current { color: var(--gold); }

/* ============================================================
   PAGE HERO (内页首屏)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border-color);
}
.page-hero-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 12px;
}
.page-hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 700px;
}

/* ============================================================
   ARTICLE / INNER PAGE CONTENT
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-sidebar {}
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-link-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-link-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.88rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  transition: all var(--transition);
}
.sidebar-link-list a:hover {
  background: rgba(232,0,29,0.15);
  color: var(--gold);
}

/* ============================================================
   STEPS / GUIDE
   ============================================================ */
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-red);
}
.step-content {}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
}
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.9rem;
  font-family: var(--font-stack);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { color: var(--primary-light); font-size: 0.8rem; margin-top: 4px; display: none; }
.form-success {
  background: rgba(0,200,83,0.1);
  border: 1px solid #00c853;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #00c853;
  font-size: 0.9rem;
  display: none;
  margin-top: 16px;
}

/* ============================================================
   POLICY PAGES (Privacy / Terms)
   ============================================================ */
.policy-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.policy-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin: 28px 0 14px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 14px;
  line-height: 1.8;
}
.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.policy-content ul li {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 6px;
  line-height: 1.7;
}
.policy-last-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ============================================================
   RELATED LINKS / INTERNAL DISTRIBUTION
   竞品骨架: 内链分发模块
   ============================================================ */
.related-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}
.related-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.88rem;
  transition: all var(--transition);
}
.related-link:hover {
  background: rgba(232,0,29,0.1);
  border-color: var(--primary);
  color: var(--gold);
}

/* ============================================================
   FOOTER
   竞品骨架: 4列重型Footer + 联系信息 + 版权行
   ============================================================ */
#site-footer {
  background: var(--bg-footer);
  border-top: 2px solid var(--primary);
}
.footer-main {
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.footer-col {}
.footer-logo {
  margin-bottom: 16px;
}
.footer-logo img,
.footer-logo svg {
  height: 40px;
  width: auto;
  max-width: 160px;
}
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
  padding: 3px 0;
}
.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact-icon {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}
.footer-contact-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-contact-text a { color: var(--text-muted); }
.footer-contact-text a:hover { color: var(--gold); }
.footer-bottom {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--border-color);
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom-links a:hover { color: var(--gold); }
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 12px 0 0;
  line-height: 1.6;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 40px rgba(232,0,29,0.5);
}
.error-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 16px 0 12px;
}
.error-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-red { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-100 { width: 100%; }
.divider {
  height: 1px;
  background: var(--border-color);
  margin: 32px 0;
}
.highlight-box {
  background: rgba(255,215,0,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}
.warning-box {
  background: rgba(232,0,29,0.08);
  border: 1px solid rgba(232,0,29,0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-logo img, .header-logo svg { height: 36px; max-width: 140px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.4rem; }
  .cta-title { font-size: 1.6rem; }
  .longform-section { padding: 24px 20px; }
  .policy-content { padding: 24px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .page-hero-title { font-size: 1.5rem; }
  .error-code { font-size: 5rem; }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .header-cta .btn { padding: 8px 14px; font-size: 0.78rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
