/* ============================================================
   Minted Slots — Stylesheet
   主题色 / 字体 / 圆角 全部在 :root 变量中调整
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* 背景（墨绿/深绿，搭配 banner #022b01 主色调）*/
  --bg-base:    #04150a;
  --bg-sidebar: #061b0d;
  --bg-card:    #0a2413;
  --bg-input:   #0f3019;
  --bg-modal:   #07200f;
  --bg-header:  rgba(6, 27, 13, 0.92);

  /* 品牌色 */
  --violet:  #8b5cf6;
  --gold:    #ffc83d;
  --green:   #2de3a7;
  --cyan:    #3dc7ff;
  --red:     #ff4d6d;
  --orange:  #ff9640;

  /* 文字 */
  --text-1: #f2f2fb;
  --text-2: #9aa0c5;
  --text-3: #5d6388;

  /* 标签 */
  --tag-hot:      var(--red);
  --tag-new:      var(--green);
  --tag-popular:  var(--gold);
  --tag-live:     var(--red);
  --tag-featured: #c878ff;
  --tag-original: var(--violet);

  /* 边框（带绿味，与深绿背景协调）*/
  --border:   #163d1f;
  --border-2: #245a35;

  /* 尺寸 */
  --sidebar-w: 236px;
  --header-h:  64px;
  --r-card:  14px;
  --r-btn:   9px;

  /* 字体 */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* 动效 */
  --t-fast: 0.15s ease;
  --t-mid:  0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }
