/*
Theme Name: Money Maker Links
Theme URI: https://moneymakerlinks.com/
Author: Mass Density, Inc.
Author URI: https://massdensity.com/
Description: Bold, fun, AI-marketing-centric theme for Money Maker Links — affiliate programs, money tools, books, videos, arcade games, partner network and a built-in mailing list with double opt-in, unsubscribe and broadcast email.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: moneymakerlinks
*/

/* =========================================================== Tokens */
:root {
  --navy: #0B1026;
  --ink: #0B1026;
  --ink-2: #3a3f5c;
  --muted: #5b6080;
  --cream: #FFF9EC;
  --paper: #FFFFFF;
  --tint: #F2FFF6;
  --green: #00C853;
  --green-d: #00A846;
  --lime: #B2FF59;
  --gold: #FFC400;
  --gold-l: #FFE45C;
  --pink: #FF2E88;
  --purple: #7C4DFF;
  --blue: #2962FF;
  --cyan: #00E5FF;
  --line: 3px solid var(--navy);
  --shadow: 6px 6px 0 var(--navy);
  --shadow-sm: 4px 4px 0 var(--navy);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: 'Poppins', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1200px;
}

/* =========================================================== Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.65 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pink); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--gold); padding: 10px 16px; border: var(--line); border-radius: 10px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.mt { margin-top: 32px; }
.mb { margin-bottom: 32px; }
.big-emoji { font-size: 56px; line-height: 1; margin: 0 0 10px; }
.mml-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grad { background: linear-gradient(90deg, var(--green), var(--cyan) 50%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================== Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.1; padding: 13px 22px; border: var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease; white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn--sm { font-size: 14px; padding: 9px 14px; border-radius: 11px; }
.btn--gold { background: var(--gold); }
.btn--green { background: var(--green); }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { color: #fff; }
.btn--white { background: #fff; }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--gold-l); box-shadow: var(--shadow-sm); }
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 rgba(255,255,255,.35); }
.btn--outline-light:hover { color: var(--ink); background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { display: inline-block; font: 700 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 99px; background: var(--c, var(--green)); color: #fff; text-decoration: none; border: 2px solid var(--navy); }
.chip:hover { color: #fff; filter: brightness(1.08); }
.chip--sm { font-size: 11px; padding: 4px 8px; background: var(--gold); color: var(--ink); }
.chip--light { background: #fff; color: var(--ink); }
.eyebrow { display: inline-block; font: 800 13px/1 var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--pink); margin-bottom: 10px; }
.eyebrow--light { color: var(--gold); }

/* =========================================================== Ticker */
.ticker { background: var(--navy); color: #fff; overflow: hidden; border-bottom: 3px solid var(--gold); }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { color: #fff; text-decoration: none; font: 700 13px/1 var(--font-body); padding: 10px 26px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.15); }
.ticker__item:hover { color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================== Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,249,236,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: var(--line); transition: box-shadow .2s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 0 rgba(11,16,38,.08); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand .logo-mark { width: 50px; height: 50px; transition: transform .3s; }
.brand:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 900; line-height: .92; letter-spacing: -.02em; }
.brand__top { font-size: 17px; color: var(--ink); }
.brand__bottom { font-size: 24px; background: linear-gradient(90deg, var(--green), #00B8D4 60%, var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.custom-logo-link img { max-height: 56px; width: auto; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.main-nav .menu { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: 9px 11px; border-radius: 10px; color: var(--ink); font: 700 15px/1 var(--font-body); text-decoration: none; }
.main-nav .menu a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: var(--gold-l); color: var(--ink); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); list-style: none; padding: 6px; margin: 0; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.nav-search { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border: var(--line); border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 3px 3px 0 var(--navy); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 3px; background: var(--navy); border-radius: 2px; transition: .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.search-panel { border-top: 2px dashed rgba(11,16,38,.2); padding: 14px 0; background: var(--cream); }
.search-form { display: flex; gap: 10px; }
.search-form__input, .mml-sub input[type=email], .mml-sub input[type=text], .fields input, .fields select, .mml-contact input, .mml-contact select, .mml-contact textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea, .filter-search {
  width: 100%; padding: 12px 14px; border: var(--line); border-radius: 12px; background: #fff; font-size: 16px; min-width: 0;
}
.search-form__input:focus, .mml-sub input:focus, .fields input:focus, .fields select:focus { outline: none; box-shadow: 0 0 0 4px rgba(124,77,255,.3); }

@media (max-width: 1100px) {
  .main-nav .menu a { padding: 9px 8px; font-size: 14px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: var(--cream); border-left: var(--line); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 90px 20px 20px; transform: translateX(105%); transition: transform .25s ease; z-index: 60; overflow-y: auto; }
  .main-nav.is-open { transform: none; box-shadow: -10px 0 0 rgba(11,16,38,.15); }
  .main-nav .menu { flex-direction: column; gap: 4px; }
  .main-nav .menu a { font-size: 18px; padding: 14px 12px; border: 2px solid transparent; }
  .main-nav .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding-left: 12px; }
  .nav-search { display: block; margin-top: 12px; }
  .nav-search input { width: 100%; padding: 12px; border: var(--line); border-radius: 12px; }
  .site-header__actions { margin-left: auto; z-index: 61; }
  .site-header__inner { gap: 10px; }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
  .brand .logo-mark { width: 42px; height: 42px; }
  .brand__top { font-size: 14px; } .brand__bottom { font-size: 20px; }
}

/* =========================================================== Hero */
.hero, .join-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 10%, rgba(124,77,255,.55), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(0,200,83,.45), transparent 60%), var(--navy); color: #fff; padding: 64px 0 40px; border-bottom: var(--line); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 2px); background-size: 28px 28px; }
.float-coin { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; color: var(--navy); font: 900 26px/46px var(--font-display); text-align: center; box-shadow: 4px 4px 0 rgba(0,0,0,.35); animation: floaty 7s ease-in-out infinite; opacity: .85; }
.float-coin.c1 { top: 12%; left: 4%; }
.float-coin.c2 { top: 70%; left: 44%; transform: scale(.7); animation-delay: -2s; }
.float-coin.c3 { top: 18%; left: 52%; transform: scale(.55); animation-delay: -4s; }
.float-coin.c4 { top: 80%; left: 92%; animation-delay: -1s; }
.float-coin.c5 { top: 6%; left: 88%; transform: scale(.8); animation-delay: -3s; }
@keyframes floaty { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -18px; rotate: 18deg; } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(42px, 6.4vw, 82px); font-weight: 900; line-height: .98; margin: 0 0 18px; text-shadow: 5px 5px 0 var(--pink); }
.hero__text { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.88); max-width: 600px; }
.hero__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero__art { display: flex; justify-content: center; }
.hero-stack { position: relative; width: 380px; height: 380px; max-width: 100%; }
.hero-coin { position: absolute; inset: 50px; animation: spin 12s linear infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.hero-coin__svg { width: 100%; height: 100%; }
@keyframes spin { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(8deg) scale(1.04); } }
.hero-card { position: absolute; z-index: 2; background: #fff; color: var(--ink); border: var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px 14px; display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; animation: floaty 6s ease-in-out infinite; }
.hero-card span { grid-row: span 2; font-size: 28px; }
.hero-card b { font: 900 24px/1 var(--font-display); }
.hero-card small { font-size: 12px; color: var(--muted); font-weight: 600; }
.hero-card--1 { top: 0; left: -10px; background: var(--lime); }
.hero-card--2 { top: 150px; right: -20px; animation-delay: -2s; background: var(--gold-l); }
.hero-card--3 { bottom: 0; left: 30px; animation-delay: -4s; background: #FFD1E6; }
.stats { position: relative; list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats li { background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.25); border-radius: 16px; padding: 16px; text-align: center; }
.stats b { display: block; font: 900 34px/1 var(--font-display); color: var(--gold); }
.stats span { font-size: 14px; color: rgba(255,255,255,.8); font-weight: 600; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================== Subscribe forms */
.mml-sub { position: relative; margin: 0; }
.mml-sub__row { display: flex; gap: 10px; }
.mml-sub--hero { margin-top: 22px; max-width: 580px; }
.mml-sub--hero .mml-sub__row { background: #fff; border: var(--line); border-radius: 18px; padding: 6px; box-shadow: 6px 6px 0 var(--pink); }
.mml-sub--hero input[type=email] { border: 0; font-size: 17px; }
.mml-sub--hero input[type=email]:focus { box-shadow: none; }
.mml-sub--stack .mml-sub__row { flex-direction: column; }
.mml-sub--stack .btn { width: 100%; }
.mml-sub__note { font-size: 13px; margin: 8px 0 0; opacity: .75; }
.mml-sub__msg { font-weight: 700; margin-top: 8px; font-size: 15px; }
.mml-sub__msg:empty { display: none; }
.mml-sub__msg.is-ok { color: var(--green-d); }
.mml-sub__msg.is-err { color: #d6003e; }
.hero .mml-sub__msg.is-ok, .join-hero .mml-sub__msg.is-ok, .footer-cta .mml-sub__msg.is-ok { color: var(--lime); }
.hero .mml-sub__msg.is-err, .footer-cta .mml-sub__msg.is-err { color: #FFB3CF; }
@media (max-width: 560px) {
  .mml-sub__row { flex-direction: column; }
  .mml-sub__row .btn { width: 100%; }
}
.mml-notice { border: var(--line); border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; font-weight: 700; box-shadow: var(--shadow-sm); background: #fff; }
.mml-notice--ok { background: #D7FFE6; }
.mml-notice--info { background: #FFF4C2; }
.mml-notice--err { background: #FFE0EC; }
.confetti { position: fixed; z-index: 9999; width: 10px; height: 14px; border-radius: 2px; pointer-events: none; color: var(--green-d); font: 900 20px/1 var(--font-display); animation: confetti 1.1s ease-out forwards; }
@keyframes confetti { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

/* =========================================================== Sections */
.section { padding: 64px 0; }
.section--tint { background: var(--tint); border-top: var(--line); border-bottom: var(--line); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .section-title { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; margin: 0; }
.section-sub { margin: -14px 0 22px; color: var(--muted); }
.section--dark .btn--ghost { color: #fff; border-color: #fff; }
.section--dark .btn--ghost:hover { color: var(--ink); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 48px 0; } }
.card-box { background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } *, .ticker__track, .float-coin, .hero-card, .hero-coin { animation: none !important; transition: none !important; } }

/* =========================================================== Post cards */
.post-card { background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--navy); }
.post-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: var(--line); background: var(--gold-l); }
.post-card__img img, .post-card__img .thumb-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; align-items: flex-start; }
.post-card__title { font-size: 20px; font-weight: 800; margin: 0; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--green-d); }
.post-card__excerpt { color: var(--ink-2); font-size: 15px; margin: 0; }
.post-card__meta { margin-top: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.post-card--feature .post-card__title { font-size: clamp(22px, 2.6vw, 30px); }
.section--dark .post-card { color: var(--ink); }
.thumb-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c), var(--gold)); font-size: 56px; }
.latest-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
@media (max-width: 980px) { .latest-layout { grid-template-columns: 1fr; } }
.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini-post { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.mini-post__img { flex: none; width: 88px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; border: 2px solid var(--navy); }
.mini-post__img img, .mini-post__img .thumb-fallback { width: 100%; height: 100%; object-fit: cover; font-size: 26px; }
.mini-post__body { display: flex; flex-direction: column; gap: 3px; }
.mini-post__cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.mini-post__title { font: 700 14px/1.3 var(--font-body); }
.mini-post:hover .mini-post__title { text-decoration: underline; }

/* =========================================================== Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 20px; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: var(--c); color: #fff; text-decoration: none; isolation: isolate; transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: 9px 9px 0 var(--navy); color: #fff; }
.cat-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.cat-tile:hover .cat-tile__img { transform: scale(1.06); }
.cat-tile__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, color-mix(in srgb, var(--c) 45%, #0B1026) 85%); }
.cat-tile__icon { position: absolute; top: 14px; left: 14px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #fff; border: var(--line); border-radius: 14px; font-size: 26px; box-shadow: var(--shadow-sm); }
.cat-tile__name { font: 900 24px/1.1 var(--font-display); text-shadow: 2px 2px 0 var(--navy); }
.cat-tile__count { font-weight: 700; font-size: 14px; opacity: .95; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } .cat-tile { min-height: 160px; } }

/* =========================================================== Programs */
.program { position: relative; background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.program[hidden] { display: none; }
.program__hot { position: absolute; top: -14px; right: 16px; background: var(--pink); color: #fff; font: 800 12px/1 var(--font-body); padding: 7px 10px; border: 2px solid var(--navy); border-radius: 99px; transform: rotate(3deg); }
.program__top { display: flex; gap: 12px; align-items: center; }
.program__logo { width: 50px; height: 50px; flex: none; display: flex; align-items: center; justify-content: center; border: var(--line); border-radius: 14px; background: linear-gradient(135deg, var(--gold), var(--lime)); font: 900 24px/1 var(--font-display); }
.program:nth-child(3n+2) .program__logo { background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #fff; }
.program:nth-child(3n+3) .program__logo { background: linear-gradient(135deg, var(--pink), var(--gold)); }
.program__name { font-size: 20px; margin: 0; }
.program__cat { font-size: 13px; color: var(--muted); font-weight: 600; }
.program__commission { font: 900 20px/1.2 var(--font-display); color: var(--green-d); background: var(--tint); border: 2px dashed var(--green); border-radius: 12px; padding: 10px 12px; }
.program__blurb { color: var(--ink-2); font-size: 15px; margin: 0; }
.program__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.disclosure { font-size: 13px; color: var(--muted); margin: 26px 0 0; padding: 12px 16px; border-left: 4px solid var(--gold); background: rgba(255,196,0,.08); border-radius: 0 10px 10px 0; }
.section--dark .disclosure { color: rgba(255,255,255,.7); }
.pay-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.pay-type { background: #fff; border: var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); }
.pay-type span { font-size: 28px; } .pay-type b { display: block; font: 800 18px var(--font-display); } .pay-type p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 700px) { .pay-types { grid-template-columns: 1fr; } }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; align-items: center; }
.filter-bar button { border: var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.filter-bar button.is-active, .filter-bar button:hover { background: var(--gold); }
.filter-search { max-width: 240px; margin-left: auto; padding: 9px 14px; border-radius: 99px; }
@media (max-width: 700px) { .filter-search { max-width: none; margin-left: 0; } }
.no-results { font-weight: 700; }
.steps { padding-left: 22px; } .steps li { margin-bottom: 8px; }

/* =========================================================== AI section */
.ai-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.ai-promo { background: linear-gradient(160deg, var(--purple), #3d1fa3); border: 3px solid #fff; border-radius: var(--radius); padding: 26px; box-shadow: 6px 6px 0 var(--gold); }
.ai-promo h3 { color: #fff; font-size: 26px; }
.ai-promo .eyebrow { color: var(--gold); }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; }
.check-list li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed rgba(255,255,255,.25); }
.check-list li::before { content: '✔'; position: absolute; left: 0; top: 8px; color: var(--lime); font-weight: 900; }
.check-list a { color: #fff; }
.check-list--light li { border-color: rgba(255,255,255,.2); }
@media (max-width: 900px) { .ai-layout { grid-template-columns: 1fr; } }

/* =========================================================== Tool tiles */
.tool-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .15s, background .15s; }
.tool-tile:hover { transform: translate(-3px, -3px) rotate(-1deg); background: var(--gold-l); color: var(--ink); }
.tool-tile__icon { font-size: 34px; }
.tool-tile__name { font: 800 17px/1.2 var(--font-display); }
.tool-tile__desc { font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .tool-tiles { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================== Books */
.book-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
@media (max-width: 1000px) { .book-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .book-row { grid-template-columns: repeat(2, 1fr); } }
.book-mini { text-decoration: none; display: block; }
.book__cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 2 / 3; padding: 16px 14px; border: var(--line); border-radius: 6px 14px 14px 6px; background: linear-gradient(160deg, var(--b1) 0%, var(--b1) 55%, var(--b2) 55.5%, var(--b2) 100%); color: #fff; text-decoration: none; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s; }
.book__cover::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 3px; background: rgba(255,255,255,.35); }
.book-mini:hover .book__cover, .book__cover:hover { transform: translate(-3px, -4px) rotate(-2deg); }
.book__tag { position: absolute; top: 12px; right: 10px; background: var(--gold); color: var(--ink); font: 800 10px/1 var(--font-body); text-transform: uppercase; padding: 5px 7px; border-radius: 99px; border: 2px solid var(--navy); }
.book__title { font: 900 clamp(15px, 1.5vw, 19px)/1.1 var(--font-display); text-shadow: 2px 2px 0 rgba(0,0,0,.45); margin-bottom: 6px; }
.book__author { font: 600 12px/1.2 var(--font-body); background: rgba(11,16,38,.75); padding: 4px 6px; border-radius: 6px; align-self: flex-start; }
.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.book { display: grid; grid-template-columns: 150px 1fr; gap: 20px; background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.book h3 { font-size: 21px; margin: 0; }
.book__by { color: var(--muted); font-weight: 600; font-size: 14px; margin: 2px 0 8px; }
@media (max-width: 800px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .book { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; } }

/* =========================================================== Videos */
.video { background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.video__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-bottom: var(--line); background: #000; overflow: hidden; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; }
.video__thumb:hover img { transform: scale(1.05); opacity: .85; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 46px; border-radius: 14px; background: #FF0033; color: #fff; font-size: 22px; line-height: 46px; border: 3px solid #fff; box-shadow: 3px 3px 0 var(--navy); }
.video__iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-bottom: var(--line); display: block; }
.video__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.video__title { font-size: 16px; margin: 0; line-height: 1.3; }
.video__title a { color: var(--ink); text-decoration: none; }
.video__title a:hover { text-decoration: underline; }
.video__channel { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.opp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.opp { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .15s; }
.opp:hover { transform: translate(-2px, -3px); background: #FFF0F6; color: var(--ink); }
.opp__icon { font-size: 30px; } .opp b { font: 800 17px/1.2 var(--font-display); } .opp span { font-size: 14px; color: var(--ink-2); } .opp em { margin-top: auto; font-style: normal; font-weight: 800; color: #E0002B; font-size: 13px; }
@media (max-width: 900px) { .opp-grid { grid-template-columns: repeat(2, 1fr); } }
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.channel { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); }
.channel:hover { background: var(--gold-l); color: var(--ink); }
.channel__avatar { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; background: #FF0033; color: #fff; border: var(--line); border-radius: 50%; font: 900 20px var(--font-display); }
.channel b { display: block; } .channel small { color: var(--ink-2); font-size: 13px; }
@media (max-width: 640px) { .channel-grid { grid-template-columns: 1fr; } .opp-grid { grid-template-columns: 1fr; } }

/* =========================================================== Tips + arcade teaser */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.tip-box { background: var(--gold-l); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.tip-box__tip { font: 800 clamp(20px, 2.2vw, 26px)/1.3 var(--font-display); }
.tip-box__tip.pop { animation: pop .35s ease; }
@keyframes pop { 0% { transform: scale(.95); opacity: .3; } 100% { transform: none; opacity: 1; } }
.quick-tips { margin: 20px 0 0; padding-left: 20px; font-weight: 600; }
.quick-tips li { margin-bottom: 6px; }
.arcade-teaser { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--navy); color: #fff; border: var(--line); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--pink); padding: 24px; text-decoration: none; }
.arcade-teaser:hover { color: #fff; }
.arcade-teaser__screen { position: relative; width: 100%; height: 150px; border-radius: 12px; border: 3px solid var(--cyan); background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 4px), linear-gradient(#1b1f5e, #0B1026); overflow: hidden; margin-bottom: 8px; }
.px-coin { position: absolute; top: -30px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy); font: 900 16px/30px var(--font-display); text-align: center; animation: fall 2.6s linear infinite; }
.px-coin:nth-child(1) { left: 20%; } .px-coin:nth-child(2) { left: 55%; animation-delay: -1s; } .px-coin:nth-child(3) { left: 80%; animation-delay: -1.8s; }
@keyframes fall { to { top: 160px; } }
.arcade-teaser__press { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font: 900 16px var(--font-display); color: var(--lime); letter-spacing: .15em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.arcade-teaser__title { font: 900 28px/1.1 var(--font-display); }
.arcade-teaser__text { color: rgba(255,255,255,.8); }

/* =========================================================== Partners */
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; min-height: 250px; border: var(--line); border-radius: var(--radius); background: linear-gradient(150deg, var(--p1), var(--p2)); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.partner:hover { color: #fff; transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--navy); }
.partner__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: #fff; border: var(--line); border-radius: 14px; margin-bottom: 6px; }
.partner__name { font: 900 22px/1.1 var(--font-display); }
.partner__tag { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.partner__desc { font-size: 14px; opacity: .92; }
.partner__url { margin-top: auto; font-weight: 800; font-size: 13px; background: rgba(0,0,0,.25); padding: 6px 10px; border-radius: 99px; align-self: flex-start; }
.partner-grid--big { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-grid--big .partner { min-height: 280px; padding: 26px; }
.partner-grid--big .partner__desc { font-size: 16px; }
@media (max-width: 1100px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .partner-grid, .partner-grid--big { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .partner-grid, .partner-grid--big { grid-template-columns: 1fr; } .partner { min-height: 0; } }
.partner-cta, .arcade-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.partner-cta h2, .arcade-cta h2 { margin-bottom: 4px; }
.arcade-cta .mml-sub { flex: 1; min-width: 280px; max-width: 520px; }

/* =========================================================== CTA band */
.cta-band { background: linear-gradient(120deg, var(--green) 0%, #00B8D4 55%, var(--purple) 100%); border-top: var(--line); border-bottom: var(--line); padding: 56px 0; }
.cta-band__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); text-shadow: 3px 3px 0 var(--navy); }
.cta-band p { color: #fff; font-weight: 600; font-size: 18px; }
.cta-band .eyebrow { color: var(--navy); background: var(--gold); padding: 6px 10px; border-radius: 99px; border: 2px solid var(--navy); }
.cta-band__form { background: #fff; border: var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
@media (max-width: 800px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* =========================================================== Page hero */
.page-hero { position: relative; overflow: hidden; background: var(--c); color: #fff; padding: 56px 0; border-bottom: var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 20px, transparent 20px 52px); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,38,.55), rgba(11,16,38,.05)); }
.page-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-hero__title { color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 900; text-shadow: 4px 4px 0 var(--navy); margin: 0 0 12px; }
.page-hero__text { max-width: 680px; font-size: 18px; margin: 0; color: rgba(255,255,255,.95); font-weight: 500; }
.page-hero__emoji { flex: none; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; font-size: 76px; background: #fff; border: var(--line); border-radius: 36px; box-shadow: var(--shadow); transform: rotate(6deg); }
@media (max-width: 700px) { .page-hero__emoji { display: none; } .page-hero { padding: 40px 0; } }

/* =========================================================== Blog layout */
.cat-pills-wrap { margin-top: 26px; }
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-pills a { padding: 8px 14px; border: var(--line); border-radius: 99px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.cat-pills a:hover, .cat-pills a.is-active { background: var(--c, var(--gold)); color: #fff; }
.cat-pills a.is-active:first-child, .cat-pills a:first-child:hover { background: var(--navy); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; padding-top: 36px; padding-bottom: 64px; }
@media (max-width: 980px) { .content-layout { grid-template-columns: 1fr; } }
.sidebar { display: flex; flex-direction: column; gap: 22px; }
.side-box { background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; }
.side-title { font-size: 19px; margin-bottom: 14px; }
.side-box--sub { background: var(--gold-l); }
.side-programs { list-style: none; padding: 0; margin: 0 0 12px; }
.side-programs a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #ccd; text-decoration: none; color: var(--ink); font-size: 14px; }
.side-programs span { color: var(--green-d); font-weight: 700; text-align: right; }
.side-cats { list-style: none; padding: 0; margin: 0; }
.side-cats a { display: flex; justify-content: space-between; padding: 8px 10px; margin-bottom: 6px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; border-left: 5px solid var(--c); background: #fafafa; }
.side-cats a:hover { background: var(--gold-l); }
.side-cats b { background: var(--navy); color: #fff; border-radius: 99px; font-size: 12px; padding: 2px 8px; }
.side-arcade { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--navy); color: #fff; text-decoration: none; }
.side-arcade:hover { color: var(--gold); }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: var(--line); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 700; }
.pagination .current { background: var(--gold); }
.empty-state { text-align: center; }
.empty-state .search-form { max-width: 520px; margin: 20px auto; }
.empty-state .btn-row { justify-content: center; }

/* =========================================================== Single post */
.post-hero { position: relative; background: var(--c); color: #fff; padding: 44px 0 50px; border-bottom: var(--line); overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 18px, transparent 18px 46px), linear-gradient(90deg, rgba(11,16,38,.7), rgba(11,16,38,.25)); }
.post-hero__inner { position: relative; max-width: 960px; }
.crumbs { font-size: 14px; margin-bottom: 16px; color: rgba(255,255,255,.85); }
.crumbs a { color: #fff; }
.post-hero__title { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; margin: 14px 0 12px; text-shadow: 3px 3px 0 var(--navy); }
.post-hero__excerpt { font-size: 19px; max-width: 800px; color: rgba(255,255,255,.95); }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; font-size: 14px; }
.post-feature { margin: 0 0 28px; border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.entry-content { font-size: 18px; line-height: 1.75; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 30px; margin: 1.6em 0 .6em; padding-top: .2em; }
.entry-content h2::before { content: ''; display: block; width: 54px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green), var(--gold), var(--pink)); margin-bottom: 12px; }
.entry-content h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { font-weight: 600; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--gold-l); border: var(--line); border-radius: 14px; font-weight: 600; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5em 0; font-size: 15px; border: var(--line); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.entry-content thead th { background: var(--navy); color: #fff; text-align: left; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid #e3e3ea; vertical-align: top; }
.entry-content tbody tr:nth-child(even) { background: var(--tint); }
.mml-lead { font-size: 21px; line-height: 1.6; font-weight: 500; color: var(--ink-2); }
.mml-callout { margin: 1.6em 0; padding: 18px 22px; background: #E8FFF0; border: var(--line); border-left-width: 10px; border-left-color: var(--green); border-radius: 14px; box-shadow: var(--shadow-sm); }
.mml-callout--gold { background: #FFF6D1; border-left-color: var(--gold); }
.inline-sub { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 32px 0; padding: 22px; background: var(--navy); color: #fff; border: var(--line); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--green); }
.inline-sub b { font: 800 20px var(--font-display); }
.inline-sub p { margin: 0; opacity: .8; }
.inline-sub .mml-sub { flex: 1; min-width: 260px; max-width: 480px; }
.inline-sub .mml-sub__msg.is-ok { color: var(--lime); }
.post-foot { display: flex; flex-direction: column; gap: 16px; margin: 26px 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { padding: 5px 11px; background: #fff; border: 2px solid var(--navy); border-radius: 99px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink); }
.tag-list a:hover { background: var(--gold-l); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share a, .share button { padding: 7px 13px; border: 2px solid var(--navy); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.share a:hover, .share button:hover { background: var(--gold); color: var(--ink); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.post-nav__link { display: block; padding: 16px; background: #fff; border: var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; box-shadow: var(--shadow-sm); }
.post-nav__link small { display: block; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.post-nav__link--next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: auto; } .entry-content { font-size: 17px; } }
.comments { margin-top: 32px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .comment { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed #ccd; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 10px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 4px; }

/* =========================================================== Tools page */
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.jump-links a { padding: 8px 14px; border: var(--line); border-radius: 99px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.jump-links a:hover { background: var(--gold); }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tool { scroll-margin-top: 110px; }
.tool--wide { grid-column: 1 / -1; }
.tool h2 { font-size: 24px; margin-bottom: 4px; }
.tool__desc { color: var(--muted); }
.tool__note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.tool--wide .fields { grid-template-columns: repeat(4, 1fr); }
.fields label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 14px; }
.result { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.result .tool__note { grid-column: 1 / -1; margin: 0; }
.stat { background: var(--tint); border: 2px solid var(--navy); border-radius: 12px; padding: 10px 12px; }
.stat span { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.stat b { font: 900 20px/1.2 var(--font-display); }
.stat--big { background: var(--gold-l); grid-column: 1 / -1; }
.stat--big b { font-size: 30px; color: var(--ink); }
.stat .neg { color: #d6003e; }
.tool-chart { width: 100%; height: auto; margin-top: 14px; border: 2px solid var(--navy); border-radius: 12px; background: #fff; }
.output { width: 100%; padding: 14px; border: var(--line); border-radius: 12px; background: #0B1026; color: #D7FFE6; font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; margin-bottom: 10px; }
.headline-list { padding-left: 22px; font-weight: 700; margin: 0 0 12px; }
.headline-list li { padding: 5px 0; border-bottom: 1px dashed #dde; }
@media (max-width: 900px) { .tools-grid { grid-template-columns: 1fr; } .tool--wide .fields { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fields, .tool--wide .fields, .result { grid-template-columns: 1fr; } }

/* =========================================================== Resources */
.res-groups { columns: 3 320px; column-gap: 24px; margin-top: 28px; }
.res-group { break-inside: avoid; margin-bottom: 24px; background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; scroll-margin-top: 110px; }
.res-group h2 { font-size: 20px; }
.res-group ul { list-style: none; margin: 0; padding: 0; }
.res-group a { display: block; padding: 9px 0; border-bottom: 1px dashed #dde; text-decoration: none; color: var(--ink); }
.res-group a:hover b { color: var(--green-d); }
.res-group a span { display: block; font-size: 13px; color: var(--ink-2); }
.res-group--internal { background: var(--gold-l); }

/* =========================================================== Join */
.join-hero { padding: 64px 0; }
.join-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.join-hero .hero__title { font-size: clamp(38px, 5vw, 64px); }
.join-card { background: #fff; color: var(--ink); border: var(--line); border-radius: 22px; padding: 28px; box-shadow: 8px 8px 0 var(--gold); scroll-margin-top: 110px; }
.join-card h2 { font-size: 30px; }
.join-card__legal { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.join-card .mml-sub__msg.is-ok { color: var(--green-d); }
.check-list--light li::before { color: var(--lime); }
@media (max-width: 900px) { .join-hero__inner { grid-template-columns: 1fr; } }
.mml-contact { display: flex; flex-direction: column; gap: 14px; }
.mml-contact label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; }
.grid-2 { } .mml-contact .grid-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .mml-contact .grid-2 { grid-template-columns: 1fr 1fr; } }
.mml-contact .btn { align-self: flex-start; }

/* =========================================================== Arcade */
.arcade-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.arcade-tabs button { padding: 10px 16px; border: var(--line); border-radius: 14px; background: #fff; font: 800 15px var(--font-display); box-shadow: var(--shadow-sm); }
.arcade-tabs button.is-active { background: var(--pink); color: #fff; }
.arcade-cabinet { max-width: 800px; margin: 0 auto; background: linear-gradient(160deg, #7C4DFF, #FF2E88); border: var(--line); border-radius: 26px; padding: 18px; box-shadow: 10px 10px 0 var(--navy); }
.arcade-hud { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 16px; font-weight: 700; margin-bottom: 12px; }
.hud-title { font-family: var(--font-display); color: var(--gold); font-weight: 900; }
.arcade-screen { position: relative; border: 4px solid var(--navy); border-radius: 14px; overflow: hidden; background: #0B1026; aspect-ratio: 3 / 2; }
#arcade-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
#arcade-canvas[hidden] { display: none; }
.arcade-dom { position: absolute; inset: 0; overflow: auto; padding: 16px; background: linear-gradient(#1b1f5e, #0B1026); color: #fff; }
.arcade-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 20px; background: rgba(11,16,38,.78); color: #fff; }
.arcade-overlay[hidden] { display: none; }
.arcade-overlay__title { font: 900 clamp(26px, 4vw, 40px)/1.1 var(--font-display); color: var(--gold); margin: 0; text-shadow: 3px 3px 0 var(--pink); }
.arcade-overlay__text { max-width: 440px; margin: 0 0 8px; }
.arcade-help { color: #fff; font-weight: 600; text-align: center; margin: 12px 0 0; min-height: 1.6em; }
.arcade-pad { display: none; grid-template-columns: repeat(3, 58px); grid-template-rows: repeat(2, 50px); gap: 6px; justify-content: center; margin-top: 12px; }
.arcade-pad.is-on { display: grid; }
.arcade-pad button { border: var(--line); border-radius: 12px; background: #fff; font-size: 20px; }
.arcade-pad button[data-key=ArrowUp] { grid-column: 2; }
.arcade-pad button[data-key=ArrowLeft] { grid-column: 1; grid-row: 2; }
.arcade-pad button[data-key=ArrowDown] { grid-column: 2; grid-row: 2; }
.arcade-pad button[data-key=ArrowRight] { grid-column: 3; grid-row: 2; }
.match-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 460px; margin: 0 auto; }
.match-card { position: relative; aspect-ratio: 1; border: 3px solid #fff; border-radius: 14px; background: var(--green); font-size: clamp(24px, 5vw, 40px); perspective: 600px; transition: transform .3s; }
.match-card .front { display: none; }
.match-card .back { font: 900 30px var(--font-display); color: var(--navy); }
.match-card.is-open { background: #fff; transform: rotateY(180deg); }
.match-card.is-open .front { display: inline; transform: rotateY(180deg); }
.match-card.is-open .back { display: none; }
.match-card.is-matched { background: var(--gold); border-color: var(--lime); }
.match-stats { text-align: center; margin: 12px 0 0; font-weight: 700; }
.tycoon { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; height: 100%; }
.tycoon__left { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ty-cash { font: 900 38px/1 var(--font-display); color: var(--gold); margin: 0; }
.ty-rate { margin: 6px 0 14px; opacity: .85; font-weight: 600; }
.ty-coin { width: 150px; height: 150px; border-radius: 50%; border: 5px solid #fff; background: radial-gradient(circle at 35% 30%, #FFE45C, #FFB300); font-size: 76px; box-shadow: 6px 6px 0 var(--pink); transition: transform .08s; }
.ty-coin:active, .ty-coin.bump { transform: scale(.92); }
.ty-time { margin: 14px 0 0; font-weight: 700; }
.tycoon__right h3 { color: #fff; font-size: 18px; margin: 0 0 8px; }
.ty-list { display: flex; flex-direction: column; gap: 6px; }
.ty-biz { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; text-align: left; padding: 7px 10px; border: 2px solid #fff; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; }
.ty-biz span:first-child { font-size: 22px; }
.ty-biz b { display: block; font-size: 14px; } .ty-biz small { font-size: 12px; opacity: .8; }
.ty-biz em { font-style: normal; font-weight: 800; color: var(--lime); }
.ty-biz:disabled { opacity: .45; cursor: not-allowed; }
.ty-biz:not(:disabled):hover { background: var(--green); }
@media (max-width: 640px) {
  .tycoon { grid-template-columns: 1fr; }
  .ty-coin { width: 110px; height: 110px; font-size: 56px; }
}

/* =========================================================== Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); margin-top: 0; }
.footer-cta { background: var(--pink); border-top: var(--line); border-bottom: var(--line); padding: 30px 0; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; margin: 0 0 4px; font-size: 28px; text-shadow: 3px 3px 0 var(--navy); }
.footer-cta p { margin: 0; color: #fff; font-weight: 600; }
.footer-cta .mml-sub { flex: 1; min-width: 280px; max-width: 520px; }
.footer-cta .mml-sub__note { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.3fr; gap: 36px; padding: 56px 20px 40px; }
.footer-col h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer-col .brand__top { color: #fff; }
.footer-col p { font-size: 15px; margin-top: 14px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a { display: block; padding: 5px 0; color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; }
.footer-menu a:hover { color: var(--gold); }
.site-footer .mini-post__title { color: #fff; }
.site-footer .mini-post__img { border-color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.socials a { padding: 6px 12px; border: 2px solid #fff; border-radius: 99px; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; }
.socials a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-network { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 14px; }
.footer-network .container { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-network span { font-weight: 800; color: var(--gold); }
.footer-network a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-network a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 14px; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.legal-menu a { color: rgba(255,255,255,.75); text-decoration: none; }
.legal-menu a:hover { color: var(--gold); }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--navy); border: var(--line); border-radius: 14px; font: 900 22px var(--font-display); text-decoration: none; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================== Editor-friendly alignments */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.sticky .post-card { border-color: var(--pink); }

/* Feature card fills its column */
.post-card--feature .post-card__img { aspect-ratio: auto; flex: 1; min-height: 280px; }
.post-card--feature .post-card__body { flex: none; }
.cat-tile__overlay { background: linear-gradient(180deg, rgba(11,16,38,.15) 0%, color-mix(in srgb, var(--c) 55%, #0B1026) 62%, #0B1026 100%); }
.cat-tile__img { filter: saturate(1.1) blur(1px); }
.book__title { text-shadow: 2px 2px 0 #0B1026, -1px -1px 0 #0B1026; }
.arcade-teaser { justify-content: center; }
html, body { overflow-x: clip; }
@media (max-width: 980px) {
  .main-nav { visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .main-nav.is-open { visibility: visible; transition: transform .25s ease, visibility 0s; }
}
@media (max-width: 980px) {
  .post-card--feature .post-card__img { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
}
@media (max-width: 700px) {
  .float-coin.c1, .float-coin.c2, .float-coin.c3, .float-coin.c4 { display: none; }
}

.arcade-screen.is-dom { aspect-ratio: auto; min-height: 480px; }
.arcade-screen.is-dom .arcade-dom { position: relative; inset: auto; min-height: 480px; }
