/* ju88-ju88.com — qso.uk.com layout, ju88w.com color and type */
:root {
  --bg: #090b25;
  --bg-deep: #060719;
  --bg-nav: #16113d;
  --bg-card: #131632;
  --gold: #e8bd52;
  --gold-hot: #f4d46f;
  --ink: #f4d46f;
  --text: #eceefa;
  --soft: #b9bdd2;
  --link: #7ab9ff;
  --badge: #d92d20;
  --line: rgba(202, 208, 236, 0.16);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(circle at 78% 18%, rgba(78, 49, 150, .20), transparent 34%),
    linear-gradient(180deg, #0c0d2d 0%, var(--bg) 45%, #07081d 100%);
  color: var(--text);
  font-family: "Roboto", "Arial", "Noto Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 {
  color: var(--gold-hot);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}
h1 { font-size: 28px; }
h2 { font-size: 22px; margin-top: 32px; }
p { margin: 0 0 17px; }
.j88-wrap { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.j88-top {
  background: linear-gradient(90deg, #b98623, #f0cc68, #b98623);
  color: var(--ink);
  min-height: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.j88-top .j88-wrap { text-align: right; line-height: 30px; }
.j88-head { background: rgba(6, 7, 25, .96); min-height: 90px; border-bottom: 1px solid rgba(232,189,82,.20); }
.j88-head-row { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 16px; }
.j88-logo { display: block; width: 170px; height: 64px; flex: 0 0 170px; }
.j88-logo img { display: block; width: 154px; height: 64px; max-width: 100%; object-fit: contain; object-position: left center; }
.j88-head-btns { display: flex; align-items: center; gap: 14px; }
.j88-pill {
  display: inline-block;
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.j88-pill-gold { background: linear-gradient(180deg, #fff083, #e8bd52); color: #17102e; box-shadow: 0 7px 18px rgba(232,189,82,.16); }
.j88-pill-line { background: transparent; color: #f3deb0; border: 1px solid #d6aa4b; }
.j88-pill:hover { transform: translateY(-1px); filter: brightness(1.06); }
.j88-nav { background: linear-gradient(90deg, #121038, #241353, #121038); min-height: 55px; box-shadow: 0 7px 22px rgba(0,0,0,.30); }
.j88-nav ul { list-style: none; display: flex; justify-content: space-between; gap: 4px; margin: 0; padding: 6px 0 8px; }
.j88-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #e8edf7;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
}
.j88-nav a img { width: 26px; height: 26px; object-fit: contain; }
.j88-nav a.active, .j88-nav a:hover { color: var(--gold-hot); }
.j88-main { padding: 30px 0 54px; }
.j88-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr); gap: 28px; align-items: start; }
.j88-card { background: linear-gradient(180deg, rgba(24,27,60,.98), rgba(15,17,43,.98)); padding: 30px 34px 36px; border: 1px solid rgba(232,189,82,.15); border-radius: 14px; box-shadow: var(--shadow); }
.j88-card > h2 { padding: 8px 12px; border-left: 4px solid var(--gold); background: rgba(232,189,82,.07); border-radius: 0 8px 8px 0; }
.j88-slider { position: relative; overflow: hidden; margin: 0 0 20px; border-radius: 10px; }
.j88-track { display: flex; transition: transform .5s ease; }
.j88-track a { min-width: 100%; }
.j88-track img { width: 100%; height: auto; display: block; }
.j88-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 22px;
  line-height: 40px;
  cursor: pointer;
}
.j88-arrow { z-index: 2; padding: 0; }
.j88-next { right: 10px; }
.j88-ctas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 12px; }
.j88-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #fff76b 0%, #f0c14b 100%);
  color: #17102e;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 11px 8px;
  text-transform: uppercase;
}
.j88-cta:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 7px 18px rgba(232,189,82,.16); }
.j88-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 22px; }
.j88-photos a { text-decoration: none; color: var(--soft); }
.j88-side { display: flex; flex-direction: column; gap: 18px; }
.j88-side > .j88-search,
.j88-side > .j88-widget { background: linear-gradient(180deg, #17193a, #11132d); border: 1px solid rgba(232,189,82,.14); border-radius: 12px; padding: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.j88-search { display: flex; }
.j88-search input {
  flex: 1;
  background: #fff;
  color: #222;
  border: 1px solid rgba(232,189,82,.24);
  border-radius: 2px 0 0 2px;
  padding: 8px 10px;
  font: 400 14px "PingFang SC", "Segoe UI", sans-serif;
}
.j88-search button {
  width: 40px;
  border: 0;
  background: var(--badge);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
}
.j88-banners a { display: block; margin-bottom: 12px; }
.j88-banners img { width: 100%; border-radius: 10px; box-shadow: 0 7px 20px rgba(20,35,71,.10); }
.j88-widget h3 {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.j88-widget h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: var(--gold);
  margin-top: 6px;
}
.j88-posts { list-style: none; margin: 0; padding: 0; }
.j88-posts li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.j88-date {
  width: 42px;
  background: var(--bg);
  color: var(--gold);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  padding: 6px 0;
}
.j88-posts a { color: #eef0ff; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.55; }
.j88-posts a:hover { color: var(--link); }
.j88-cats { list-style: none; margin: 0; padding: 0; }
.j88-cats a { display: block; color: #eef0ff; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.j88-cats a:hover { color: var(--link); }
.j88-note { color: var(--soft); font-size: 12px; font-weight: 400; }
.j88-foot { background: var(--bg-deep); padding: 36px 0 20px; }
.j88-top marquee { font-weight: 700; font-size: 13px; letter-spacing: 0; line-height: 30px; text-transform: uppercase; }
.j88-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 15px; margin: 4px 0 22px; }
.j88-games img { width: 100%; height: auto; background: transparent; }
.j88-inline { width: 100%; border-radius: 10px; margin: 10px 0 20px; }
.j88-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.j88-foot h3 { font-size: 16px; letter-spacing: 0.04em; }
.j88-foot a { color: var(--soft); text-decoration: none; }
.j88-foot a:hover { color: var(--gold-hot); }
.j88-foot li { margin: 6px 0; }
.j88-abs { background: #020202; color: var(--soft); font-size: 13px; text-align: center; padding: 14px 12px; }
.j88-crumb { font-size: 13px; margin: 2px 0 16px; color: var(--soft); background: rgba(19,22,50,.94); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.j88-crumb a { color: var(--soft); text-decoration: none; }
.j88-crumb a:hover { color: var(--gold-hot); }
.j88-archive-head { margin: 0 0 8px; }
.j88-archive-title { text-align: center; text-transform: uppercase; font-size: 32px; letter-spacing: 0.03em; margin: 6px 0 14px; }
.j88-tax p { margin: 0 0 10px; }
.j88-tax a { color: var(--gold-hot); font-weight: 700; text-decoration: none; }
.j88-tax blockquote { background: #e4e4e4; color: #222; margin: 12px 0 18px; padding: 10px 16px; border: 0; }
.j88-tax blockquote p { margin: 0; color: #222; }
.j88-tax blockquote a { color: #111; }
.j88-postrow { display: flex; align-items: center; gap: 22px; margin: 0 0 28px; }
.j88-thumb { position: relative; flex: 0 0 40%; display: block; }
.j88-thumb img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.j88-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  color: #222;
  width: 48px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  padding: 6px 0 5px;
}
.j88-row-text { flex: 1; text-align: center; }
.j88-row-text h2 { font-size: 20px; margin: 0 0 8px; line-height: 1.35; }
.j88-row-text h2 a { color: var(--gold-hot); text-decoration: none; }
.j88-row-text h2 a:hover { text-decoration: underline; }
.j88-div { width: 48px; height: 3px; background: var(--gold); margin: 0 auto 10px; }
.j88-row-text p { margin: 0; }
.j88-entry-cat { text-align: center; margin: 0 0 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.j88-entry-cat a { color: var(--gold); text-decoration: none; }
.j88-entry-title { text-align: center; }
.j88-entry-div { width: 48px; height: 3px; background: var(--gold); margin: 0 auto 10px; }
.j88-entry-meta { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--soft); margin: 0 0 16px; }
.j88-entry-hero { position: relative; margin: 0 0 18px; }
.j88-entry-hero img { width: 100%; height: auto; }
.j88-card figure { margin: 16px 0 20px; }
.j88-card figcaption { text-align: center; color: var(--soft); font-size: 14px; margin-top: 6px; }
.j88-card figure img, .j88-card .wp-block-image img { width: 100%; height: auto; }
.ez-toc-container { border: 1px solid rgba(232,189,82,.22); background: rgba(8,10,31,.72); border-radius: 10px; padding: 14px 18px; margin: 16px 0 22px; }
.ez-toc-title { color: var(--gold-hot) !important; font-weight: 700; margin: 0; }
.ez-toc-list { margin: 8px 0 0; }
.ez-toc-list a { color: var(--link); text-decoration: none; }
.blog-share { display: none; }
@media (max-width: 900px) {
  .j88-grid, .j88-foot-grid { grid-template-columns: 1fr; }
  .j88-ctas { grid-template-columns: 1fr; }
  .j88-photos, .j88-games { grid-template-columns: repeat(2, 1fr); }
  .j88-nav ul { overflow-x: auto; justify-content: flex-start; }
  .j88-nav a { min-width: 72px; }
  .j88-postrow { flex-direction: column; align-items: stretch; }
  .j88-thumb { flex-basis: auto; width: 100%; }
  .j88-head { min-height: 70px; }
  .j88-head-row { min-height: 70px; }
  .j88-logo { width: 118px; height: 48px; flex-basis: 118px; }
  .j88-logo img { width: 112px; height: 48px; max-width: 100%; }
  h1 { font-size: 24px; }
  .j88-main { padding: 18px 0 36px; }
  .j88-card { padding: 22px 18px 28px; border-radius: 10px; }
  .j88-wrap { width: min(100% - 20px, 1180px); }
}
