/* --- 基礎設定 --- */
    *, *::before, *::after { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans TC", "PingFang TC", "Heiti TC", "Microsoft JhengHei", Arial, sans-serif;
      color: #fff;
      background:
        radial-gradient(1200px 600px at 80% -10%, rgba(122,90,248,0.25), transparent),
        radial-gradient(900px 500px at 20% 10%, rgba(100,232,255,0.18), transparent),
        linear-gradient(180deg, #0B0F26 0%, #1A1F4D 45%, #0B0F26 100%);
      line-height: 1.6;
    }
    :root {
      --aqua: #64E8FF; --pink: #FF7AC6; --violet: #7A5AF8; --gold: #FFE082;
      --card-bg: rgba(255,255,255,0.06); --card-border: rgba(255,255,255,0.12);
      --muted: rgba(255,255,255,0.8);
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; height: auto; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    /* --- 頁頭 --- */
    header { padding: 48px 0 24px; }
    .title { font-weight: 800; letter-spacing: 0.2px; text-shadow: 0 0 18px rgba(100,232,255,0.35); font-size: clamp(28px, 4.5vw, 56px); }
    .subtitle { color: var(--muted); max-width: 720px; margin-top: 8px; }
    .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 12px 18px; border-radius: 16px; font-weight: 700; border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.06); backdrop-filter: blur(6px);
      cursor: pointer; transition: transform .2s ease, opacity .2s ease, background .2s ease;
    }
    .btn:hover { background: rgba(255,255,255,0.12); }
    .btn:active { transform: translateY(1px); }
    .btn-gradient { border: none; color: #111; box-shadow: 0 10px 25px rgba(0,0,0,0.35);
      background: linear-gradient(90deg, var(--aqua), var(--violet), var(--pink)); }
    .btn-gradient:hover { opacity: .92; }

    /* ---------- Hero Carousel ---------- */
    .hero { margin-bottom: 24px; }
    .carousel { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--card-border); background: var(--card-bg); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
    .carousel-track { display: flex; will-change: transform; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
    .slide { position: relative; min-width: 100%; aspect-ratio: 16/6; display: grid; place-items: stretch; }
    .slide-media { position: absolute; inset: 0; overflow: hidden; border-radius: 24px;
      background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04), rgba(255,255,255,0.06)); }
    .slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s ease; }
    .slide::after{ content:""; position:absolute; inset:0; background: radial-gradient(80% 60% at 80% 0%, rgba(10,10,10,0) 0%, rgba(10,10,10,.45) 60%, rgba(10,10,10,.8) 100%); pointer-events:none; }
    .slide .content { position: relative; z-index: 2; padding: clamp(20px, 4vw, 48px); display: grid; align-content: center; height: 100%; }
    .slide h2 { margin:0; font-size: clamp(22px, 3.2vw, 36px); font-weight: 800; }
    .slide p { margin:10px 0 0; max-width: 720px; color: var(--muted); }
    .chips { margin-top: 12px; display:flex; gap:8px; flex-wrap: wrap; }
    .chip { display:inline-flex; align-items:center; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); font-size: 13px; }

    .nav-btn{ position:absolute; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:999px; border:1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.25); backdrop-filter: blur(6px); display:grid; place-items:center; cursor:pointer; color:#fff; }
    .nav-btn:hover{ background: rgba(0,0,0,.35); } .prev{ left:12px; } .next{ right:12px; }

    .dots{ position:absolute; left:0; right:0; bottom:10px; display:flex; gap:8px; justify-content:center; z-index:3; }
    .dot{ width:8px; height:8px; border-radius:999px; background: rgba(255,255,255,.4); cursor:pointer; }
    .dot.active{ background: linear-gradient(90deg, var(--aqua), var(--violet), var(--pink)); width:22px; }

    /* --- 遊戲卡片網格 --- */
    .grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin: 40px 0; }
    @media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1200px) { .grid { grid-template-columns: repeat(3, 1fr); } }

    .card { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--card-border); background: var(--card-bg); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
    .media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
    .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
    .card:hover .media img { transform: scale(1.05); }
    .media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 40% at 80% 0%, rgba(10,10,10,0.0) 0%, rgba(10,10,10,0.45) 60%, rgba(10,10,10,0.75) 100%); opacity: .6; pointer-events:none; }
    .neon { pointer-events: none; position: absolute; inset: 0; border-radius: 22px; box-shadow: inset 0 0 0 2px rgba(100,232,255,0.18); }

    .card-body { padding: 18px; }
    .game-title { margin: 0; font-size: 22px; font-weight: 800; }
    .tagline { display:inline-flex; align-items:center; padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; margin-left: 8px; }
    .desc { color: var(--muted); font-size: 14px; margin: 10px 0 6px; }
    .tags { display:flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
    .tags span { border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); border-radius: 999px; padding: 6px 10px; }
    .card-actions { display:flex; gap: 10px; margin-top: 14px; }

    .card[style] .neon { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand) 30%, transparent); }
    .card[style] .tagline { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent); }
    .card[style] .btn-topup { background: linear-gradient(90deg, var(--brand), #FFFFFF); color: #111; border: none; }

    footer { border-top: 1px solid var(--card-border); padding: 18px 0 48px; color: rgba(255,255,255,0.75); font-size: 14px; }

    .sk-card{border:1px solid var(--card-border); background:var(--card-bg); border-radius:22px; overflow:hidden;}
    .sk-media{aspect-ratio:16/9;} .sk-body{padding:16px}
    .skeleton{background:linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.12), rgba(255,255,255,.06)); animation:sh 1.2s infinite; border-radius:8px;}
    .sk-title{height:18px;width:60%;margin-bottom:10px} .sk-text{height:12px;margin-top:8px}
    @keyframes sh{from{background-position:-200px 0}to{background-position:200px 0}}

    .site-footer{border-top:1px dashed var(--card-border);}
    .site-footer .container{max-width:inherit; padding:16px 16px 24px; text-align:center; color:var(--muted); font-size:13px;}
    .site-footer .sep{margin:0 8px;color:var(--card-border)}
    .site-footer a{color:#cfe2ff; text-decoration:none; border-bottom:1px dashed color-mix(in oklab, var(--aqua), white 15%);}
    .site-footer a:hover{color:var(--aqua)}
    /* 让整张轮播可点击 */
    .slide-link{position:absolute; inset:0; z-index:3}