/* ============================================================
   GAMZOFY MODERN THEME — override stylesheet
   Modern, clean, fast, mobile-friendly
   ============================================================ */

:root {
    --brand: #6c3cf5;
    --brand-2: #9d5cff;
    --brand-grad: linear-gradient(135deg, #6c3cf5 0%, #9d5cff 50%, #e056fd 100%);
    --bg: #f4f5fb;
    --card-bg: #ffffff;
    --text: #1a1c2e;
    --text-soft: #5a5f7a;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(26, 28, 46, .06);
    --shadow-md: 0 8px 24px rgba(26, 28, 46, .12);
    --shadow-brand: 0 10px 30px rgba(108, 60, 245, .35);
    --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }

body {
    font-family: var(--font) !important;
    background: var(--bg) !important;
    color: var(--text);
    letter-spacing: .01em;
}

/* ---------- NAVBAR: sticky glass ---------- */
.navbar {
    position: sticky !important;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .82) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(26, 28, 46, .07);
    box-shadow: 0 1px 12px rgba(26, 28, 46, .05);
    padding: 10px 18px !important;
}
.navbar .site-name,
.navbar a.logo,
.navbar .text-2xl {
    font-weight: 800;
    letter-spacing: .02em;
}
.navbar nav a, .navbar .nav-link { border-radius: 10px; transition: all .2s; }
.navbar nav a:hover { background: rgba(108, 60, 245, .08); color: var(--brand); }

/* ---------- HEADINGS ---------- */
.page-heading, h1, h2 { letter-spacing: -.01em; }
.page-heading {
    font-weight: 800 !important;
}
h1.game-title, .game-page h1 { font-weight: 800; }

/* ---------- GAME CARDS (home grid) ---------- */
.m-grid-start.home, .game__grid { gap: 14px; }

.m-game-card, .game, .m-category-card {
    border-radius: var(--radius) !important;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    transition: transform .25s cubic-bezier(.2,.7,.3,1.2), box-shadow .25s ease;
    position: relative;
}
.m-game-card:hover, .game:hover, .m-category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.m-game-thumbnail, .game img, .game__grid img {
    border-radius: var(--radius) !important;
    transition: transform .35s ease;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.m-game-card:hover .m-game-thumbnail,
.game:hover img { transform: scale(1.08); }

/* play overlay badges removed on user request (2026-08-14): double ▶ Play buttons on hover */

.m-game-details { padding: 10px 4px; }
.m-game-details .text, .game__grid .game .name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

/* ---------- CATEGORY CARDS ---------- */
.m-category-card { padding: 14px; }
.m-category-card .text { font-weight: 700; }

/* ---------- BUTTONS ---------- */
a.more-btn, .more-games, button.load-more,
a[href*="all-games"], a[href*="games"] {
    /* generic rounding for major CTAs */
}
.more-btn, .more-games, .load-more, .btn {
    background: var(--brand-grad) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    letter-spacing: .03em;
    box-shadow: var(--shadow-brand);
    transition: transform .2s, box-shadow .2s;
    display: inline-block;
}
.more-btn:hover, .more-games:hover, .load-more:hover, .btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 34px rgba(108, 60, 245, .45);
}

/* ---------- GAME PAGE ---------- */
.game-frame, .game-iframe-container, .play-frame {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
}
.game-bar, .game-info-bar {
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
}
.like-btn, .share-btn, .fullscreen-btn {
    border-radius: 999px !important;
    transition: all .2s;
}
.like-btn:hover, .share-btn:hover { transform: scale(1.08); }

