:root {
  --primary: #C0392B;
  --primary-dark: #922B21;
  --primary-light: #E74C3C;
  --secondary: #1A1A2E;
  --accent: #F39C12;
}

/* 游戏攻略 · 竞技场霓虹风 */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #070910; }
::-webkit-scrollbar-thumb { background: linear-gradient(#06b6d4, #2563eb); }
::-webkit-scrollbar-thumb:hover { background: #22d3ee; }
::selection { background: #06b6d4; color: #0b0e14; }

/* 游戏卡片 */
.game-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6,182,212,.6);
  box-shadow: 0 12px 34px -10px rgba(6,182,212,.45);
}

/* 切角元素 */
.cut-corner { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }

/* 图片缩放 */
.zoom-img { overflow: hidden; }
.zoom-img img { transition: transform .5s ease; }
.zoom-img:hover img { transform: scale(1.07); }

/* 评分星 */
.rating-glow { text-shadow: 0 0 8px rgba(250,204,21,.6); }

/* 移动端抽屉导航 */
.nav { transition: transform .3s ease; }
@media (max-width: 1023px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 84%; max-width: 340px;
    flex-direction: column; align-items: flex-start;
    background: #0b0e14; padding: 5.5rem 1.25rem 2rem;
    transform: translateX(100%);
    z-index: 60; overflow-y: auto; gap: .15rem;
    display: flex !important;
    border-left: 2px solid rgba(6,182,212,.5);
  }
  .nav.active { transform: translateX(0); }
  .nav a { width: 100%; }
  .menu-overlay {
    position: fixed; inset: 0;
    background: rgba(7,9,16,.85);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease; z-index: 55;
  }
  .menu-overlay.active { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

/* FAQ 折叠 */
.faq-answer {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .35s ease;
}
.faq-icon { transition: transform .3s ease; }

/* 回到顶部 */
.back-to-top { opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; }

/* 入场动画 */
@keyframes spawnIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.spawn-in { animation: spawnIn .65s cubic-bezier(.2,.9,.3,1) both; }

@media print {
  header, footer, .nav, .no-print { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}
