/* ==========================================================================
   93 ok apk - mobile-first interface stylesheet
   class prefix ... surface97ac5-
   palette ........ #8B008B / #2E4057 / #EE82EE / #9932CC
   direction ...... bold short headings + light body, small radius high
                    density, image tiles with bottom name strips, short
                    list-style rhythm, light press feedback, segmented CTAs
   nav model ...... compact brand bar / stacked overlay menu / center
                    raised dock with filled icons
   ========================================================================== */

:root {
  --surface97ac5-bg-deep: #120a1c;
  --surface97ac5-bg-page: #1b1029;
  --surface97ac5-panel: #241636;
  --surface97ac5-panel-2: #2b1a44;
  --surface97ac5-panel-3: #31204d;
  --surface97ac5-steel: #2e4057;
  --surface97ac5-magenta: #8b008b;
  --surface97ac5-orchid: #9932cc;
  --surface97ac5-bloom: #ee82ee;
  --surface97ac5-text: #f6edfb;
  --surface97ac5-dim: #cbb5df;
  --surface97ac5-faint: #9d86b8;
  --surface97ac5-line: rgba(238, 130, 238, 0.22);
  --surface97ac5-line-soft: rgba(238, 130, 238, 0.12);
  --surface97ac5-grad-cta: linear-gradient(135deg, #8b008b 0%, #9932cc 100%);
  --surface97ac5-grad-bar: linear-gradient(90deg, #8b008b 0%, #ee82ee 100%);
  --surface97ac5-glow: 0 0 14px rgba(238, 130, 238, 0.45);
  --surface97ac5-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
  --surface97ac5-radius: 8px;
  --surface97ac5-radius-s: 6px;
  --surface97ac5-topbar-h: 58px;
  --surface97ac5-dock-h: 64px;
  --surface97ac5-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi",
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: radial-gradient(120% 60% at 50% 0%, #1e1130 0%, #120a1c 70%);
  color: var(--surface97ac5-text);
  font-family: var(--surface97ac5-font);
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
}

::selection {
  background: rgba(139, 0, 139, 0.65);
  color: #fff;
}

img {
  max-width: 100%;
}

a {
  color: var(--surface97ac5-bloom);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--surface97ac5-bloom);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   phone canvas: everything lives inside a 430px max column
   -------------------------------------------------------------------------- */

.surface97ac5-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(90% 26% at 50% -40px, rgba(139, 0, 139, 0.35) 0%, rgba(139, 0, 139, 0) 100%),
    linear-gradient(180deg, #1d112c 0%, #180e26 55%, #140b1f 100%);
  box-shadow: 0 0 0 1px rgba(238, 130, 238, 0.08), 0 0 44px rgba(0, 0, 0, 0.5);
  overflow-x: clip;
}

.surface97ac5-main {
  padding: calc(var(--surface97ac5-topbar-h) + 10px) 12px calc(var(--surface97ac5-dock-h) + 66px);
}

/* --------------------------------------------------------------------------
   top bar: compact brand strip + separate action cluster
   -------------------------------------------------------------------------- */

.surface97ac5-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--surface97ac5-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(30, 15, 45, 0.98) 0%, rgba(24, 13, 37, 0.96) 100%);
  border-bottom: 1px solid var(--surface97ac5-line-soft);
  backdrop-filter: blur(8px);
}

.surface97ac5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--surface97ac5-text);
  text-decoration: none;
}

.surface97ac5-brand:hover {
  text-decoration: none;
}

.surface97ac5-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--surface97ac5-line);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--surface97ac5-panel);
}

.surface97ac5-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.surface97ac5-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.surface97ac5-btn-register,
.surface97ac5-btn-login {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--surface97ac5-radius-s);
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: filter 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.surface97ac5-btn-register {
  background: var(--surface97ac5-grad-cta);
  color: #fff;
  box-shadow: 0 3px 10px rgba(139, 0, 139, 0.45);
}

.surface97ac5-btn-register:active {
  filter: brightness(1.25);
  box-shadow: var(--surface97ac5-glow);
}

.surface97ac5-btn-login {
  background: rgba(46, 64, 87, 0.55);
  color: var(--surface97ac5-bloom);
  border-color: var(--surface97ac5-line);
}