/* ---------- SEO INFO SECTION (added by redesign) ---------- */
.seo-info {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 26px 30px;
    margin: 26px auto;
    max-width: 1100px;
    line-height: 1.75;
    color: var(--text-soft);
    font-size: 15px;
}
.seo-info h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}
.seo-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin: 18px 0 6px;
}
.seo-info .kw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.seo-info .kw-chips a, .seo-info .kw-chips span {
    background: rgba(108, 60, 245, .08);
    color: var(--brand);
    border: 1px solid rgba(108, 60, 245, .18);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.seo-info .kw-chips a:hover {
    background: var(--brand);
    color: #fff;
}

/* ---------- FOOTER ---------- */
footer, .footer {
    background: #14152b !important;
    color: #aab;
    border-radius: 0;
    margin-top: 40px;
}
footer a { color: #cfd2ff; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c7c9e0; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ---------- MISC ---------- */
img { user-select: none; }
.zon-container { max-width: 1240px !important; }
.sidebar, .m-sidebar { border-radius: var(--radius); }

input[type="search"], input[type="text"], .search-input {
    border-radius: 999px !important;
    border: 1px solid rgba(26,28,46,.12) !important;
    padding: 10px 18px !important;
    outline: none;
    transition: box-shadow .2s;
}
input[type="search"]:focus, input[type="text"]:focus, .search-input:focus {
    box-shadow: 0 0 0 3px rgba(108, 60, 245, .18);
}

@media (max-width: 640px) {
    .seo-info { padding: 18px; margin: 18px 10px; }
    .navbar { padding: 8px 12px !important; }
}

/* ============ MODERN GRID UPGRADE ============ */

/* 1) Homepage mosaic: kuch cards bade (featured look) — modern mosaic style */
@media (min-width: 900px) {
    .m-grid-start.home {
        grid-auto-flow: dense;
    }
    .m-grid-start.home > *:nth-child(8n+1),
    .m-grid-start.home > *:nth-child(8n+5) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* 2) Game ke naam har card ke neeche saaf dikhain */
.m-game-details {
    display: block !important;
    padding: 8px 6px 10px;
}
.m-game-details .text,
.m-game-details .title,
.game .title {
    font-weight: 700 !important;
    font-size: 14.5px !important;
    color: var(--text) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3) Section headings — bold modern */
.page-heading {
    position: relative;
    padding-left: 14px;
}
.page-heading::before {
    content: "";
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 5px;
    border-radius: 99px;
    background: var(--brand-grad);
}

/* 4) Related/similar games on game page — same card style */
.m-game-card img, .game img { background: #eceefc; }

/* 5) Smooth page fade-in */
@keyframes pageFade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
body { animation: pageFade .35s ease; }

/* ============ FAQ ACCORDION (PAA SEO) ============ */
.faq-section .faq-intro { margin-top: -4px; opacity: .8; }
.faq-item {
    border: 1px solid rgba(108,60,245,.15);
    border-radius: 12px;
    margin-top: 10px;
    background: #fbfaff;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    list-style: none;
    position: relative;
    transition: background .2s;
}
.faq-item summary::after {
    content: "+";
    position: absolute; right: 18px; top: 12px;
    font-size: 20px; color: var(--brand); font-weight: 800;
}
.faq-item[open] summary { background: rgba(108,60,245,.07); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 18px 16px; margin: 0; }

/* ===== Gamzofy listicle game cards ===== */
ol.listicle{list-style:none;padding:0;margin:18px 0;display:grid;gap:12px}
ol.listicle li{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #e8ecf4;border-radius:14px;padding:10px 14px;transition:transform .15s ease,box-shadow .15s ease}
ol.listicle li:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,43,80,.10)}
.lz-rank{font-size:22px;font-weight:800;color:#9db1cc;min-width:30px;text-align:center;flex-shrink:0}
.lz-thumb{width:88px;height:88px;object-fit:cover;border-radius:12px;flex-shrink:0;background:#eef2f8}
.lz-info a.lz-name{font-weight:700;color:#002b50;font-size:16px;text-decoration:none}
.lz-info a.lz-name:hover{text-decoration:underline}
.lz-blurb{color:#5b6b84;font-size:14px;margin-top:3px;line-height:1.45}
@media(max-width:520px){.lz-thumb{width:64px;height:64px}.lz-rank{font-size:18px;min-width:22px}}
/* Gamzofy listicle chips (home hub section) */
.gmz-list-chip{display:inline-block;padding:8px 14px;background:#eef2ff;border:1px solid #d7defc;border-radius:999px;color:#002b50;font-size:14px;font-weight:600;text-decoration:none;transition:background .15s,color .15s;line-height:1.3}
.gmz-list-chip:hover{background:#4f46e5;color:#fff}

/* ===== Gamzofy hover PREVIEW panel (Poki-style quicklook) ===== */
.m-game-card{position:relative;overflow:hidden}
/* hover text overlay poori tarah removed on user request (2026-08-14):
   card ka naam thumbnail ke neeche already hai — hover pe sirf pan animation + soft shade */
.m-game-card:hover .m-game-thumbnail{box-shadow:0 8px 28px rgba(6,14,34,.28)}
/* touch devices pe hover nahi hota — panel wahan default chipki hui dikhe to tap kholne me masla */


/* === Hover preview (Poki-style) — 2026-08-14 === */
/* 1) Video clip on hover (auto-activates when a game has data-video set) */
.m-game-thumbnail { position: relative; background-position: center; background-size: cover; background-repeat: no-repeat; }
video.mhp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: 2; pointer-events: none; }

/* 2) Ken-Burns "alive thumbnail" fallback for every card (no bandwidth, works today) */
@keyframes mbgpan {
    0%   { background-position: 50% 30%; }
    50%  { background-position: 50% 70%; }
    100% { background-position: 50% 30%; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .m-game-card:hover .m-game-thumbnail { animation: mbgpan 7s ease-in-out infinite; }
}

/* === Clean card design (2026-08-14, user request) ===
   Card ki grid rows fixed (100px) hain + card overflow hidden — is liye
   naam ka pata thikana: picture ko thora chhota kar ke card ke ANDAR
   neeche permanent halki name strip. Hover pe sirf halki pan/zoom. */
.m-grid-start .m-game-card .m-game-link picture.m-game-thumbnail,
.m-game-card picture.m-game-thumbnail {
    height: calc(100% - 26px) !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}
.m-grid-start .m-game-card .m-game-link .m-game-details,
.m-game-card .m-game-details {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0 !important;
    top: auto !important;
    opacity: 1 !important;
    height: 26px;
    display: flex !important;
    align-items: center;
    padding: 0 7px !important;
    margin: 0;
    background: var(--card-bg);
    color: var(--text) !important;
    text-align: left !important;
    transition: none;
    z-index: 3;
}
.m-grid-start .m-game-card:hover .m-game-details { bottom: 0 !important; opacity: 1; }
.m-game-details p {
    margin: 0;
    width: 100%;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    color: var(--text) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* hover sirf subtle: image ki halki pan + boht halka zoom + shadow */
.m-grid-start .m-game-card:not(.not-hover):hover { transform: none; }
.m-game-card:hover .m-game-thumbnail, .game:hover img { transform: scale(1.04); }

/* === Popular Games strip (Poki-style, 2026-08-14) === */
.gz-popular { margin: 6px 2px 18px; }
.gz-sec-title {
    font-size: 17px; font-weight: 800; color: var(--text);
    margin: 0 2px 10px; display: flex; align-items: center; gap: 7px;
    letter-spacing: .2px;
}
.gz-fire { font-size: 16px; }
.gz-pop-row {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory; padding: 2px 2px 10px;
    scrollbar-width: thin; scrollbar-color: #c3c9e6 transparent;
}
.gz-pop-row::-webkit-scrollbar { height: 6px; }
.gz-pop-row::-webkit-scrollbar-thumb { background: #c3c9e6; border-radius: 99px; }
.gz-pop-row::-webkit-scrollbar-track { background: transparent; }
.gz-pop-card {
    flex: 0 0 148px; scroll-snap-align: start; text-decoration: none;
    background: var(--card-bg); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm, 0 2px 10px rgba(20,25,60,.07));
    transition: transform .18s ease, box-shadow .18s ease;
}
.gz-pop-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,25,60,.13); }
.gz-pop-thumb {
    display: block; width: 100%; aspect-ratio: 1/1;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-color: #eceefc;
}
.gz-pop-name {
    display: block; padding: 7px 8px 9px; font-size: 11.5px; font-weight: 600;
    color: var(--text); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 600px) {
    .gz-pop-card { flex: 0 0 118px; }
    .gz-sec-title { font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
    .gz-pop-card:hover .gz-pop-thumb { animation: mbgpan 7s ease-in-out infinite; }
}

/* ============ /categories index page ============ */
.gz-cats-page { padding: 10px 4px 30px; }
.gz-cats-head { text-align: center; margin: 14px auto 22px; max-width: 640px; }
.gz-cats-title { font-size: 28px; font-weight: 800; color: var(--dark-text, #002b50); margin: 6px 0; }
.gz-cats-sub { font-size: 14px; color: #6b7a8d; margin-bottom: 16px; }
.gz-cats-filterwrap { position: relative; max-width: 420px; margin: 0 auto; }
.gz-cats-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8aa0b5; pointer-events: none; }
#gzCatFilter { width: 100%; padding: 12px 16px 12px 42px; border-radius: 999px; border: 2px solid #e2ecf5; background: #fff; font-size: 14px; font-weight: 600; outline: none; transition: border-color .2s; }
#gzCatFilter:focus { border-color: var(--theme-color, #ff6b35); }
.gz-cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.gz-cat-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; box-shadow: 0 2px 10px rgba(2,32,54,.08); transition: transform .18s ease, box-shadow .18s ease; }
.gz-cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(2,32,54,.16); }
.gz-cat-thumb { display: block; width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg,#dfeaf4,#c9dbf0) center/cover no-repeat; }
.gz-cat-info { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.gz-cat-name { font-size: 14px; font-weight: 700; color: #002b50; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gz-cat-count { font-size: 11.5px; font-weight: 600; color: #7b8ea2; text-transform: uppercase; letter-spacing: .4px; }
.gz-cats-empty { text-align: center; color: #6b7a8d; font-size: 14px; padding: 30px 0; }
@media (max-width: 640px) {
  .gz-cats-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .gz-cats-title { font-size: 22px; }
  .gz-cat-name { font-size: 12.5px; }
}

/* ============ category page SEO content block ============ */
.gz-cat-seo { margin: 26px 0 10px; }
.gz-cat-seo-card { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(2,32,54,.07); padding: 22px 26px 24px; max-width: 900px; margin: 0 auto; }
.gz-cat-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #8aa0b5; margin-bottom: 10px; }
.gz-cat-breadcrumb a { color: var(--theme-color, #054a91); text-decoration: none; }
.gz-cat-breadcrumb a:hover { text-decoration: underline; }
.gz-cat-seo-h { font-size: 21px; font-weight: 800; color: #002b50; margin: 4px 0 12px; }
.gz-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.gz-cat-pill { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #054a91; background: #eef5fc; border: 1px solid #d9e8f6; border-radius: 999px; padding: 4px 12px; }
.gz-cat-seo-text { font-size: 14.5px; line-height: 1.75; color: #3d4f61; }
.gz-cat-seo-text p { margin-bottom: 10px; }
.gz-cat-seo-text em { font-style: italic; }
@media (max-width: 640px) {
  .gz-cat-seo-card { padding: 16px 18px 18px; }
  .gz-cat-seo-h { font-size: 17px; }
  .gz-cat-seo-text { font-size: 13.5px; }
}

/* ============ rich footer ============ */
.gz-footer { margin-top: 40px; background: linear-gradient(160deg, #08243f 0%, #0a2f52 60%, #0d3a63 100%); color: #cfe0ee; }
.gz-footer-grid { max-width: 1240px; margin: 0 auto; padding: 44px 24px 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.15fr; gap: 34px; }
.gz-footer-logo { height: 34px; width: auto; display: block; margin-bottom: 12px; }
.gz-footer-tag { font-size: 13.5px; line-height: 1.65; color: #a9c3da; margin: 0 0 14px; max-width: 300px; }
.gz-footer-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.gz-footer-stat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); color: #e7f2fb; padding: 5px 12px; border-radius: 999px; }
.gz-footer-h { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #7fd0ff; margin: 0 0 12px; }
.gz-footer-h2 { margin-top: 20px; }
.gz-footer-link { display: block; font-size: 13.5px; font-weight: 500; color: #bcd2e6; text-decoration: none; padding: 3.5px 0; transition: color .15s, transform .15s; }
.gz-footer-link:hover { color: #fff; transform: translateX(3px); }
.gz-f-n { color: #6f93b3; font-size: 11.5px; }
.gz-footer-more { color: #7fd0ff; font-weight: 700; margin-top: 6px; }
.gz-footer-bottom { max-width: 1240px; margin: 0 auto; padding: 16px 24px 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: #91abc4; }
.gz-footer-love { color: #7fd0ff; font-weight: 600; }
@media (max-width: 900px) {
  .gz-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; padding: 34px 20px 24px; }
  .gz-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .gz-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gz-footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
}

/* ============ FAQ accordion (static pages) ============ */
.gz-faq-item { border: 1px solid #e2ecf5; border-radius: 12px; padding: 0; margin: 0 0 10px; background: #f8fbfe; }
.gz-faq-item summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 15px; color: #002b50; padding: 13px 18px; position: relative; padding-right: 40px; }
.gz-faq-item summary::-webkit-details-marker { display: none; }
.gz-faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 800; color: var(--theme-color, #054a91); transition: transform .2s; }
.gz-faq-item[open] summary::after { content: "–"; }
.gz-faq-item p { padding: 0 18px 14px; margin: 0; font-size: 14px; line-height: 1.7; color: #3d4f61; }
.gz-faq-item[open] { background: #fff; box-shadow: 0 4px 14px rgba(2,32,54,.08); }

/* ============ static page content polish ============ */
.page-content h1 { font-size: 26px !important; font-weight: 800; color: #002b50; }
.page-content h2 { font-size: 18px; font-weight: 800; color: #02315c; margin: 22px 0 8px; }
.page-content p, .page-content li { font-size: 14.5px; line-height: 1.75; color: #3d4f61; margin-bottom: 10px; }
.page-content ul { padding-left: 22px; margin-bottom: 12px; list-style: disc; }
.page-content a { color: var(--theme-color, #054a91); }
.page-content a:hover { text-decoration: underline; }
.page-content em { color: #8aa0b5; }

/* ============ blogs listing ============ */
.gz-blogs-page { padding: 10px 4px 40px; }
.gz-blogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.gz-blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 2px 10px rgba(2,32,54,.08); transition: transform .18s ease, box-shadow .18s ease; }
.gz-blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(2,32,54,.16); }
.gz-blog-thumb { display: block; width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg,#dfeaf4,#c9dbf0) center/cover no-repeat; }
.gz-blog-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.gz-blog-date { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #8aa0b5; }
.gz-blog-title { font-size: 16.5px; font-weight: 800; color: #002b50; line-height: 1.3; }
.gz-blog-desc { font-size: 13px; line-height: 1.6; color: #5b7186; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gz-blog-more { font-size: 12.5px; font-weight: 800; color: var(--theme-color, #054a91); margin-top: 4px; }
@media (max-width: 640px) { .gz-blogs-grid { grid-template-columns: 1fr; } }

/* ============ blog post readability fixes (dark-on-light) ============ */
.blog-meta h1 { color: #002b50 !important; }
.blog-meta p { color: #3d4f61 !important; }
.blog-meta p a { color: var(--theme-color, #054a91) !important; }
.bg-blog-banner img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; }
.blog-post-content h2 { font-size: 19px; font-weight: 800; color: #02315c; margin: 20px 0 8px; }
.blog-post-content p, .blog-post-content li { font-size: 15px; line-height: 1.8; color: #3d4f61; margin-bottom: 12px; }
.blog-post-content ul { padding-left: 22px; margin-bottom: 14px; list-style: disc; }
.blog-post-content a { color: var(--theme-color, #054a91); font-weight: 600; }
.blog-post-content a:hover { text-decoration: underline; }

/* ==== SEO a11y helpers ==== */
.gz-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gz-game-h1 { margin: 0; font-size: 1rem; line-height: 1.3; }

/* ==== Search offcanvas scroll fix ==== */
body .offcanvas .offcanvas-menu {
    overflow-y: auto !important;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
body .offcanvas #live-search-result { padding: 4px 2px 40px; }
body .offcanvas #live-search-result:empty { display: none !important; }

/* ==== Search results: compact Poki-style icons (user request 2026-08-15) ==== */
body .offcanvas #live-search-result.m-grid-start {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)) !important;
    grid-auto-rows: 84px !important;
    grid-gap: 10px !important;
}
body .offcanvas #live-search-result .m-game-card { border-radius: 12px; box-shadow: 0 2px 8px rgba(0,43,80,.12); }
body .offcanvas #live-search-result .m-game-card picture.m-game-thumbnail { height: 100% !important; border-radius: 12px !important; }
body .offcanvas #live-search-result .m-game-card .m-game-details {
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 6px 5px !important;
    background: linear-gradient(to top, rgba(2,20,40,.85), rgba(2,20,40,0)) !important;
    border-radius: 0 0 12px 12px;
}
body .offcanvas #live-search-result .m-game-card .m-game-details p {
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
    white-space: normal !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ==== Game page: section view-all links ==== */
.gz-view-all { font-size: 12px; font-weight: 700; color: #054a91; text-decoration: none; margin-left: 8px; opacity: .75; }
.gz-view-all:hover { opacity: 1; text-decoration: underline; }

/* ==== Trending chips + related cats (2026-08-16) ==== */
.gz-trend-row { margin: 14px 8px 4px; }
.gz-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gz-rel-cats { margin: 20px 8px 6px; }
.gz-home-blogs { margin: 18px 8px 8px; }
.gz-home-blogs .gz-blogs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .gz-home-blogs .gz-blogs-grid { grid-template-columns: 1fr; } }

/* ==== 404 page ==== */
.gz-404 { text-align: center; padding: 40px 0 30px; }
.gz-404-hero h1 { font-size: 90px; font-weight: 900; color: var(--theme-color, #054a91); line-height: 1; margin: 10px 0 4px; }
.gz-404-sub { font-size: 22px; font-weight: 800; color: #002b50; margin: 0; }
.gz-404-txt { color: #5b6b84; font-size: 15px; margin: 6px 0 14px; }
.gz-404-home { display: inline-block; background: var(--theme-color, #054a91); color: #fff !important; font-weight: 700; padding: 10px 22px; border-radius: 999px; text-decoration: none; margin-bottom: 20px; }
.gz-404 .m-grid-start { text-align: left; }

/* WhatsApp share button */
.gz-wa-share a { display: inline-flex; }
.gz-wa-share button { cursor: pointer; }

/* ===== gz ad slots (named, admin-controlled) ===== */
.gz-ad-slot { max-width: 970px; margin: 24px auto; padding: 10px 8px 12px; background: #ffffff94; border-radius: 12px; text-align: center; }
.gz-ad-label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 6px; }
.gz-ad-body { width: 100%; min-height: 90px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gz-ad-body iframe, .gz-ad-body ins, .gz-ad-body img { max-width: 100% !important; }
@media (max-width: 640px) { .gz-ad-slot { margin: 14px 6px; border-radius: 8px; } }
