/* =========================================================================
   Diwa OK - diwaokgame.org
   Appyn "rounded" reference chrome, Cobalt + Gold palette.
   Palette roles: cobalt is the whole accent system (chrome, fills, rules);
   gold is ornament only and never carries text on white.
   ========================================================================= */

:root {
  /* accent - cobalt */
  --ac:         #1A4FD6;   /* fills that carry white text        6.70:1 */
  --ac-ink:     #1536A8;   /* accent TEXT on white               9.88:1 */
  --ac-dark:    #143FB0;   /* hover fill                         8.87:1 */
  --ac-on-dark: #8FB4FF;   /* accent on the #1d222d chrome       7.69:1 */
  --ac-soft:    #EAF0FF;
  --ac-soft-2:  #D6E2FF;

  /* ornament */
  --gold:       #E8B33A;   /* rules, dashes, badges - never text on white */
  --gold-ink:   #8A6400;   /* gold-family text on white          5.38:1 */

  /* fixed reference buttons */
  --dl:         #5edd1f;   --dl-ink: #0A2124;  /* 9.43:1 */
  --tg:         #006fa7;

  /* chrome + surfaces */
  --page:   #e6e9ef;
  --chrome: #1d222d;
  --deep:   #13161d;
  --card:   #ffffff;
  --tint:   #f7f8fa;
  --line:   #eaeaea;
  --line-2: #e3e6ec;

  /* type */
  --ink:    #4c4c4c;
  --ink-2:  #444444;
  --muted:  #696969;       /* raised from the reference #a7a7a7 for AA  5.49:1 */
  --muted-2:#6f6f6f;       /* raised from the reference #ababab         5.02:1 */

  --shadow: 2px 2px 2px 0 #e3e3e3;
  --r:   20px;             /* cards, boxes, widgets, buttons, chips, tables */
  --rp:  50px;             /* pills: search, VIEW MORE, nav CTA, float CTA */
  --ri:  25px;             /* single-page app icon */
  --measure: 1220px;
  --pad: 10px;
  --side: 300px;           /* sidebar */
  --gap: 20px;
  --t: 180ms cubic-bezier(.4, 0, .2, 1);

  --sans: 'Open Sans', Arial, Helvetica, sans-serif;
  --disp: 'Overpass', 'Open Sans', Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 25px;
  color: var(--ink);
  background: var(--page);
  overflow-x: clip;
}

img { max-width: 100%; height: auto; }
a { color: var(--ac-ink); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--ac-dark); }
button, [role="button"], a, summary, label[for], input[type="submit"] { cursor: pointer; }

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

.vh, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  background: var(--card); color: var(--ac-ink);
  padding: 10px 16px; border-radius: var(--r); box-shadow: var(--shadow);
}

/* ---------------------------------------------------------------- *
   One measure, shared by header / content / footer / disclaimer (D1)
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--pad);
}
#main-site > .container { display: flex; align-items: flex-start; gap: var(--gap); position: relative; }
#main-site > .container.is-block { display: block; }

.sections { width: calc(100% - var(--side) - var(--gap)); min-width: 0; }
#main-site > .container.no-side .sections { width: 100%; }

/* ---------------------------------------------------------------- *
   Header
   ---------------------------------------------------------------- */
#header {
  position: sticky; top: 0; z-index: 120;
  height: 60px;
  background: rgba(29, 34, 45, .96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 2px solid var(--ac);
}
#header .container {
  height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 40px; width: auto; max-height: 40px; object-fit: contain; display: block; }

#menu ul.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
#menu .menu-item > a {
  display: block; padding: 8px 12px;
  font-family: var(--disp); font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: #e8ebf2; border-radius: var(--rp);
  transition: color var(--t), background-color var(--t);
}
#menu .menu-item > a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
#menu .menu-item.current > a { color: var(--ac-on-dark); }
#menu .nav-cta > a {
  background: var(--ac); color: #fff; padding: 8px 18px; margin-left: 8px;
}
#menu .nav-cta > a:hover { background: var(--ac-dark); color: #fff; }
#menu .nav-cta.current > a { background: var(--ac-dark); color: #fff; }

