*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#f8fafc url(../images/bg-ref.png) center/cover no-repeat fixed;min-height:100vh}

header{background:#fff;border-bottom:1px solid #f1f5f9;box-shadow:0 1px 2px rgba(0,0,0,.05);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;max-width:1280px;margin:0 auto;padding:0 20px;height:56px}
.logo{display:flex;align-items:center;gap:8px}
.logo-icon{width:28px;height:28px;background:linear-gradient(to right bottom,#3b82f6,#2563eb);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px;flex-shrink:0}
.logo-name{font-size:16px;font-weight:600;color:#1e293b}
.divider{width:1px;height:20px;background:#e2e8f0;margin:0 8px}
.game-tag{display:flex;align-items:center;gap:8px}
.game-tag img{height:32px;width:auto;object-fit:contain}
.game-tag-text{display:flex;flex-direction:column;line-height:1.25}
.game-tag-text span:first-child{font-size:14px;font-weight:500;color:#1e293b}
.game-tag-text span:last-child{font-size:12px;color:#94a3b8}
nav{display:none;align-items:center;gap:20px}
nav a{font-size:14px;color:#64748b;text-decoration:none;white-space:nowrap}
nav a:hover{color:#3b82f6}
.nav-icon{display:flex;align-items:center;gap:4px}
.nav-icon svg{width:16px;height:16px}

main{max-width:1196px;margin:0 auto;padding:16px}

.banner{margin-bottom:16px;border-radius:12px;overflow:hidden;box-shadow:0 4px 24px rgba(0,0,0,.12)}
.banner img{width:100%;display:block}

.welcome{background:#fff;border-radius:12px;padding:36px 28px;margin-bottom:16px;box-shadow:0 4px 20px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.04);text-align:center}
.welcome h1{font-size:22px;margin-bottom:12px}
.welcome h1 span{color:#f90}
.welcome p{margin:6px 0}
.tag{display:inline-block;color:#fff;font-weight:700;padding:2px 8px;border-radius:4px}
.tag-green{background:#10b981}
.tag-purple{background:#8b5cf6}
.tag-orange{background:#f90}
.tag-red{background:#ef4444}

.section{background:#fff;border-radius:12px;margin-bottom:16px;box-shadow:0 4px 20px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.04);overflow:hidden}
.section-header{padding:16px 24px;background:linear-gradient(135deg,#1f2937 0%,#374151 100%);text-align:center}
.section-header h2{font-size:16px;font-weight:600;color:#fff;letter-spacing:.05em}
.section-body{padding:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:16px}

.item{display:flex;flex-direction:column;align-items:center;cursor:pointer;padding:14px 10px;border-radius:12px;transition:.2s}
.item:hover{background:#f1f5f9;transform:translateY(-2px)}
.item.active{background:#eff6ff;border:2px solid #3b82f6}
.item-img{width:54px;height:54px;border-radius:50%;overflow:hidden;margin-bottom:10px;box-shadow:0 4px 12px rgba(0,0,0,.12);border:2px solid #f3f4f6;flex-shrink:0}
.item.active .item-img{border-radius:14px;border-color:#3b82f6}
.item-img img{width:100%;height:100%;object-fit:cover}
.item span{font-size:12px;color:#374151;text-align:center;line-height:1.4;font-weight:500}
.item.active span{color:#3b82f6;font-weight:700}

.full-img{border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.full-img img{width:100%;display:block}

.nav-toggle{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:none;border:none;cursor:pointer;padding:0;flex-shrink:0}
.nav-toggle svg{width:28px;height:28px;color:#1e293b}

@media(max-width:1280px){
  .welcome{padding:24px 16px}
  .section-body{grid-template-columns:repeat(3,1fr);gap:10px}
  .header-inner{flex-wrap:wrap;height:auto;min-height:56px;padding:0 16px}
  .logo{height:56px}
  .nav-toggle{align-self:center}
  nav{
    order:3;
    flex-basis:100%;
    flex-direction:column;
    gap:0;
    background:#fff;
    border-top:1px solid #f1f5f9;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
  }
  nav.open{display:flex}
  nav a{padding:13px 20px;font-size:14px;color:#374151;border-bottom:1px solid #f1f5f9}
  nav a:last-child{border-bottom:none}
}
@media(min-width:1281px){
  .nav-toggle{display:none}
  nav{display:flex}
}
