/*
Theme Name: Mandiri-Bet Fun Luck Games
Theme URI: https://mandiri-bet.com/
Author: Mandiri-Bet
Description: A neon social luck and prediction games theme for entertainment only. No money, betting, gambling, or financial rewards.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mandiri-bet
*/

:root {
  --mb-bg: #06081b;
  --mb-bg-deep: #050616;
  --mb-panel: rgba(25, 25, 62, .88);
  --mb-panel-blue: rgba(17, 34, 67, .92);
  --mb-panel-soft: rgba(25, 31, 64, .76);
  --mb-line: rgba(137, 125, 235, .25);
  --mb-line-strong: rgba(159, 124, 255, .5);
  --mb-text: #f2f1ff;
  --mb-muted: #9ca3c8;
  --mb-faint: #72799e;
  --mb-purple: #7650f3;
  --mb-violet: #a945f2;
  --mb-pink: #d52bd5;
  --mb-mint: #22dfbb;
  --mb-gold: #f6cb58;
  --mb-blue: #5d9cff;
  --mb-pink-soft: #e765a9;
  --mb-display: "Space Grotesk", sans-serif;
  --mb-body: "Outfit", sans-serif;
  --mb-mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  min-width: 320px;
  background:
    radial-gradient(circle at 9% -3%, rgba(109, 55, 240, .2), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(28, 205, 180, .1), transparent 25rem),
    var(--mb-bg);
  color: var(--mb-text);
  font-family: var(--mb-body);
  font-size: 14px;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .13;
  background-image: radial-gradient(rgba(255, 255, 255, .58) .55px, transparent .65px);
  background-size: 19px 19px;
  mix-blend-mode: screen;
}
body, button, a, input, select { font-family: var(--mb-body); }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible {
  outline: 2px solid var(--mb-mint);
  outline-offset: 3px;
}
a { color: inherit; }
.mb-wrap { width: min(1380px, calc(100% - 48px)); margin-inline: auto; }
.mb-site-main, .mb-header, .mb-footer { position: relative; z-index: 1; }

