/* ==========================================================================
   Diwa Wow - Appyn-reference clone chrome ("follow appyn"), petrol palette.
   Geometry, radii, widths and type sizes are the measured reference values;
   only the accent family, the display face and the content are this site's own.
   ========================================================================== */

:root {
  /* Accent: "Petrol" hue 188. Replaces the reference #cc1ca8 everywhere. */
  --ac:          #0E6D7C;  /* fills carrying white text - 6.00:1 on white */
  --ac-ink:      #0B5965;  /* links and accent text on white - 7.98:1 */
  --ac-dark:     #08505C;  /* hover */
  --ac-on-dark:  #50CFE2;  /* accent text on the dark chrome - 8.62:1 */
  --ac-soft:     #EBF7F9;
  --ac-soft-2:   #D7EEF2;

  /* Neutrals locked to the reference. */
  --page:    #e6e9ef;
  --surface: #ffffff;
  --tint:    #f7f8fa;
  --hair:    #eaeaea;
  --chrome:  #1d222d;
  --deep:    #13161d;
  --ink:     #4c4c4c;
  --muted:   #696969;      /* raised from the reference #a7a7a7 for AA */
  --muted-2: #6f6f6f;
  --field:   #f2f2f2;

  --go:      #5edd1f;      /* reference Download green */
  --go-ink:  #0A2124;      /* 9.43:1 on the green */
  --tg:      #006fa7;      /* reference Telegram blue */
  --gold:    #E9A400;      /* stars */

  --shadow:  2px 2px 2px 0 #e3e3e3;
  --r-box:   20px;
  --r-pill:  50px;
  --r-icon:  25px;

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

  --display: 'Readex Pro', 'Open Sans', Arial, sans-serif;
  --body:    'Open Sans', Arial, sans-serif;
  --t:       200ms cubic-bezier(.16,1,.3,1);
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 13px/25px var(--body);
}

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, .card-btn, .viewmore, summary, .menu-open, .to-top { cursor: pointer; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 3px solid var(--ac-on-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--chrome); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-box) 0;
}
.skip:focus { left: 0; color: #fff; }

.ic { width: 24px; height: 24px; flex: none; }

/* --- Shared measure: header, content, footer and band all cap together -------- */
.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: flex-start;
}
.container.is-block { display: block; }

/* --- Header ---------------------------------------------------------------- */
#header {
  background: var(--chrome);
  border-bottom: 2px solid var(--ac);
  position: sticky; top: 0; z-index: 40;
}
#header .container { height: 60px; align-items: center; justify-content: space-between; }
.logo a { display: flex; align-items: center; }
.logo img { height: 42px; width: auto; object-fit: contain; display: block; }

.menu-main ul.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu-main .menu-item > a {
  display: block; padding: 8px 12px; border-radius: var(--r-pill);
  font: 600 13px/18px var(--display); color: #dfe4ec; letter-spacing: .01em;
  transition: background var(--t), color var(--t);
}
.menu-main .menu-item > a:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu-main .menu-item.current > a { color: var(--ac-on-dark); background: rgba(80,207,226,.12); }
.menu-main .nav-cta > a { background: var(--ac); color: #fff; padding: 9px 18px; }
.menu-main .nav-cta > a:hover { background: var(--ac-dark); color: #fff; }
.menu-main .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-open:hover { background: rgba(255,255,255,.1); }

/* --- Hero ------------------------------------------------------------------ */
#subheader {
  position: relative; overflow: hidden;
  background: #000; color: #fff;
  padding: 90px 0 40px;
  margin: 0 0 20px;
  border-bottom: 2px solid var(--ac);
}
#subheader .imgbg { position: absolute; inset: 0; overflow: hidden; }
#subheader .imgbg img {
  position: absolute; top: 50%; left: 50%;
  width: 120%; height: auto; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; opacity: .3;
}
#subheader .scrim {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,.25), rgba(0,0,0,.82) 72%),
              linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.25) 40%, rgba(0,0,0,.75));
}
#subheader .subcontainer {
  position: relative; width: 730px; max-width: calc(100% - 20px);
  margin: 0 auto; text-align: center;
}
#subheader h1 { font: 300 40px/46px var(--display); margin: 0; padding: 0 0 20px; color: #fff; }
#subheader h2 { font: 300 16px/30px var(--body); margin: 0; color: #e8edf2; }

