/*
Theme Name: wlu88on-child
Template: generatepress
Version: 1.0.0
*/
:root {
  --lu88o-hdr: #063b27;
  --lu88o-nav: #8a6d0b;
  --lu88o-ntxt: #ffe047;
  --lu88o-pri: #046c4e;
  --lu88o-link: #0f766e;
  --lu88o-bdr: #10b981;
  --lu88o-ftr: #042f20;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background-color: #050d08;
  background-image: url('/wp-content/uploads/lu88-u/bg-casino.webp');
  background-attachment: fixed; background-size: cover; background-position: center top;
  color: #111827;
  font-family: "Be Vietnam Pro", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip; line-height: 1.72;
}
.site-header, .main-navigation, .site-footer, .page-header-image, .featured-image.page-header-image,
.entry-header, .inside-header, #right-sidebar, .sidebar, .widget-area,
footer.entry-meta, .entry-meta, .post-navigation, .post-navigation .nav-links, .comments-area, #comments {
  display: none !important;
}
#page, .site, .site-content, .site-main, .content-area, .inside-article, .separate-containers .inside-article, .one-container .site-content, .entry-content {
  background: transparent !important; padding: 0 !important; margin: 0 !important;
  max-width: 100% !important; width: 100% !important; float: none !important;
  border: none !important; box-shadow: none !important; display: block !important;
}