.surface97ac5-btn-login:active {
  border-color: var(--surface97ac5-bloom);
  color: #fff;
}

.surface97ac5-burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--surface97ac5-radius-s);
  background: rgba(46, 64, 87, 0.45);
  border: 1px solid var(--surface97ac5-line-soft);
  color: var(--surface97ac5-bloom);
  transition: border-color 0.15s ease;
}

.surface97ac5-burger:active {
  border-color: var(--surface97ac5-bloom);
  box-shadow: var(--surface97ac5-glow);
}

.surface97ac5-burger svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* --------------------------------------------------------------------------
   stacked overlay menu
   -------------------------------------------------------------------------- */

.surface97ac5-drawer {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #200f31 0%, #160b23 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.surface97ac5-drawer[data-open="1"] {
  opacity: 1;
  visibility: visible;
}

.surface97ac5-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--surface97ac5-line-soft);
  flex: 0 0 auto;
}

.surface97ac5-drawer-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--surface97ac5-bloom);
  letter-spacing: 0.3px;
}

.surface97ac5-drawer-close {
  width: 44px;
  height: 44px;
  border-radius: var(--surface97ac5-radius-s);
  background: rgba(46, 64, 87, 0.5);
  border: 1px solid var(--surface97ac5-line-soft);
  color: var(--surface97ac5-text);
  font-size: 18px;
  line-height: 1;
}

.surface97ac5-drawer-body {
  overflow-y: auto;
  padding: 6px 14px 30px;
}

.surface97ac5-drawer-group {
  margin: 14px 0 4px;
}

.surface97ac5-drawer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--surface97ac5-faint);
  margin: 0 0 6px;
}

.surface97ac5-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: var(--surface97ac5-radius-s);
  border: 1px solid var(--surface97ac5-line-soft);
  background: rgba(36, 22, 54, 0.75);
  color: var(--surface97ac5-text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.surface97ac5-drawer-link:hover,
.surface97ac5-drawer-link:focus-visible {
  text-decoration: none;
  border-color: var(--surface97ac5-line);
  background: rgba(43, 26, 68, 0.9);
}

.surface97ac5-drawer-link:active {
  box-shadow: var(--surface97ac5-glow);
}

.surface97ac5-drawer-link em {
  font-style: normal;
  font-size: 12px;
  color: var(--surface97ac5-faint);
  font-weight: 500;
}

.surface97ac5-drawer-note {
  margin: 18px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--surface97ac5-orchid);
  border-radius: 4px;
  background: rgba(46, 64, 87, 0.35);
  font-size: 12px;
  color: var(--surface97ac5-dim);
}

/* --------------------------------------------------------------------------
   hero: h1 + lead + stat chips + banner carousel + segmented CTA
   -------------------------------------------------------------------------- */

.surface97ac5-hero {
  margin: 2px 0 14px;
}

.surface97ac5-hero h1 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.surface97ac5-lead {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--surface97ac5-dim);
  font-weight: 400;
}

.surface97ac5-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 12px;
}

.surface97ac5-chip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 8px;
  border-radius: var(--surface97ac5-radius-s);
  border: 1px solid var(--surface97ac5-line-soft);
  background: rgba(36, 22, 54, 0.7);
  text-align: center;
}

.surface97ac5-chip b {
  font-size: 13.5px;
  color: var(--surface97ac5-bloom);
  font-weight: 800;
  line-height: 1.3;
}

.surface97ac5-chip span {
  font-size: 10.5px;
  color: var(--surface97ac5-faint);
  line-height: 1.3;
}

.surface97ac5-carousel {
  position: relative;
  border-radius: var(--surface97ac5-radius);
  overflow: hidden;
  border: 1px solid var(--surface97ac5-line);
  box-shadow: var(--surface97ac5-shadow);
}

.surface97ac5-slides {
  display: flex;
  transition: transform 0.35s ease;
}

.surface97ac5-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--surface97ac5-panel);
  display: block;
}

.surface97ac5-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.surface97ac5-slide:active img {
  filter: brightness(1.12) saturate(1.15);
}

