@charset "UTF-8";
/* ==========================================================================
   Hot777 - hot777pk.com
   Layout, widths and component anatomy follow the ALL DIWA GAME reference
   (body class `rounded sidg`): 20px radius system, 50px pills, #e6e9ef ground,
   #1d222d chrome, 300px right sidebar, 6-column 147px grid.
   The accent is this brand's own - orchid #a50fb0 in place of the reference's
   magenta - and the content is Urdu, so the body face is IBM Plex Sans Arabic
   with Open Sans carrying the Latin app names.
   ========================================================================== */

:root {
  /* brand */
  --accent:        #a50fb0;
  --accent-dark:   #7a0a84;
  --accent-light:  #c44acf;
  --accent-soft:   #f6e7f8;

  /* reference-locked surfaces */
  --page:          #e6e9ef;
  --card:          #ffffff;
  --shadow:        2px 2px 2px 0 #e3e3e3;
  --chrome:        #1d222d;
  --chrome-deep:   #13161d;

  /* reference-locked type colours */
  --ink:           #4c4c4c;
  --ink-strong:    #444444;
  --muted:         #a7a7a7;
  --muted-2:       #ababab;
  --hair:          #eaeaea;

  /* fixed CTA colours from the reference */
  --dl-green:      #5edd1f;
  --dl-green-dk:   #4cba17;
  --tg-blue:       #006fa7;

  /* radius system */
  --r:             20px;
  --r-pill:        50px;
  --r-icon:        25px;

  /* measure */
  --measure:       1220px;
  --gutter:        10px;
  --side:          300px;
  --colgap:        17px;

  --fs:            13px;
  --lh:            25px;

  --font-ui:       'IBM Plex Sans Arabic', 'Open Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-latin:    'Open Sans', Arial, sans-serif;

  --t:             200ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs);
  line-height: var(--lh);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); cursor: pointer; }
a:hover { color: var(--accent-dark); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 10px; top: -60px; z-index: 300;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--r) var(--r); transition: top var(--t);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- the one shared measure (rule D1 / C11) ----------
   Header, hero inner, every content row, the footer and the disclaimer band all
   resolve to the same width and the same left/right edge. */
.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-start;
  gap: var(--colgap);
}
.container.is-block { display: block; }

.col-main { flex: 1 1 auto; min-width: 0; }
.col-side { flex: 0 0 var(--side); width: var(--side); position: sticky; top: 20px; align-self: flex-start; }

#main-site { padding: 20px 0 30px; }

.subcontainer {
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- header ---------- */
.site-header {
  background: var(--chrome);
  border-bottom: 2px solid var(--accent);
  position: sticky; top: 0; z-index: 120;
}
.header-inner {
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: 42px; width: auto; object-fit: contain;
  border-radius: 8px;
}

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.main-nav a {
  display: block; padding: 8px 12px; border-radius: var(--r);
  color: #d4d8e2; font-size: 13px; line-height: 1.2;
  transition: background var(--t), color var(--t);
}
.main-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.main-nav a.is-active { background: var(--accent); color: #fff; }
.main-nav .nav-cta a {
  background: var(--accent); color: #fff; padding: 9px 18px; margin-left: 6px;
}
.main-nav .nav-cta a:hover { background: var(--accent-dark); color: #fff; }
.main-nav .nav-cta a.is-active { background: var(--accent-dark); }

.nav-toggle {
  display: none; background: transparent; border: 0; color: #fff;
  padding: 6px; border-radius: 10px; line-height: 0;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #000;
  padding: 90px 0 40px;
  text-align: center;
  border-bottom: 2px solid var(--accent);
}
.imgbg { position: absolute; inset: 0; z-index: 0; }
.imgbg img {
  width: 120%; height: 100%; max-width: none;
  margin-left: -10%;
  object-fit: cover; opacity: .3;
}
.imgbg .imgbg-logo { width: 120%; filter: blur(42px); opacity: .45; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .82) 72%),
    linear-gradient(180deg, rgba(12, 2, 14, .55) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .8) 100%);
}
.hero-inner { position: relative; z-index: 2; }

.hero-title {
  color: #fff; font-size: 40px; line-height: 46px; font-weight: 300;
  margin: 0 0 12px; text-wrap: balance;
}
.hero-sub {
  color: rgba(255, 255, 255, .78);
  font-size: 16px; line-height: 30px; font-weight: 300;
  margin: 0 0 22px;
}
.hero-switch {
  color: rgba(255, 255, 255, .75); font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0;
}
.hero-switch a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-switch-i { flex: 0 0 auto; }

