/* ==========================================================================
   Diwa Fun - diva-fun.com
   Layout + component anatomy cloned 1:1 from the ALL DIWA GAME reference
   (body class `rounded sidg aprm-2 full-width`). Palette "Terracotta Diya":
   terracotta accent sampled around the brand's clay-lamp warmth, with the
   logo's own tricolour swoosh used as the ornament rule.
   ========================================================================== */

:root {
  /* accent - replaces the reference #cc1ca8 everywhere it appears */
  --ac:         #B33D17;   /* fills carrying white text        5.84:1 */
  --ac-ink:     #8E2F10;   /* accent text on white             8.19:1 */
  --ac-dark:    #96320F;   /* hover                                   */
  --ac-on-dark: #F2915F;   /* accent text on the #1d222d chrome 6.82:1 */
  --ac-soft:    #FDF0EA;
  --ac-soft-2:  #F8DDD0;

  /* the logo's tricolour swoosh - ornament only, never type */
  --tri-1: #FF9933;
  --tri-2: #FFFFFF;
  --tri-3: #138808;
  --tri: linear-gradient(90deg, var(--tri-1) 0 33%, var(--tri-2) 33% 66%, var(--tri-3) 66% 100%);
  /* on a white surface the middle band would otherwise vanish into the page */
  --tri-edge: inset 0 0 0 1px rgba(0, 0, 0, .10);

  /* reference-locked neutrals */
  --page:   #e6e9ef;
  --card:   #ffffff;
  --chrome: #1d222d;
  --deep:   #13161d;
  --ink:    #4c4c4c;
  --ink-2:  #444444;
  --muted:  #a7a7a7;
  --line:   #eaeaea;
  --tint:   #f7f8fa;
  --shadow: 2px 2px 2px 0 #e3e3e3;

  /* reference-locked button colours */
  --dl:    #5edd1f;
  --dl-ink:#0a2124;
  --tg:    #006fa7;

  --r-box:  20px;
  --r-pill: 50px;
  --r-icon: 25px;

  --measure: 1220px;
  --side:    300px;
  --gap:     20px;

  --fx: 220ms cubic-bezier(.4, 0, .2, 1);
}

*, *::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: 400 13px/25px 'Open Sans', Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ac-ink); text-decoration: none; transition: color var(--fx); cursor: pointer; }
a:hover { color: var(--ac-dark); }
button { font: inherit; cursor: pointer; }

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

.vh {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 10px; top: -60px; z-index: 200;
  background: var(--ac); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--r-box) var(--r-box); font-weight: 600;
  transition: top var(--fx);
}
.skip:focus { top: 0; color: #fff; }

/* ---------- the one shared measure (D1 / C11) --------------------------- */
.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
}
.container.is-block { display: block; }

.sections { flex: 1 1 auto; min-width: 0; }

.sidebar {
  flex: 0 0 var(--side);
  width: var(--side);
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

/* ---------- header ------------------------------------------------------ */
#masthead {
  background: var(--chrome);
  border-bottom: 2px solid var(--ac);
  position: relative;
  z-index: 90;
}
#masthead .hdr {
  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; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: #d7dbe4;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: var(--r-box);
  white-space: nowrap;
  transition: color var(--fx), background var(--fx);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a.is-active { color: var(--ac-on-dark); background: rgba(242, 145, 95, .12); }

.nav .nav-cta {
  margin-left: 8px;
  background: var(--ac);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 9px 20px;
  font-family: 'Archivo', 'Open Sans', sans-serif;
  letter-spacing: .02em;
}
.nav .nav-cta:hover { background: var(--ac-dark); color: #fff; }
.nav .nav-cta.is-active { background: var(--ac-dark); color: #fff; }

.burger {
  display: none;
  background: transparent;
  border: 0;
  color: #d7dbe4;
  padding: 4px;
  border-radius: 10px;
}

/* ---------- hero -------------------------------------------------------- */
.hero, .page-hero {
  position: relative;
  background: #000;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.hero { padding: 90px 0 40px; }
.page-hero { padding: 54px 0 46px; }

.imgbg {
  position: absolute;
  inset: 0;
  display: block;
  z-index: -2;
}
.imgbg img {
  width: 120%;
  height: 100%;
  max-width: none;
  margin-left: -10%;
  object-fit: cover;
  opacity: .3;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 50% 42%, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .78) 100%);
}

.subcontainer {
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
}

.hero h1, .hero-title {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 40px;
  line-height: 46px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: .01em;
}
.hero h2, .hero-sub {
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  color: #e7e9ee;
  margin: 0 0 24px;
}
.page-hero h1 {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 32px;
  line-height: 42px;
  font-weight: 600;
  color: #fff;
  margin: 10px 0 18px;
}

/* ---------- search ------------------------------------------------------ */
.searchbox {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}
.searchbox input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border: 0;
  border-radius: var(--r-pill);
  background: #f2f2f2;
  padding: 0 20px;
  font: 400 16px/44px 'Open Sans', Arial, sans-serif;
  color: #333;
}
.searchbox input::placeholder { color: #8d8d8d; }
.searchbox button {
  flex: 0 0 70px;
  width: 70px;
  height: 44px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ac);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background var(--fx), transform var(--fx);
}
.searchbox button:hover { background: var(--ac-dark); transform: translateY(-1px); }