.surface97ac5-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.surface97ac5-dot {
  width: 22px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(246, 237, 251, 0.35);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.surface97ac5-dot[data-on="1"] {
  background: var(--surface97ac5-bloom);
  width: 30px;
  box-shadow: var(--surface97ac5-glow);
}

/* segmented action row: joined buttons in one carved bar */

.surface97ac5-seg {
  display: flex;
  width: 100%;
  border: 1px solid var(--surface97ac5-line);
  border-radius: var(--surface97ac5-radius);
  overflow: hidden;
  margin-top: 12px;
  background: rgba(36, 22, 54, 0.7);
}

.surface97ac5-seg button {
  flex: 1 1 0;
  min-height: 48px;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--surface97ac5-line-soft);
  background: transparent;
  color: var(--surface97ac5-text);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.surface97ac5-seg button:last-child {
  border-right: 0;
}

.surface97ac5-seg button:active {
  background: rgba(238, 130, 238, 0.18);
}

.surface97ac5-seg .surface97ac5-seg-main {
  background: var(--surface97ac5-grad-cta);
  color: #fff;
}

.surface97ac5-seg .surface97ac5-seg-main:active {
  filter: brightness(1.25);
  box-shadow: inset 0 0 18px rgba(238, 130, 238, 0.5);
}

/* --------------------------------------------------------------------------
   content sections
   -------------------------------------------------------------------------- */

.surface97ac5-block {
  margin: 22px 0;
}

.surface97ac5-sechead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.surface97ac5-sechead h2 {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.1px;
  flex: 1 1 auto;
}

.surface97ac5-sechead::before {
  content: "";
  flex: 0 0 4px;
  align-self: stretch;
  border-radius: 2px;
  background: var(--surface97ac5-grad-bar);
}

.surface97ac5-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--surface97ac5-bloom);
  border: 1px solid var(--surface97ac5-line);
  border-radius: 20px;
  padding: 2px 9px;
  background: rgba(139, 0, 139, 0.18);
  white-space: nowrap;
}

.surface97ac5-note {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--surface97ac5-dim);
}

.surface97ac5-note b,
.surface97ac5-lead b {
  color: var(--surface97ac5-text);
  font-weight: 700;
}

.surface97ac5-h3 {
  margin: 14px 0 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--surface97ac5-bloom);
}

.surface97ac5-p {
  margin: 0 0 9px;
  font-size: 13px;
  color: var(--surface97ac5-dim);
}

.surface97ac5-p a {
  font-weight: 700;
}

.surface97ac5-checklist {
  list-style: none;
  margin: 8px 0 10px;
  padding: 0;
}

.surface97ac5-checklist li {
  position: relative;
  padding: 8px 10px 8px 30px;
  margin-bottom: 6px;
  border: 1px solid var(--surface97ac5-line-soft);
  border-left: 3px solid var(--surface97ac5-orchid);
  border-radius: var(--surface97ac5-radius-s);
  background: rgba(36, 22, 54, 0.65);
  font-size: 12.5px;
  color: var(--surface97ac5-dim);
  line-height: 1.55;
}

.surface97ac5-checklist li b {
  color: var(--surface97ac5-text);
}

.surface97ac5-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--surface97ac5-grad-cta);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

.surface97ac5-qa {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid var(--surface97ac5-line-soft);
  border-radius: var(--surface97ac5-radius);
  background: rgba(46, 64, 87, 0.3);
}

.surface97ac5-qa h3 {
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 800;
  color: var(--surface97ac5-text);
}

.surface97ac5-qa p {
  margin: 0;
  font-size: 12.5px;
  color: var(--surface97ac5-dim);
}

/* --------------------------------------------------------------------------
   game grid: square art + bottom name strip, 4 cols at 320px
   -------------------------------------------------------------------------- */

.surface97ac5-games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 4px 0 6px;
}

.surface97ac5-gcell {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--surface97ac5-line-soft);
  border-radius: var(--surface97ac5-radius-s);
  background: var(--surface97ac5-panel);
  overflow: hidden;
  min-width: 0;
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.surface97ac5-gcell img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1a0f28;
}

.surface97ac5-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 4px 3px 5px;
  min-height: 30px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  color: var(--surface97ac5-dim);
  border-top: 1px solid rgba(238, 130, 238, 0.08);
  background: linear-gradient(180deg, #20123300 0%, #170d2445 100%);
}