.menu-open {
  display: none; background: none; border: 0; color: #fff; padding: 6px;
  border-radius: 10px;
}
.menu-scrim {
  position: fixed; inset: 60px 0 0; background: rgba(10, 13, 20, .55); z-index: 110;
}

/* ---------------------------------------------------------------- *
   Hero band
   ---------------------------------------------------------------- */
#subheader {
  position: relative; overflow: hidden;
  background: #000;
  padding: 72px 0 40px;
  text-align: center; color: #fff;
  border-bottom: 2px solid var(--ac);
}
#subheader .imgbg { position: absolute; inset: 0; }
#subheader .imgbg img {
  width: 120%; height: 100%; object-fit: cover;
  margin-left: -10%; opacity: .3; display: block;
}
#subheader::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 50% 34%, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 58%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .18) 46%, rgba(0, 0, 0, .74) 100%);
}
.subcontainer {
  position: relative; z-index: 2;
  width: 100%; max-width: 730px; margin: 0 auto; padding: 0 var(--pad);
}
.subcontainer h1 {
  font-family: var(--disp);
  font-size: 40px; line-height: 46px; font-weight: 300;
  color: #fff; margin: 0; padding: 0 0 20px;
}
.subcontainer h1 strong { font-weight: 800; }
.subcontainer h2 {
  font-size: 16px; line-height: 30px; font-weight: 300; color: #fff; margin: 0 0 22px;
}

/* compact band on interior pages. Our header is sticky, not fixed, so the
   reference's 75px top padding (which exists only to clear a fixed bar) drops. */
#subheader.np {
  padding: 18px 0 15px;
  background: var(--card);
  border-radius: 0 0 var(--r) var(--r);
  border-bottom: 0;
  text-align: left;
}
#subheader.np .container { display: flex; justify-content: center; }
#subheader.np::after { display: none; }

/* search */
.searchbox { position: relative; width: 100%; max-width: 600px; margin: 0 auto; }
.searchbox form { display: flex; position: relative; }
.sb_search {
  width: 100%; height: 44px;
  border: 1px solid #e1e4ea; border-radius: var(--rp);
  background: #f2f2f2; color: #43454b;
  font-family: var(--sans); font-size: 16px; line-height: 44px;
  padding: 0 86px 0 20px;
}
.sb_search::placeholder { color: #666a73; opacity: 1; }
.sb_search:focus { background: #fff; border-color: var(--ac); outline: none; box-shadow: 0 0 0 3px var(--ac-soft-2); }
.sb_submit {
  position: absolute; right: 0; top: 0;
  width: 70px; height: 44px;
  border: 0; border-radius: var(--rp);
  background: var(--ac); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--t);
}
.sb_submit:hover { background: var(--ac-dark); }
.sb-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60;
  background: #fff; border-radius: var(--r); box-shadow: 0 10px 30px rgba(14, 20, 34, .2);
  overflow: hidden; text-align: left; max-height: 332px; overflow-y: auto;
}
.sb-results a {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px;
  color: var(--ink); font-size: 13px; border-bottom: 1px solid var(--line);
}
.sb-results a:last-child { border-bottom: 0; }
.sb-results a:hover, .sb-results a.on { background: var(--ac-soft); color: var(--ac-ink); }
.sb-results img { width: 28px; height: 28px; border-radius: 8px; }
.sb-results .nores { padding: 12px 14px; color: var(--muted); font-size: 13px; }