.searchbox { position: relative; width: 600px; max-width: 100%; margin: 30px auto 0; }
.searchbox form { display: flex; width: 100%; }
.sb-input {
  flex: 1 1 auto; height: 44px; border: 0; border-radius: var(--r-pill);
  background: var(--field); color: #23272e;
  font: 400 16px/44px var(--body); padding: 0 110px 0 20px; margin-right: -70px;
}
.sb-input::placeholder { color: #5e636b; }
.sb-submit {
  width: 70px; height: 44px; border: 0; border-radius: var(--r-pill);
  background: var(--ac); color: #fff; display: grid; place-items: center;
  transition: background var(--t);
}
.sb-submit:hover { background: var(--ac-dark); }

.cat-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.cat-icons li { display: flex; justify-content: center; }
.cat-icons a { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #e8edf2; }
.cat-icons .ci {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tone, var(--ac)); color: #fff; opacity: .5;
  transition: opacity var(--t), transform var(--t);
}
.cat-icons a:hover { color: #fff; }
.cat-icons a:hover .ci { opacity: 1; transform: translateY(-2px); }
.cat-icons span { font: 600 11px/14px var(--display); letter-spacing: .02em; }

.search-results { position: relative; margin: 14px auto 0; width: 600px; max-width: 100%; text-align: left; }
.search-results ul { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--r-box); overflow: hidden; box-shadow: var(--shadow); }
.search-results li a { display: flex; gap: 10px; align-items: center; padding: 8px 14px; color: var(--ink); font-weight: 600; }
.search-results li a:hover { background: var(--ac-soft); }
.search-results img { width: 32px; height: 32px; border-radius: 8px; }
.search-results .sr-none { padding: 10px 14px; color: var(--muted); background: #fff; border-radius: var(--r-box); }

/* --- Compact search band on interior pages --------------------------------- */
#subheader.np {
  background: var(--surface); color: var(--ink);
  border-radius: 0 0 var(--r-box) var(--r-box);
  border-bottom: 0; box-shadow: var(--shadow);
  padding: 18px 25px; margin-bottom: 20px;
  display: flex; justify-content: center;
}
#subheader.np .searchbox { margin: 0 auto; }
#subheader.np .sb-input { background: var(--field); }

/* --- Main layout: grids + sidebar row, then full-width blocks --------------- */
#main-site { padding-bottom: 30px; }
.content { flex: 1 1 auto; min-width: 0; }
#sidebar {
  width: var(--rail); flex: none; margin-left: var(--gap);
  position: sticky; top: 80px; align-self: flex-start;
}

/* --- Section heads and grids ------------------------------------------------ */
.section { margin-bottom: 20px; }
.title-section {
  display: flex; align-items: center; gap: 10px;
  font: 400 22px/31px var(--display); color: var(--ink);
  margin: 3px 10px 10px; padding: 0 0 10px;
  border-bottom: 1px solid var(--hair);
}
.title-section::after { content: ""; display: block; width: 52px; height: 3px; background: var(--ac); border-radius: 2px; }

.baps { display: flex; flex-wrap: wrap; align-items: stretch; }
.bav { padding: 10px; display: flex; }
.bav1 { width: calc(100% / 6); }
.baps-wide .bav2 { width: calc(100% / 3); }

/* The tile is ONE surface: the main link and the footer button share its border,
   its shadow and its hover lift, so the button never reads as a second box. */
.tile {
  display: flex; flex-direction: column; width: 100%; min-width: 0;
  background: var(--surface); border-radius: var(--r-box);
  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(13, 40, 46, .16); }
.tile:focus-within { box-shadow: 0 10px 22px rgba(13, 40, 46, .16); }

.tile-main { display: block; flex: 1 1 auto; padding: 15px 10px 12px; color: var(--ink); text-align: center; }
.tile-main:hover { color: var(--ink); }
.tile-main:hover .title { color: var(--ac-ink); }

