/* ===================== LênLive – Kho game & trang chi tiết từng game (dùng chung site.css) ===================== */
.page-game main, .page-games main { padding-top: 92px; }
.nav.small { background: rgba(9,7,20,.82); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px auto 18px; font-size: 14px; color: var(--mute); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- chi tiết game: sân khấu + thông tin ---------- */
.gd-hero { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(22px, 4vw, 54px); align-items: start; }
.gd-stage { position: sticky; top: 90px; display: grid; gap: 14px; justify-items: center; padding: 22px; border-radius: 30px; background: radial-gradient(80% 60% at 50% 0%, rgba(139,92,246,.22), transparent 70%), linear-gradient(180deg, #120d24, #0b0818); border: 1px solid var(--line); }
.gd-phone { width: min(330px, 100%); padding: 9px; border-radius: 40px; background: linear-gradient(160deg, #2b2442, #0d0a1c); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 80px -20px rgba(255,79,163,.35); }
.gd-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #000; }
.gd-video, .gd-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.gd-frame { background: #05040b; }
.gd-badge { position: absolute; left: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.gd-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255,59,92,.7); animation: lvpulse 1.6s infinite; }
@keyframes lvpulse { 70% { box-shadow: 0 0 0 8px rgba(255,59,92,0); } }
.gd-play { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 16px; color: #fff; font-weight: 800; font-size: 16px; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); transition: background .3s; }
.gd-play:hover { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35)); }
.gd-play-ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #1b0f00; background: linear-gradient(180deg, #ffe7a3, #ffb238); box-shadow: 0 0 0 10px rgba(255,211,107,.18), 0 20px 50px -10px rgba(255,170,40,.8); animation: playpulse 2.2s ease-in-out infinite; }
@keyframes playpulse { 50% { box-shadow: 0 0 0 18px rgba(255,211,107,.08), 0 20px 50px -10px rgba(255,170,40,.8); transform: scale(1.04); } }
.gd-play > span:last-child { padding: 10px 18px; border-radius: 99px; background: rgba(255,255,255,.92); color: #14102a; font-size: 15px; }
.gd-play.loading .gd-play-ic { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gd-dock { width: 100%; display: grid; gap: 10px; }
.gd-dock-h { margin: 0; text-align: center; font-size: 14px; color: var(--mute); }
.gd-gifts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gd-gifts button { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: transform .15s, background .2s, border-color .2s; }
.gd-gifts button:hover { background: rgba(255,211,107,.1); border-color: rgba(255,211,107,.45); transform: translateY(-2px); }
.gd-gifts button:active { transform: scale(.95); }
.gd-gifts .e { font-size: 28px; line-height: 1.1; }
.gd-gifts b { font-size: 12.5px; }
.gd-gifts small { font-size: 11.5px; color: var(--gold); }
.gd-chats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.gd-chats button { padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.gd-chats button:hover { background: rgba(255,255,255,.12); }
.gd-like { color: #ff9fbf; }
.gd-note { margin: 0; font-size: 12.5px; color: var(--dim); text-align: center; }
.gd-mute { color: var(--gold); font-weight: 600; font-size: 12.5px; }
.gd-flash { position: absolute; z-index: 4; left: 50%; bottom: 18%; transform: translateX(-50%); padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; white-space: nowrap; color: #1b0f00; background: linear-gradient(180deg, #ffe7a3, #ffb238); animation: flashup 1.6s forwards; pointer-events: none; }
@keyframes flashup { from { opacity: 0; transform: translate(-50%, 10px); } 15% { opacity: 1; transform: translate(-50%, 0); } 80% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -30px); } }
.gd-cat { display: inline-block; padding: 6px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: #e9ddff; background: rgba(139,92,246,.2); border: 1px solid rgba(139,92,246,.4); }
.gd-info h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -1.6px; margin: 14px 0 12px; font-weight: 900; }
.gd-lead { font-size: 19px; color: var(--ink); font-weight: 600; margin: 0 0 12px; }
.gd-long { color: var(--mute); margin: 0 0 20px; }
.gd-specs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gd-specs li { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.gd-specs small { display: block; font-size: 12.5px; color: var(--dim); }
.gd-specs b { font-size: 14px; line-height: 1.35; display: block; }
.gd-buy { padding: 22px; border-radius: 24px; background: linear-gradient(150deg, rgba(255,211,107,.12), rgba(255,79,163,.07) 60%, rgba(255,255,255,.02)); border: 1px solid rgba(255,211,107,.32); }
.gd-price small { display: block; font-size: 13px; color: var(--mute); font-weight: 600; }
.gd-price b { font-size: 40px; font-weight: 900; letter-spacing: -1px; }
.gd-price span { color: var(--mute); font-weight: 600; margin-left: 4px; }
.gd-or { margin: 4px 0 16px; color: var(--mute); font-size: 14.5px; }
.gd-or a { color: var(--gold); font-weight: 700; }
.gd-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.gd-trust { margin: 14px 0 0; font-size: 13.5px; color: var(--dim); }
.gd-sec { margin-top: clamp(48px, 7vw, 86px); }
.gd-sec h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.8px; margin: 0 0 8px; }
.gd-sub { color: var(--mute); margin: 0 0 22px; }
.gd-giftmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gm { display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); }
.gm .e { font-size: 34px; }
.gm b { display: block; }
.gm small { color: var(--gold); font-weight: 700; font-size: 12.5px; }
.gm p { margin: 6px 0 0; color: var(--mute); font-size: 14.5px; }
.gd-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 54px); }
.gd-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.gd-points li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.gd-points span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, rgba(255,211,107,.18), rgba(139,92,246,.18)); }
.gd-points p { margin: 0; color: #dcd6f2; }
.gd-how { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.gd-how li { counter-increment: s; position: relative; padding: 12px 14px 12px 58px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); color: #dcd6f2; min-height: 52px; display: flex; align-items: center; }
.gd-how li::before { content: counter(s); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #1b0f00; background: linear-gradient(180deg, #ffe7a3, #ffb238); }
.gd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gd-tags span { padding: 6px 12px; border-radius: 99px; font-size: 13px; background: rgba(61,225,255,.08); color: #b9f3ff; border: 1px solid rgba(61,225,255,.25); }
.gd-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 18px; }
.gd-tpls figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0d0a1c; }
.gd-tpls img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .4s; }
.gd-tpls figure:hover img { transform: scale(1.05); }
.gd-tpls figcaption { padding: 8px 10px; font-size: 12.5px; font-weight: 600; }
.gd-faq details { padding: 16px 18px; border-radius: 16px; margin-top: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.gd-faq summary { cursor: pointer; font-weight: 700; }
.gd-faq p { margin: 10px 0 0; color: var(--mute); }
.gd-final { margin: clamp(56px, 8vw, 96px) auto 80px; text-align: center; padding: clamp(32px, 5vw, 56px) 20px; border-radius: 30px; background: radial-gradient(70% 90% at 50% 0%, rgba(255,79,163,.18), transparent 70%), linear-gradient(180deg, #140f29, #0b0818); border: 1px solid var(--line); }
.gd-final h2 { font-size: clamp(26px, 3.4vw, 42px); margin: 0 0 10px; letter-spacing: -.8px; }
.gd-final p { color: var(--mute); margin: 0 0 22px; }
.gd-final .row { justify-content: center; }
.gd-sticky { display: none; }

/* ---------- kho game ---------- */
.gk-hero { text-align: center; margin-bottom: 30px; }
.gk-hero h1 { font-size: clamp(34px, 5vw, 62px); letter-spacing: -1.5px; margin: 14px 0 12px; line-height: 1.08; }
.gk-hero .lead { max-width: 720px; margin: 0 auto 18px; color: var(--mute); font-size: 18px; }
.gk-buy { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.gk-buy span { padding: 8px 14px; border-radius: 99px; font-size: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.gk-buy b { color: var(--gold); }
.gk-hero .chips { justify-content: center; }
.gk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gk-3 { margin-top: 18px; }
.gc { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 14px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; }
.gc:hover { transform: translateY(-3px); border-color: rgba(255,211,107,.35); box-shadow: 0 24px 60px -30px rgba(255,170,40,.4); }
.gc[hidden] { display: none; }
.gc-media { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; background: #0d0a1c; }
.gc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gc:hover .gc-media img { transform: scale(1.06); }
.gc-icon { position: absolute; left: 8px; top: 8px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.gc-body { display: flex; flex-direction: column; min-width: 0; }
.gc-cat { font-size: 12px; font-weight: 700; color: #cdb8ff; }
.gc h3 { margin: 4px 0 6px; font-size: 19px; }
.gc h3 a:hover { color: var(--gold); }
.gc p { margin: 0 0 10px; color: var(--mute); font-size: 14px; }
.gc-foot { margin-top: auto; display: grid; gap: 6px; }
.gc-price { font-size: 13.5px; color: var(--mute); }
.gc-price b { color: var(--gold); font-size: 16px; }
.gc-more { font-weight: 700; font-size: 14px; color: var(--ink); }
.gc-more:hover { color: var(--gold); }

@media (max-width: 1080px) {
  .gd-hero { grid-template-columns: minmax(0, 1fr); }
  .gd-stage { position: static; max-width: 560px; width: 100%; margin: 0 auto; }
  .gd-specs, .gd-giftmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .page-game main, .page-games main { padding-top: 76px; }
  .gd-stage { padding: 14px; border-radius: 24px; }
  .gd-two { grid-template-columns: minmax(0, 1fr); }
  .gk-grid { grid-template-columns: minmax(0, 1fr); }
  .gc { grid-template-columns: 104px minmax(0, 1fr); }
  .gd-giftmap { grid-template-columns: minmax(0, 1fr); }
  .gd-price b { font-size: 34px; }
  .gd-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(9,7,20,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .gd-sticky b { color: var(--gold); font-size: 18px; }
  .page-game .zalo-float { bottom: 84px; }
  .page-game .foot { padding-bottom: 80px; }
}