.surface97ac5-gcell:active {
  transform: scale(0.95);
  border-color: var(--surface97ac5-bloom);
  box-shadow: var(--surface97ac5-glow);
}

.surface97ac5-gcell:active .surface97ac5-gname {
  color: var(--surface97ac5-text);
}

/* --------------------------------------------------------------------------
   CTA panel after the game lists
   -------------------------------------------------------------------------- */

.surface97ac5-ctapanel {
  border: 1px solid var(--surface97ac5-line);
  border-radius: var(--surface97ac5-radius);
  background:
    radial-gradient(80% 70% at 85% 0%, rgba(139, 0, 139, 0.35) 0%, rgba(139, 0, 139, 0) 65%),
    rgba(36, 22, 54, 0.85);
  padding: 14px 12px;
  box-shadow: var(--surface97ac5-shadow);
}

.surface97ac5-ctapanel .surface97ac5-seg {
  margin-top: 4px;
}

.surface97ac5-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 10px 0 4px;
  padding: 0;
  list-style: none;
}

.surface97ac5-steps li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--surface97ac5-dim);
}

.surface97ac5-steps li b {
  color: var(--surface97ac5-text);
}

.surface97ac5-stepnum {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(153, 50, 204, 0.3);
  border: 1px solid var(--surface97ac5-line);
  color: var(--surface97ac5-bloom);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   entity relationship summary: compact relation rows
   -------------------------------------------------------------------------- */

.surface97ac5-rel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 8px 0 4px;
}

.surface97ac5-relrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  border: 1px solid var(--surface97ac5-line-soft);
  border-radius: var(--surface97ac5-radius-s);
  background: rgba(36, 22, 54, 0.6);
  font-size: 11.5px;
  line-height: 1.4;
}

.surface97ac5-relrow span {
  color: var(--surface97ac5-dim);
}

.surface97ac5-relrow b {
  color: var(--surface97ac5-text);
  font-weight: 700;
}

.surface97ac5-relrow i {
  font-style: normal;
  color: var(--surface97ac5-bloom);
  font-size: 13px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   extended footer: sectioned list, brand > directory > promos > disclaimer
   -------------------------------------------------------------------------- */

.surface97ac5-xfoot {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--surface97ac5-line);
}

.surface97ac5-xfoot-blurb {
  margin: 0 0 6px;
  font-size: 12.5px;
  color: var(--surface97ac5-dim);
}

.surface97ac5-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 8px 0 4px;
}

.surface97ac5-diritem {
  display: block;
  padding: 8px 9px;
  border: 1px solid var(--surface97ac5-line-soft);
  border-radius: var(--surface97ac5-radius-s);
  background: rgba(36, 22, 54, 0.6);
  color: var(--surface97ac5-text);
  transition: border-color 0.15s ease;
}

.surface97ac5-diritem:hover,
.surface97ac5-diritem:focus-visible {
  text-decoration: none;
  border-color: var(--surface97ac5-line);
}

.surface97ac5-diritem:active {
  box-shadow: var(--surface97ac5-glow);
}

.surface97ac5-diritem b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--surface97ac5-bloom);
  margin-bottom: 2px;
  line-height: 1.35;
}

.surface97ac5-diritem span {
  display: block;
  font-size: 10.5px;
  color: var(--surface97ac5-faint);
  line-height: 1.45;
}

.surface97ac5-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 8px 0 4px;
}

.surface97ac5-promoact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: var(--surface97ac5-radius-s);
  border: 1px solid var(--surface97ac5-line);
  background: rgba(46, 64, 87, 0.4);
  color: var(--surface97ac5-text);
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.surface97ac5-promoact em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  color: var(--surface97ac5-faint);
  font-weight: 500;
  margin-top: 1px;
}

.surface97ac5-promoact::after {
  content: "\203A";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  color: var(--surface97ac5-bloom);
  line-height: 1;
}

.surface97ac5-promoact:active {
  border-color: var(--surface97ac5-bloom);
  box-shadow: var(--surface97ac5-glow);
}

