/*
Theme Name: 88XBET BINGO Child
Template: generatepress
Version: 1.0
*/
:root {
  --blue-primary: #0284c7;
  --blue-deep: #0c4a6e;
  --navy-dark: #0f172a;
  --bg-soft: #f1f5f9;
  --text-body: #1e293b;
}
html, body { background: var(--bg-soft) !important; color: var(--text-body); font-family: 'Be Vietnam Pro', sans-serif !important; overflow-x: clip !important; margin: 0; padding: 0; }
#page, .site-content, .w8x-canvas, .w8x-content { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
.site-header, .main-navigation, #masthead, .site-footer { display: none !important; }
.w8x-header { position: sticky; top: 0; z-index: 999; background: #ffffff; box-shadow: 0 4px 18px rgba(15,23,42,.08); padding-bottom: 10px; }
.w8x-top { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.w8x-logo img { height: 42px; width: auto; display: block; }
.w8x-ctas { display: flex; gap: 10px; align-items: center; }
.w8x-btn-reg { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff !important; font-weight: 800; font-size: 13px; padding: 9px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 12px rgba(30,58,138,.35); transition: transform .18s; white-space: nowrap; }
.w8x-btn-login { background: linear-gradient(135deg, #0284c7, #2563eb); color: #fff !important; font-weight: 800; font-size: 13px; padding: 9px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 12px rgba(2,132,199,.35); transition: transform .18s; white-space: nowrap; }
.w8x-btn-reg:hover, .w8x-btn-login:hover { transform: translateY(-2px); filter: brightness(1.08); }
.w8x-nav-wrap { max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.w8x-nav { background: linear-gradient(90deg, #0c4a6e 0%, #0284c7 55%, #1d4ed8 100%); border-radius: 12px; padding: 4px 8px; }
.w8x-nav ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.w8x-nav ul::-webkit-scrollbar { display: none; }
.w8x-nav li a { display: block; padding: 9px 13px; color: #ffffff !important; font-weight: 700; font-size: 13px; text-decoration: none; text-transform: uppercase; white-space: nowrap; border-radius: 8px; transition: background .15s; }
.w8x-nav li a:hover, .w8x-nav li.active a { background: #0f172a; color: #38bdf8 !important; }
.w8x-canvas { width: 100% !important; max-width: 1200px !important; margin: 16px auto 24px; background: #ffffff; border-radius: 12px; box-shadow: 0 6px 24px rgba(15,23,42,.08); padding: 18px 26px 34px; }
.w8x-hero { margin: 0 0 18px; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(2,132,199,.18); }
.w8x-hero img { width: 100%; height: auto; display: block; }
.w8x-h1 { text-align: center; color: #0369a1; font-size: 26px; font-weight: 800; line-height: 1.35; margin: 12px 0 18px; }
.w8x-content h2 { color: #0c4a6e; font-size: 20px; font-weight: 800; margin: 26px 0 12px; padding: 9px 14px; background: #f0f9ff; border-left: 4px solid #0284c7; border-radius: 0 8px 8px 0; }
.w8x-content h3 { color: #1e40af; font-size: 16px; font-weight: 700; margin: 16px 0 6px; }
.w8x-content p { font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; color: #1e293b; }
.w8x-content a { color: #0284c7; font-weight: 600; }
.w8x-content table { width: 100%; max-width: 100% !important; border-collapse: collapse; margin: 16px 0 22px; font-size: 14.5px; }
.w8x-content th { background: #0c4a6e; color: #fff; padding: 10px 12px; text-align: left; }
.w8x-content td { border: 1px solid #cbd5e1; padding: 9px 12px; }
.w8x-content tr:nth-child(even) td { background: #f8fafc; }
.w8x-fig { margin: 16px auto 20px; text-align: center; max-width: 820px; }
.w8x-fig img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(15,23,42,.12); display: block; margin: 0 auto; }
.w8x-fig figcaption { font-size: 13px; color: #64748b; margin-top: 6px; font-style: italic; }
.cta-box { background: linear-gradient(135deg, #0f172a, #0c4a6e); color: #fff; padding: 20px; border-radius: 12px; margin: 24px 0; text-align: center; }
.cta-box p { color: #f1f5f9 !important; }
.btn-cta { display: inline-block; background: linear-gradient(135deg, #0284c7, #2563eb); color: #fff !important; padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; margin: 4px 6px; }
.btn-cta-alt { display: inline-block; background: #fff; color: #0c4a6e !important; padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; margin: 4px 6px; }
.rel-links a { color: #38bdf8 !important; }
.disclaimer { font-size: 13px !important; color: #64748b !important; background: #f1f5f9; padding: 10px 14px; border-radius: 8px; }
.w8x-sec-title { font-size: 20px; font-weight: 800; color: #0c4a6e; text-align: center; margin: 28px 0 16px; text-transform: uppercase; }
.w8x-games-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin-bottom: 24px; }
.w8x-game-tile { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; padding: 14px 8px; text-align: center; text-decoration: none; color: #0c4a6e; font-weight: 700; font-size: 12.5px; transition: transform .18s, background .18s; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.w8x-game-tile:hover { transform: translateY(-3px); background: #e0f2fe; }
.w8x-game-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #0284c7, #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.w8x-pay-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 26px; }
.w8x-pay-item { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 8px; text-align: center; font-weight: 800; font-size: 13px; color: #0f172a; }
.w8x-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.w8x-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.w8x-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(2,132,199,.14); }
.w8x-card img { width: 100%; height: 135px; object-fit: cover; display: block; }
.w8x-card-body { padding: 10px 12px; }
.w8x-card-body h3 { font-size: 14px; line-height: 1.4; margin: 0 0 6px; color: #0f172a; }
.w8x-card-body p { font-size: 12.5px; color: #64748b; margin: 0; line-height: 1.45; }
.w8x-footer { background: #ffffff; border-top: 3px solid #0284c7; padding: 30px 16px 86px; color: #334155; }
.w8x-ft-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 22px; }
.ft-title { font-size: 15px; font-weight: 800; color: #0c4a6e; margin: 0 0 10px; text-transform: uppercase; }
.w8x-ft-in a { color: #334155; text-decoration: none; display: block; margin-bottom: 6px; font-size: 13.5px; }
.w8x-ft-in a:hover { color: #0284c7; }
.w8x-copy { max-width: 1200px; margin: 22px auto 0; background: linear-gradient(90deg, #0c4a6e, #0284c7); color: #fff; border-radius: 12px; padding: 12px 18px; text-align: center; font-size: 13px; font-weight: 600; }
#w8x-sticky { position: fixed; left: 0; right: 0; bottom: env(safe-area-inset-bottom, 6px); z-index: 9998; display: flex; justify-content: center; pointer-events: none; padding: 0 8px; }
#w8x-sticky .st-wrap { position: relative; display: flex; gap: 10px; pointer-events: auto; max-width: 960px; }
#w8x-sticky .st-wrap img { height: 64px; width: auto; max-width: 468px; border-radius: 6px; display: block; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
#w8x-sticky .st-close { position: absolute; top: -24px; right: 0; background: #0284c7; color: #fff; border: none; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 4px 4px 0 0; cursor: pointer; }
#w8x-popup { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 99999; display: none; align-items: center; justify-content: center; padding: 16px; }
#w8x-popup .pp-box { position: relative; max-width: 460px; width: 100%; }
#w8x-popup .pp-box img { width: 100%; height: auto; border-radius: 10px; display: block; }
#w8x-popup .pp-close { position: absolute; top: -14px; right: -10px; background: #0284c7; color: #fff; border: 2px solid #fff; font-weight: 800; font-size: 12px; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.home .featured-image, .featured-image { display: none !important; }
@media (max-width: 768px) {
  .w8x-top { padding: 8px 12px; }
  .w8x-logo img { height: 32px; }
  .w8x-btn-reg, .w8x-btn-login { padding: 7px 11px; font-size: 11.5px; }
  .w8x-nav ul { justify-content: flex-start !important; }
  .w8x-canvas { padding: 12px 14px 24px; margin: 10px auto 18px; }
  .w8x-h1 { font-size: 20px; }
  .w8x-games-grid { grid-template-columns: repeat(2, 1fr); }
  .w8x-pay-grid { grid-template-columns: repeat(2, 1fr); }
  .w8x-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .w8x-ft-in { grid-template-columns: 1fr; }
  .w8x-content table { display: block; overflow-x: auto; white-space: nowrap; }
  #w8x-sticky .st-wrap a:nth-of-type(2) { display: none !important; }
  #w8x-sticky .st-wrap img { height: auto; width: 92vw; max-width: 370px; }
}

/* Polish active nav contrast & 2:1 card thumbnail aspect ratio */
.w8x-nav li.active a { color: #ffffff !important; }
.w8x-card img { aspect-ratio: 2 / 1; height: auto !important; object-fit: cover; }
