
/* ---------- Games page (/games-ahmedabad). Uses the homepage stylesheet for tokens, buttons, tags, headings and FAQ. ---------- */
.gm { --gm-ps5: #46b8ed; --gm-pc: #9841ff; --gm-sim: #ff4fd8; }
.gm [data-plat="ps5"] { --pc: var(--gm-ps5); } .gm [data-plat="pc"] { --pc: var(--gm-pc); } .gm [data-plat="sim"] { --pc: var(--gm-sim); }

/* hero: full-screen featured game art, copy on the left, "up next" HUD tiles on the right */
.gm-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(calc(100svh - 76px), 860px); display: grid; align-items: center; padding-block: clamp(40px, 5vw, 72px); background: #07070d; }
.gm-hero-art { position: absolute; inset: 0; z-index: -2; }
.gm-bg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center 30%; opacity: 0; transform: scale(1.08); transition: opacity 1s ease, transform 7s ease; }
.gm-bg.is-on { opacity: 1; transform: scale(1); }
.gm-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 7, 13, .97) 0%, rgba(7, 7, 13, .86) 30%, rgba(7, 7, 13, .35) 60%, rgba(7, 7, 13, .55) 100%),
    linear-gradient(0deg, var(--chx-bg) 0%, transparent 28%), linear-gradient(180deg, rgba(7, 7, 13, .7) 0%, transparent 22%),
    radial-gradient(45% 60% at 10% 60%, rgba(73, 1, 185, .4), transparent 70%); }