/* Header */
.mb-header {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(137, 125, 235, .18);
  background: rgba(7, 9, 27, .79);
  backdrop-filter: blur(18px);
}
.mb-header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.mb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: inherit;
  text-decoration: none;
}
.mb-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  transform: rotate(-8deg);
  color: #fff;
  background: linear-gradient(145deg, #7b4dff, #b22aff 62%, #22dfbb);
  box-shadow: 0 5px 20px rgba(142, 69, 255, .4);
  font: 800 12px var(--mb-display);
  letter-spacing: -.05em;
}
.mb-brand strong { display: block; font: 800 19px/1 var(--mb-display); letter-spacing: -.06em; }
.mb-brand em { color: var(--mb-gold); font-style: normal; }
.mb-brand small { display: block; margin-top: 4px; color: var(--mb-muted); font-size: 9px; letter-spacing: .02em; }
.mb-nav { display: flex; flex: 1; align-items: center; gap: 3px; }
.mb-nav ul { display: flex; align-items: center; gap: 3px; width: 100%; padding: 0; margin: 0; list-style: none; }
.mb-nav li { margin: 0; padding: 0; }
.mb-nav a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  color: #adb1ce;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.mb-nav a:hover, .mb-nav .current-menu-item a, .mb-nav .current_page_item a {
  color: #fff;
  background: rgba(125, 79, 255, .2);
}
.mb-account { display: flex; align-items: center; gap: 8px; }
.mb-icon-btn, .mb-profile-btn {
  height: 36px;
  border: 1px solid rgba(138, 126, 226, .27);
  border-radius: 10px;
  color: #d8daf0;
  background: rgba(30, 32, 62, .7);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.mb-icon-btn { width: 36px; display: grid; place-items: center; }
.mb-icon-btn:hover, .mb-profile-btn:hover { transform: translateY(-2px); color: #fff; border-color: #8a61ff; background: rgba(125, 79, 255, .22); }
.mb-search-icon { width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; display: block; }
.mb-search-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; right: -5px; bottom: -2px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.mb-bell-icon { width: 13px; height: 14px; display: block; border: 1.5px solid currentColor; border-radius: 8px 8px 4px 4px; position: relative; }
.mb-bell-icon::before { content: ""; position: absolute; left: -3px; right: -3px; bottom: -3px; height: 1.5px; background: currentColor; }
.mb-profile-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 11px; font-size: 11px; }
.mb-avatar, .mb-large-avatar, .mb-tiny-avatar {
  display: inline-grid;
  place-items: center;
  color: #081427;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mb-mint), #567eff);
}
.mb-avatar { width: 24px; height: 24px; border-radius: 8px; font-size: 10px; }
.mb-mobile-toggle { display: none; }

/* Shared cards, buttons, labels */
.mb-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mb-line);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(35, 30, 79, .84), rgba(17, 21, 48, .9));
  box-shadow: 0 18px 45px rgba(4, 2, 18, .28), inset 0 1px rgba(255, 255, 255, .05);
}
.mb-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.04), transparent 26%);
}
.mb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(184, 92, 255, .3);
  border-radius: 99px;
  color: #e8b9ff;
  background: rgba(184, 92, 255, .12);
  font: 500 10px var(--mb-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mb-button, .mb-outline-button {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.mb-button {
  border: 0;
  color: #fff;
  background: linear-gradient(110deg, #6841ee, #bd27d5);
  box-shadow: 0 8px 22px rgba(154, 54, 228, .32);
}
.mb-button:hover { transform: translateY(-2px); box-shadow: 0 11px 27px rgba(154, 54, 228, .46); }
.mb-outline-button {
  border: 1px solid rgba(138, 126, 226, .34);
  color: #e8e8ff;
  background: rgba(255,255,255,.04);
}
.mb-outline-button:hover { transform: translateY(-2px); border-color: #9d7bff; background: rgba(138, 126, 226, .15); }
.mb-outline-button.mint { color: #82f2db; border-color: rgba(34, 223, 187, .4); }

/* Hero */
.mb-hero { padding: 40px 0 22px; }
.mb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .95fr); gap: 18px; }
.mb-hero-card { min-height: 322px; padding: 38px 42px; }
.mb-hero-card::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -70px;
  top: -96px;
  border: 1px solid rgba(187, 142, 255, .19);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(187, 142, 255, .035), 0 0 0 38px rgba(187, 142, 255, .025);
}
.mb-hero-orbit { position: absolute; right: 37px; top: 39px; width: 245px; height: 245px; border: 1px solid rgba(150, 118, 255, .42); border-radius: 50%; animation: mb-orbit 9s linear infinite; }
.mb-hero-orbit::before, .mb-hero-orbit::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--mb-gold); box-shadow: 0 0 18px var(--mb-gold); }
.mb-hero-orbit::before { top: 13px; left: 42px; }
.mb-hero-orbit::after { right: 8px; bottom: 30px; background: var(--mb-mint); box-shadow: 0 0 18px var(--mb-mint); }
.mb-hero-copy { max-width: 560px; position: relative; z-index: 2; }
.mb-hero-title { margin: 23px 0 14px; max-width: 590px; font: 800 clamp(36px, 5vw, 65px)/.97 var(--mb-display); letter-spacing: -.065em; }
.mb-hero-title .yellow { color: var(--mb-gold); }
.mb-hero-desc { max-width: 430px; margin: 0; color: #b9bdd7; font-size: 14px; line-height: 1.55; }
.mb-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.mb-hero-dice {
  position: absolute;
  top: 100px;
  right: 114px;
  z-index: 1;
  width: 93px;
  height: 93px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 23px;
  color: #fff;
  background: linear-gradient(145deg, #7f54ff, #4520b6);
  box-shadow: 16px 15px 0 rgba(22, 9, 77, .45), 0 0 32px rgba(125, 79, 255, .45);
  transform: rotate(-15deg);
  font: 700 40px var(--mb-display);
  animation: mb-dice-float 4s ease-in-out infinite;
}
.mb-hero-dice::before { content: ""; width: 12px; height: 12px; position: absolute; top: 18px; left: 20px; border-radius: 50%; background: #fff; box-shadow: 42px 42px 0 #fff, 42px 0 0 #fff, 0 42px 0 #fff; opacity: .92; }
.mb-progress-card { padding: 23px; }
.mb-profile-row { display: flex; align-items: center; gap: 11px; }
.mb-large-avatar { width: 43px; height: 43px; border-radius: 14px; background: linear-gradient(135deg, var(--mb-gold), #fe7a9f); font-size: 13px; }
.mb-player strong { display: block; font: 600 14px var(--mb-display); }
.mb-player span { display: block; margin-top: 3px; color: var(--mb-muted); font-size: 10px; }
.mb-xp-row { display: flex; justify-content: space-between; margin: 20px 0 8px; color: #adb1d0; font: 10px var(--mb-mono); }
.mb-progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #25254a; }
.mb-progress-fill { display: block; width: 70%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mb-purple), var(--mb-pink)); transition: width .3s ease; }
.mb-streak-line { display: flex; justify-content: space-between; align-items: baseline; margin-top: 23px; }
.mb-streak-count { color: var(--mb-gold); font: 700 18px var(--mb-display); }
.mb-streak-count::before { content: ""; display: inline-block; width: 8px; height: 12px; margin: 0 7px 0 1px; border-radius: 8px 2px 8px 2px; background: var(--mb-gold); transform: rotate(35deg); }
.mb-streak-note { color: var(--mb-muted); font-size: 10px; }
.mb-streak-days { display: flex; justify-content: space-between; margin-top: 14px; }
.mb-day { width: 27px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #747b9f; font: 10px var(--mb-mono); }
.mb-day i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #747b9f; background: #29284e; font-style: normal; font-size: 10px; }
.mb-day.done i { color: #fff; background: var(--mb-purple); }
.mb-day.today i { color: #061928; background: var(--mb-mint); }

/* Section headings and tools */
.mb-section { padding: 18px 0; scroll-margin-top: 84px; }
.mb-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.mb-section-heading h2 { margin: 0; font: 700 18px var(--mb-display); letter-spacing: -.035em; }
.mb-section-heading p { margin: 4px 0 0; color: #858caf; font-size: 11px; }
.mb-section-heading h2 .heading-icon { color: var(--mb-purple); }
.mb-section-link { padding: 4px 0; border: 0; color: #aa90ff; background: transparent; font-size: 11px; }
.mb-tools-grid { display: grid; grid-template-columns: 1.26fr .87fr .87fr; gap: 14px; }
.mb-tool-card { min-height: 222px; padding: 20px; }
.mb-tool-card h3 { margin: 0; font: 700 16px var(--mb-display); }
.mb-tool-card > p { margin: 5px 0 17px; color: #8e93b5; font-size: 11px; }
.mb-generator-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; }
.mb-control-label { display: flex; flex-direction: column; gap: 6px; color: #8389ab; font-size: 10px; }
.mb-control-label select { min-width: 68px; padding: 7px 9px; border: 1px solid #3b3d70; outline: none; border-radius: 8px; color: #e8eaff; background: #171936; font-size: 11px; }
.mb-number-display { display: flex; flex-wrap: wrap; gap: 9px; margin: 15px 0; }
.mb-number-pill { width: 52px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(72, 217, 190, .3); border-radius: 12px; color: #6df3cb; background: rgba(16, 22, 53, .82); font: 500 17px var(--mb-mono); }
.mb-tool-action-row { display: flex; flex-wrap: wrap; gap: 7px; }
.mb-tool-action-row .mb-outline-button { flex: 1; min-height: 32px; padding-inline: 9px; font-size: 10px; }
.mb-challenge-card { background: linear-gradient(145deg, rgba(23, 51, 82, .9), rgba(18, 26, 56, .9)); }
.mb-challenge-question { max-width: 235px; margin: 10px 0 17px; color: #fff; font: 600 18px/1.2 var(--mb-display); }
.mb-answer-grid { display: flex; gap: 7px; }
.mb-answer-button { flex: 1; padding: 10px 4px; border: 1px solid rgba(94, 185, 238, .3); border-radius: 9px; color: #e4f4ff; background: rgba(28, 57, 89, .68); font-size: 11px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.mb-answer-button:hover, .mb-answer-button.selected { border-color: #58c5ef; background: rgba(46, 150, 207, .28); transform: translateY(-2px); }
.mb-challenge-result { min-height: 19px; margin-top: 12px; color: #75f1d3; font: 500 11px var(--mb-mono); }
.mb-wheel-card { position: relative; }
.mb-wheel-card::after { content: ""; position: absolute; right: -40px; bottom: -55px; width: 155px; height: 155px; border: 1px solid rgba(246,203,88,.25); border-radius: 50%; pointer-events: none; }
.mb-wheel-pointer { position: absolute; top: 6px; left: calc(50% - 8px); z-index: 2; border-right: 8px solid transparent; border-bottom: 0; border-left: 8px solid transparent; border-top: 16px solid var(--mb-gold); }
.mb-wheel-art { width: 126px; height: 126px; margin: 10px auto 15px; position: relative; border: 6px solid #262050; border-radius: 50%; background: conic-gradient(#bb5cf5 0 14%, #2bd6c2 14% 29%, #f6cb58 29% 43%, #567eff 43% 57%, #e765a9 57% 71%, #7c51ec 71% 86%, #33bbd2 86%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.28), 0 0 25px rgba(186, 92, 255, .27); transition: transform 2.4s cubic-bezier(.15,.8,.2,1); }
.mb-wheel-art::after { content: ""; position: absolute; inset: 35px; display: grid; place-items: center; border-radius: 50%; background: #241a52; color: var(--mb-gold); box-shadow: 0 2px 0 #8c54da; }
.mb-spin-feedback { min-height: 17px; color: var(--mb-gold); text-align: center; font: 500 11px var(--mb-mono); }

/* Games and supporting panels */
.mb-split-layout { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(280px, .78fr); gap: 14px; }
.mb-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mb-mini-card { min-height: 128px; display: flex; flex-direction: column; padding: 14px; transition: transform .2s ease, border-color .2s ease; }
.mb-mini-card:hover { transform: translateY(-3px); border-color: rgba(186, 111, 255, .6); }
.mb-mini-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font: 700 12px var(--mb-mono); }
.mb-mini-card h3 { margin: 11px 0 4px; font: 600 13px var(--mb-display); }
.mb-mini-card p { margin: 0; color: #8e93b5; font-size: 10px; line-height: 1.4; }
.mb-play { margin-top: auto; padding: 8px 0 0; border: 0; color: #b69cff; background: none; text-align: left; font-size: 10px; }
.mb-mini-feedback { margin-top: auto; padding-top: 8px; color: #76f3d1; font: 500 10px var(--mb-mono); }
.mb-side-stack { display: grid; gap: 14px; }
.mb-side-card { padding: 19px; }
.mb-side-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.mb-side-title h3 { margin: 0; font: 600 14px var(--mb-display); }
.mb-side-title button { color: #aa90ff; border: 0; background: transparent; font-size: 10px; }
.mb-leader-tabs { display: flex; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid rgba(144, 135, 222, .12); }
.mb-leader-tab { padding: 4px 6px; border: 0; border-radius: 5px; color: #777fa3; background: transparent; font-size: 9px; }
.mb-leader-tab.active, .mb-leader-tab:hover { color: #eeeaff; background: rgba(125,79,255,.2); }
.mb-leader-row { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 7px; padding: 8px 0; border-bottom: 1px solid rgba(144, 135, 222, .1); font-size: 10px; }
.mb-rank { color: #d7d9ef; font: 600 10px var(--mb-mono); }
.mb-leader-name { display: flex; align-items: center; gap: 7px; }
.mb-tiny-avatar { width: 22px; height: 22px; border-radius: 7px; font-size: 8px; }
.mb-leader-xp { color: #75e3ca; font: 9px var(--mb-mono); }
.mb-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mb-badge { color: #858bac; text-align: center; font-size: 9px; }
.mb-badge-icon { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 6px; border: 1px solid #8960ef; border-radius: 12px; color: var(--mb-gold); background: #42316e; font: 700 14px var(--mb-display); }
.mb-badge.locked .mb-badge-icon { color: #8187ab; border-color: #4e5278; background: #242845; }

/* Articles */
.mb-article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mb-article-card { min-height: 178px; overflow: hidden; padding: 0; text-align: left; transition: transform .2s ease, border-color .2s ease; }
.mb-article-card:hover { transform: translateY(-3px); border-color: rgba(186, 111, 255, .62); }
.mb-article-art { height: 88px; position: relative; overflow: hidden; background: linear-gradient(135deg, #34206d, #0f2c59); }
.mb-article-art::before, .mb-article-art::after { content: ""; position: absolute; border-radius: 50%; }
.mb-article-art::before { width: 72px; height: 72px; top: 12px; left: 22px; border: 9px dotted rgba(246,203,88,.82); transform: rotate(15deg); }
.mb-article-art::after { width: 45px; height: 45px; right: 20px; bottom: -8px; background: linear-gradient(135deg, var(--mb-mint), var(--mb-purple)); box-shadow: -44px -24px 0 -13px var(--mb-pink-soft); transform: rotate(22deg); }
.mb-article-card:nth-child(2) .mb-article-art { background: linear-gradient(135deg, #182d70, #281451); }
.mb-article-card:nth-child(3) .mb-article-art { background: linear-gradient(135deg, #173e58, #4b1c6e); }
.mb-article-card:nth-child(4) .mb-article-art { background: linear-gradient(135deg, #57401d, #3b1762); }
.mb-article-info { padding: 13px 14px; }
.mb-article-meta { display: flex; justify-content: space-between; gap: 6px; color: #d9a2ff; font: 9px var(--mb-mono); }
.mb-article-meta span:last-child { color: #898fac; }
.mb-article-title { display: block; margin: 9px 0 0; font: 600 13px/1.25 var(--mb-display); }

/* Community and footer */
.mb-community-card { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 218px; padding: 24px; }
.mb-community-card h2 { margin: 0; font: 700 24px var(--mb-display); letter-spacing: -.05em; }
.mb-community-card p { max-width: 500px; color: #969cbd; font-size: 12px; line-height: 1.55; }
.mb-community-list { display: grid; gap: 8px; margin-top: 17px; }
.mb-community-item { display: flex; align-items: center; gap: 8px; color: #d3d5e9; font-size: 11px; }
.mb-community-item strong { color: #fff; }
.mb-community-item > span:last-child { margin-left: auto; color: #777e9f; font-size: 10px; }
.mb-community-visual { min-height: 165px; position: relative; margin: -5px -5px -5px 20px; border: 1px solid rgba(125, 79, 255, .18); border-radius: 16px; background: radial-gradient(circle at 50% 50%, rgba(123,77,255,.36) 0 8%, transparent 9%), radial-gradient(circle at 34% 36%, rgba(34,223,187,.9) 0 4px, transparent 5px), radial-gradient(circle at 72% 30%, rgba(246,203,88,.95) 0 5px, transparent 6px), radial-gradient(circle at 68% 75%, rgba(231,101,169,.9) 0 8px, transparent 9px), linear-gradient(135deg, #17113e, #0e1d3d); overflow: hidden; }
.mb-community-visual::before, .mb-community-visual::after { content: ""; position: absolute; border: 2px solid rgba(196, 120, 255, .75); transform: rotate(25deg); }
.mb-community-visual::before { width: 85px; height: 85px; top: 35px; left: 23%; border-radius: 18px; box-shadow: inset 0 0 0 15px rgba(123,77,255,.16); }
.mb-community-visual::after { width: 52px; height: 52px; right: 17%; bottom: 22px; border-radius: 50%; border-color: var(--mb-gold); box-shadow: 0 0 25px rgba(246,203,88,.35); }
.mb-footer { margin-top: 30px; padding: 38px 0 25px; border-top: 1px solid rgba(138, 126, 226, .18); background: rgba(8, 10, 25, .72); }
.mb-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.mb-footer-brand p, .mb-footer-col a, .mb-footer-widget p, .mb-footer-widget a { color: #858cac; font-size: 11px; line-height: 1.6; }
.mb-footer-widget a { display: block; margin: 7px 0; text-decoration: none; }
.mb-footer-brand p { max-width: 280px; }
.mb-footer-col h4, .mb-footer-widget h4 { margin: 0 0 11px; color: #eff0ff; font: 600 12px var(--mb-display); }
.mb-footer-col a { display: block; margin: 7px 0; text-decoration: none; }
.mb-footer-col a:hover { color: #fff; }
.mb-disclaimer { display: flex; gap: 8px; margin-top: 27px; padding: 13px 14px; border: 1px solid rgba(246,203,88,.19); border-radius: 10px; color: #aeb4ce; background: rgba(246,203,88,.06); font-size: 10px; line-height: 1.5; }
.mb-disclaimer strong { color: var(--mb-gold); white-space: nowrap; }
.mb-footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 18px; color: #6d7498; font: 10px var(--mb-mono); }

/* Modal and feedback */
.mb-modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 18px; background: rgba(5, 6, 19, .78); backdrop-filter: blur(10px); }
.mb-modal.open { display: grid; }
.mb-modal-card { width: min(100%, 460px); max-height: min(720px, calc(100dvh - 36px)); overflow: auto; padding: 27px; text-align: center; }
.mb-close { float: right; width: 30px; height: 30px; border: 1px solid rgba(169,159,255,.22); border-radius: 8px; color: #abb0d1; background: rgba(255,255,255,.05); font-size: 20px; line-height: 1; }
.mb-game-panel { clear: both; padding-top: 15px; }
.mb-game-panel h2 { margin: 8px 0 6px; font: 700 25px var(--mb-display); }
.mb-game-panel p { color: #979dbf; font-size: 12px; }
.mb-game-panel small { color: #858caf; font-size: 10px; }
.mb-number-match-board { width: 90px; height: 90px; display: grid; place-items: center; margin: 18px auto; border: 1px solid rgba(246,203,88,.45); border-radius: 25px; color: var(--mb-gold); background: radial-gradient(circle, rgba(246,203,88,.2), rgba(125,79,255,.22)); box-shadow: 0 0 25px rgba(246,203,88,.15); font: 700 28px var(--mb-display); }
.mb-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 20px; }
.mb-choice-grid.two { grid-template-columns: repeat(2, 1fr); }
.mb-choice-grid button, .mb-memory-board button { min-height: 48px; border: 1px solid rgba(169,132,255,.3); border-radius: 11px; color: #eef0ff; background: rgba(35,32,75,.86); }
.mb-choice-grid button:hover, .mb-memory-board button:hover { border-color: var(--mb-mint); background: rgba(71, 87, 160, .55); }
.mb-mood-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 20px; }
.mb-mood-grid button { min-height: 62px; display: grid; place-items: center; gap: 4px; border: 1px solid rgba(169,132,255,.3); border-radius: 11px; color: #eef0ff; background: rgba(35,32,75,.86); }
.mb-mood-grid button strong { color: var(--mb-mint); font-size: 17px; }
.mb-dice-score { display: grid; grid-template-columns: 1fr 50px 1fr; align-items: center; gap: 10px; margin: 25px 0 20px; }
.mb-dice-score div:not(.mb-versus) { display: grid; gap: 5px; }
.mb-dice-score span { color: #8f96b6; font-size: 10px; }
.mb-dice-score strong { display: grid; place-items: center; width: 62px; height: 62px; margin: auto; border: 1px solid rgba(138,126,226,.35); border-radius: 16px; color: #fff; background: rgba(32,31,72,.8); font: 700 25px var(--mb-display); }
.mb-versus { color: var(--mb-pink-soft); font: 700 11px var(--mb-mono); }
.mb-game-primary { width: 100%; }
.mb-round-result, .mb-result { margin: 17px 0; padding: 11px; border: 1px solid rgba(34,223,187,.25); border-radius: 9px; color: #76f3d1; background: rgba(34,223,187,.08); font: 600 12px var(--mb-mono); }
.mb-coin-art { width: 84px; height: 84px; display: grid; place-items: center; margin: 20px auto; border: 5px solid #f6cb58; border-radius: 50%; color: #42245c; background: linear-gradient(145deg, #ffeb8a, #dc8e36); box-shadow: 0 0 25px rgba(246,203,88,.24); font: 700 25px var(--mb-display); }
.mb-memory-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 20px 0 12px; }
.mb-memory-board button.revealed { color: var(--mb-gold); border-color: rgba(246,203,88,.6); background: rgba(123,77,255,.45); font-size: 20px; }
.mb-color-target { width: 78px; height: 78px; display: grid; place-items: center; margin: 22px auto; border: 1px solid rgba(255,255,255,.22); border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--mb-purple), var(--mb-pink)); transform: rotate(7deg); box-shadow: 0 0 30px rgba(178,77,255,.34); font-size: 23px; }
.mb-color-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mb-color-choice { min-height: 46px; border: 2px solid transparent; border-radius: 11px; color: #101227; font-size: 11px; font-weight: 700; }
.mb-color-choice:hover { border-color: #fff; transform: translateY(-2px); }
.mb-toast { position: fixed; right: 22px; bottom: 22px; z-index: 150; max-width: min(360px, calc(100% - 32px)); padding: 12px 15px; border: 1px solid rgba(34,223,187,.4); border-radius: 10px; color: #dbfff6; background: #14233a; box-shadow: 0 14px 35px rgba(0,0,0,.32); font-size: 11px; }

@keyframes mb-orbit { to { transform: rotate(360deg); } }
@keyframes mb-dice-float { 0%,100% { transform: rotate(-15deg) translateY(0); } 50% { transform: rotate(-10deg) translateY(-8px); } }

@media (max-width: 1080px) {
  .mb-nav a { padding-inline: 8px; font-size: 10px; }
  .mb-tools-grid { grid-template-columns: 1fr 1fr; }
  .mb-generator-card { grid-row: span 2; }
}
@media (max-width: 860px) {
  .mb-header-inner { gap: 12px; }
  .mb-nav { display: none; position: absolute; top: 73px; left: 14px; right: 14px; padding: 8px; border: 1px solid var(--mb-line); border-radius: 14px; background: rgba(12,14,38,.97); box-shadow: 0 18px 35px rgba(0,0,0,.32); }
  .mb-nav.open { display: block; }
  .mb-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); }
  .mb-nav a { padding: 11px 12px; font-size: 11px; }
  .mb-mobile-toggle { display: grid; }
  .mb-profile-btn { display: none; }
  .mb-split-layout { grid-template-columns: 1fr; }
  .mb-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .mb-footer-grid > *:last-child { display: none; }
}
@media (max-width: 700px) {
  .mb-wrap { width: min(100% - 28px, 1380px); }
  .mb-header { height: 64px; }
  .mb-header-inner { height: 64px; }
  .mb-nav { top: 63px; }
  .mb-brand { min-width: 0; }
  .mb-brand strong { font-size: 17px; }
  .mb-brand small { display: none; }
  .mb-hero { padding-top: 20px; }
  .mb-hero-grid, .mb-tools-grid { grid-template-columns: 1fr; }
  .mb-generator-card { grid-row: auto; }
  .mb-hero-card { min-height: 420px; padding: 27px 22px; }
  .mb-hero-title { font-size: 45px; }
  .mb-hero-dice { top: 260px; right: 68px; width: 70px; height: 70px; font-size: 30px; }
  .mb-hero-dice::before { width: 9px; height: 9px; top: 14px; left: 15px; box-shadow: 31px 31px 0 #fff, 31px 0 0 #fff, 0 31px 0 #fff; }
  .mb-hero-orbit { top: 245px; right: 28px; width: 190px; height: 190px; }
  .mb-hero-actions { flex-direction: column; }
  .mb-hero-actions .mb-button, .mb-hero-actions .mb-outline-button { width: 100%; }
  .mb-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .mb-article-grid { grid-template-columns: repeat(2, 1fr); }
  .mb-community-card { grid-template-columns: 1fr; gap: 20px; }
  .mb-community-visual { min-height: 135px; margin: 0; }
  .mb-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .mb-footer-grid > :first-child { grid-column: span 2; }
  .mb-footer-bottom { flex-direction: column; gap: 6px; }
  .mb-section-heading { align-items: start; flex-direction: column; }
  .mb-disclaimer { display: block; }
  .mb-disclaimer strong { display: block; margin-bottom: 3px; }
}
@media (max-width: 430px) {
  .mb-account { gap: 5px; }
  .mb-icon-btn { width: 32px; height: 32px; }
  .mb-mini-grid, .mb-article-grid { grid-template-columns: 1fr; }
  .mb-article-card { min-height: 155px; }
  .mb-choice-grid { grid-template-columns: repeat(2, 1fr); }
  .mb-modal-card { padding: 21px; }
}

/* WordPress content surfaces */
.mb-article-card { display: block; color: inherit; text-decoration: none; }
.mb-article-excerpt { display: block; color: #858caf; font-size: 10px; line-height: 1.45; margin-top: 8px; }
.mb-article-art[style] { background-size: cover; background-position: center; }
.mb-empty-blog { padding: 28px; grid-column: 1 / -1; }
.mb-empty-blog h3 { margin: 0 0 6px; font: 600 16px var(--mb-display); }
.mb-empty-blog p { color: var(--mb-muted); font-size: 11px; }
.mb-empty-blog .mb-button { display: inline-block; margin-top: 10px; text-decoration: none; }
.mb-blog-archive { padding-top: 42px; min-height: 55vh; }
.mb-blog-archive h1 { margin: 0; font: 700 30px var(--mb-display); }
.mb-single { padding-top: 42px; padding-bottom: 60px; max-width: 900px; }
.mb-post { padding: clamp(22px, 5vw, 48px); }
.mb-post h1 { margin: 12px 0 24px; font: 700 clamp(30px, 5vw, 52px)/1.05 var(--mb-display); letter-spacing: -.04em; }
.mb-post-meta { color: #c39aff; font: 10px var(--mb-mono); text-transform: uppercase; letter-spacing: .06em; }
.mb-post-image { min-height: 250px; margin: 0 0 28px; border-radius: 14px; background-size: cover; background-position: center; border: 1px solid rgba(145,128,255,.28); }
.mb-post-content { color: #c6c9df; font-size: 15px; line-height: 1.8; }
.mb-post-content h2,.mb-post-content h3 { color: #fff; font-family: var(--mb-display); }
.mb-post-content a { color: #bd9aff; }
.mb-nav .sub-menu { display: none; }
.mb-nav .menu-item-has-children { position: relative; }
.mb-nav .menu-item-has-children:hover > .sub-menu { display: block; position: absolute; top: 100%; left: 0; width: 190px; padding: 7px; border: 1px solid #383668; border-radius: 11px; background: #0e1028f7; box-shadow: 0 16px 30px #0008; }
.mb-nav .sub-menu a { padding: 9px 10px; }