/* 图片防拖拽/防选中保存（配合 shared.js 的右键拦截；仅为阻吓，无法防截图或开发者工具） */
img, picture {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── App Shell ─────────────────────────────────────────────── */
.app-shell { display: flex; min-height: 100vh; }

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow-y: auto;
  scrollbar-width: none;
  transition: transform var(--t-mid);
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar-logo {
  padding: 20px 18px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
/* 图片 Logo：替换 assets/images/icons/logo.png 即可（建议透明 PNG，高度≥80px） */
.logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 5px;
}
.logo-mark {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(95deg, var(--violet) 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 3px;
}
.logo-tagline {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-section { padding: 10px 0; }
.nav-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 8px 18px 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-item .nav-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
.nav-item:hover { background: var(--bg-card); color: var(--text-1); }
.nav-item.active {
  color: var(--violet);
  background: rgba(139, 92, 246, 0.12);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--violet);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px var(--violet);
}
.sidebar-bottom { margin-top: auto; padding: 10px 0; border-top: 1px solid var(--border); }

/* ── Main / Header ─────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.site-header {
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-hamburger {
  display: none;
  background: none; border: none;
  color: var(--text-1);
  font-size: 22px;
  padding: 4px;
}
.header-search { flex: 1; max-width: 340px; position: relative; }
.header-search input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  padding: 8px 14px 8px 38px;
  font-size: 13px;
  color: var(--text-1);
  outline: none;
  transition: border-color var(--t-fast);
}
.header-search input::placeholder { color: var(--text-3); }
.header-search input:focus { border-color: var(--violet); }
.search-icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3); font-size: 14px;
  pointer-events: none;
}
.header-coins { display: flex; gap: 8px; margin-left: auto; }
.coin-badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.coin-gc { color: var(--gold);  border-color: rgba(255,200,61,0.3); }
.coin-sc { color: var(--green); border-color: rgba(45,227,167,0.3); }
.header-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.header-promo {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
  line-height: 1.25;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 17px;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-1);
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6d3df0);
  color: #fff;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 26px rgba(139, 92, 246, 0.55); }
.btn-gold {
  background: linear-gradient(135deg, #ffc83d, #f0a400);
  color: #14110a;
  box-shadow: 0 0 16px rgba(255, 200, 61, 0.28);
  position: relative;
  overflow: hidden;
}
.btn-gold:hover { box-shadow: 0 0 26px rgba(255, 200, 61, 0.5); }
/* 金色按钮微光扫过 — 页面的点睛动效 */
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 65% { left: -80%; }
  100%    { left: 160%; }
}
.btn-green {
  background: linear-gradient(135deg, #2de3a7, #0fb87f);
  color: #08140f;
}

/* ── Page Body ─────────────────────────────────────────────── */
.page-body { padding: 0 20px 60px; max-width: 1600px; position: relative; }

/* 极光背景 — 仅 Hero 后方，低调 */
.aurora {
  position: absolute;
  top: -60px; left: 5%;
  width: 70%; height: 480px;
  background:
    radial-gradient(ellipse 45% 60% at 28% 38%, rgba(45,227,167,0.14), transparent 70%),
    radial-gradient(ellipse 38% 52% at 72% 30%, rgba(255,200,61,0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page-body > *:not(.aurora) { position: relative; z-index: 1; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero-section { padding-top: 24px; margin-bottom: 30px; }
.hero-wrapper { position: relative; overflow: hidden; }
.hero-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.hero-card {
  min-width: calc(50% - 8px);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 12/5;
  background: var(--bg-card);
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid var(--border);
}
.hero-card-img { width: 100%; height: 100%; object-fit: cover; }
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
.hero-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.hero-btn:hover { background: var(--violet); border-color: var(--violet); }
.hero-dots { display: flex; gap: 6px; }
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.hero-dot.active { background: var(--violet); transform: scale(1.35); }

/* ── Category Tabs ─────────────────────────────────────────── */
.category-tabs-wrap { margin-bottom: 26px; }
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-2);
  white-space: nowrap;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.cat-tab:hover { border-color: var(--violet); color: var(--text-1); }
.cat-tab.active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 0 16px rgba(139,92,246,0.4);
}

/* ── Sections ──────────────────────────────────────────────── */
.section { margin-bottom: 36px; }
.game-section { scroll-margin-top: calc(var(--header-h) + 12px); }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title-icon { font-size: 18px; }
.section-header-right { display: flex; align-items: center; gap: 10px; }
.row-nav-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-2);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.row-nav-btn:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.view-all {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.view-all:hover { color: var(--violet); }
.section-empty {
  padding: 26px 16px;
  color: var(--text-3);
  font-size: 13px;
  background: var(--bg-card);
  border-radius: var(--r-card);
  border: 1px dashed var(--border);
}
.section-empty code { color: var(--violet); font-family: monospace; }

/* ── Game Rows / Cards ─────────────────────────────────────── */
.game-row-wrap { position: relative; }
.game-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.game-row::-webkit-scrollbar { display: none; }

.game-card {
  flex-shrink: 0;
  width: 172px;
  border-radius: 25px;   /* 匹配封面图圆角（约宽度的 14.5%）*/
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  position: relative;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.game-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 0 0 1px var(--border-2);
}
.game-thumb { aspect-ratio: 349/687; position: relative; overflow: hidden; }
.game-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-mid);
}
.game-card:hover .game-thumb img { transform: scale(1.07); }
.game-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,6,18,0.62);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.game-card:hover .game-hover-overlay { opacity: 1; }
.game-play-btn {
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 0 18px rgba(139,92,246,0.65);
}
.game-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  color: #fff;
  z-index: 2;
}
.tag-HOT      { background: var(--tag-hot); box-shadow: 0 0 8px rgba(255,77,109,0.6); }
.tag-NEW      { background: var(--tag-new); color: #06130d; }
.tag-POPULAR  { background: var(--tag-popular); color: #141005; }
.tag-LIVE     { background: var(--tag-live); animation: pulse-live 1.6s infinite; }
.tag-FEATURED { background: var(--tag-featured); color: #170a22; }
.tag-ORIGINAL { background: var(--tag-original); }
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 6px rgba(255,77,109,0.55); }
  50%      { box-shadow: 0 0 14px rgba(255,77,109,0.95); }
}
/* （已移除卡片下方文字：game-info / game-name / game-provider）*/

/* row-btn 浮动箭头（搜索结果使用） */
.row-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  color: var(--text-1);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  font-size: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.row-btn:hover { background: var(--violet); border-color: var(--violet); }
.row-btn-left  { left: -18px; }
.row-btn-right { right: -18px; }

/* ── Promo Cards ───────────────────────────────────────────── */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.promo-card {
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-2);
}
.promo-emoji { font-size: 46px; margin-bottom: 14px; display: block; }
.promo-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.promo-body {
  font-size: 14px;
  color: rgba(242,242,251,0.78);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* ── 宣传横幅图 + 叠加按钮 ──────────────────────────────────── */
.promo-banner {
  display: block;
  position: relative;
  margin: 32px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
}
.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--t-mid);
}
.promo-banner:hover .promo-banner-img { transform: scale(1.02); }
/* 按钮叠在图片下方居中（参考样式）*/
.promo-banner-btn {
  position: absolute;
  left: 50%;
  bottom: 11%;
  transform: translateX(-50%);
  padding: 13px 48px;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 6px 22px rgba(0,0,0,0.4), 0 0 18px rgba(139,92,246,0.45);
}
.promo-banner:hover .promo-banner-btn { transform: translateX(-50%) translateY(-2px); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border);
  padding: 48px 20px 28px;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 360px) auto auto;
  justify-content: start;
  column-gap: 80px;
  row-gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-brand .logo-mark { font-size: 20px; display: inline-block; margin-bottom: 10px; }