/* Boxed 1050px Sticky 2-Tier Header matching lu88.co.uk */
.lu88o-hdr {
  position: sticky; top: 0; z-index: 999; width: 100%; max-width: 1050px; margin: 0 auto;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.lu88o-hdr-top { background: var(--lu88o-hdr); padding: 10px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lu88o-hdr-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lu88o-logo { display: inline-flex; align-items: center; text-decoration: none; }
.lu88o-logo img { height: 56px; width: auto; max-width: 205px; display: block; object-fit: contain; }
.lu88o-ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lu88o-ctas-div { width: 1px; height: 26px; background: rgba(255,255,255,.22); }

@keyframes lu88o-glow {
  0%, 100% { box-shadow: 0 0 0 2px #ffce21, 0 3px 10px rgba(0,0,0,.35); }
  50% { box-shadow: 0 0 0 2px #ff3b00, 0 0 14px rgba(255,206,33,.65); }
}
.lu88o-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 16px; border-radius: 6px; color: #ffffff !important;
  font-weight: 800; font-size: 12.8px; text-transform: uppercase;
  text-decoration: none !important; white-space: nowrap;
  animation: lu88o-glow 2s infinite ease-in-out; transition: transform .15s, filter .15s;
}
.lu88o-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.lu88o-btn-reg { background: #c81e1e; }
.lu88o-btn-log { background: #2e7d32; }

.lu88o-burger {
  display: none; background: rgba(255,255,255,.14); border: 1.5px solid #fed304;
  color: #fed304; font-size: 20px; line-height: 1; padding: 5px 10px; border-radius: 6px; cursor: pointer;
}
.lu88o-mob-ctas {
  display: none; background: var(--lu88o-nav); padding: 7px 10px;
  justify-content: center; align-items: center; gap: 10px; border-bottom: 1px solid rgba(0,0,0,.2);
}

/* Tier 2 Olive-Gold Nav Bar (#938b0e) with 9 Uppercase Items */
.lu88o-hdr-nav { background: var(--lu88o-nav); }
.lu88o-nav-in {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 2px 16px; padding: 10px 12px; min-height: 46px;
}
.lu88o-nav-in a {
  color: var(--lu88o-ntxt); font-weight: 800; font-size: 13.5px; text-transform: uppercase;
  text-decoration: none; padding: 4px 6px; border-radius: 4px; transition: color .15s, background .15s;
}
.lu88o-nav-in a:hover { color: #ffffff; background: rgba(0,0,0,.18); }

/* Boxed 1050px White Main Shell matching lu88.co.uk */
.lu88o-box {
  max-width: 1050px; margin: 0 auto; background: #ffffff;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.55); padding-bottom: 30px;
}
.lu88o-hero a { display: block; }
.lu88o-hero img { width: 100%; height: auto; display: block; }

/* 6-Column Game Lobby Cards (Linked!) */
.lu88o-lobbies {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
  padding: 18px 18px 8px;
}
.lu88o-lcard {
  display: block; border-radius: 10px; overflow: hidden;
  transition: transform .18s, box-shadow .18s; text-decoration: none;
}
.lu88o-lcard:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(11,136,27,.28); }
.lu88o-lcard img { width: 100%; height: auto; display: block; }

/* Centered High-Contrast H1 + Underline + Glowing Green Border Box (Un-trapped full height for SEO!) */
.lu88o-h1-wrap { text-align: center; padding: 18px 20px 8px; }
.lu88o-h1-main {
  font-size: 24px; line-height: 1.36; font-weight: 800; margin: 0 auto 10px;
  color: var(--lu88o-hdr); text-transform: uppercase; max-width: 940px;
}
.lu88o-h1-bar {
  width: 220px; height: 4px; margin: 0 auto; border-radius: 99px;
  background: linear-gradient(90deg, var(--lu88o-hdr), #facc15, var(--lu88o-bdr));
}

.lu88o-green-box {
  margin: 16px 18px 22px; padding: 22px 24px; border-radius: 12px;
  border: 2px solid var(--lu88o-bdr); box-shadow: 0 0 18px rgba(11, 136, 27, 0.22);
  background: #ffffff;
}

/* Collapsible TOC */
.lu88o-toc {
  background: #f4fbf6; border: 1.5px solid var(--lu88o-bdr); border-radius: 8px;
  padding: 12px 18px; margin: 14px 0 20px; max-width: 580px;
}
.lu88o-toc summary {
  font-weight: 800; color: var(--lu88o-hdr); cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
}
.lu88o-toc ol { margin: 10px 0 0 20px; padding: 0; }
.lu88o-toc li { margin-bottom: 5px; font-size: 14.2px; }
.lu88o-toc a { color: var(--lu88o-pri) !important; text-decoration: none !important; font-weight: 600; }
.lu88o-toc a:hover { text-decoration: underline !important; }

/* Promo Mid Banner */
.lu88o-promo-mid { padding: 4px 18px 18px; }
.lu88o-promo-mid a { display: block; border-radius: 10px; overflow: hidden; }
.lu88o-promo-mid img { width: 100%; height: auto; display: block; }

/* Homepage 4x2 Latest Posts Grid (8 posts) matching lu88.co.uk */
.lu88o-sec-h2 {
  text-align: center; font-size: 21px; font-weight: 800; color: var(--lu88o-hdr);
  text-transform: uppercase; margin: 10px 18px 18px; padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}
.lu88o-grid-4 {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  padding: 0 18px 12px;
}
.lu88o-grid-2 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.lu88o-pcard {
  border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #ffffff;
  display: flex; flex-direction: column; position: relative; min-width: 0;
  transition: transform .15s, box-shadow .15s;
}
.lu88o-pcard:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.1); }
.lu88o-date-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--lu88o-hdr); color: #fed304; font-size: 11px; font-weight: 800;
  padding: 4px 7px; border-radius: 4px; line-height: 1.15; text-align: center;
  border: 1px solid #fed304;
}
.lu88o-pcard-img { display: block; overflow: hidden; }
.lu88o-pcard-img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.lu88o-pcard-body { padding: 12px 13px 14px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.lu88o-pcard-title { font-size: 14.8px; line-height: 1.4; margin: 0 0 6px; font-weight: 700; }
.lu88o-pcard-title a { color: #111827 !important; text-decoration: none !important; }
.lu88o-pcard-title a:hover { color: var(--lu88o-pri) !important; }
.lu88o-div-sm { width: 32px; height: 2px; background: var(--lu88o-bdr); margin: 2px auto 8px; }
.lu88o-pcard p { font-size: 13px; color: #4b5563; margin: 0; line-height: 1.5; }

/* 2-Col (9 + 3) Layout for Single Post, Pillar & Category */
.lu88o-2col {
  display: grid; grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr); gap: 26px;
  padding: 24px 20px 16px; align-items: start;
}
.lu88o-2col > * { min-width: 0; max-width: 100%; }
.lu88o-side { border-left: 1px solid #e5e7eb; padding-left: 18px; min-width: 0; }
.lu88o-side-title {
  font-size: 15px; font-weight: 800; color: var(--lu88o-hdr); text-transform: uppercase;
  margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2.5px solid var(--lu88o-bdr);
}
.lu88o-sitem {
  display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid #f1f5f9; text-decoration: none !important;
}
.lu88o-sitem img { width: 64px; height: 42px; object-fit: cover; border-radius: 5px; display: block; }
.lu88o-sitem span { font-size: 13.2px; color: #1f2937; font-weight: 600; line-height: 1.38; }
.lu88o-sitem:hover span { color: var(--lu88o-pri); }

/* Single Post Dark Banner Header matching sample .entry-header */
.lu88o-post-hero {
  background: linear-gradient(135deg, var(--lu88o-hdr) 0%, #054a29 100%);
  color: #ffffff; padding: 24px 24px 22px; text-align: center;
  border-bottom: 3px solid var(--lu88o-nav);
}
.lu88o-cat-pill {
  display: inline-block; background: var(--lu88o-nav); color: #fff !important;
  font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 3px 10px;
  border-radius: 4px; text-decoration: none !important; margin-bottom: 8px;
}
.lu88o-post-hero h1 {
  color: #fed304; font-size: 24px; line-height: 1.35; margin: 4px auto 10px;
  font-weight: 800; max-width: 880px;
}
.lu88o-post-meta { font-size: 12px; color: #e2e8f0; text-transform: uppercase; letter-spacing: .4px; }

/* Article Body Typography */
.lu88o-bc { font-size: 13px; color: #6b7280; margin-bottom: 12px; }
.lu88o-bc a { color: var(--lu88o-pri) !important; text-decoration: none !important; font-weight: 700; }
.lu88o-art h1 { font-size: 25px; line-height: 1.35; color: var(--lu88o-hdr); margin: 0 0 12px; font-weight: 800; }
.lu88o-art h2 {
  font-size: 20.5px; line-height: 1.36; color: var(--lu88o-hdr); margin: 24px 0 12px;
  padding-left: 10px; border-left: 4px solid var(--lu88o-bdr); font-weight: 800;
}
.lu88o-art h3 { font-size: 17px; line-height: 1.4; color: var(--lu88o-pri); margin: 18px 0 8px; font-weight: 700; }
.lu88o-art p { margin: 0 0 14px; font-size: 15.6px; color: #1f2937; }
.lu88o-art a { color: var(--lu88o-link); font-weight: 700; text-decoration: underline; }
.lu88o-art a:hover { color: #b20000; }
.lu88o-art ul, .lu88o-art ol { margin: 0 0 16px 22px; color: #1f2937; }
.lu88o-art li { margin-bottom: 6px; font-size: 15.3px; }
.lu88o-art table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.lu88o-art th, .lu88o-art td { border: 1px solid #d1d5db; padding: 9px 12px; text-align: left; }
.lu88o-art th { background: var(--lu88o-hdr); color: #fed304; font-weight: 700; }
.lu88o-art tr:nth-child(even) td { background: #f8fafc; }
article figure, .lu88o-art figure { margin: 18px auto 22px !important; text-align: center !important; max-width: 800px; }
article figure img, .lu88o-art figure img { width: 100%; height: auto; border-radius: 8px 8px 0 0; display: block !important; margin: 0 auto !important; }
.lu88o-art figcaption { background: #f1f5f9; padding: 7px 12px; border-radius: 0 0 8px 8px; font-size: 13.3px; color: #334155; font-style: italic; }

/* Author Box & Pagination */
.lu88o-author {
  display: flex; align-items: center; gap: 15px; background: #f4fbf6;
  border: 1px solid #bbf7d0; border-left: 4px solid var(--lu88o-bdr);
  border-radius: 8px; padding: 15px 18px; margin: 26px 0 22px;
}
.lu88o-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--lu88o-hdr); color: #fed304;
  font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lu88o-author strong { display: block; font-size: 15px; color: #0f172a; margin-bottom: 3px; }
.lu88o-author p { margin: 0; font-size: 13.8px; color: #334155; }

.lu88o-pagi { text-align: center; margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.lu88o-pagi .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px;
  padding: 0 11px; border: 1.5px solid var(--lu88o-bdr); border-radius: 6px;
  color: var(--lu88o-hdr); background: #ffffff; text-decoration: none; font-weight: 700; font-size: 14px;
}
.lu88o-pagi .page-numbers.current, .lu88o-pagi .page-numbers:hover {
  background: var(--lu88o-hdr); color: #fed304;
}

/* Boxed 1050px 4-Col Dark Green Footer (#013819) + Partner Strip + Black Bottom Bar */
.lu88o-ftr {
  max-width: 1050px; margin: 0 auto; background: var(--lu88o-ftr); color: #ffffff;
  padding: 30px 20px 20px; border-top: 3px solid var(--lu88o-nav);
}
.lu88o-ftr-in { display: grid; grid-template-columns: 1.15fr 0.85fr 0.95fr 1.1fr; gap: 22px; }
.lu88o-ftr-logo { height: 50px; width: auto; display: block; margin-bottom: 10px; }
.lu88o-ftr h3 {
  color: #fed304; font-size: 15.5px; margin: 0 0 12px; text-transform: uppercase;
  font-weight: 800; border-bottom: 2px solid rgba(254,211,4,.35); display: inline-block; padding-bottom: 4px;
}
.lu88o-ftr p { font-size: 13.6px; color: #e2e8f0; line-height: 1.62; margin: 0 0 8px; }
.lu88o-ftr ul { list-style: none; margin: 0; padding: 0; }
.lu88o-ftr li { margin-bottom: 7px; font-size: 13.6px; color: #e2e8f0; overflow-wrap: anywhere; }
.lu88o-ftr li a { color: #bbf7d0; text-decoration: none; font-weight: 600; }
.lu88o-ftr li a:hover { color: #fed304; text-decoration: underline; }
.lu88o-partners {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); text-align: center;
}
.lu88o-partners img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.lu88o-ftr-bot {
  max-width: 1050px; margin: 0 auto; background: #000000; color: #cbd5e1;
  text-align: center; padding: 13px 16px 96px; font-size: 13px;
}
.lu88o-ftr-bot a { color: #fed304; text-decoration: none; font-weight: 700; margin-left: 8px; }

/* Sticky Bottom GIF (1170px PC 2-up / 100% MB 1-up) & Popup GIF 5m */
#b88-sticky {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1140px; max-width: 96vw; z-index: 9998; background: transparent; text-align: center;
}
#b88-sticky-close {
  position: absolute; top: -26px; right: 0; background: #dc2626; color: #fff;
  border: none; border-radius: 4px 4px 0 0; padding: 3px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.b88-st-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.b88-st-row a { display: block; }
.b88-st-row img { width: 100%; height: auto; display: block; border-radius: 4px; }

#b88-pop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 99999;
  align-items: center; justify-content: center; padding: 16px;
}
#b88-pop-box { position: relative; max-width: 520px; width: 100%; }
#b88-pop-close {
  position: absolute; top: -32px; right: 0; background: #dc2626; color: #fff;
  border: none; border-radius: 4px; padding: 4px 12px; font-weight: 700; cursor: pointer; font-size: 13px;
}
#b88-pop-box img { width: 100%; height: auto; border-radius: 10px; display: block; }

@media (max-width: 900px) {
  .lu88o-lobbies { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lu88o-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lu88o-2col { grid-template-columns: 1fr; }
  .lu88o-side { border-left: none; padding-left: 0; border-top: 1px solid #e5e7eb; padding-top: 18px; }
  .lu88o-ftr-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .lu88o-hdr-top { padding: 8px 12px; }
  .lu88o-hdr-top-in { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; }
  .lu88o-burger { display: inline-flex; align-items: center; justify-content: center; }
  .lu88o-logo { justify-content: center; }
  .lu88o-logo img { height: 42px; }
  .lu88o-hdr-top .lu88o-ctas { display: none; }
  .lu88o-mob-ctas { display: flex; }
  .lu88o-btn { padding: 7px 13px; font-size: 11.8px; }
  .lu88o-hdr-nav { display: none; }
  .lu88o-hdr-nav.open { display: block; }
  .lu88o-nav-in { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 14px; }
  .lu88o-nav-in a { width: 100%; padding: 8px 6px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .lu88o-lobbies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 12px 6px; }
  .lu88o-green-box { margin: 12px; padding: 15px 14px; }
  .lu88o-h1-main, .lu88o-post-hero h1, .lu88o-art h1 { font-size: 19.5px; }
  .lu88o-art h2 { font-size: 17.5px; }
  .lu88o-grid-4, .lu88o-grid-2 { grid-template-columns: 1fr; }
  .lu88o-ftr-in { grid-template-columns: 1fr; gap: 16px; }
  #b88-sticky { width: 100%; max-width: 100%; left: 0; transform: none; }
  .b88-st-row { grid-template-columns: 1fr; }
  .b88-st-row a:nth-child(2) { display: none; }
}