/* category icon row */
.cats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 24px 0 0; }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #fff; font-size: 12px; }
.cats .cic {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: .72; transition: opacity var(--t), transform var(--t);
}
.cats a:hover { color: #fff; }
.cats a:hover .cic { opacity: 1; transform: translateY(-2px); }
.cats .c0 { background: #1A4FD6; } .cats .c1 { background: #0E8F6F; }
.cats .c2 { background: #C2410C; } .cats .c3 { background: #7A2BD4; }
.cats .c4 { background: #B4175C; } .cats .c5 { background: #0C7490; }

/* ---------------------------------------------------------------- *
   Sections, grids, tiles
   ---------------------------------------------------------------- */
#main-site { padding: 20px 0 30px; }
.section { margin-bottom: 22px; }

.title-section {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 3px 10px 10px; padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.title-section h2 {
  font-family: var(--disp); font-size: 22px; line-height: 1.25; font-weight: 400;
  color: var(--ink); margin: 0; position: relative;
}
.title-section h2::after {
  content: ""; position: absolute; left: 0; bottom: -11px;
  width: 52px; height: 3px; background: var(--ac); border-radius: 3px;
}
.ts-more { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ac-ink); white-space: nowrap; }

.baps { display: flex; flex-wrap: wrap; margin: 0; }
.baps .bav { width: calc(100% / var(--cols, 6)); padding: 10px; text-align: center; }
.baps .bav2 { width: calc(100% / 3); text-align: left; }

/* one tile surface. The link and the footer button live inside it, so the
   card never reads as two stacked boxes. */
.tile {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border-radius: var(--r);
  border-bottom: 2px solid var(--ac);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(20, 30, 60, .14); }
.tile-main { display: block; flex: 1 1 auto; padding: 15px; color: var(--ink); }
.bav2 .tile-main { display: flex; align-items: center; gap: 14px; text-align: left; }
.bloque-imagen { display: block; }
.bav2 .bloque-imagen { flex: 0 0 75px; }
.bloque-imagen img {
  width: 75px; height: 75px; border-radius: var(--r); object-fit: cover;
  display: block; margin: 0 auto;
}
.bap-c { display: block; margin-top: 10px; min-width: 0; }
.bav2 .bap-c { margin-top: 0; }
.title {
  display: block; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.version, .developer {
  display: block; font-size: 12px; line-height: 18px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.developer { color: var(--ac-ink); font-weight: 600; }
.card-btn {
  display: block; text-align: center;
  font-size: 11px; font-weight: 700; line-height: 30px; color: var(--ac-ink);
  background: var(--tint); border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r) var(--r);
  transition: background-color var(--t), color var(--t);
}
.tile:hover .card-btn { background: var(--ac); color: #fff; }

.more-wrap { text-align: center; padding: 10px 0 4px; }
.more {
  display: inline-block; width: 225px; max-width: 100%;
  line-height: 40px; border-radius: var(--rp);
  background: var(--ac); color: #fff;
  font-family: var(--disp); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  transition: background-color var(--t);
}
.more:hover { background: var(--ac-dark); color: #fff; }

/* ---------------------------------------------------------------- *
   Sidebar
   ---------------------------------------------------------------- */
#sidebar {
  width: var(--side); flex: 0 0 var(--side);
  position: sticky; top: 80px; align-self: flex-start;
}
.widget {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  border-top: 2px solid var(--ac);
  padding: 15px; margin-bottom: 20px;
}
.widget > h2 {
  font-family: var(--disp); font-size: 15px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted-2); margin: 0 0 12px; position: relative; padding-bottom: 10px;
}
.widget > h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px;
  background: var(--gold); border-radius: 3px;
}
.widget .searchbox { max-width: none; }
.widget .sb_search { font-size: 14px; padding-right: 76px; }
.widget .sb_submit { width: 60px; }

.wlist { list-style: none; margin: 0; padding: 0; }
.wlist li { border-bottom: 1px solid var(--line); }
.wlist li:last-child { border-bottom: 0; }
.wlist a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink); font-size: 13px; }
.wlist a:hover { color: var(--ac-ink); }
.wlist img { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px; }
.wlist .wmeta { display: block; font-size: 11px; color: var(--muted); }
.wcats a { justify-content: space-between; }
.wcats .fcount, .fcount {
  background: var(--ac-soft); color: var(--ac-ink); border-radius: var(--rp);
  font-size: 11px; font-weight: 700; padding: 1px 9px;
}
.wnote { font-size: 12px; line-height: 21px; color: var(--ink); margin: 0; }
.wnote strong { color: var(--ac-ink); }

/* ---------------------------------------------------------------- *
   Boxes / single page
   ---------------------------------------------------------------- */
.box {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 20px 25px; margin-bottom: 20px;
}
.app-s { display: flex; align-items: flex-start; gap: 20px; }
.app-s .s1 { order: -1; flex: 0 0 150px; width: 150px; text-align: center; }
.app-s .s2col { flex: 1 1 auto; min-width: 0; }

.app-icon {
  width: 150px; height: 150px; border-radius: var(--ri); object-fit: cover;
  display: block; box-shadow: var(--shadow);
}
.breadcrumb { font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.breadcrumb a { color: var(--ac-ink); }
.breadcrumb span { color: var(--muted); }
.meta-cats { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--ac-ink); margin: 0 0 4px; }
h1.main-box-title, .entry .main-box-title, .main-box-title {
  font-family: var(--disp);
  font-size: 38px; line-height: 48px; font-weight: 700; color: var(--ink);
  margin: 0 0 6px;
}
.srctag { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ac-soft); color: var(--ac-ink);
  border-radius: var(--r); padding: 4px 13px; font-size: 12px; font-weight: 600;
}
.chip.is-new { background: #E9F7E4; color: #1C6B10; }
.chip.is-gold { background: #FBF2DC; color: var(--gold-ink); }
.descripcion { font-size: 13px; line-height: 23px; margin: 0 0 14px; }

.box-title {
  font-family: var(--disp);
  font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted-2); padding: 15px 0; margin: 0; position: relative;
}
.box-title::after {
  content: ""; position: absolute; left: 0; bottom: 8px; width: 34px; height: 3px;
  background: var(--ac); border-radius: 3px;
}

.box-data-app { display: flex; flex-wrap: wrap; margin: 6px 0 0; }
.da-s { width: 33.3333%; padding: 0 10px 12px 0; font-size: 13px; }
.da-s b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }

.buttond { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.btn-app {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 33px; border-radius: var(--r);
  font-family: var(--disp); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 8px 5px 8px 38px; text-transform: uppercase;
  transition: filter var(--t), transform var(--t);
}
.btn-app .bic {
  position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .1); border-radius: var(--r) 0 0 var(--r);
}
.btn-app:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-app:active { transform: translateY(0); }
.downloadAPK { background: var(--dl); color: var(--dl-ink); }
.downloadAPK:hover { color: var(--dl-ink); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { color: #fff; }
.link-report { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 10px; }

.botones_sociales { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.botones_sociales a {
  width: 104px; min-height: 31px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: #fff; transition: filter var(--t);
}
.botones_sociales a:hover { filter: brightness(1.1); color: #fff; }
.s-fb { background: #1877F2; } .s-tw { background: #15181C; } .s-pi { background: #BD081C; }
.s-tg { background: #229ED9; } .s-wa { background: #1DA851; }

/* ---------------------------------------------------------------- *
   Editorial engine (C11)
   ---------------------------------------------------------------- */
.entry { font-size: 14px; line-height: 25px; color: var(--ink); }
.entry p { margin: 0 0 14px; }
.entry a { color: var(--ac-ink); text-decoration: underline; text-underline-offset: 2px; }
.entry h2, .entry h3 { font-family: var(--disp); color: var(--ink); text-align: start; }
.entry h2 { font-size: 21px; line-height: 30px; font-weight: 700; margin: 26px 0 10px; }
.entry h3 { font-size: 16px; line-height: 25px; font-weight: 700; margin: 18px 0 6px; }
.entry > :first-child { margin-top: 0; }

.lede { font-size: 15px; line-height: 27px; color: #3f434a; }
.lede p { margin: 0 0 14px; }

.esec { margin: 0 0 26px; }
.esec-head {
  font-family: var(--disp); font-size: 21px; line-height: 30px; font-weight: 700;
  color: var(--ink); margin: 0 0 8px; padding-bottom: 10px; position: relative; text-align: start;
}
.esec-head::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px;
  background: var(--ac); border-radius: 3px;
}
.esec-intro { margin: 0 0 16px; }

.ecards { display: grid; grid-template-columns: repeat(var(--ec, 3), minmax(0, 1fr)); gap: 14px; }
.ecard {
  background: var(--tint); border: 1px solid var(--line-2);
  border-bottom: 2px solid var(--ac);
  border-radius: var(--r); padding: 16px 16px 6px;
}
.ecard-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--ac-soft); color: var(--ac-ink); margin-bottom: 10px;
}
.ecard-title { font-family: var(--disp); font-size: 15px; line-height: 22px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.ecard-body p { margin: 0 0 10px; font-size: 13px; line-height: 23px; }

.spec-list { list-style: none; margin: 0 0 14px; padding: 0; }
.spec-list li {
  position: relative; padding: 7px 0 7px 26px; font-size: 13px; line-height: 23px;
  border-bottom: 1px solid var(--line);
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list li::before {
  content: ""; position: absolute; left: 4px; top: 16px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--gold);
  transform: rotate(45deg);
}
.spec-list strong { color: var(--ac-ink); }

/* CTA band. .entry a sets an accent colour, so the button rule is scoped
   tightly enough to win, or the label renders accent-on-accent. */
.cta-band {
  background: linear-gradient(135deg, #171C27 0%, #1d222d 55%, #202A47 100%);
  border-radius: var(--r); padding: 28px 26px; margin: 26px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: 50%; top: -60%; width: 420px; height: 420px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(26, 79, 214, .55) 0%, transparent 68%);
}
.cta-band > * { position: relative; z-index: 2; }
.entry .cta-band h2.cta-head, .cta-band h2.cta-head {
  font-family: var(--disp); font-size: 24px; line-height: 32px; font-weight: 700;
  color: #fff; margin: 0 0 10px; text-align: center; padding: 0;
}
.cta-band h2.cta-head::after { display: none; }
.cta-copy { color: #cdd4e2; font-size: 14px; line-height: 25px; max-width: none; }
.cta-copy p { margin: 0 0 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
.entry a.hx-btn, a.hx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--rp);
  font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .03em;
  background: var(--ac); color: #fff; text-decoration: none;
  border: 2px solid var(--ac);
  transition: background-color var(--t), border-color var(--t), transform var(--t);
}
.entry a.hx-btn:hover, a.hx-btn:hover { background: var(--ac-dark); border-color: var(--ac-dark); color: #fff; transform: translateY(-1px); }
.entry a.hx-btn-g, a.hx-btn-g { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.entry a.hx-btn-g:hover, a.hx-btn-g:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
/* the same pair on a white surface (404, /hi/) */
.cta-row.on-light a.hx-btn-g { color: var(--ac-ink); border-color: var(--ac); }
.cta-row.on-light a.hx-btn-g:hover { background: var(--ac-soft); color: var(--ac-ink); }

/* FAQ accordion - native details/summary, no JS needed */
.faq-block { margin: 26px 0; }
.faq-head {
  font-family: var(--disp); font-size: 21px; line-height: 30px; font-weight: 700;
  color: var(--ink); margin: 0 0 12px; padding-bottom: 10px; position: relative; text-align: start;
}
.faq-head::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px;
  background: var(--ac); border-radius: 3px;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--tint); border: 1px solid var(--line-2);
  border-radius: var(--r); overflow: hidden;
}
.faq-item[open] { border-color: var(--ac-soft-2); }
.faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ""; }
.faq-item summary h3 {
  font-family: var(--disp); font-size: 15px; line-height: 23px; font-weight: 700;
  color: var(--ink); margin: 0; text-align: start;
}
.faq-item[open] summary h3 { color: var(--ac-ink); }
.faq-chev { flex: 0 0 20px; color: var(--ac-ink); transition: transform var(--t); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-body { padding: 0 16px 4px; border-top: 1px solid var(--line); }
.faq-body p { margin: 12px 0; font-size: 13px; line-height: 23px; }

/* source tables */
.tbl-wrap { overflow-x: auto; margin: 0 0 18px; border-radius: var(--r); box-shadow: var(--shadow); }
.dtable { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; font-size: 13px; }
.dtable th {
  background: var(--chrome); color: #fff; text-align: left; padding: 10px 14px;
  font-family: var(--disp); font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
}
.dtable td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.dtable tbody tr:nth-child(even) { background: var(--tint); }

/* related row - fills the full measure */
.rlat { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 25px 5px; margin-bottom: 20px; }
.rlat .baps .bav { width: 20%; }

/* responsible-gaming block */
.rg-note {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  border-left: 4px solid var(--gold); padding: 18px 22px; margin-bottom: 20px;
}
.rg-note h2 { font-family: var(--disp); font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.rg-note p { margin: 0 0 10px; font-size: 13px; line-height: 23px; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rg-chips li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tint); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 5px 13px; font-size: 12px; color: var(--ink);
}
.rg-chips .ic { color: var(--gold-ink); }

/* trust bar */
.trustbar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin: 0 10px 22px;
}
.trustbar div {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  border-bottom: 2px solid var(--gold);
  padding: 13px 15px; display: flex; align-items: flex-start; gap: 11px; font-size: 13px;
}
.trustbar .ic { color: var(--ac-ink); flex: 0 0 22px; margin-top: 3px; }
.trustbar b { display: block; font-family: var(--disp); font-size: 14px; color: var(--ink); }
.trustbar span { color: var(--muted); font-size: 12px; }

/* filter pills on /games/ */
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 10px 16px; }
.filterbar a {
  border-radius: var(--rp); padding: 6px 16px; font-size: 12px; font-weight: 700;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  transition: background-color var(--t), color var(--t);
}
.filterbar a:hover { background: var(--ac-soft); color: var(--ac-ink); }
.filterbar a.on { background: var(--ac); color: #fff; }

/* ---------------------------------------------------------------- *
   Footer
   ---------------------------------------------------------------- */
#footer { background: var(--chrome); color: #fff; border-top: 2px solid var(--ac); margin-top: 10px; }
#footer a { color: #cfd6e4; }
#footer a:hover { color: var(--ac-on-dark); }
.foot-promo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.foot-brand { display: flex; gap: 14px; align-items: flex-start; max-width: none; flex: 1 1 420px; }
.foot-brand img { width: 56px; height: 56px; border-radius: 14px; flex: 0 0 56px; }
.foot-name { font-family: var(--disp); font-size: 17px; font-weight: 700; color: #fff; display: block; }
.foot-brand p { margin: 4px 0 0; font-size: 13px; line-height: 22px; color: #b9c2d2; }
.foot-policy { display: flex; flex-wrap: wrap; gap: 8px; }
.pol-btn {
  border-radius: var(--rp); padding: 7px 16px; font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, .08); color: #e6eaf3 !important;
  transition: background-color var(--t);
}
.pol-btn:hover { background: var(--ac); color: #fff !important; }

.foot-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 24px 0; }
.fcol h2 {
  font-family: var(--disp); font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: #fff; margin: 0 0 12px; padding-bottom: 8px; position: relative;
}
.fcol h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { font-size: 13px; line-height: 26px; }
.fcol .fcount { background: rgba(255, 255, 255, .1); color: #cfd6e4; }
.fcol .trust li { display: flex; align-items: flex-start; gap: 9px; line-height: 22px; padding: 4px 0; color: #b9c2d2; }
.fcol .trust .ic { flex: 0 0 18px; color: var(--ac-on-dark); margin-top: 2px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.copy { margin: 0; font-size: 12px; color: #9aa4b6; }
.to-top {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--ac); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background-color var(--t), transform var(--t);
}
.to-top:hover { background: var(--ac-dark); transform: translateY(-2px); }

.disclaimer { background: var(--deep); color: #8e98aa; padding: 14px 0 70px; }
.disclaimer p { margin: 0; font-size: 12px; line-height: 21px; display: flex; gap: 9px; align-items: flex-start; }
.disclaimer .ic { flex: 0 0 18px; color: var(--gold); margin-top: 2px; }
.disclaimer strong { color: #c3cbd9; }

.float-cta {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 100;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 24px; border-radius: var(--rp);
  background: linear-gradient(135deg, #1A4FD6, #0C7490, #7A2BD4, #B4175C);
  background-size: 300% 300%;
  color: #fff !important; font-family: var(--disp); font-size: 13px; font-weight: 800;
  box-shadow: 0 8px 26px rgba(12, 20, 44, .38);
  animation: floatpan 9s ease infinite;
}
.float-cta:hover { filter: brightness(1.08); }
@keyframes floatpan { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------------------------------------------------------------- *
   Breakpoints 375 / 768 / 1024 / 1440
   ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .baps .bav { width: calc(100% / 4); }
  .baps .bav2 { width: calc(100% / 2); }
  .rlat .baps .bav { width: 25%; }
}
@media (max-width: 1023px) {
  #main-site > .container { display: block; }
  .sections { width: 100%; }
  #sidebar { position: static; width: 100%; flex: none; margin-top: 20px; }
  .ecards { grid-template-columns: repeat(min(var(--ec, 3), 3), minmax(0, 1fr)); }
  .foot-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 950px) {
  .baps .bav { width: calc(100% / 4); }
  .rlat .baps .bav { width: 33.3333%; }
}
@media (max-width: 860px) {
  .app-s { display: block; }
  .app-s .s1 { width: 100%; margin-bottom: 16px; }
  .app-icon { margin: 0 auto; }
  .da-s { width: 50%; }
}
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 27px; }
  .entry, .entry p, .ecard-body p, .faq-body p, .spec-list li, .descripcion { font-size: 16px; line-height: 27px; }
  .menu-open { display: block; }
  #menu {
    position: fixed; inset: 60px 0 auto; z-index: 115;
    background: var(--chrome); border-bottom: 2px solid var(--ac);
    max-height: 0; overflow: hidden; transition: max-height 260ms ease;
  }
  #menu.open { max-height: 80vh; overflow-y: auto; }
  #menu ul.menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 10px 14px; }
  #menu .menu-item > a { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
  #menu .nav-cta > a { margin: 8px 0 0; text-align: center; }
  .subcontainer h1 { font-size: 29px; line-height: 36px; }
  .subcontainer h2 { font-size: 15px; line-height: 25px; }
  #subheader { padding: 44px 0 30px; }
  .baps .bav { width: calc(100% / 3); }
  .baps .bav2 { width: 100%; }
  .rlat .baps .bav { width: 33.3333%; }
  .ecards { grid-template-columns: repeat(min(var(--ec, 3), 2), minmax(0, 1fr)); }
  h1.main-box-title, .main-box-title { font-size: 27px; line-height: 35px; }
  .box, .rlat { padding: 16px 15px; }
  .da-s { width: 50%; }
  .trustbar { margin: 0 0 18px; }
  .title-section { margin: 3px 0 10px; }
  .filterbar { margin: 0 0 16px; }
}
@media (max-width: 519px) {
  .baps .bav { width: 50%; }
  .rlat .baps .bav { width: 50%; }
  .ecards { grid-template-columns: minmax(0, 1fr); }
  .foot-map, .trustbar { grid-template-columns: minmax(0, 1fr); }
  .da-s { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-cta { font-size: 12px; padding: 10px 18px; }
  .cta-band { padding: 22px 16px; }
}
@media (max-width: 380px) {
  .subcontainer h1 { font-size: 25px; line-height: 32px; }
  .botones_sociales a { width: calc(50% - 4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .tile:hover, .to-top:hover, .btn-app:hover, a.hx-btn:hover { transform: none; }
}

/* download button repeated at the end of the article body */
.buttond-end { max-width: 260px; margin-top: 18px; }

/* the catalogue page's section head is its H1 */
.title-section h1 {
  font-family: var(--disp); font-size: 22px; line-height: 1.25; font-weight: 400;
  color: var(--ink); margin: 0; position: relative;
}
.title-section h1::after {
  content: ""; position: absolute; left: 0; bottom: -11px;
  width: 52px; height: 3px; background: var(--ac); border-radius: 3px;
}

/* ---------------------------------------------------------------- *
   APK post hero banner
   ---------------------------------------------------------------- */
.apk-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(152deg, #101733 0%, #172043 44%, #221A4A 100%);
  border: 2px solid var(--ac);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 30px 26px 28px;
  margin-bottom: 20px;
  text-align: center;
}
.apk-hero::after {
  content: ""; position: absolute; left: 50%; top: -58%;
  width: 560px; height: 560px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(26, 79, 214, .5) 0%, rgba(26, 79, 214, .14) 46%, transparent 70%);
}
.apk-hero > * { position: relative; z-index: 2; }

.ah-eyebrow {
  display: inline-block; margin: 0 0 16px;
  background: var(--ac); color: #fff;
  border-radius: var(--rp); padding: 6px 18px;
  font-family: var(--disp); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em; line-height: 16px;
}
.ah-title {
  font-family: var(--disp);
  font-size: 32px; line-height: 42px; font-weight: 700;
  color: #fff; margin: 0 0 22px;
}
.ah-logo {
  display: inline-block; line-height: 0;
  border-radius: var(--ri); padding: 3px;
  background: linear-gradient(160deg, var(--gold), #B07E12 48%, var(--gold));
  box-shadow: 0 0 0 4px rgba(26, 79, 214, .42), 0 14px 38px rgba(8, 14, 34, .6);
}
.ah-logo img {
  width: 170px; height: 170px; display: block;
  border-radius: calc(var(--ri) - 2px); object-fit: cover;
}
.ah-desc {
  color: #c8d0e4; font-size: 14px; line-height: 25px;
  margin: 22px 0 0;
}
.ah-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.ah-pills a {
  background: var(--ac); color: #fff;
  border: 2px solid var(--ac); border-radius: var(--rp);
  padding: 8px 20px;
  font-family: var(--disp); font-size: 12px; font-weight: 700; letter-spacing: .02em;
  transition: background-color var(--t), border-color var(--t), transform var(--t);
}
.ah-pills a:hover { background: var(--ac-dark); border-color: var(--ac-dark); color: #fff; transform: translateY(-1px); }

/* sticky header clearance for the jump-pill targets */
#app-information, #description, #before-you-install { scroll-margin-top: 76px; }

/* the icon column now carries only the download actions */
.app-spe .s1 .buttond { margin-top: 0; }

@media (max-width: 767px) {
  .apk-hero { padding: 24px 16px 22px; }
  .ah-title { font-size: 23px; line-height: 32px; }
  .ah-logo img { width: 132px; height: 132px; }
  .ah-desc { font-size: 16px; line-height: 27px; }
}
@media (max-width: 519px) {
  .ah-pills a { padding: 8px 15px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-pills a:hover { transform: none; }
}
