/*
Theme Name: Maxim88 Games
Theme URI: https://maxim-88.games
Author: Maxim88
Description: Maxim88 Malaysia - light bento-grid casino theme. Green accent, since 2006.
Version: 1.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maxim88games
*/

:root {
  /* Light theme, green main (from maxim88.net bright green) */
  --bg:        #f4f7f4;
  --bg2:       #ffffff;
  --panel:     #ffffff;

  --green:     #2fa84f;   /* main bright green */
  --green-l:   #57c84d;   /* light green accent */
  --green-d:   #1e7a38;   /* dark green */
  --green-soft:#e9f6ec;   /* pale green tint */
  --lime:      #a8e063;
  --gold:      #e0a828;

  --ink:       #14231a;   /* dark green-black */
  --ink2:      #40514a;
  --ink3:      #74857d;
  --line:      #e0e8e2;
  --line2:     #cdd8d0;

  --r:         12px;
  --r2:        20px;
  --r3:        28px;
  --shadow-s:  0 1px 3px rgba(20,35,26,0.06);
  --shadow-m:  0 6px 20px rgba(20,35,26,0.08);
  --shadow-g:  0 10px 30px rgba(47,168,79,0.22);

  --font:      'DM Sans', system-ui, -apple-system, sans-serif;
  --font-h:    'Space Grotesk', 'DM Sans', sans-serif;
  --hh:        66px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink2);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--hh);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); text-decoration: none; }
a:hover { color: var(--green); }
ul, ol { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }

.mg8-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }

/* BUTTONS */
.mg8-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-h); font-weight: 600; font-size: 15px;
  border-radius: 50px; border: none; cursor: pointer;
  padding: 12px 26px; transition: all .18s; white-space: nowrap;
}
.mg8-btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-g); }
.mg8-btn--primary:hover { background: var(--green-d); color: #fff; transform: translateY(-2px); }
.mg8-btn--dark { background: var(--ink); color: #fff; }
.mg8-btn--dark:hover { background: #0c150f; color: #fff; transform: translateY(-2px); }
.mg8-btn--ghost { background: transparent; border: 1.5px solid var(--line2); color: var(--ink); }
.mg8-btn--ghost:hover { border-color: var(--green); color: var(--green-d); background: var(--green-soft); }
.mg8-btn--white { background: #fff; color: var(--green-d); }
.mg8-btn--white:hover { color: var(--green-d); transform: translateY(-2px); }
.mg8-btn--sm { padding: 9px 18px; font-size: 13px; }
.mg8-btn--lg { padding: 15px 34px; font-size: 16px; }

/* HEADER */
#mg8-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--hh);
  background: rgba(244,247,244,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mg8-header__inner { display: flex; align-items: center; gap: 20px; height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.mg8-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mg8-logo img { height: 38px; width: auto; }
.mg8-logo__text { font-family: var(--font-h); font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.mg8-logo__text b { color: var(--green); }
.mg8-nav { display: flex; align-items: center; height: 100%; flex: 1; }
.mg8-nav ul { display: flex; align-items: center; gap: 2px; }
.mg8-nav ul li a { display: flex; align-items: center; padding: 9px 15px; border-radius: 50px; font-size: 14px; font-weight: 500; color: var(--ink2); transition: all .15s; white-space: nowrap; }
.mg8-nav ul li a:hover, .mg8-nav ul li.current-menu-item a { color: var(--green-d); background: var(--green-soft); }
.mg8-header__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.mg8-hamburger { display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 40px; height: 40px; cursor: pointer; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); }
.mg8-hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.mg8-mobile-nav { display: block; position: fixed; top: var(--hh); right: 0; width: 300px; height: calc(100vh - var(--hh)); background: #fff; border-left: 1px solid var(--line); z-index: 190; overflow-y: auto; padding: 16px 0 80px; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-m); }
.mg8-mobile-nav.open { transform: translateX(0); }
.mg8-mobile-nav ul li { border-bottom: 1px solid var(--line); }
.mg8-mobile-nav ul li a { display: block; padding: 15px 24px; font-size: 15px; font-weight: 500; color: var(--ink); }
.mg8-mobile-nav ul li a:hover { color: var(--green-d); background: var(--green-soft); }
.mg8-mobile-nav__cta { padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.mg8-mobile-nav__cta .mg8-btn { width: 100%; }

/* ===== BENTO HERO GRID ===== */
#mg8-bento { padding: 32px 0 16px; }
.mg8-bento { max-width: 1240px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); gap: 16px; }

/* Big hero tile - spans 2x2 */
.mg8-tile { border-radius: var(--r2); overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; }
.mg8-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }

.mg8-tile--hero { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; }
.mg8-tile--hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%); }
.mg8-hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.18); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 50px; align-self: flex-start; position: relative; z-index: 1; }
.mg8-hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.mg8-hero-main { position: relative; z-index: 1; }
.mg8-hero-title { font-size: 40px; font-weight: 700; color: #fff; line-height: 1.05; margin-bottom: 14px; }
.mg8-hero-desc { font-size: 16px; color: rgba(255,255,255,.9); margin-bottom: 24px; max-width: 400px; }
.mg8-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Bonus tile - gold */
.mg8-tile--bonus { grid-column: span 2; background: var(--panel); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.mg8-bonus-label { font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.mg8-bonus-big { font-family: var(--font-h); font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.mg8-bonus-big span { color: var(--green); }
.mg8-bonus-sub { font-size: 14px; color: var(--ink3); margin-bottom: 16px; }
.mg8-bonus-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.mg8-bonus-tag { font-size: 12px; font-weight: 600; color: var(--green-d); background: var(--green-soft); border-radius: 8px; padding: 5px 11px; }

/* Small stat tiles */
.mg8-tile--stat { background: var(--panel); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.mg8-stat-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.mg8-stat-icon svg { width: 22px; height: 22px; stroke: var(--green); }
.mg8-stat-num { font-family: var(--font-h); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1; }
.mg8-stat-label { font-size: 13px; color: var(--ink3); margin-top: 4px; }

/* Image tile */
.mg8-tile--img { grid-column: span 2; background: var(--ink); position: relative; }
.mg8-hero-tile__img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.mg8-tile--img .mg8-img-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,35,26,.7) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 24px; }
.mg8-img-overlay strong { color: #fff; font-family: var(--font-h); font-size: 20px; font-weight: 600; }
.mg8-tile--img-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ink), #0c150f); color: rgba(255,255,255,.5); font-size: 14px; text-align: center; padding: 20px; min-height: 180px; }

/* ===== SECTION ===== */
.mg8-section { padding: 56px 0; }
.mg8-section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.mg8-section__tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--green-d); background: var(--green-soft); padding: 5px 14px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.mg8-section__title { font-size: 34px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.mg8-section__sub { font-size: 16px; color: var(--ink3); }

/* PROMOS BENTO (real bonuses) */
.mg8-promos { max-width: 1240px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.mg8-promo { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: 26px; transition: all .2s; display: flex; flex-direction: column; }
.mg8-promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--green-l); }
.mg8-promo--feat { background: linear-gradient(135deg, var(--green-soft), #fff); border-color: var(--green-l); grid-row: span 2; justify-content: center; }
.mg8-promo__pct { font-family: var(--font-h); font-size: 40px; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 8px; }
.mg8-promo--feat .mg8-promo__pct { font-size: 56px; }
.mg8-promo__name { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.mg8-promo__desc { font-size: 14px; color: var(--ink3); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.mg8-promo__terms { font-size: 12px; color: var(--ink3); padding-top: 12px; border-top: 1px solid var(--line); }

/* GAMES ROW */
.mg8-games { max-width: 1240px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mg8-game { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: all .2s; }
.mg8-game:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.mg8-game__thumb { height: 120px; background: linear-gradient(135deg, var(--green-l), var(--green-d)); display: flex; align-items: center; justify-content: center; position: relative; }
.mg8-game__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mg8-game__thumb span { color: #fff; font-family: var(--font-h); font-weight: 600; font-size: 14px; text-align: center; padding: 0 8px; }
.mg8-game__body { padding: 12px 14px; }
.mg8-game__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.mg8-game__prov { font-size: 12px; color: var(--ink3); margin-top: 2px; }

/* PROVIDERS STRIP */
#mg8-providers { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mg8-providers__inner { max-width: 1240px; margin: 0 auto; padding: 26px 22px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.mg8-providers__label { font-size: 13px; font-weight: 600; color: var(--ink3); width: 100%; text-align: center; margin-bottom: 6px; }
.mg8-provider { font-family: var(--font-h); font-size: 15px; font-weight: 600; color: var(--ink2); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 18px; }

/* STEPS INLINE */
.mg8-steps { max-width: 1000px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mg8-step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: 26px 22px; position: relative; }
.mg8-step__num { font-family: var(--font-h); font-size: 15px; font-weight: 700; color: #fff; background: var(--green); width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.mg8-step h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.mg8-step p { font-size: 14px; color: var(--ink3); }

/* FAQ */
.mg8-faq { max-width: 800px; margin: 0 auto; padding: 0 22px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__block { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.accordion__block:hover { border-color: var(--green-l); box-shadow: var(--shadow-s); }
.faq__box { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; user-select: none; gap: 16px; }
.faq__box h3 { font-family: var(--font-h); font-size: 16px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.4; flex: 1; }
.faq__plus { width: 28px; height: 28px; flex-shrink: 0; position: relative; background: var(--green-soft); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.faq__plus span { position: absolute; background: var(--green); border-radius: 2px; transition: transform .25s, opacity .25s; }
.faq__plus span:first-child { width: 12px; height: 2px; }
.faq__plus span:last-child { width: 2px; height: 12px; }
.faq__box.open .faq__plus span:last-child { transform: rotate(90deg); opacity: 0; }
.faq__box.open .faq__plus { background: var(--green); }
.faq__box.open .faq__plus span { background: #fff; }
.submenu { box-sizing: border-box; display: none; padding: 0 24px 20px; }
.submenu p, .submenu li, .submenu div { font-size: 15px !important; line-height: 1.7 !important; color: var(--ink3) !important; }
.submenu strong, .submenu b { color: var(--ink2) !important; }
.submenu a { color: var(--green-d) !important; }
.faq__box .ez-toc-section, .faq__box .ez-toc-section-end { display: none !important; }

/* MAIN CONTENT */
#mg8-main { max-width: 840px; margin: 0 auto; padding: 56px 22px; }
.mg8-entry-title { font-size: 36px; font-weight: 700; color: var(--ink); margin-bottom: 22px; line-height: 1.15; }
.mg8-entry { color: var(--ink2); }
.mg8-entry p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; color: var(--ink2); }
.mg8-entry h2 { font-size: 27px; font-weight: 700; color: var(--ink); margin: 38px 0 16px; }
.mg8-entry h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 26px 0 12px; }
.mg8-entry a { color: var(--green-d); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.mg8-entry ul, .mg8-entry ol { margin: 0 0 20px; padding-left: 4px; }
.mg8-entry ul li, .mg8-entry ol li { position: relative; padding: 8px 0 8px 32px; font-size: 16px; line-height: 1.7; }
.mg8-entry ul li::before { content: ''; position: absolute; left: 6px; top: 15px; width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.mg8-entry ol { counter-reset: oc; }
.mg8-entry ol li { counter-increment: oc; }
.mg8-entry ol li::before { content: counter(oc); position: absolute; left: 0; top: 8px; width: 22px; height: 22px; background: var(--green-soft); color: var(--green-d); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.mg8-entry table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.mg8-entry table th { background: var(--green-soft); color: var(--ink); font-weight: 700; font-size: 14px; padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.mg8-entry table td { padding: 12px 16px; font-size: 14px; color: var(--ink2); border-bottom: 1px solid var(--line); }
.mg8-entry table tr:last-child td { border-bottom: none; }
.mg8-entry blockquote { margin: 24px 0; padding: 18px 24px; background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 0 var(--r) var(--r) 0; }
.mg8-entry blockquote p { margin: 0; color: var(--ink2); font-style: italic; }
.mg8-entry img { border-radius: var(--r2); margin: 20px 0; }

/* PAGINATION */
.mg8-pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; }
.mg8-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; font-weight: 600; color: var(--ink2); transition: all .15s; }
.mg8-pagination .page-numbers:hover, .mg8-pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }

/* COMMENTS */
.mg8-comments { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.mg8-comments h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
ol.comment-list { list-style: none; padding: 0; }
.comment-item { display: flex; gap: 14px; margin-bottom: 22px; }
.comment-avatar img { width: 44px; height: 44px; border-radius: 50%; }
.comment-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.comment-text { font-size: 15px; line-height: 1.6; color: var(--ink2); margin-top: 4px; }
.cf-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink2); margin: 12px 0 5px; }
.cf-input, .cf-textarea { width: 100%; max-width: 420px; background: #fff; border: 1.5px solid var(--line2); border-radius: var(--r); color: var(--ink); font-family: var(--font); font-size: 15px; padding: 11px 15px; outline: none; transition: border-color .15s; }
.cf-input:focus, .cf-textarea:focus { border-color: var(--green); }
.cf-textarea { max-width: 560px; height: 120px; resize: vertical; }

/* 404 */
.mg8-notfound { text-align: center; padding: 90px 22px; max-width: 600px; margin: 0 auto; }
.mg8-notfound h1 { font-size: 96px; font-weight: 700; color: var(--green); opacity: .2; }
.mg8-notfound h2 { font-size: 28px; color: var(--ink); margin: 8px 0 12px; }
.mg8-notfound p { color: var(--ink3); margin-bottom: 26px; font-size: 16px; }
.mg8-search-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mg8-search-form input { background: #fff; border: 1.5px solid var(--line2); border-radius: 50px; color: var(--ink); font-size: 15px; padding: 13px 22px; outline: none; width: 320px; }
.mg8-search-form input:focus { border-color: var(--green); }

/* FOOTER */
#mg8-footer { background: var(--ink); color: #9db0a5; padding: 56px 0 0; margin-top: 40px; }
.mg8-footer__body { max-width: 1240px; margin: 0 auto; padding: 0 22px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,.09); }
.mg8-footer__brand-name { font-family: var(--font-h); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; display: block; }
.mg8-footer__brand-name b { color: var(--green-l); }
.mg8-footer__desc { font-size: 14px; line-height: 1.7; color: #9db0a5; margin-bottom: 18px; max-width: 300px; }
.mg8-footer__since { display: inline-block; font-size: 12px; font-weight: 600; color: var(--lime); background: rgba(168,224,99,.1); border: 1px solid rgba(168,224,99,.2); border-radius: 50px; padding: 4px 12px; }
.mg8-footer__pay { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.mg8-footer__pay span { font-size: 11px; font-weight: 600; color: #c5d4cb; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 4px 9px; }
.mg8-footer__col-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; display: block; }
.mg8-footer__links li { margin-bottom: 10px; }
.mg8-footer__links li a { font-size: 14px; color: #9db0a5; transition: color .15s; }
.mg8-footer__links li a:hover { color: #fff; }
.mg8-footer__bottom { max-width: 1240px; margin: 0 auto; padding: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.mg8-footer__copy { font-size: 13px; color: #6d8177; }
.mg8-footer__copy a { color: #9db0a5; }
.mg8-footer__badges { display: flex; align-items: center; gap: 12px; }
.mg8-age { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 50px; }
.mg8-footer__resp { font-size: 12px; color: #6d8177; }

/* MOBILE BOTTOM NAV */
#mg8-mobnav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 8px 0; z-index: 200; box-shadow: 0 -2px 16px rgba(20,35,26,.06); }
.mg8-mobnav__row { display: flex; align-items: center; justify-content: space-around; }
.mg8-mobnav__link { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 8px; }
.mg8-mobnav__link svg { width: 20px; height: 20px; stroke: var(--ink3); fill: none; }
.mg8-mobnav__link span { font-size: 10px; font-weight: 600; color: var(--ink3); }
.mg8-mobnav__link:hover svg { stroke: var(--green); }
.mg8-mobnav__link:hover span { color: var(--green-d); }
.mg8-mobnav__cta a { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--green); border-radius: 50%; box-shadow: var(--shadow-g); margin-top: -18px; }
.mg8-mobnav__cta svg { width: 24px; stroke: #fff; fill: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .mg8-games { grid-template-columns: repeat(3, 1fr); }
  .mg8-promos { grid-template-columns: repeat(2, 1fr); }
  .mg8-promo--feat { grid-row: span 1; }
}
@media (max-width: 900px) {
  .mg8-nav { display: none; }
  .mg8-hamburger { display: flex; }
  .mg8-bento { grid-template-columns: repeat(2, 1fr); }
  .mg8-tile--hero { grid-column: span 2; grid-row: span 1; }
  .mg8-tile--bonus { grid-column: span 2; }
  .mg8-tile--img { grid-column: span 2; }
}
@media (max-width: 768px) {
  :root { --hh: 58px; }
  .mg8-section { padding: 40px 0; }
  .mg8-hero-title { font-size: 30px; }
  .mg8-section__title { font-size: 26px; }
  .mg8-steps { grid-template-columns: 1fr 1fr; }
  .mg8-footer__body { grid-template-columns: 1fr 1fr; gap: 28px; }
  #mg8-main { padding: 40px 20px; }
  .mg8-entry-title { font-size: 28px; }
  #mg8-mobnav { display: block; }
  body { padding-bottom: 68px; }
  .mg8-header__cta .mg8-btn--ghost { display: none; }
  .mg8-tile--hero { padding: 28px; }
}
@media (max-width: 560px) {
  .mg8-bento { grid-template-columns: 1fr; }
  .mg8-tile--hero, .mg8-tile--bonus, .mg8-tile--img, .mg8-tile--stat { grid-column: span 1; }
  .mg8-games { grid-template-columns: 1fr 1fr; }
  .mg8-promos { grid-template-columns: 1fr; }
  .mg8-steps { grid-template-columns: 1fr; }
  .mg8-footer__body { grid-template-columns: 1fr; }
  .mg8-hero-title { font-size: 26px; }
}