.footer-brand-desc { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 10px; max-width: 300px; }
.footer-country { font-size: 12px; color: var(--text-3); }
.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--text-2); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--violet); }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; }
.footer-disclaimer { font-size: 11px; color: var(--text-3); line-height: 1.7; max-width: 900px; }
.footer-copyright { font-size: 12px; color: var(--text-3); }

/* 社交媒体图标 */
.footer-social { display: flex; gap: 10px; margin-bottom: 6px; }
.social-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.social-icon:hover {
  color: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
}

/* 支付方式图标 */
.footer-payments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pay-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px;
  border-radius: 5px;
  overflow: hidden;
}
.pay-badge svg { display: block; }
.pay-text {
  font-size: 11px; font-weight: 600;
  padding: 0 10px; height: 28px;
  display: inline-flex; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 5px; color: var(--text-2);
}

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,12,6,0.74);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-modal);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: translateY(24px);
  transition: transform var(--t-mid);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 20px;
  color: var(--text-3);
  transition: color var(--t-fast);
}
.modal-close:hover { color: var(--text-1); }
.modal h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.modal p  { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 6px; }
.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-1);
  outline: none;
  transition: border-color var(--t-fast);
}
.form-input:focus { border-color: var(--violet); }
.modal-divider { text-align: center; font-size: 12px; color: var(--text-3); margin: 18px 0; position: relative; }
.modal-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.modal-divider span { background: var(--bg-modal); padding: 0 12px; position: relative; }
.modal-switch { font-size: 13px; color: var(--text-3); text-align: center; margin-top: 16px; }
.modal-switch a { color: var(--violet); font-weight: 600; }
.modal-scroll {
  max-height: 46vh;
  overflow-y: auto;
  padding-right: 4px;
}

/* ── Sidebar Overlay ───────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,12,6,0.64);
  z-index: 190;
}
.sidebar-overlay.open { display: block; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { height: 4px; width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

/* ── Bottom Nav（仅手机显示，规则在媒体查询内）──────────────── */
.bottom-nav { display: none; }

/* ══════════════════════════════════════════════════════════════
   二级页面（page.html）
   ══════════════════════════════════════════════════════════════ */
.subpage {
  max-width: 760px;
  padding-top: 28px;
}
.sp-back {
  display: inline-block;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 18px;
  transition: color var(--t-fast);
}
.sp-back:hover { color: var(--violet); }
.sp-back-btn { text-decoration: none; }

.sp-head { margin-bottom: 30px; }
.sp-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.sp-icon { font-size: 30px; }
.sp-intro {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.sp-link { color: var(--violet); font-weight: 600; }

.sp-section { margin-bottom: 26px; }
.sp-h2 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-1);
}
.sp-body { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.sp-body p { margin-bottom: 12px; }
.sp-body p:last-child { margin-bottom: 0; }
.sp-list { padding-left: 4px; margin-bottom: 12px; }
.sp-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
}
.sp-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--violet);
  font-size: 9px;
  top: 5px;
}
.sp-outro {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  margin: 22px 0;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.sp-cta { margin: 26px 0 10px; }
.sp-cta .btn { padding: 12px 28px; font-size: 14px; }

/* Q&A 手风琴 */
.qa-list { display: flex; flex-direction: column; gap: 10px; }
.qa-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.qa-item.open { border-color: var(--border-2); }
.qa-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: none;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  padding: 16px 18px;
  transition: color var(--t-fast);
}
.qa-q:hover { color: var(--violet); }
.qa-arrow {
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform var(--t-mid);
}
.qa-item.open .qa-arrow { transform: rotate(180deg); color: var(--violet); }
.qa-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-mid);
}
.qa-item.open .qa-a { max-height: 600px; }
.qa-a .sp-body { padding: 0 18px 16px; }