/* ---------- search ---------- */
.searchband { margin: 0 auto; }
/* 678 = the reference's 600px input + 8px gap + 70px button. Capping the row at
   600 would shrink the input to 522 and miss the reference. */
.searchbox {
  display: flex; align-items: center; gap: 8px;
  width: 100%; max-width: 678px; margin: 0 auto;
}
.searchbox-input {
  flex: 1 1 auto; min-width: 0;
  height: 44px; border-radius: var(--r-pill);
  border: 0; background: #f2f2f2; color: #333;
  font-family: inherit; font-size: 16px; padding: 0 20px;
  transition: box-shadow var(--t);
}
.searchbox-input::placeholder { color: #9a9a9a; }
.searchbox-input:focus { outline: none; box-shadow: 0 0 0 3px var(--accent-light); }
.searchbox-btn {
  flex: 0 0 70px; width: 70px; height: 44px;
  border: 0; border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  transition: background var(--t);
}
.searchbox-btn:hover { background: var(--accent-dark); }

/* compact band on inner templates */
.searchband-compact {
  background: var(--chrome);
  border-radius: 0 0 var(--r) var(--r);
  padding: 18px var(--gutter);
  max-width: var(--measure);
  margin: 0 auto;
}

.search-results {
  max-width: 600px; margin: 10px auto 0; text-align: left;
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 8px; max-height: 320px; overflow: auto;
}
.search-results a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 12px; color: var(--ink-strong); font-size: 13px;
}
.search-results a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.search-results img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.search-results .sr-empty { padding: 10px; color: var(--muted); }