.bav .bloque-imagen img { width: 86px; height: 86px; border-radius: 18px; object-fit: cover; display: block; margin: 0 auto; }
.bav .title {
  display: block; font: 600 14px/20px var(--display); color: #444;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-top: 10px; transition: color var(--t);
}
.bav .version {
  display: block; font: 600 12px/18px var(--body); color: var(--ac-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px;
}
.bav .developer {
  display: block; font: 400 12px/18px var(--body); color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.px-postmeta { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 6px; }
.rating {
  display: inline-block; width: 70px; height: 13px; background: #c9ced6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath d='M7 0l1.9 4.1L13.3 4.7 10.1 7.7l.8 4.4L7 10 3.1 12.1l.8-4.4L.7 4.7l4.4-.6z'/%3E%3C/svg%3E") repeat-x left center / 14px 13px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath d='M7 0l1.9 4.1L13.3 4.7 10.1 7.7l.8 4.4L7 10 3.1 12.1l.8-4.4L.7 4.7l4.4-.6z'/%3E%3C/svg%3E") repeat-x left center / 14px 13px;
}
.stars { display: block; height: 100%; background: var(--gold); }
.rating-average { font: 600 11px/18px var(--body); color: var(--muted); }
.rating-average b { color: var(--ink); }

/* Footer strip inside the tile, not a slab under it. */
.card-btn {
  display: block; flex: none; background: transparent; color: var(--ac-ink);
  border-top: 1px solid var(--hair);
  font: 600 12px/18px var(--display); letter-spacing: .01em; white-space: nowrap;
  text-align: center; padding: 9px 6px; transition: background var(--t), color var(--t);
}
.card-btn:hover, .card-btn:focus-visible { background: var(--ac); color: #fff; }

/* Wide top-rated tile */
.bav2 .tile-main { display: flex; align-items: center; gap: 14px; text-align: left; padding: 15px; }
.bav2 .bloque-imagen img { width: 75px; height: 75px; border-radius: 16px; margin: 0; }
.bav2 .bap-c { min-width: 0; flex: 1 1 auto; }
.bav2 .title { margin-top: 0; }
.bav2 .px-postmeta { justify-content: flex-start; }
.bav2 .card-btn { text-align: left; padding-left: 15px; }

.viewmore {
  display: block; width: 225px; margin: 10px auto 0;
  background: var(--ac); color: #fff; border-radius: var(--r-pill);
  font: 600 14px/40px var(--display); text-align: center; text-transform: uppercase; letter-spacing: .05em;
  transition: background var(--t);
}
.viewmore:hover { background: var(--ac-dark); color: #fff; }

/* --- Sidebar widgets -------------------------------------------------------- */
.widget {
  background: var(--surface); border-radius: var(--r-box); box-shadow: var(--shadow);
  border-top: 2px solid var(--ac); padding: 18px 20px; margin-bottom: 20px;
}
.widget .w-title { font: 600 15px/22px var(--display); color: var(--ink); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.widget .w-title .ic { width: 18px; height: 18px; color: var(--ac); }
.widget .searchbox { margin: 0; width: 100%; }
.widget .sb-input { padding-right: 86px; font-size: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.w-apps li a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--ink); font-weight: 600; }
.w-apps li a:hover { color: var(--ac-ink); }
.w-apps img { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.w-apps .wa-m { font: 400 11px/15px var(--body); color: var(--muted); display: block; font-weight: 400; }
.w-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.w-cats a { background: var(--ac-soft); color: var(--ac-ink); border-radius: var(--r-box); padding: 5px 12px; font: 600 12px/18px var(--display); }
.w-cats a:hover { background: var(--ac); color: #fff; }
.w-note { font-size: 12px; color: var(--muted-2); margin: 0; }

/* --- Single app page -------------------------------------------------------- */
.box {
  background: var(--surface); border-radius: var(--r-box); box-shadow: var(--shadow);
  padding: 20px 25px; margin: 0 0 20px;
}
.app-s { display: flex; align-items: flex-start; gap: 20px; }
.s2col { flex: 1 1 auto; min-width: 0; order: 1; }   /* title block leads the DOM */
.s1 { width: 150px; flex: none; order: -1; }         /* icon column renders first */
.app-icon {
  width: 150px; height: 150px; border-radius: var(--r-icon); object-fit: cover;
  display: block; box-shadow: var(--shadow);
}
#breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; padding: 0; font-size: 12px; color: var(--muted); }
#breadcrumbs a { color: var(--ac-ink); }
.cat-label { font: 600 12px/18px var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ac-ink); display: block; margin-bottom: 4px; }
h1.main-box-title { font: 700 38px/48px var(--display); color: var(--ink); margin: 0 7px 0 0; display: inline-block; }
.src-tag { font: 400 12px/18px var(--body); color: var(--muted); display: block; margin-top: 6px; }
.badge {
  position: static; display: inline-block; vertical-align: middle;
  border-radius: var(--r-pill); padding: 3px 12px; margin-left: 8px;
  font: 700 11px/16px var(--display); text-transform: uppercase; letter-spacing: .06em;
}
.badge-hot { background: #FFF1CC; color: #6F4500; }
.badge-new { background: var(--ac-soft-2); color: var(--ac-ink); }
.tags { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; }
.tags a { display: inline-block; background: var(--ac); color: #fff; border-radius: var(--r-box); padding: 3px 10px; margin: 8px 8px 0 0; font: 600 13px/18px var(--display); }
.tags a:hover { background: var(--ac-dark); color: #fff; }
.descripcion { margin: 14px 0 0; }

.box-data-app { margin-top: 16px; }
.da-s { display: inline-block; width: 33.33%; padding: 0 10px 0 0; margin: 8px 0 0; vertical-align: top; font-size: 13px; }
.da-s b { display: block; font: 600 11px/16px var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }

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

.buttond {
  display: flex; align-items: center; gap: 8px; position: relative;
  min-height: 33px; border-radius: var(--r-box); margin-top: 10px;
  font: 700 12px/16px var(--display); text-transform: uppercase; letter-spacing: .01em;
  padding: 8px 4px 8px 36px; transition: filter var(--t);
}
.buttond .b-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);
}
.buttond .b-ic .ic { width: 16px; height: 16px; }
.buttond:hover { filter: brightness(1.06); }
.downloadAPK { background: var(--go); color: var(--go-ink); }
.buttond.dl-wide { max-width: 280px; margin-top: 20px; }
.downloadAPK:hover { color: var(--go-ink); }
.buttond.t { background: var(--tg); color: #fff; }
.buttond.t:hover { color: #fff; }

.box-rating-single { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.box-rating-single .rating { width: 84px; }
.link-report { margin-top: 8px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; justify-content: center; }
.link-report .ic { width: 14px; height: 14px; }

.botones_sociales { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.botones_sociales a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 104px; min-height: 31px; border-radius: var(--r-box);
  font: 600 11px/16px var(--display); color: #fff; padding: 5px 8px;
}
.botones_sociales a:hover { color: #fff; filter: brightness(1.08); }
.botones_sociales .ic { width: 14px; height: 14px; }
.sh-fb { background: #1877F2; } .sh-tw { background: #16181C; } .sh-pi { background: #BD081C; }
.sh-tg { background: #229ED9; } .sh-wa { background: #1DA851; }

/* --- Editorial / article ---------------------------------------------------- */
.entry { font-size: 14px; line-height: 26px; }
.entry h2 { font: 700 21px/28px var(--display); color: var(--ink); margin: 20px 0; text-align: start; }
.entry h3 { font: 600 17px/25px var(--display); color: var(--ink); margin: 18px 0 8px; }
.entry p { margin: 0 0 15px; }
.entry ul { margin: 0 0 16px; padding: 0; list-style: none; }
.entry ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.entry ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--ac); }
.entry a { color: var(--ac-ink); font-weight: 600; }
.src-table { border-collapse: collapse; width: 100%; border-radius: var(--r-box); overflow: hidden; margin: 0 0 16px; }
.src-table td { border: 1px solid var(--hair); padding: 8px 12px; }

.ed-lede { margin-bottom: 8px; }
.ed-lede p { font-size: 15px; line-height: 28px; }
.ed-lede p:first-of-type { font-size: 16px; }

.sec-head { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; }
.sec-head h2 { margin: 0; }
.sec-rule { flex: none; width: 52px; height: 3px; background: var(--ac); border-radius: 2px; }

.ed-grid { display: grid; gap: 16px; margin: 0 0 8px; }
.ed-grid.cols-1 { grid-template-columns: 1fr; }
.ed-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.ed-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ed-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ed-card {
  background: var(--tint); border: 1px solid var(--hair); border-bottom: 2px solid var(--ac);
  border-radius: var(--r-box); padding: 18px 20px 14px;
  transition: transform var(--t), box-shadow var(--t);
}
.ed-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(13,40,46,.12); }
.ed-badge { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ac-soft); color: var(--ac-ink); margin-bottom: 10px; }
.ed-badge .ic { width: 20px; height: 20px; }
.ed-card h3 { margin: 0 0 8px; font: 600 16px/24px var(--display); }
.ed-card .ed-body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--chrome), #0b2b31);
  border-radius: var(--r-box); color: #e8edf2;
  padding: 30px 28px; margin: 26px 0 8px; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: -60%; width: 420px; height: 420px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(80,207,226,.28), transparent 68%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2.cta-h { color: #fff; text-align: center; margin: 0 0 12px; }
.cta-band p { color: #ccd6dd; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.entry .hx-btn, a.hx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--r-pill); padding: 11px 22px;
  font: 600 13px/18px var(--display); text-transform: uppercase; letter-spacing: .05em;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.entry .hx-btn-p, a.hx-btn-p { background: var(--ac-on-dark); color: #06282E; border: 2px solid var(--ac-on-dark); }
.entry .hx-btn-p:hover, a.hx-btn-p:hover { background: #7BDBEA; border-color: #7BDBEA; color: #06282E; }
.entry .hx-btn-g, a.hx-btn-g { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.entry .hx-btn-g:hover, a.hx-btn-g:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.hx-btn .btn-ic { width: 16px; height: 16px; }

/* Button pair on a white surface rather than the dark band. */
.cta-row.on-light { justify-content: flex-start; margin-top: 4px; }
.on-light .hx-btn-p { background: var(--ac); border-color: var(--ac); color: #fff; }
.on-light .hx-btn-p:hover { background: var(--ac-dark); border-color: var(--ac-dark); color: #fff; }
.on-light .hx-btn-g { background: transparent; color: var(--ac-ink); border-color: var(--ac); }
.on-light .hx-btn-g:hover { background: var(--ac-soft); color: var(--ac-ink); border-color: var(--ac-dark); }

/* FAQ accordion */
.ed-faq { margin: 26px 0 8px; }
.faq-list { display: grid; gap: 10px; }
.faq-i { background: var(--tint); border: 1px solid var(--hair); border-bottom: 2px solid var(--ac); border-radius: var(--r-box); overflow: hidden; }
.faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary h3 { margin: 0; font: 600 15px/23px var(--display); color: var(--ink); }
.faq-chev { width: 18px; height: 18px; flex: none; color: var(--ac); transition: transform var(--t); }
.faq-i[open] .faq-chev { transform: rotate(90deg); }
.faq-i summary:hover h3 { color: var(--ac-ink); }
.faq-a { padding: 0 18px 14px; }
.faq-a p:last-child { margin-bottom: 0; }

/* Responsible-gaming panel */
.rg-panel { background: var(--surface); border-radius: var(--r-box); box-shadow: var(--shadow); border-top: 2px solid var(--ac); padding: 20px 25px; margin-bottom: 20px; }
.rg-panel h2 { font: 700 18px/26px var(--display); margin: 0 0 10px; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.rg-chips li { display: flex; align-items: center; gap: 7px; background: var(--ac-soft); color: var(--ac-ink); border-radius: var(--r-box); padding: 6px 14px; font: 600 12px/18px var(--display); }
.rg-chips .ic { width: 15px; height: 15px; }

/* Trust bar */
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.trustbar div { background: var(--surface); border-radius: var(--r-box); box-shadow: var(--shadow); border-bottom: 2px solid var(--ac); padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.trustbar .ic { width: 22px; height: 22px; color: var(--ac); flex: none; }
.trustbar strong { display: block; font: 600 13px/18px var(--display); color: var(--ink); }
.trustbar span { font-size: 12px; color: var(--muted-2); }

/* Related row: 5 items filling the full measure */
.rlat { background: var(--surface); border-radius: var(--r-box); box-shadow: var(--shadow); padding: 20px 25px 5px; margin: 0 0 20px; }
.rlat .baps .bav1 { width: 20%; }
.rlat .tile { background: var(--tint); }

/* --- Footer ---------------------------------------------------------------- */
#footer { background: var(--chrome); border-top: 2px solid var(--ac); color: #c7cfdb; margin-top: 10px; }
#footer .container { padding-top: 28px; padding-bottom: 10px; }
.footer-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.04); border-radius: var(--r-box); padding: 18px 22px; }
.fp-brand { display: flex; align-items: center; gap: 14px; }
.fp-brand img { width: 52px; height: 52px; border-radius: 14px; }
.fp-brand strong { display: block; font: 600 17px/24px var(--display); color: #fff; }
.fp-brand span { font-size: 12px; color: #aab4c2; }
.fp-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-pill { border: 1px solid rgba(255,255,255,.28); color: #e4eaf2; border-radius: var(--r-pill); padding: 8px 18px; font: 600 12px/18px var(--display); }
.fp-pill:hover { background: var(--ac); border-color: var(--ac); color: #fff; }

.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 0 6px; }
.fcol h3 { font: 600 13px/20px var(--display); text-transform: uppercase; letter-spacing: .07em; color: var(--ac-on-dark); margin: 0 0 10px; }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { margin-bottom: 6px; }
.fcol a { color: #c7cfdb; font-size: 13px; }
.fcol a:hover { color: #fff; }
.fcol-trust li { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; line-height: 19px; color: #aab4c2; }
.fcol-trust .ic { width: 17px; height: 17px; color: var(--ac-on-dark); flex: none; margin-top: 1px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; }
.footer-bottom p { margin: 0; font-size: 12px; line-height: 20px; color: #9aa5b4; }

.disclaimer-band { background: var(--deep); color: #8e99a8; padding: 14px 0 70px; }
.disclaimer-band p { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 20px; }
.disclaimer-band .ic { width: 17px; height: 17px; color: var(--ac-on-dark); flex: none; margin-top: 1px; }

.float-cta {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 45;
  display: flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #00c6ff, #0072ff, #0E6D7C, #00c6ff);
  background-size: 300% 300%;
  color: #fff; border-radius: var(--r-pill); padding: 11px 24px;
  font: 600 13px/18px var(--display); box-shadow: 0 8px 26px rgba(0,0,0,.3);
  animation: sheen 9s ease infinite;
}
.float-cta:hover { color: #fff; filter: brightness(1.08); }
.float-cta .ic { width: 18px; height: 18px; }
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.to-top {
  position: fixed; right: 18px; bottom: 80px; z-index: 44;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--chrome); color: #fff; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.to-top.on { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--ac); }

/* --- Catalogue filter ------------------------------------------------------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 10px 14px; }
.cat-filter a { background: var(--surface); color: var(--ac-ink); border-radius: var(--r-pill); padding: 7px 16px; font: 600 12px/18px var(--display); box-shadow: var(--shadow); }
.cat-filter a:hover, .cat-filter a.on { background: var(--ac); color: #fff; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 420ms ease, transform 420ms cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* --- Breakpoints ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .bav1 { width: 25%; }
  .baps-wide .bav2 { width: 50%; }
  .rlat .baps .bav1 { width: 25%; }
  .ed-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  #main-site .container { display: block; }
  #sidebar { position: static; width: auto; margin: 0; }
  .ed-grid.cols-3, .ed-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 950px) {
  .bav1 { width: 25%; }
  .rlat .baps .bav1 { width: 33.333%; }
}
@media (max-width: 860px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .trustbar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 27px; }
  .entry { font-size: 16px; line-height: 28px; }
  .bav .title { font-size: 15px; }
  .bav .version, .bav .developer { font-size: 13px; }
  .ed-grid.cols-2, .ed-grid.cols-3, .ed-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .baps-wide .bav2 { width: 100%; }
  .bav1 { width: 33.333%; }
  .rlat .baps .bav1 { width: 50%; }
  #subheader { padding: 40px 0 30px; }
  #subheader h1 { font-size: 30px; line-height: 38px; }
  #subheader.np { padding: 14px 15px; }
  h1.main-box-title { font-size: 27px; line-height: 35px; }
  .box, .rlat, .rg-panel { padding: 18px 16px; }
  .app-s { flex-direction: column; }
  .s1 { width: 100%; align-self: center; max-width: 260px; }
  .s2col { width: 100%; }
  .da-s { width: 50%; }
  .botones_sociales a { width: calc(50% - 4px); }

  .menu-open { display: grid; place-items: center; }
  .menu-main {
    position: fixed; inset: 60px 0 auto; background: var(--deep);
    border-bottom: 2px solid var(--ac); padding: 10px; display: none; z-index: 39;
  }
  .menu-main.open { display: block; }
  .menu-main ul.menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu-main .menu-item > a { padding: 13px 14px; border-radius: 12px; font-size: 15px; }
  .menu-main .nav-cta > a { text-align: center; margin-top: 6px; }
}
@media (max-width: 560px) {
  .bav1 { width: 50%; }
  .rlat .baps .bav1 { width: 50%; }
  .footer-cols { grid-template-columns: 1fr; }
  .trustbar { grid-template-columns: 1fr; }
  .searchbox { width: 100%; }
  .float-cta { font-size: 12px; padding: 10px 18px; }
  /* three category tiles per row so no label is clipped by the hero's overflow */
  .cat-icons { gap: 10px 8px; }
  .cat-icons li { flex: 0 0 calc(33.333% - 6px); }
  .cat-icons a { width: 100%; }
  .cat-icons span { font-size: 10px; line-height: 13px; text-align: center; }
}
@media (max-width: 519px) {
  .ed-grid.cols-2, .ed-grid.cols-3, .ed-grid.cols-4 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .da-s { width: 100%; }
  .botones_sociales a { width: 100%; }
}

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