/* VIP 等级 */
.vip-tiers { display: flex; flex-direction: column; gap: 12px; }
.vip-tier {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--violet);
  border-radius: 12px;
  padding: 16px 18px;
}
.vip-tier-icon { font-size: 30px; flex-shrink: 0; }
.vip-tier-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}
.vip-tier-perks { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* Claim 领取方式 */
.claim-methods { display: flex; flex-direction: column; gap: 12px; }
.claim-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.claim-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.claim-title { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.claim-desc { font-size: 13px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── ≤1200px 平板 ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --sidebar-w: 200px; }
  .game-card { width: 150px; border-radius: 22px; }
}

/* ── ≤900px 小平板 / 大屏手机 ─────────────────────────────── */
@media (max-width: 900px) {
  :root { --sidebar-w: 0px; --header-h: 56px; }
  .sidebar {
    transform: translateX(-260px);
    width: 260px;
    z-index: 300;
    box-shadow: 4px 0 32px rgba(0,0,0,0.55);
  }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .header-hamburger { display: flex; align-items: center; }
  .site-header { padding: 0 14px; gap: 10px; }
  .header-coins { display: none; }
  .header-promo { display: none; }   /* 促销文字较长，窄屏隐藏 */
  .hero-card { min-width: 100%; }
  .hero-section { padding-top: 16px; }
  .promo-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .game-row { gap: 10px; }
  .aurora { width: 100%; left: 0; }
}

/* ── ≤600px 手机 ──────────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --header-h: 52px; }

  .page-body { padding: 0 10px 100px; }   /* 底部导航预留空间 */

  /* Header */
  .site-header { padding: 0 12px; gap: 8px; }
  .header-search { flex: 1; max-width: none; }
  .header-search input { font-size: 14px; padding: 8px 12px 8px 34px; }
  .btn-ghost { display: none; }            /* Login 隐藏（底部有 Sign Up）*/
  .btn-gold  { padding: 7px 10px; }
  .btn-gold span { display: none; }        /* 只留 🎁 图标 */
  .btn-primary { padding: 7px 12px; font-size: 12px; }

  /* Hero */
  .hero-card { min-width: 100%; border-radius: 14px; aspect-ratio: 16/9; }
  .hero-controls { margin-top: 10px; gap: 10px; }
  .hero-btn { width: 30px; height: 30px; font-size: 14px; }
  .hero-section { padding-top: 12px; margin-bottom: 20px; }

  /* Tabs */
  .category-tabs-wrap { margin-bottom: 18px; }
  .cat-tab { padding: 7px 14px; font-size: 12px; }

  /* Sections */
  .section { margin-bottom: 24px; }
  .section-title { font-size: 15px; }
  .section-title-icon { font-size: 16px; }
  .view-all { font-size: 12px; }
  .row-nav-btn { width: 26px; height: 26px; font-size: 13px; }
  .section-empty { padding: 18px 12px; font-size: 12px; }

  /* Game cards: 一行约 2.5 张（露出下一张暗示滑动）*/
  .game-row { gap: 8px; padding-bottom: 6px; }
  .game-card { width: calc(40vw - 12px); min-width: 122px; max-width: 150px; border-radius: 20px; }
  .game-tag { font-size: 8px; padding: 2px 5px; top: 6px; left: 6px; }
  .game-play-btn { padding: 6px 14px; font-size: 11px; }
  .row-btn-left, .row-btn-right { display: none; }   /* 手机改手势滑动 */

  /* Promo */
  .promo-card { padding: 22px 18px; border-radius: 14px; }
  .promo-emoji { font-size: 36px; margin-bottom: 10px; }
  .promo-title { font-size: 18px; margin-bottom: 8px; }
  .promo-body  { font-size: 13px; margin-bottom: 16px; }
  .promo-banner { margin: 20px 0 6px; border-radius: 12px; }
  .promo-banner-btn { padding: 9px 24px; font-size: 12px; bottom: 8%; }

  /* Footer */
  .site-footer { padding: 32px 16px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand-desc { font-size: 12px; }
  .footer-disclaimer { font-size: 10px; line-height: 1.6; }

  /* Modal：底部抽屉 */
  .modal-overlay { align-items: flex-end; }
  .modal {
    border-radius: 20px 20px 0 0;
    padding: 28px 20px 36px;
    max-width: 100%;
    transform: translateY(100%);
  }
  .modal-overlay.open .modal { transform: translateY(0); }

  /* 底部导航栏 */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border);
    z-index: 200;
    justify-content: space-around;
    align-items: center;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
    padding: 6px 4px;
    color: var(--text-3);
    font-size: 10px;
    font-weight: 600;
    background: none;
    border: none;
    transition: color var(--t-fast);
  }
  .bottom-nav-item .bn-icon { font-size: 20px; line-height: 1; }
  .bottom-nav-item.active { color: var(--violet); }
  .bottom-nav-item.bn-signup {
    background: linear-gradient(135deg, #8b5cf6, #6d3df0);
    color: #fff;
    border-radius: 12px;
    padding: 6px 10px;
    flex: 1.2;
    box-shadow: 0 0 12px rgba(139,92,246,0.45);
  }
}

/* ── ≤380px 超小屏 ────────────────────────────────────────── */
@media (max-width: 380px) {
  .game-card { width: calc(44vw - 10px); min-width: 120px; }
  .cat-tab { padding: 6px 10px; font-size: 11px; }
}

/* ── 触屏设备 ─────────────────────────────────────────────── */
@media (hover: none) {
  .game-row { -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .game-card { scroll-snap-align: start; }
  .game-hover-overlay { opacity: 0; }
  .game-card:active .game-hover-overlay { opacity: 1; }
}

/* 桌面端永不显示底部导航 */
@media (min-width: 601px) {
  .bottom-nav { display: none !important; }
}