.searchband { background: var(--chrome); padding: 16px 0 20px; border-radius: 0 0 var(--r-box) var(--r-box); }
.searchbox-sm { max-width: 520px; margin: 0; }

/* ---------- category rail ----------------------------------------------- */
.cat-rail {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.cat-rail a { display: block; text-align: center; color: #e7e9ee; }
.cat-rail a:hover { color: #fff; }
.cat-ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 6px;
  opacity: .5;
  color: #fff;
  transition: opacity var(--fx), transform var(--fx);
}
.cat-rail a:hover .cat-ic { opacity: 1; transform: translateY(-2px); }
.c1 { background: #B33D17; } .c2 { background: #E07A1F; } .c3 { background: #C9A227; }
.c4 { background: #1E7A4C; } .c5 { background: #2F5FA8; } .c6 { background: #8A3A6B; }
.cat-l { font-size: 12px; line-height: 16px; display: block; }

/* ---------- section heads ----------------------------------------------- */
.blk { margin: 0 0 26px; }
.blk:first-child { margin-top: 20px; }
.sections > .blk:first-child, .sections > .crumb:first-child { margin-top: 20px; }

.title-section {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 3px 10px 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.title-section::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 52px; height: 3px;
  background: var(--tri);
  box-shadow: var(--tri-edge);
  border-radius: 2px;
}
.title-section h2 {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  color: var(--ink-2);
  margin: 0;
}
.ts-k { font-size: 12px; color: var(--muted); }
.ts-more { margin-left: auto; font-size: 12px; font-weight: 600; }

/* ---------- catalogue cards --------------------------------------------- */
.bav1, .bav2 { display: grid; gap: 0; }
.bav1 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bav2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gcard { padding: 10px; display: block; }
.gcard-l {
  display: block;
  background: var(--card);
  border-radius: var(--r-box);
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--ac);
  overflow: hidden;
  transition: transform var(--fx), box-shadow var(--fx);
  color: inherit;
}
.gcard-l:hover { transform: translateY(-3px); box-shadow: 3px 5px 10px 0 #d9dde4; color: inherit; }
.thumb { display: block; padding: 15px 15px 10px; }
.thumb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }

.gcard-m {
  display: block;
  padding: 0 15px 14px;
  border-radius: 0 0 var(--r-box) var(--r-box);
}
.gcard-t {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  height: 20px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gcard-s {
  display: block;
  font-size: 12px;
  line-height: 18px;
  height: 18px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gcard-b { color: var(--ac-ink); font-weight: 600; }

.cardbtn {
  display: block;
  margin: 8px 0 0;
  text-align: center;
  background: var(--ac);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 32px;
  border-radius: var(--r-pill);
  transition: background var(--fx);
}
.cardbtn:hover { background: var(--ac-dark); color: #fff; }

/* wide featured tile */
.gcard-w .gcard-l { display: flex; align-items: center; gap: 14px; }
.gcard-w .thumb { padding: 14px; flex: 0 0 96px; }
.gcard-w .thumb img { width: 96px; height: 96px; }
.gcard-w .gcard-m { padding: 14px 16px 14px 0; flex: 1 1 auto; min-width: 0; }
.gcard-w .gcard-t { font-size: 15px; }

.more-wrap { text-align: center; margin: 14px 0 0; }
.viewmore {
  display: inline-block;
  width: 225px;
  max-width: 100%;
  line-height: 40px;
  border-radius: var(--r-pill);
  background: var(--ac);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: background var(--fx), transform var(--fx);
}
.viewmore:hover { background: var(--ac-dark); color: #fff; transform: translateY(-1px); }

.no-hits, .empty { text-align: center; padding: 24px 10px; color: var(--muted); }

/* ---------- filter rail (archive) --------------------------------------- */
.filter-rail { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 10px 14px; }
.fr {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
  padding: 8px 16px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  transition: background var(--fx), color var(--fx);
}
.fr:hover { background: var(--ac-soft); color: var(--ac-ink); }
.fr.is-on { background: var(--ac); color: #fff; }

/* ---------- boxes ------------------------------------------------------- */
.box {
  background: var(--card);
  border-radius: var(--r-box);
  box-shadow: var(--shadow);
  padding: 20px 25px;
  margin: 0 10px 20px;
}
.container.is-block .box { margin: 0 10px 20px; }

.crumb { font-size: 12px; color: var(--muted); margin: 20px 10px 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumb span[aria-hidden] { color: #c4c4c4; }
.crumb-light { color: #cfd4dd; justify-content: center; margin: 0 0 6px; }
.crumb-light a { color: #fff; }

.cat-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ac-ink);
}

.main-box-title {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.box-title {
  position: relative;
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #ababab;
  margin: 26px 0 16px;
  padding-bottom: 10px;
}
.box-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  background: var(--tri);
  box-shadow: var(--tri-edge);
  border-radius: 2px;
}

/* ---------- APK single page --------------------------------------------- */
.apphead { display: flex; gap: 25px; align-items: flex-start; }
.apphead .s1 { order: -1; flex: 0 0 150px; width: 150px; text-align: center; }
.apphead .s2 { flex: 1 1 auto; min-width: 0; }

.appicon {
  width: 150px; height: 150px;
  border-radius: var(--r-icon);
  object-fit: cover;
  box-shadow: var(--shadow);
  margin: 0 0 14px;
}

.dl-btn, .tg-btn {
  position: relative;
  display: block;
  min-height: 33px;
  border-radius: var(--r-box);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 5px 8px 38px;
  text-align: center;
  margin: 0 0 8px;
  transition: filter var(--fx), transform var(--fx);
}
.dl-btn { background: var(--dl); color: var(--dl-ink); }
.tg-btn { background: var(--tg); color: #fff; }
.dl-btn:hover, .tg-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.dl-btn:hover { color: var(--dl-ink); }
.tg-btn:hover { color: #fff; }
.dl-ic {
  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-box) 0 0 var(--r-box);
}

.no-rating {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11px; line-height: 16px; color: var(--muted);
  margin: 12px 0 8px; text-align: left;
}
.report { font-size: 11px; color: var(--muted); }
.report:hover { color: var(--ac-ink); }

.srctag { font-size: 12px; color: var(--muted); margin: 0 0 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.badge {
  position: static;           /* C7 - never absolute on the detail page */
  display: inline-block;
  border-radius: var(--r-box);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
}
.badge-hot { background: var(--ac); }
.badge-newest { background: #1E7A4C; }
.chip {
  display: inline-block;
  border-radius: var(--r-box);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  background: var(--ac-soft);
  color: var(--ac-ink);
  border: 1px solid var(--ac-soft-2);
  transition: background var(--fx);
}
.chip:hover { background: var(--ac-soft-2); color: var(--ac-ink); }
.chip-os { background: var(--tint); color: #6d7682; border-color: #e4e7ec; }

.shortdesc { margin: 0 0 6px; }

.da-s { display: flex; flex-wrap: wrap; border-radius: var(--r-box); overflow: hidden; border: 1px solid var(--line); }
.da-c {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  padding: 11px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.da-c:nth-child(3n) { border-right: 0; }
.da-c:nth-last-child(-n+3) { border-bottom: 0; }
.da-k { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.da-v { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 20px; }

.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sh {
  width: 104px;
  min-height: 31px;
  border-radius: var(--r-box);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  color: #fff;
  transition: filter var(--fx), transform var(--fx);
}
.sh:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.sh-facebook { background: #1877f2; } .sh-twitter { background: #111; }
.sh-pinterest { background: #e60023; } .sh-telegram { background: #229ed9; }
.sh-whatsapp { background: #25d366; }

/* ---------- article prose ------------------------------------------------ */
.entry h2 {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 21px;
  line-height: 30px;
  font-weight: 700;
  text-align: start;
  color: var(--ink-2);
  margin: 28px 0 10px;
}
.entry h3 {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 20px 0 6px;
}
.entry p { margin: 0 0 14px; }
.entry a { color: var(--ac-ink); text-decoration: underline; text-underline-offset: 2px; }
.entry a:hover { color: var(--ac-dark); }

.rlist { margin: 0 0 16px; padding: 0 0 0 4px; list-style: none; }
.rlist li { position: relative; padding: 0 0 0 22px; margin: 0 0 7px; }
.rlist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--ac);
  transform: rotate(45deg);
}

.tbl-wrap { overflow-x: auto; margin: 0 0 18px; border-radius: var(--r-box); box-shadow: var(--shadow); }
.da-t { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r-box); overflow: hidden; }
.da-t th {
  background: var(--chrome);
  color: #fff;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 11px 14px;
  font-weight: 700;
}
.da-t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.da-t tr:last-child td { border-bottom: 0; }
.da-t tbody tr:nth-child(even) { background: var(--tint); }

/* ---------- editorial engine (C11) --------------------------------------- */
.lede { margin: 0 0 10px; }
.lede-p { font-size: 15px; line-height: 28px; color: #5a5a5a; }

.ed-sec { margin: 30px 0 0; }
.ed-h2 {
  position: relative;
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 21px;
  line-height: 30px;
  font-weight: 700;
  text-align: start;
  color: var(--ink-2);
  margin: 0 0 12px;
  padding-bottom: 10px;
}
.ed-h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 3px;
  background: var(--tri);
  box-shadow: var(--tri-edge);
  border-radius: 2px;
}

.ed-grid { display: grid; gap: 14px; margin: 16px 0 0; }
.ed-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ed-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-grid[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }

.ed-card {
  background: var(--tint);                    /* tinted, never white-on-white */
  border: 1px solid #e4e7ec;
  border-bottom: 2px solid var(--ac);
  border-radius: var(--r-box);
  box-shadow: var(--shadow);
  padding: 18px 18px 14px;
  transition: transform var(--fx), box-shadow var(--fx);
}
.ed-card:hover { transform: translateY(-3px); box-shadow: 3px 5px 10px 0 #d9dde4; }
.ed-ic {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--ac-soft);
  color: var(--ac-ink);
  margin: 0 0 12px;
}
.ed-h3 {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 23px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.ed-body p:last-child { margin-bottom: 0; }
.ed-body .rlist { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: var(--chrome);
  border-radius: var(--r-box);
  padding: 34px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 10px 0 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 180%;
  z-index: -1;
  background: radial-gradient(45% 55% at 50% 0%, rgba(179, 61, 23, .55) 0%, rgba(179, 61, 23, 0) 72%);
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--tri);
}
/* `.entry h2` (0,1,1) would otherwise beat `.cta-h2` (0,1,0) and render this
   heading left-aligned in grey inside the dark band - out-specify it here. */
.entry .cta-h2, .cta-band .cta-h2, h2.cta-h2 {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 26px;
  line-height: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 10px;
  padding: 0;
}
.entry .cta-h2::after, .cta-band .cta-h2::after, h2.cta-h2::after { content: none; }
.cta-copy p { color: #d2d7e0; margin: 0 auto 6px; }
.cta-acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0 0; }

/* out-specify `.entry a` so the label is never accent-on-accent */
.entry a.hx-btn, a.hx-btn, .hx-btn {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background var(--fx), color var(--fx), transform var(--fx);
}
.entry a.hx-btn-p, a.hx-btn-p { background: var(--ac); color: #fff; }
.entry a.hx-btn-p:hover, a.hx-btn-p:hover { background: var(--ac-dark); color: #fff; transform: translateY(-2px); }
.entry a.hx-btn-g, a.hx-btn-g { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.entry a.hx-btn-g:hover, a.hx-btn-g:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-2px); }

/* FAQ accordion */
.acc { margin: 16px 0 0; display: grid; gap: 10px; }
.acc-i {
  background: var(--tint);
  border: 1px solid #e4e7ec;
  border-radius: var(--r-box);
  overflow: hidden;
  transition: border-color var(--fx);
}
.acc-i[open] { border-color: var(--ac-soft-2); }
.acc-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}
.acc-q::-webkit-details-marker { display: none; }
.acc-q::marker { content: ""; }
.acc-q h3 {
  flex: 1 1 auto;
  margin: 0;
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
  color: var(--ink-2);
}
.acc-chev {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ac-soft);
  color: var(--ac-ink);
  transition: transform var(--fx), background var(--fx);
}
.acc-i[open] .acc-chev { transform: rotate(180deg); background: var(--ac); color: #fff; }
.acc-a { padding: 0 18px 16px; }
.acc-a p:last-child, .acc-a .rlist:last-child { margin-bottom: 0; }

/* ---------- related row (fills the full measure) -------------------------- */
.rlat { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.rl { display: block; padding: 10px; text-align: center; color: inherit; }
.rl img {
  width: 100%; height: auto; aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform var(--fx);
}
.rl:hover img { transform: translateY(-3px); }
.rl-t {
  display: block;
  margin: 9px 0 0;
  font-size: 13px; font-weight: 600; line-height: 20px; height: 20px;
  color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rl-m {
  display: block;
  font-size: 11px; line-height: 18px; height: 18px;
  color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rl:hover .rl-t { color: var(--ac-ink); }

/* ---------- responsible play / 404 --------------------------------------- */
.tip-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.tip-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tint);
  border: 1px solid #e4e7ec;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 12px;
  color: var(--ink-2);
}
.tip-chips svg { color: var(--ac-ink); flex: 0 0 auto; }
.nf-acts { justify-content: flex-start; }
.nf-box { text-align: left; }

/* ---------- sidebar widgets ---------------------------------------------- */
.widget {
  background: var(--card);
  border-radius: var(--r-box);
  box-shadow: var(--shadow);
  border-top: 2px solid var(--ac);
  padding: 16px 18px 18px;
  margin: 20px 0 0;
}
.sidebar .widget:first-child { margin-top: 20px; }
.widget-t {
  position: relative;
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #ababab;
  margin: 0 0 16px;
  padding-bottom: 9px;
}
.widget-t::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  background: var(--tri);
  box-shadow: var(--tri-edge);
  border-radius: 2px;
}

.side-search { display: flex; gap: 7px; }
.side-search input {
  flex: 1 1 auto; min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--tint);
  padding: 0 16px;
  font: 400 13px/38px 'Open Sans', Arial, sans-serif;
  color: #333;
}
.side-search button {
  flex: 0 0 44px; height: 38px;
  border: 0; border-radius: var(--r-pill);
  background: var(--ac); color: #fff;
  display: grid; place-items: center;
  transition: background var(--fx);
}
.side-search button:hover { background: var(--ac-dark); }

.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: flex; align-items: center; gap: 11px; padding: 9px 0; color: inherit; }
.side-list img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: 0 0 46px; }
.side-list span { min-width: 0; }
.sl-t { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-m { display: block; font-size: 11px; color: var(--muted); line-height: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-list a:hover .sl-t { color: var(--ac-ink); }

.side-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.side-cats a {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tint);
  border: 1px solid #e4e7ec;
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  transition: background var(--fx), color var(--fx);
}
.side-cats a:hover { background: var(--ac); color: #fff; border-color: var(--ac); }

.widget-note p { margin: 0 0 14px; font-size: 12px; line-height: 21px; }
.pol-btn {
  display: inline-block;
  background: var(--tint);
  border: 1px solid #e4e7ec;
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  transition: background var(--fx), color var(--fx), border-color var(--fx);
}
.pol-btn:hover { background: var(--ac); color: #fff; border-color: var(--ac); }

/* ---------- footer -------------------------------------------------------- */
#colophon { margin-top: 30px; background: var(--chrome); border-top: 2px solid var(--ac); color: #c7ccd6; }

.foot-promo { display: flex; align-items: center; gap: 30px; padding-top: 30px; padding-bottom: 30px; }
.fp-brand { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 18px; }
.fp-brand img { height: 46px; width: auto; object-fit: contain; flex: 0 0 auto; }
.fp-brand p { margin: 0; font-size: 12px; line-height: 21px; color: #aeb5c1; }
.fp-acts { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 420px; }
#colophon .pol-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #d7dbe4; }
#colophon .pol-btn:hover { background: var(--ac); border-color: var(--ac); color: #fff; }
#colophon .pol-btn-cta { background: var(--ac); border-color: var(--ac); color: #fff; }
#colophon .pol-btn-cta:hover { background: var(--ac-dark); }

.foot-map { background: var(--deep); padding: 32px 0; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; align-items: start; }
.fcol h3 {
  font-family: 'Archivo', 'Open Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ac-on-dark);
  margin: 0 0 12px;
}
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { margin: 0 0 7px; }
.fcol a { color: #aeb5c1; font-size: 12px; line-height: 20px; }
.fcol a:hover { color: #fff; }
.trust-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; line-height: 19px; color: #aeb5c1; }
.trust-list svg { color: var(--ac-on-dark); flex: 0 0 auto; margin-top: 1px; }

.disclaim { background: #0d1016; padding: 22px 0; }
.disclaim p { margin: 0 0 10px; font-size: 11.5px; line-height: 20px; color: #8e96a4; }
.disclaim strong { color: var(--ac-on-dark); }
.disclaim .copy { margin: 0; color: #767e8c; }

/* ---------- float CTA + to-top ------------------------------------------- */
.float-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 95;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #FF9933, #B33D17, #8E2F10, #138808);
  background-size: 300% 300%;
  animation: floatshift 9s ease infinite;
  color: #fff;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .3);
  transition: transform var(--fx), box-shadow var(--fx);
}
.float-cta:hover { color: #fff; transform: translateX(-50%) translateY(-3px); box-shadow: 0 12px 32px rgba(0, 0, 0, .38); }
@keyframes floatshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

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

/* ---------- card reveal --------------------------------------------------- */
.gcard, .ed-card, .rl { opacity: 1; }
.js-reveal { opacity: 0; transform: translateY(14px); transition: opacity 320ms ease, transform 320ms ease; }
.js-reveal.is-in { opacity: 1; transform: none; }

/* ---------- breakpoints --------------------------------------------------- */
@media (max-width: 1200px) {
  .bav1 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .container { display: block; }
  .sidebar { width: auto; position: static; margin: 0 0 10px; }
  .sidebar .widget { margin: 20px 10px 0; }
  .bav1 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bav2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-grid[data-cols="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1, .hero-title { font-size: 34px; line-height: 42px; }
  .main-box-title { font-size: 30px; line-height: 40px; }
}

@media (max-width: 900px) {
  .burger { display: grid; place-items: center; }
  .nav {
    position: absolute;
    left: 10px; right: 10px; top: 60px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--chrome);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-box);
    padding: 10px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .35);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 14px; font-size: 14px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  #masthead .hdr { position: relative; }
}

@media (max-width: 767px) {
  body { font-size: 16px; line-height: 28px; }
  .gcard-s, .sl-m, .rl-m, .fcol a, .cat-l { font-size: 13px; }
  .gcard-t { font-size: 15px; }
  .box { padding: 18px 16px; }
  .bav1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ed-grid[data-cols="4"], .ed-grid[data-cols="3"], .ed-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rlat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-promo { flex-direction: column; align-items: flex-start; }
  .fp-acts { justify-content: flex-start; max-width: none; }
  .hero { padding: 60px 0 34px; }
  .hero h1, .hero-title { font-size: 30px; line-height: 38px; }
  .hero h2, .hero-sub { font-size: 15px; line-height: 26px; }
  .main-box-title { font-size: 25px; line-height: 34px; }
  .apphead { display: block; }
  .apphead .s1 { width: auto; margin: 0 0 18px; }
  .appicon { margin: 0 auto 14px; }
  .da-c { flex-basis: 50%; width: 50%; }
  .da-c:nth-child(3n) { border-right: 1px solid var(--line); }
  .da-c:nth-child(2n) { border-right: 0; }
  .da-c:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .da-c:nth-last-child(-n+2) { border-bottom: 0; }
  .entry h2, .ed-h2 { font-size: 20px; line-height: 29px; }
  .cta-h2 { font-size: 22px; line-height: 31px; }
}

@media (max-width: 519px) {
  .bav1, .bav2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rlat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-grid[data-cols="4"], .ed-grid[data-cols="3"], .ed-grid[data-cols="2"] { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .gcard-w .gcard-l { display: block; }
  .gcard-w .thumb { flex: none; padding: 14px 14px 8px; }
  .gcard-w .thumb img { width: 100%; height: auto; }
  .gcard-w .gcard-m { padding: 0 14px 14px; }
  .sh { width: calc(50% - 4px); }
  .float-cta { font-size: 12px; padding: 10px 18px; max-width: calc(100% - 24px); }
  .hero h1, .hero-title { font-size: 26px; line-height: 34px; }
  .page-hero h1 { font-size: 24px; line-height: 33px; }
  .main-box-title { font-size: 22px; line-height: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal { opacity: 1; transform: none; }
}