.gm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); }
.gm-hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.gm-copy { max-width: 640px; }
.gm-h1 { margin: 12px 0 0; font: 600 clamp(46px, 5.4vw, 80px)/.92 var(--chx-display) !important; text-transform: uppercase; text-wrap: balance; text-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.gm-h1 em { font-style: normal; background: var(--chx-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gm-lead { margin: 14px 0 0; color: #dcdcea; font-size: 17px; max-width: 46ch; }
.gm-feat { margin-top: clamp(22px, 3vw, 36px); padding-top: clamp(18px, 2.4vw, 26px); border-top: 1px solid rgba(255, 255, 255, .14); display: grid; justify-items: start; gap: 14px; }
.gm-feat > * { transition: opacity .35s ease, transform .35s ease; }
.gm-hero.is-swap .gm-feat > :not(.gm-feat-k) { opacity: 0; transform: translateY(8px); }
.gm-feat-k { font: 600 11.5px/1 var(--chx-price) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--chx-ice); }
.gm-feat-k em { font-style: normal; color: #fff; }
.gm-feat-logo { width: auto; max-width: min(100%, 360px); max-height: 110px; height: auto !important; object-fit: contain; object-position: left center; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .7)); }
.gm-feat-logo[hidden] { display: none; }
.gm-feat-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.gm-hero .gm-stage-book { background: var(--chx-btn); }
/* game deck: the current game in front, the next ones fanned behind; cards fly out and slide forward on every change */
.gm-next { display: grid; gap: 16px; justify-items: center; }
.gm-next-k { font: 600 11px/1 var(--chx-price) !important; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.gm-next-n { font-style: normal; color: #6ef3ff; }
.gm-deck { --w: 200px; position: relative; list-style: none; margin: 0; padding: 0; width: calc(var(--w) + 120px); height: calc(var(--w) * 1.413 + 40px); perspective: 1200px; }
.gm-deck > li { position: absolute; top: 10px; right: 10px; width: var(--w); transform-origin: 50% 100%;
  transition: transform .75s cubic-bezier(.2, .8, .2, 1), opacity .6s ease, filter .6s ease; will-change: transform; }
.gm-deck .chx-gl-tile { width: 100%; }
.gm-deck .chx-gl-tile .hud { padding: 30px 12% 15%; }
.gm-deck .chx-gl-tile .hud b { font-size: 17px; }
.gm-deck .chx-gl-tile .hud i { font-size: 8.5px; }
.gm-deck .chx-gl-tile.is-on::after { display: none; }
.gm-deck > li[data-pos="0"] { z-index: 5; transform: translate3d(0, 0, 0) rotate(0); }
.gm-deck > li[data-pos="1"] { z-index: 4; transform: translate3d(-44px, 12px, -60px) rotate(-7deg) scale(.9); filter: brightness(.7); }
.gm-deck > li[data-pos="2"] { z-index: 3; transform: translate3d(-82px, 24px, -120px) rotate(-13deg) scale(.82); filter: brightness(.5); }
.gm-deck > li[data-pos="3"] { z-index: 2; transform: translate3d(-112px, 34px, -180px) rotate(-18deg) scale(.75); filter: brightness(.35); opacity: .85; }
.gm-deck > li[data-pos="4"], .gm-deck > li[data-pos="9"] { z-index: 1; transform: translate3d(-126px, 40px, -220px) rotate(-21deg) scale(.7); opacity: 0; pointer-events: none; }
.gm-deck > li[data-pos="out"] { z-index: 6; transform: translate3d(160px, -30px, 40px) rotate(16deg) scale(.96); opacity: 0; pointer-events: none; }
.gm-deck > li[data-pos="0"] .chx-gl-tile { color: #6ef3ff; }
.gm-deck > li[data-pos="0"] .chx-gl-tile .hf { animation: chx-hf-glow 2.4s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(110, 243, 255, .6)); }
.gm-deck > li[data-pos="0"] .chx-gl-tile .frame > img { filter: saturate(1.1) brightness(1); }
.gm-deck > li[data-pos="0"].is-in .chx-gl-tile .hf { animation: chx-hf-draw .8s cubic-bezier(.4, 0, .2, 1), chx-hf-glow 2.4s .8s ease-in-out infinite; }
.gm-deck > li[data-pos="0"].is-in .chx-gl-tile .scan { animation: chx-hf-scan 1.1s ease-in-out; }
.gm-deck > li:not([data-pos="0"]) .chx-gl-tile:hover { transform: translateY(-6px); }
.gm-deck-nav { display: flex; align-items: center; gap: 14px; }
.gm-deck-nav button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(12, 13, 17, .7); border: 1px solid rgba(255, 255, 255, .2); transition: background .2s, border-color .2s; }
.gm-deck-nav button:hover { background: #4900b9; border-color: transparent; }
.gm-deck-nav button svg { width: 17px; height: 17px; }
.gm-ring { width: 34px; height: 34px; transform: rotate(-90deg); }
.gm-ring circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 3; }
.gm-ring .v { stroke: #6ef3ff; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px rgba(110, 243, 255, .8)); }
.gm-hero.is-auto .gm-ring .v { animation: gm-ring 6s linear forwards; }
@keyframes gm-ring { to { stroke-dashoffset: 0; } }
.gm-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.gm-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7b3cff, #46b8ed); box-shadow: 0 0 10px rgba(110, 243, 255, .6); }
.gm-hero.is-auto .gm-progress i { animation: gm-prog 6s linear forwards; }
@keyframes gm-prog { to { width: 100%; } }

/* filters: homepage tabs + mode chips + search */
.gm-play { position: relative; padding-block: clamp(26px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.gm-filters { display: grid; gap: 14px; justify-items: center; }
.gm-filter-row { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.gm-modes { margin: 0 !important; min-height: 0; }
.gm-modes button { height: 34px !important; }
.gm-search { display: flex; align-items: center; gap: 10px; width: min(320px, 100%); height: 42px; padding: 0 14px; border-radius: 999px; cursor: text;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); transition: border-color .2s, box-shadow .2s; }
.gm-search:focus-within { border-color: var(--chx-ice); box-shadow: 0 0 0 3px rgba(110, 243, 255, .14); }
.gm-search svg { width: 17px; height: 17px; flex: none; color: var(--chx-ice); }
.gm-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: #fff; font: 500 15px/1 var(--chx-body); outline: none; }
.gm-search input::placeholder { color: rgba(255, 255, 255, .45); }
.gm-hint { margin: 18px 0 4px; text-align: center; min-height: 1.4em; font: 600 12px/1.4 var(--chx-price) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--chx-dim); }
.gm-hint b { color: #6ef3ff; }

/* grid of HUD-frame tiles (the tile itself is styled by the homepage stylesheet) */
.gm-grid { list-style: none; margin: 0; padding: 18px 6px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 30px 20px; }
.gm-cap[hidden] { display: none !important; }
.gm-grid .chx-gl-tile { width: 100%; }
.gm-grid .chx-gl-tile .hud b { font-size: 18px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.02; }
.gm-cap[data-plat="pc"] .chx-gl-tile .plat { color: #c9a6ff; border-color: rgba(152, 65, 255, .6); }
.gm-cap[data-plat="sim"] .chx-gl-tile .plat { color: #ff9be8; border-color: rgba(255, 79, 216, .6); }
.gm-cap.is-hit .chx-gl-tile { color: #6ef3ff; }
.gm-empty { margin: 30px 0 0; text-align: center; color: var(--chx-soft); }
.gm-empty a { color: var(--chx-ice); }

/* GTA VI band */
.gm-gta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 8vw, 110px); }
.gm-gta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; object-position: center 35%; }
.gm-gta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 6, 20, .95) 0%, rgba(10, 6, 20, .8) 45%, rgba(10, 6, 20, .25) 100%), linear-gradient(0deg, var(--chx-bg), transparent 30%), linear-gradient(180deg, var(--chx-bg), transparent 25%); }
.gm-gta-in { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); }
.gm-gta-logo { width: clamp(120px, 14vw, 200px); height: auto; flex: none; filter: drop-shadow(0 0 30px rgba(255, 79, 216, .6)); }
.gm-gta p { margin: 12px 0 0; color: #e6e1f2; max-width: 52ch; font-size: 17px; }
.gm-gta-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.gm-gta .chx-btn:not(.ghost) { background: linear-gradient(90deg, #ff4fd8, #8a4dff 55%, #46b8ed); }

/* full index */
.gm-index { background: radial-gradient(50% 40% at 50% 0%, rgba(73, 1, 185, .16), transparent 70%), var(--chx-bg); }
.gm-ix-group + .gm-ix-group { margin-top: clamp(40px, 5vw, 64px); }
.gm-ix-group > header { display: flex; align-items: center; gap: 18px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.gm-ix-plat { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; font: 700 15px/1 var(--chx-price) !important; letter-spacing: .08em; color: #0b0b12; background: var(--pc); box-shadow: 0 0 28px -8px var(--pc); }
.gm-ix-group > header div { flex: 1; min-width: 0; }
.gm-ix-group > header h2 { margin: 0; font: 600 clamp(32px, 3.4vw, 44px)/1 var(--chx-display) !important; text-transform: uppercase; }
.gm-ix-group > header p { margin: 6px 0 0; color: var(--chx-soft); font-size: 15px; }
.gm-ix { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.gm-ix li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); scroll-margin-top: 150px; }
.gm-ix li:target { background: rgba(110, 243, 255, .06); border-radius: 12px; }
.gm-ix img { width: 54px; height: 72px; object-fit: cover; border-radius: 8px; }
.gm-ix h3 { margin: 0; font: 600 22px/1 var(--chx-display) !important; text-transform: uppercase; letter-spacing: .01em; }
.gm-ix-tags { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gm-ix-tags span { padding: 3px 8px; border-radius: 6px; font: 600 11px/1.3 var(--chx-price) !important; letter-spacing: .04em; color: var(--chx-soft); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.gm-ix p:not(.gm-ix-tags) { margin: 8px 0 0; color: var(--chx-soft); font-size: 14.5px; line-height: 1.55; }

/* closing CTA */
.gm-cta-in { text-align: center; display: grid; justify-items: center; }
.gm-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.gm-legal { margin: 26px auto 0; max-width: 760px; font-size: 12.5px; color: var(--chx-dim); }

/* game sheet */
.gm-sheet { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid rgba(123, 60, 255, .45); border-radius: 24px; overflow: auto;
  background: linear-gradient(180deg, #15142c, #0d0e14 60%); color: #fff; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04); }
.gm-sheet::backdrop { background: rgba(4, 4, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gm-sheet[open] { animation: gm-pop .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gm-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.gm-s-art { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.gm-s-art > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.gm-s-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #15142c 0%, rgba(21, 20, 44, .2) 55%, transparent 100%); }
.gm-s-logo { position: absolute; z-index: 1; left: 24px; bottom: 14px; max-width: 46%; max-height: 42%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .8)); }
.gm-s-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(10, 10, 20, .6); color: #fff; cursor: pointer; font-size: 15px; }
.gm-s-x:hover { background: rgba(73, 1, 185, .5); }
.gm-s-body { padding: 8px 24px 24px; }
.gm-s-plat { display: inline-block; padding: 5px 9px; border-radius: 7px; font: 700 10.5px/1 var(--chx-price) !important; letter-spacing: .12em; text-transform: uppercase; color: #0b0b12; background: var(--pc, var(--chx-ice)); }
.gm-s-name { margin: 10px 0 0; font: 600 clamp(36px, 5vw, 52px)/.92 var(--chx-display) !important; text-transform: uppercase; }
.gm-s-desc { margin: 10px 0 0; color: var(--chx-soft); font-size: 16px; }
.gm-s-stats { margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gm-s-stats div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.gm-s-stats dt { font: 600 10px/1.4 var(--chx-price) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--chx-ice); }
.gm-s-stats dd { margin: 4px 0 0; font-weight: 600; font-size: 14px; line-height: 1.3; }
.gm-s-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.gm-s-cta .chx-btn { flex: 1 1 200px; }

/* Odoo's homepage stylesheet zeroes p/h top margins inside .chx-home; restore this page's rhythm */
.chx-home .gm .gm-h1 { margin-top: 12px; } .chx-home .gm .chx-h2 { margin-top: 14px; }
.chx-home .gm-gta p { margin-top: 12px; } .chx-home .gm .chx-lead { margin-top: 14px; } .chx-home .gm-ix p:not(.gm-ix-tags) { margin-top: 8px; } .chx-home .gm-ix-tags { margin-top: 6px; }
.chx-home .gm-s-desc { margin-top: 10px; } .chx-home .gm-s-name { margin-top: 10px; } .chx-home .gm-legal { margin-top: 26px; } .chx-home .gm-hint { margin: 22px 0 14px; }

@media (max-width: 991.98px) {
  .gm-ix { grid-template-columns: 1fr; }
  .gm-gta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 899.98px) {
  .gm-hero { min-height: 0; align-items: start; padding-top: 0; }
  .gm-hero-art { bottom: auto; height: min(62vw, 420px); }
  .gm-hero::before { background: linear-gradient(180deg, rgba(7, 7, 13, .2) 0%, rgba(7, 7, 13, .55) min(36vw, 240px), #07070d min(62vw, 420px)), radial-gradient(60% 40% at 50% 40%, rgba(73, 1, 185, .3), transparent 70%); }
  .gm-hero-in { grid-template-columns: 1fr; padding-top: min(30vw, 210px); }
  .gm-next { justify-items: center; margin-top: 8px; }
  .gm-deck { --w: 168px; }
}
@media (max-width: 600px) {
  .gm-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; scrollbar-width: none; padding-bottom: 2px; }
  .gm-tabs::-webkit-scrollbar { display: none; }
  .gm-tabs .chx-gl-tab { flex: none; height: 40px; padding: 0 14px; font-size: 13px; }
  .gm-filter-row { justify-content: stretch; }
  .gm-modes { width: 100%; flex-wrap: nowrap !important; overflow-x: auto; justify-content: flex-start !important; scrollbar-width: none; }
  .gm-modes::-webkit-scrollbar { display: none; }
  .gm-modes button { flex: none; }
  .gm-feat-cta { width: 100%; flex-direction: column; } .gm-feat-cta .chx-btn { width: 100%; }
  .gm-h1 { font-size: 44px; }
  .gm-lead { font-size: 15.5px; }
  .gm-search { width: 100%; }
  .gm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; padding: 14px 2px 0; }
  .gm-grid .chx-gl-tile .hud b { font-size: 16px; }
  .gm-ix-group > header { flex-wrap: wrap; }
  .gm-ix-plat { width: 52px; height: 52px; }
  .gm-ix-group > header .chx-btn { width: 100%; }
  .gm-sheet { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .gm-sheet[open] { animation-name: gm-up-sheet; }
  @keyframes gm-up-sheet { from { transform: translateY(40px); opacity: 0; } }
  .gm-s-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-s-body { padding: 6px 18px calc(20px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .gm-sheet[open] { animation: none !important; } .gm-hero .gm-progress i, .gm-hero .gm-ring .v { animation: none !important; } .gm-deck > li { transition: none !important; } .gm-bg { transition: opacity .3s !important; transform: none !important; } }

