:root {
  --mu88-teal: #038b86;
  --mu88-teal-dark: #005b59;
  --mu88-aqua: #bff9f2;
  --mu88-mint: #e8fffb;
  --mu88-coral: #ff5b56;
  --mu88-coral-dark: #e74343;
  --mu88-gold: #ffd35a;
  --mu88-gold-2: #f3a821;
  --mu88-ink: #073a43;
  --mu88-muted: #55727b;
  --mu88-line: #a8e4dc;
  --mu88-white: #ffffff;
  --mu88-shadow: 0 22px 60px rgba(0, 91, 89, .18);
  --mu88-radius: 22px;
  --mu88-font: "Be Vietnam Pro", "Nunito Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mu88-ink);
  background: linear-gradient(180deg, #aff4ed 0%, #eafffb 52%, #d8fbf5 100%);
  font-family: var(--mu88-font);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.mu88-container { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }

.mu88-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #068f8d, #017775);
  box-shadow: 0 16px 44px rgba(0, 86, 85, .2);
}
.mu88-topbar {
  width: min(1180px, calc(100% - 44px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.mu88-logo {
  display: inline-flex;
  align-items: center;
  color: var(--mu88-gold);
  font-weight: 1000;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -2.8px;
  text-shadow: 0 4px 0 #875515, 0 16px 30px rgba(0,0,0,.2);
}
.mu88-logo::before {
  content: "♛";
  font-size: .42em;
  margin-right: 2px;
  transform: translateY(-.7em) rotate(-8deg);
  color: var(--mu88-gold);
}
.mu88-logo span { color: #ffeb98; }
.mu88-auth { display: flex; align-items: center; gap: 14px; }
.mu88-auth a {
  min-width: 112px;
  padding: 11px 19px;
  border-radius: 999px;
  text-align: center;
  color: white;
  font-size: 15px;
  font-weight: 1000;
}
.mu88-auth-primary {
  background: linear-gradient(135deg, var(--mu88-coral), #ff7b52);
  box-shadow: 0 12px 26px rgba(255,91,86,.3);
}
.mu88-auth-outline {
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
}
.mu88-nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(0, 126, 124, .82);
  border-top: 1px solid rgba(255,255,255,.12);
  overflow-x: auto;
  scrollbar-width: none;
}
.mu88-nav::-webkit-scrollbar { display: none; }
.mu88-nav a {
  flex: 0 0 auto;
  padding: 20px 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 1000;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.mu88-nav a.active,
.mu88-nav a:hover {
  color: var(--mu88-gold);
  border-bottom-color: var(--mu88-gold);
  background: rgba(255,255,255,.08);
}

.mu88-hero {
  min-height: 560px;
  background:
    radial-gradient(circle at 78% 20%, rgba(255,211,90,.34), transparent 24%),
    linear-gradient(112deg, #cffff7 0%, #9ff1ec 42%, #22b6af 100%);
  overflow: hidden;
}
.mu88-hero-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 36px;
  align-items: center;
  padding: 58px 0;
}
.mu88-hero-copy h1 {
  margin: 0 0 22px;
  color: var(--mu88-coral);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -3.5px;
  font-weight: 1000;
}
.mu88-hero-copy h1::first-line { color: var(--mu88-coral); }
.mu88-hero-copy p {
  max-width: 580px;
  margin: 0 0 28px;
  color: #0d555e;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
}
.mu88-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.mu88-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 1000;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mu88-btn:hover { transform: translateY(-2px); }
.mu88-btn-coral {
  color: white;
  background: linear-gradient(135deg, var(--mu88-coral), #ff7a57);
  box-shadow: 0 16px 32px rgba(255,91,86,.28);
}
.mu88-btn-soft {
  color: #00645f;
  border: 1px solid rgba(0, 104, 99, .38);
  background: rgba(255,255,255,.72);
}
.mu88-btn-outline {
  color: #00726d;
  border: 1px solid rgba(0, 139, 134, .45);
  background: white;
}
.mu88-btn-gold {
  color: #4a3300;
  background: linear-gradient(135deg, #ffe999, var(--mu88-gold-2));
  box-shadow: 0 18px 36px rgba(243,168,33,.28);
}
.mu88-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 30px 80px rgba(0,91,89,.24);
}
.mu88-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mu88-overview { padding: 36px 0 30px; }
.mu88-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
}
.mu88-intro,
.mu88-link-panel,
.mu88-steps .mu88-container,
.mu88-news-card,
.mu88-article-card,
.mu88-sidebar {
  border: 1px solid var(--mu88-line);
  border-radius: var(--mu88-radius);
  background: rgba(255,255,255,.72);
  box-shadow: var(--mu88-shadow);
}
.mu88-intro { padding: clamp(28px, 4vw, 44px); }
.mu88-intro h2,
.mu88-link-panel h2,
.mu88-steps h2,
.mu88-games h2,
.mu88-news h2,
.mu88-final h2,
.mu88-sidebar h2 {
  margin: 0 0 16px;
  color: var(--mu88-coral);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  font-weight: 1000;
}
.mu88-intro > p {
  margin: 0 0 30px;
  color: #3e6670;
  font-size: 17px;
}
.mu88-feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mu88-feature-row div {
  min-width: 0;
  text-align: center;
}
.mu88-feature-row span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: var(--mu88-teal);
  background: white;
  box-shadow: inset 0 0 0 1px rgba(0,139,134,.18);
  font-size: 24px;
  font-weight: 1000;
}
.mu88-feature-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 1000;
}
.mu88-feature-row p {
  margin: 0;
  color: var(--mu88-muted);
  font-size: 13px;
}
.mu88-link-panel {
  padding: clamp(26px, 4vw, 42px);
  color: white;
  background: linear-gradient(145deg, #009b93, #006764);
}
.mu88-link-panel h2 { color: #ff6860; }
.mu88-link-panel p { color: #e6fffb; }
.mu88-url {
  min-height: 56px;
  display: flex;
  align-items: center;
  margin: 22px 0;
  padding: 0 18px;
  border-radius: 12px;
  color: #00645f;
  background: white;
  border: 1px solid rgba(255,211,90,.8);
  font-weight: 1000;
  overflow-wrap: anywhere;
}
.mu88-url.small { min-height: 48px; color: var(--mu88-gold); background: rgba(0,0,0,.16); }
.mu88-link-panel ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.mu88-link-panel li {
  position: relative;
  margin: 9px 0;
  padding-left: 28px;
  color: #f3fffd;
}
.mu88-link-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b9ff80;
  font-weight: 1000;
}

.mu88-steps { padding: 22px 0 34px; }
.mu88-steps .mu88-container { padding: 24px 28px 30px; }
.mu88-steps h2,
.mu88-games h2,
.mu88-news h2 {
  text-align: center;
  color: var(--mu88-teal-dark);
}
.mu88-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mu88-step-grid div {
  min-width: 0;
  padding: 20px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 14px 30px rgba(0,91,89,.08);
}
.mu88-step-grid b {
  display: block;
  color: var(--mu88-teal);
  font-size: 28px;
  line-height: 1;
}
.mu88-step-grid strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--mu88-ink);
  font-weight: 1000;
}
.mu88-step-grid p {
  margin: 0;
  color: var(--mu88-muted);
  font-size: 14px;
}

.mu88-games,
.mu88-news { padding: 44px 0; }
.mu88-game-grid,
.mu88-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.mu88-game-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  color: white;
  background: linear-gradient(180deg, #00776f, #003d3b);
  box-shadow: 0 20px 44px rgba(0,91,89,.18);
}
.mu88-game-card span,
.mu88-news-img {
  min-height: 172px;
  display: grid;
  place-items: end start;
  padding: 18px;
  color: var(--mu88-gold);
  font-weight: 1000;
  text-transform: uppercase;
  background-image: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,63,61,.78)), url("/assets/mu88-hero.png");
  background-size: cover;
  background-position: center;
}
.mu88-game-card .fish,
.mu88-news-img.app { background-position: 66% center; }
.mu88-game-card .sport,
.mu88-news-img.sport { background-position: 88% center; }
.mu88-game-card .slot { background-position: 30% center; }
.mu88-game-card strong {
  display: block;
  margin: 18px 18px 6px;
  color: var(--mu88-gold);
  font-size: 25px;
  line-height: 1.1;
  font-weight: 1000;
}
.mu88-game-card p {
  min-height: 70px;
  margin: 0 18px 14px;
  color: #d8fffb;
  font-size: 15px;
}
.mu88-game-card em {
  display: inline-flex;
  margin: 0 18px 20px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #004f4b;
  background: #b9fff3;
  font-style: normal;
  font-weight: 1000;
}
.mu88-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mu88-news-card { overflow: hidden; background: rgba(255,255,255,.86); }
.mu88-news-img { min-height: 168px; color: white; }
.mu88-news-body { padding: 19px; }
.mu88-news-body span { color: #66909a; font-size: 13px; }
.mu88-news-body h3 {
  margin: 8px 0 10px;
  color: var(--mu88-teal-dark);
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -.4px;
  font-weight: 1000;
}
.mu88-news-body p { margin: 0 0 12px; color: var(--mu88-muted); font-size: 15px; }
.mu88-readmore { color: var(--mu88-teal); font-weight: 1000; }
.mu88-news-action { margin-top: 30px; text-align: center; }
.mu88-pager {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.mu88-pager a,
.mu88-pager span {
  min-width: 42px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--mu88-line);
  background: white;
  color: var(--mu88-teal);
  font-weight: 900;
}

.mu88-final {
  padding: 42px 0;
}
.mu88-final-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 42px;
  border-radius: 24px;
  color: white;
  background:
    linear-gradient(90deg, rgba(0,112,108,.94), rgba(0,148,140,.72)),
    url("/assets/mu88-hero.png") center / cover;
  box-shadow: var(--mu88-shadow);
}
.mu88-final h2 { margin-bottom: 8px; color: white; }
.mu88-final p { margin: 0; color: #edfffc; }

.mu88-footer {
  color: #d8fffb;
  background: linear-gradient(180deg, #006a66, #003d3a);
}
.mu88-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 42px;
  padding: 52px 0;
}
.mu88-footer .mu88-logo { font-size: 42px; margin-bottom: 18px; }
.mu88-footer p { margin: 0 0 12px; }
.mu88-footer h3 {
  margin: 0 0 15px;
  color: var(--mu88-gold);
  text-transform: uppercase;
  font-size: 15px;
}
.mu88-footer a:not(.mu88-logo):not(.mu88-url) {
  display: block;
  margin: 8px 0;
  color: #f2fffd;
}
.mu88-copyright {
  padding: 18px;
  text-align: center;
  color: #c0f9f1;
  border-top: 1px solid rgba(255,255,255,.14);
}

.mu88-article-hero {
  padding: 88px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(0,81,78,.9), rgba(0,137,130,.52)),
    url("/assets/mu88-hero.png") center / cover;
}
.mu88-article-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--mu88-gold);
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  font-weight: 1000;
}
.mu88-article-hero p {
  max-width: 830px;
  margin: 0;
  color: #f2fffd;
  font-size: 19px;
  font-weight: 700;
}
.mu88-article-wrap { padding: 58px 0; }
.mu88-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}
.mu88-article-card { padding: clamp(26px, 4vw, 48px); background: rgba(255,255,255,.88); }
.mu88-article-meta { margin-bottom: 24px; color: #5e8790; font-weight: 1000; }
.mu88-article-body { color: #123c44; font-size: 18px; }
.mu88-article-body h2 {
  margin: 30px 0 12px;
  color: var(--mu88-ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -.8px;
}
.mu88-article-body h2:first-child { margin-top: 0; }
.mu88-article-body p { margin: 0 0 18px; }
.mu88-article-body strong { color: var(--mu88-coral-dark); }
.mu88-article-body img {
  margin: 24px auto;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0,91,89,.16);
}
.mu88-pagebreak { margin-top: 28px; }
.mu88-sidebar {
  position: sticky;
  top: 158px;
  padding: 28px;
  background: rgba(255,255,255,.88);
}
.mu88-sidebar h2 { font-size: 28px; color: var(--mu88-ink); }
.mu88-sidebar a {
  display: block;
  padding: 14px 0;
  color: var(--mu88-coral-dark);
  border-bottom: 1px solid var(--mu88-line);
  font-weight: 1000;
}

@media (max-width: 980px) {
  .mu88-topbar { min-height: 76px; flex-direction: column; justify-content: center; padding: 14px 0; }
  .mu88-auth { width: 100%; justify-content: center; }
  .mu88-nav { justify-content: flex-start; padding: 0 14px; }
  .mu88-nav a { padding: 16px 18px; }
  .mu88-hero-grid,
  .mu88-overview-grid,
  .mu88-article-grid,
  .mu88-footer-grid { grid-template-columns: 1fr; }
  .mu88-hero-grid { padding: 42px 0; }
  .mu88-feature-row,
  .mu88-step-grid,
  .mu88-game-grid,
  .mu88-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mu88-sidebar { position: static; }
  .mu88-final-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .mu88-container,
  .mu88-topbar { width: min(100% - 24px, 1180px); }
  .mu88-logo { font-size: 42px; }
  .mu88-auth a { min-width: 0; flex: 1; }
  .mu88-hero { min-height: auto; }
  .mu88-hero-copy h1 { font-size: clamp(42px, 14vw, 58px); letter-spacing: -2px; }
  .mu88-hero-copy p { font-size: 17px; }
  .mu88-actions,
  .mu88-btn { width: 100%; }
  .mu88-hero-media { border-radius: 18px; }
  .mu88-overview,
  .mu88-games,
  .mu88-news,
  .mu88-article-wrap { padding: 40px 0; }
  .mu88-feature-row,
  .mu88-step-grid,
  .mu88-game-grid,
  .mu88-news-grid { grid-template-columns: 1fr; }
  .mu88-game-card span,
  .mu88-news-img { min-height: 190px; }
  .mu88-intro h2,
  .mu88-link-panel h2,
  .mu88-steps h2,
  .mu88-games h2,
  .mu88-news h2,
  .mu88-final h2,
  .mu88-sidebar h2 { font-size: 31px; }
  .mu88-final-inner { padding: 28px; }
  .mu88-article-hero { padding: 58px 0; }
  .mu88-footer-grid { gap: 26px; }
}