/* ---------- category row ---------- */
.cat-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
  margin-top: 26px;
}
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  width: 72px; color: rgba(255, 255, 255, .72); font-size: 11px; line-height: 1.3;
  text-align: center;
}
.cat-ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cat-c, var(--accent)); color: #fff;
  opacity: .5; transition: opacity var(--t), transform var(--t);
}
.cat-item:hover { color: #fff; }
.cat-item:hover .cat-ico { opacity: 1; transform: translateY(-2px); }

/* ---------- section heads ---------- */
.title-section {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 3px 10px 10px;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 6px;
}
.title-section h2 {
  font-size: 22px; font-weight: 400; color: var(--ink); margin: 0;
}
.title-more { font-size: 12px; color: var(--accent); flex: 0 0 auto; }

/* ---------- card grids ----------
   6 columns, zero gap, each cell padded 10px so the white card is inset. That
   reproduces the reference's 147px cell at the shared 1220px measure. */
.bav1 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.bav1-item { padding: 10px; min-width: 0; }
.bav1-card {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  border-bottom: 2px solid var(--accent);
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.bav1-item:hover .bav1-card {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(29, 34, 45, .16);
}
.bav1-thumb { display: block; position: relative; aspect-ratio: 1 / 1; background: #f3f4f7; }
.bav1-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bav1-meta {
  padding: 15px; border-radius: 0 0 var(--r) var(--r);
  display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto;
}
.bav1-title { font-size: 14px; font-weight: 600; line-height: 20px; margin: 0; }
.bav1-title a {
  color: var(--ink-strong); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bav1-title a:hover { color: var(--accent); }
.bav1-sub {
  font-size: 12px; line-height: 18px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bav1-btn {
  margin-top: 10px; text-align: center;
  background: var(--accent); color: #fff;
  border-radius: var(--r); font-size: 11px; line-height: 28px;
  font-family: var(--font-latin); letter-spacing: .02em;
  transition: background var(--t);
}
.bav1-btn:hover { background: var(--accent-dark); color: #fff; }

.tile-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-family: var(--font-latin); font-size: 9px; font-weight: 700; letter-spacing: .06em;
  padding: 2px 7px; border-radius: 20px; color: #fff;
}
.tile-badge-new { background: var(--accent); }
.tile-badge-hot { background: #e2602a; }

/* wide featured rail */
.bav2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.bav2-item { padding: 10px; min-width: 0; }
.bav2-card {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  border-bottom: 2px solid var(--accent);
  display: flex; gap: 14px; padding: 15px; height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}
.bav2-item:hover .bav2-card {
  transform: translateY(-3px); box-shadow: 0 8px 18px rgba(29, 34, 45, .16);
}
.bav2-thumb { flex: 0 0 86px; width: 86px; }
.bav2-thumb img { width: 86px; height: 86px; border-radius: var(--r-icon); object-fit: cover; }
.bav2-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bav2-title { font-size: 15px; font-weight: 600; line-height: 20px; margin: 0; }
.bav2-title a {
  color: var(--ink-strong); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bav2-title a:hover { color: var(--accent); }
.bav2-sub {
  font-size: 12px; line-height: 18px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bav2-btn {
  margin-top: auto; align-self: flex-start;
  background: var(--accent); color: #fff; border-radius: var(--r);
  font-size: 11px; line-height: 26px; padding: 0 14px;
  font-family: var(--font-latin); transition: background var(--t);
}
.bav2-btn:hover { background: var(--accent-dark); color: #fff; }

.viewmore-wrap { text-align: center; margin: 16px 0 4px; }
.viewmore {
  display: inline-block; width: 225px; max-width: 100%;
  line-height: 40px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; text-transform: uppercase;
  font-family: var(--font-latin); font-size: 13px; letter-spacing: .06em;
  transition: background var(--t);
}
.viewmore:hover { background: var(--accent-dark); color: #fff; }

.games-count { margin: 0 10px 10px; color: var(--muted); font-size: 12px; }
.games-empty { margin: 20px 10px; }

/* ---------- boxes ---------- */
.box {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 20px 25px;
  margin-bottom: 20px;
}
.box-title {
  font-size: 17px; text-transform: uppercase; color: var(--muted-2);
  font-weight: 600; letter-spacing: .03em; margin: 0 0 14px;
  position: relative; padding-bottom: 10px;
}
.box-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; background: var(--accent); border-radius: 3px;
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  font-size: 12px; color: var(--muted); margin: 0 10px 12px;
}
.breadcrumb span[aria-hidden] { color: #c3c7d1; }

/* ---------- APK detail ---------- */
.app-head { padding: 20px 25px; }
.app-head-row { display: flex; gap: 25px; align-items: flex-start; }

/* Title block is first in the DOM; the icon column floats beside it. */
.s1 {
  order: -1;
  flex: 0 0 150px; width: 150px;
  display: flex; flex-direction: column; gap: 8px; align-items: stretch;
}
.s2 { flex: 1 1 auto; min-width: 0; }

.app-icon {
  width: 150px; height: 150px; border-radius: var(--r-icon);
  object-fit: cover; box-shadow: var(--shadow);
}
.dl-btn, .tg-btn {
  position: relative; display: flex; align-items: center;
  min-height: 33px; border-radius: var(--r);
  padding: 8px 5px 8px 38px;
  font-family: var(--font-latin); font-size: 12px; font-weight: 600;
  color: #fff; letter-spacing: .03em;
  transition: filter var(--t), transform var(--t);
}
.dl-btn { background: var(--dl-green); }
.tg-btn { background: var(--tg-blue); }
.dl-btn:hover, .tg-btn:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.dl-btn-i, .tg-btn-i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .1);
  border-radius: var(--r) 0 0 var(--r);
}
.icon-note {
  display: flex; align-items: center; gap: 6px; margin: 4px 0 0;
  font-size: 11px; color: var(--muted); line-height: 1.4;
}
.icon-note-i { flex: 0 0 auto; color: var(--accent); }
.report-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--muted); margin-top: 2px;
}
.report-link:hover { color: var(--accent); }

.cat-label-s {
  display: inline-block; font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); font-weight: 600; margin-bottom: 6px;
}
h1.main-box-title {
  font-size: 38px; line-height: 48px; font-weight: 700; color: var(--ink);
  margin: 0 0 6px;
}
.source-tag { display: inline-block; font-size: 11px; color: var(--muted); margin-bottom: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.chip {
  background: #f3f4f7; color: #6a6f7b;
  border-radius: var(--r); padding: 4px 12px; font-size: 11px; line-height: 18px;
}
/* Detail-page state badges sit in the flow, never absolutely (rule C7). */
.chip-new, .chip-hot {
  position: static;
  font-family: var(--font-latin); font-weight: 700; letter-spacing: .05em; color: #fff;
}
.chip-new { background: var(--accent); }
.chip-hot { background: #e2602a; }

.app-short { margin: 0 0 16px; font-size: 13px; line-height: 24px; }

/* info table - 3 cells per row */
.da-s {
  display: flex; flex-wrap: wrap;
  border: 1px solid var(--hair); border-radius: var(--r);
  overflow: hidden; margin: 0 0 16px;
}
.da-cell {
  flex: 0 0 33.3333%; width: 33.3333%;
  padding: 10px 14px;
  border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 1px; min-width: 0;
}
.da-cell:nth-child(3n) { border-right: 0; }
.da-cell:nth-last-child(-n+3) { border-bottom: 0; }
.da-k { font-size: 11px; color: var(--muted); line-height: 16px; }
.da-v { font-size: 13px; color: var(--ink-strong); font-weight: 600; line-height: 20px; overflow-wrap: anywhere; }

/* share row */
.share-row { display: flex; flex-wrap: wrap; gap: 7px; }
.share-btn {
  flex: 0 0 104px; width: 104px; min-height: 31px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--r); background: var(--share-c, var(--accent)); color: #fff;
  font-family: var(--font-latin); font-size: 11px;
  transition: filter var(--t), transform var(--t);
}
.share-btn:hover { color: #fff; filter: brightness(1.12); transform: translateY(-1px); }

/* ---------- article body ---------- */
.entry { font-size: 13px; line-height: var(--lh); }
.box-title-desc { margin-bottom: 18px; }

.entry h2 {
  font-size: 21px; font-weight: 700; text-align: start;
  color: var(--ink); margin: 26px 0 10px;
}
/* `.entry h2` is (0,1,1) and would otherwise beat `.box-title` (0,1,0), turning the
   DESCRIPTION heading into a generic article heading. Out-specify it. */
.entry h2.box-title, h2.box-title {
  font-size: 17px; font-weight: 600; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: .03em;
  margin: 0 0 14px; padding-bottom: 10px;
}
.entry h3 { font-size: 16px; font-weight: 600; color: var(--ink-strong); margin: 18px 0 8px; }
.entry h4 { font-size: 14px; font-weight: 600; color: var(--ink-strong); margin: 14px 0 6px; }
.entry p { margin: 0 0 14px; }
.entry ul { margin: 0 0 16px; padding-left: 20px; }
.entry li { margin-bottom: 7px; }
.entry > *:first-child { margin-top: 0; }

.tbl-wrap { overflow-x: auto; margin: 0 0 18px; }
.hx-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden;
  font-size: 12.5px;
}
.hx-table th {
  background: var(--accent); color: #fff; font-weight: 600;
  text-align: start; padding: 10px 14px; line-height: 20px;
}
.hx-table td { padding: 10px 14px; border-top: 1px solid var(--hair); line-height: 21px; }
.hx-table tbody tr:nth-child(even) td { background: #fafbfc; }

/* CTA inside an article */
.entry-cta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hair);
}

/* ---------- buttons ----------
   Scoped so .entry a's accent colour cannot win and hide the label. */
.hx-btn, .entry .hx-btn, a.hx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--r); padding: 11px 20px;
  font-size: 13px; font-weight: 600; line-height: 1.2;
  border: 2px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.hx-btn-primary, .entry .hx-btn-primary, a.hx-btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.hx-btn-primary:hover, .entry .hx-btn-primary:hover, a.hx-btn-primary:hover {
  background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px);
}
.hx-btn-ghost, .entry .hx-btn-ghost, a.hx-btn-ghost {
  background: transparent; color: var(--accent); border-color: var(--accent);
}
.hx-btn-ghost:hover, .entry .hx-btn-ghost:hover, a.hx-btn-ghost:hover {
  background: var(--accent); color: #fff; transform: translateY(-1px);
}
.hx-btn-i { flex: 0 0 auto; }

/* ---------- editorial layout engine (rule C11) ---------- */
.ed-lede { margin-bottom: 8px; }
.ed-lede h1 { font-size: 30px; line-height: 40px; font-weight: 700; margin: 0 0 14px; color: var(--ink); }
.ed-lede p { font-size: 14.5px; line-height: 27px; }

.ed-sec { margin: 28px 0 0; }
.ed-head { margin: 0 0 12px; }
.ed-head h2 {
  font-size: 21px; font-weight: 600; text-align: start; color: var(--ink); margin: 0 0 8px;
}
.ed-rule { display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--accent); }

.ed-grid { display: grid; gap: 14px; margin-top: 16px; }
.ed-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ed-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* The editorial column is a white .box, so cards inside it are tinted - never
   white-on-white. */
.ed-card {
  background: #f7f8fa;
  border: 1px solid #e7e9ee;
  border-radius: var(--r);
  padding: 16px 16px 6px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.ed-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(29, 34, 45, .1);
}
.ed-card-badge {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 10px;
}
.ed-card-title { font-size: 15px; font-weight: 600; color: var(--ink-strong); margin: 0 0 7px; }
.ed-card-body p { margin: 0 0 10px; font-size: 12.8px; line-height: 23px; }
.ed-card-body > *:last-child { margin-bottom: 10px; }

/* CTA band */
.ed-cta {
  position: relative; overflow: hidden;
  margin: 32px 0 6px; padding: 32px 28px;
  border-radius: var(--r);
  background: var(--chrome);
  text-align: center;
}
.ed-cta::before {
  content: ""; position: absolute; z-index: 0;
  width: 420px; height: 420px; left: 50%; top: -230px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(165, 15, 176, .55) 0%, rgba(165, 15, 176, 0) 68%);
  pointer-events: none;
}
.ed-cta > * { position: relative; z-index: 1; }
/* `.entry h2` is (0,1,1) and sets `text-align:start` plus the dark ink colour, so a
   single-class rule here loses and the band's heading renders left-aligned and dark
   on dark. Out-specify it. */
.entry h2.ed-cta-title, h2.ed-cta-title {
  text-align: center;
  font-size: 23px; line-height: 33px; font-weight: 700; color: #fff; margin: 0 0 12px;
}
.ed-cta-body p { color: rgba(255, 255, 255, .8); margin: 0 auto 8px; }
.ed-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px;
}
.ed-cta .hx-btn-ghost, .ed-cta a.hx-btn-ghost {
  color: #fff; border-color: rgba(255, 255, 255, .55);
}
.ed-cta .hx-btn-ghost:hover, .ed-cta a.hx-btn-ghost:hover {
  background: #fff; color: var(--chrome); border-color: #fff;
}