.surface97ac5-promoact.surface97ac5-promoact-hot {
  background: var(--surface97ac5-grad-cta);
  border-color: transparent;
  color: #fff;
}

.surface97ac5-promoact-hot em {
  color: rgba(255, 255, 255, 0.75);
}

.surface97ac5-promoact-hot::after {
  color: #fff;
}

.surface97ac5-promoact-hot:active {
  filter: brightness(1.2);
}

.surface97ac5-disclaimer {
  margin: 12px 0 0;
  padding: 10px 11px;
  border-left: 3px solid var(--surface97ac5-steel);
  border-radius: 4px;
  background: rgba(20, 11, 30, 0.6);
  font-size: 11px;
  line-height: 1.6;
  color: var(--surface97ac5-faint);
}

/* --------------------------------------------------------------------------
   common footer (copyright only)
   -------------------------------------------------------------------------- */

.surface97ac5-foot {
  text-align: center;
  padding: 14px 12px 6px;
  border-top: 1px solid var(--surface97ac5-line-soft);
}

.surface97ac5-foot p {
  margin: 0;
  font-size: 11.5px;
  color: var(--surface97ac5-faint);
}

/* --------------------------------------------------------------------------
   bottom dock: center raised hub, filled icons, label-emphasized active
   -------------------------------------------------------------------------- */

.surface97ac5-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: calc(var(--surface97ac5-dock-h) + env(safe-area-inset-bottom, 0px));
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(28, 16, 41, 0.92) 0%, rgba(18, 10, 28, 0.98) 100%);
  border-top: 1px solid var(--surface97ac5-line);
  backdrop-filter: blur(10px);
}

.surface97ac5-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-height: 44px;
  padding: 3px 2px;
  border: 0;
  background: none;
  color: var(--surface97ac5-faint);
  text-decoration: none;
  border-radius: var(--surface97ac5-radius-s);
  transition: color 0.15s ease;
}

.surface97ac5-dockitem:hover {
  text-decoration: none;
}

.surface97ac5-dockicon {
  width: 22px;
  height: 22px;
  display: block;
  color: #8b76a6;
  transition: color 0.15s ease, filter 0.15s ease;
}

.surface97ac5-docklabel {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1px;
}

.surface97ac5-dockitem:active .surface97ac5-dockicon {
  color: var(--surface97ac5-bloom);
  filter: drop-shadow(0 0 6px rgba(238, 130, 238, 0.8));
}

.surface97ac5-dockitem[data-active="1"] .surface97ac5-dockicon {
  color: var(--surface97ac5-bloom);
}

.surface97ac5-dockitem[data-active="1"] .surface97ac5-docklabel {
  color: var(--surface97ac5-bloom);
  font-weight: 800;
}

/* raised center hub */

.surface97ac5-dockhubwrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-height: 44px;
  padding: 3px 2px;
}

.surface97ac5-dockhub {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(238, 130, 238, 0.65);
  background: var(--surface97ac5-grad-cta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(139, 0, 139, 0.6);
  transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.surface97ac5-dockhub svg {
  width: 24px;
  height: 24px;
  display: block;
}

.surface97ac5-dockhub:active {
  transform: translateX(-50%) scale(0.94);
  box-shadow: 0 0 22px rgba(238, 130, 238, 0.85);
}

.surface97ac5-hublabel {
  font-size: 10px;
  font-weight: 700;
  color: var(--surface97ac5-bloom);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   breakpoints: 375px and the 430px canvas edge
   -------------------------------------------------------------------------- */

@media (min-width: 375px) {
  .surface97ac5-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .surface97ac5-games {
    gap: 7px;
  }

  .surface97ac5-hero h1 {
    font-size: 22px;
  }

  .surface97ac5-sechead h2 {
    font-size: 17px;
  }
}

@media (min-width: 400px) {
  .surface97ac5-games {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 430px) {
  .surface97ac5-shell {
    border-radius: 0 0 14px 14px;
  }

  .surface97ac5-gname {
    font-size: 10.5px;
  }
}

/* keep wide screens locked to the phone canvas */
@media (min-width: 431px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, #241338 0%, #120a1c 75%);
  }
}

@media (max-width: 430px) {
  .surface97ac5-brand-name {
    max-width: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