/* ---------- FAQ accordion ---------- */
.faq { margin: 16px 0 6px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #f7f8fa; border: 1px solid #e7e9ee;
  border-radius: var(--r); overflow: hidden;
  transition: border-color var(--t);
}
.faq-item[open] { border-color: var(--accent-light); }
.faq-q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  transition: background var(--t);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ""; }
.faq-q:hover { background: #f1f2f6; }
.faq-q h3 { font-size: 14.5px; font-weight: 600; color: var(--ink-strong); margin: 0; }
.faq-item[open] .faq-q h3 { color: var(--accent); }
.faq-chev { flex: 0 0 auto; color: var(--accent); display: grid; place-items: center; transition: transform var(--t); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 18px 4px; }
.faq-a p { margin: 0 0 14px; }

/* ---------- sidebar ---------- */
.widget {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 18px 18px 14px; margin-bottom: 20px;
}
.widget .box-title { font-size: 15px; margin-bottom: 12px; }

.side-search { display: flex; gap: 6px; }
.side-search input {
  flex: 1 1 auto; min-width: 0; height: 38px; border-radius: var(--r-pill);
  border: 1px solid var(--hair); background: #f7f8fa; padding: 0 14px;
  font-family: inherit; font-size: 13px;
}
.side-search input:focus { outline: none; border-color: var(--accent); }
.side-search button {
  flex: 0 0 44px; height: 38px; border: 0; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; display: grid; place-items: center;
  transition: background var(--t);
}
.side-search button:hover { background: var(--accent-dark); }

.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li + li { border-top: 1px solid #f0f1f4; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--ink-strong); }
.side-list img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: 0 0 40px; }
.side-list-txt { min-width: 0; display: flex; flex-direction: column; }
.side-list-name {
  font-size: 13px; font-weight: 600; line-height: 18px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.side-list-sub { font-size: 11px; color: var(--muted); line-height: 16px; }
.side-list a:hover .side-list-name { color: var(--accent); }

.side-cats { list-style: none; margin: 0; padding: 0; }
.side-cats li + li { border-top: 1px solid #f0f1f4; }
.side-cats a {
  display: flex; align-items: center; gap: 9px; padding: 9px 0;
  color: var(--ink-strong); font-size: 13px;
}
.side-cats a:hover { color: var(--accent); }
.sc-i { flex: 0 0 auto; color: var(--accent); }
.side-cats em {
  margin-left: auto; font-style: normal; font-size: 11px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 20px; padding: 1px 9px;
}
.widget-note p { font-size: 12px; line-height: 21px; color: #6a6f7b; margin: 0; }

/* ---------- related rail ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rel-item { min-width: 0; }
.rel-item a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-strong); }
.rel-item img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow);
  transition: transform var(--t);
}
.rel-item a:hover img { transform: translateY(-3px); }
.rel-name {
  font-size: 12.5px; font-weight: 600; text-align: center; line-height: 18px;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rel-item a:hover .rel-name { color: var(--accent); }

/* responsible gaming chips */
.rg-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.rg-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #f7f8fa; border: 1px solid #e7e9ee; border-radius: var(--r);
  padding: 7px 14px; font-size: 12px; color: #6a6f7b;
}
.rg-i { flex: 0 0 auto; color: var(--accent); }

/* ---------- 404 ---------- */
.e404 { text-align: center; padding: 48px 25px; }
.e404-code {
  display: block; font-family: var(--font-latin); font-size: 72px; line-height: 1;
  font-weight: 700; color: var(--accent); opacity: .25; margin-bottom: 8px;
}
.e404 h1 { font-size: 26px; margin: 0 0 10px; color: var(--ink); }
.e404 p { max-width: none; margin: 0 0 20px; }
.e404-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- static page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; background: #000;
  padding: 58px 0 44px; text-align: center;
  border-bottom: 2px solid var(--accent);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-kicker {
  display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 10px;
}
.page-hero-title { color: #fff; font-size: 32px; line-height: 42px; font-weight: 300; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--chrome); border-top: 2px solid var(--accent); margin-top: 10px; }

.footer-promo {
  display: flex; align-items: center; gap: 22px;
  padding-top: 34px; padding-bottom: 26px;
}
.footer-promo-mark { flex: 0 0 76px; }
.footer-promo-mark img { width: 76px; height: 76px; border-radius: var(--r); object-fit: cover; }
.footer-promo-copy { flex: 1 1 auto; min-width: 0; }
.footer-promo h2 { color: #fff; font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.footer-promo p { color: rgba(255, 255, 255, .62); font-size: 12.5px; line-height: 22px; margin: 0 0 12px; }
.footer-policy { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-policy a {
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .86);
  border-radius: var(--r); padding: 6px 14px; font-size: 12px;
  transition: background var(--t), color var(--t);
}
.footer-policy a:hover { background: var(--accent); color: #fff; }

.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 8px; padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-col h3 {
  color: #fff; font-size: 13px; font-weight: 600; margin: 18px 0 10px;
  text-transform: uppercase; letter-spacing: .06em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: rgba(255, 255, 255, .62); font-size: 12.5px; }
.footer-col a:hover { color: #fff; }
.footer-rails li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .62); font-size: 12.5px; }
.frail-i { flex: 0 0 auto; color: var(--accent-light); }

.disclaimer-band { background: var(--chrome-deep); }
.disclaimer-inner {
  display: flex; align-items: flex-start; gap: 14px;
  padding-top: 18px; padding-bottom: 18px;
}
.disclaimer-i { flex: 0 0 auto; color: var(--accent-light); line-height: 0; margin-top: 2px; }
.disclaimer-inner p { color: rgba(255, 255, 255, .55); font-size: 12px; line-height: 21px; margin: 0; }

.copyright { background: var(--chrome-deep); border-top: 1px solid rgba(255, 255, 255, .06); }
.copyright-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 14px; padding-bottom: 14px;
  color: rgba(255, 255, 255, .45); font-size: 12px;
}
.copyright-age { color: var(--accent-light); }

/* ---------- floating CTA + to top ---------- */
.float-cta {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 130;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 24px; border-radius: var(--r-pill);
  color: #fff; font-size: 13px; font-weight: 600;
  background: linear-gradient(135deg, #00c6ff, #0072ff, #8e2de2, #ff0080);
  background-size: 300% 300%;
  animation: floatshift 9s ease infinite;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}
.float-cta:hover { color: #fff; filter: brightness(1.08); }
.float-cta-i { flex: 0 0 auto; }
@keyframes floatshift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.to-top {
  position: fixed; right: 18px; bottom: 76px; z-index: 125;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--chrome); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t), background var(--t), transform var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); transform: translateY(-2px); }

/* ---------- card reveal ----------
   Fail-safe: visible by default; main.js opts in by adding .js-anim to <html>. */
.js-anim .bav1-item,
.js-anim .bav2-item,
.js-anim .ed-card { opacity: 0; transform: translateY(14px); }
.js-anim .bav1-item.is-in,
.js-anim .bav2-item.is-in,
.js-anim .ed-card.is-in {
  opacity: 1; transform: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

/* ==========================================================================
   Breakpoints: 1440 / 1024 / 768 / 375
   ========================================================================== */

@media (max-width: 1240px) {
  :root { --side: 270px; }
  .bav1 { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1023px) {
  :root { --side: 100%; }
  .container { flex-wrap: wrap; }
  .col-main { flex: 1 1 100%; width: 100%; }
  /* Reset the sticky sidebar once the columns stack. */
  .col-side { position: static; flex: 1 1 100%; width: 100%; }
  .bav1 { grid-template-columns: repeat(4, 1fr); }
  .bav2 { grid-template-columns: repeat(2, 1fr); }
  .ed-cols-4 { grid-template-columns: repeat(3, 1fr); }
  .rel-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  h1.main-box-title { font-size: 30px; line-height: 40px; }
  .hero-title { font-size: 32px; line-height: 40px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 60px;
    background: var(--chrome-deep);
    border-bottom: 2px solid var(--accent);
    max-height: 0; overflow: hidden;
    transition: max-height 260ms ease;
  }
  .main-nav.is-open { max-height: 70vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 10px 14px; }
  .main-nav a { padding: 12px 14px; border-radius: 12px; font-size: 14px; }
  .main-nav .nav-cta a { margin: 6px 0 0; text-align: center; }
}

@media (max-width: 767px) {
  body { font-size: 16px; line-height: 27px; }
  .entry, .app-short { font-size: 16px; line-height: 28px; }
  /* Every run of body copy clears 16px on a phone, including the blocks that carry
     their own smaller desktop size. */
  .ed-lede p { font-size: 17px; line-height: 29px; }
  .ed-card-body p { font-size: 16px; line-height: 27px; }
  .faq-q h3 { font-size: 16px; }
  .faq-a p { font-size: 16px; line-height: 27px; }
  .hx-table { font-size: 16px; }
  .widget-note p { font-size: 15px; line-height: 25px; }
  .disclaimer-inner p { font-size: 14px; line-height: 23px; }
  .hero { padding: 54px 0 30px; }
  .hero-title { font-size: 26px; line-height: 34px; }
  .hero-sub { font-size: 15px; line-height: 26px; }
  .bav1 { grid-template-columns: repeat(3, 1fr); }
  .bav2 { grid-template-columns: 1fr; }
  .ed-cols-3, .ed-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: repeat(3, 1fr); }
  .box { padding: 18px 16px; }
  .app-head { padding: 18px 16px; }
  .app-head-row { flex-direction: column; gap: 18px; }
  .s1 { order: 1; flex: 1 1 auto; width: 100%; align-items: center; }
  .app-icon { width: 120px; height: 120px; }
  .dl-btn, .tg-btn { width: 100%; max-width: 280px; justify-content: center; }
  h1.main-box-title { font-size: 25px; line-height: 34px; }
  .da-cell { flex: 0 0 50%; width: 50%; }
  .da-cell:nth-child(3n) { border-right: 1px solid var(--hair); }
  .da-cell:nth-child(2n) { border-right: 0; }
  .da-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--hair); }
  .da-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .share-btn { flex: 1 1 calc(50% - 4px); width: auto; }
  .page-hero-title { font-size: 24px; line-height: 33px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-promo { flex-direction: column; text-align: center; }
  .float-cta { font-size: 12px; padding: 10px 18px; bottom: 12px; }
  .to-top { bottom: 66px; right: 12px; width: 38px; height: 38px; }
  .title-section h2 { font-size: 19px; }
}

@media (max-width: 519px) {
  .bav1 { grid-template-columns: repeat(2, 1fr); }
  .ed-cols-3, .ed-cols-4 { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .searchbox-btn { flex: 0 0 56px; width: 56px; }
  .ed-cta { padding: 26px 18px; }
  .ed-cta-title { font-size: 20px; line-height: 29px; }
}

@media (max-width: 380px) {
  .cat-item { width: 64px; }
  .share-btn { flex: 1 1 100%; }
}

/* ---------- motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-anim .bav1-item,
  .js-anim .bav2-item,
  .js-anim .ed-card { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .float-cta, .to-top, .col-side, .searchband { display: none; }
  .box { box-shadow: none; }
}
