@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir-Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir-Bold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --mam-bg: #050402;
  --mam-bg-2: #0a0703;
  --mam-surface: rgba(20, 16, 9, 0.78);
  --mam-surface-2: rgba(32, 24, 11, 0.72);
  --mam-card: rgba(13, 11, 8, 0.78);
  --mam-border: rgba(245, 202, 95, 0.18);
  --mam-border-strong: rgba(245, 202, 95, 0.36);
  --mam-gold: #f4c85d;
  --mam-gold-2: #d79b28;
  --mam-gold-3: #fff0b0;
  --mam-text: #fff8e8;
  --mam-muted: #b8ad94;
  --mam-muted-2: #8e846f;
  --mam-danger: #ff5c5c;
  --mam-radius-xl: 34px;
  --mam-radius-lg: 26px;
  --mam-radius-md: 18px;
  --mam-radius-sm: 12px;
  --mam-shadow-gold: 0 28px 90px rgba(209, 150, 37, 0.19);
  --mam-shadow-black: 0 30px 110px rgba(0, 0, 0, 0.58);
  --mam-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 200, 93, 0.16), transparent 34rem),
    radial-gradient(circle at 82% 4%, rgba(215, 155, 40, 0.12), transparent 31rem),
    linear-gradient(180deg, #050402 0%, #080603 40%, #030302 100%);
  color: var(--mam-text);
  font-family: "Vazir", "Vazirmatn", "IRANSans", "Tahoma", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 235, 168, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 235, 168, 0.032) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.3));
  z-index: -3;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0, rgba(0,0,0,.46) 82%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: .35;
  mix-blend-mode: screen;
  z-index: -2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
::selection { color: #120b00; background: var(--mam-gold); }

.mam-container { width: min(var(--mam-container), calc(100% - 40px)); margin-inline: auto; }
.mam-narrow { max-width: 890px; }
.mam-section { position: relative; padding: 112px 0; }
.mam-skip-link {
  position: absolute;
  top: -120px;
  right: 20px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--mam-gold);
  color: #120b00;
}
.mam-skip-link:focus { top: 18px; }

.mam-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(5,4,2,.88), rgba(5,4,2,.64));
  border-bottom: 1px solid rgba(244, 200, 93, 0.12);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
body.admin-bar .mam-site-header { top: 32px; }
.mam-site-header.is-scrolled {
  background: rgba(5, 4, 2, .88);
  border-bottom-color: rgba(244, 200, 93, 0.23);
  box-shadow: 0 20px 70px rgba(0,0,0,.36);
}
.mam-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.mam-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.mam-brand__mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 10%, rgba(255, 240, 176, .55), rgba(215, 155, 40, .12) 42%, rgba(0,0,0,.28));
  border: 1px solid rgba(244, 200, 93, .26);
  box-shadow: 0 0 42px rgba(244, 200, 93, .16), inset 0 0 30px rgba(255,255,255,.03);
  overflow: hidden;
}
.mam-brand__logo { width: 42px; height: 42px; object-fit: contain; }
.mam-brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.mam-brand__text strong { font-size: 15px; letter-spacing: -.01em; color: #fff8e8; }
.mam-brand__text small { font-size: 12px; color: var(--mam-muted); }

.mam-primary-nav { margin-inline-start: auto; }
.mam-menu, .mam-menu ul { list-style: none; margin: 0; padding: 0; }
.mam-menu { display: flex; align-items: center; gap: 4px; }
.mam-menu a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: #d7cdb9;
  font-size: 13.5px;
  transition: .25s ease;
}
.mam-menu a:hover, .mam-menu .current-menu-item > a, .mam-menu .current_page_item > a {
  color: var(--mam-gold-3);
  background: rgba(244, 200, 93, .08);
}
.mam-header-actions { display: flex; align-items: center; gap: 12px; }
.mam-header-link { color: var(--mam-muted); font-size: 13px; padding: 9px 12px; border-radius: 999px; }
.mam-header-link:hover { color: var(--mam-gold); }
.mam-menu-toggle { display: none; width: 46px; height: 46px; border-radius: 16px; border: 1px solid var(--mam-border); background: rgba(244, 200, 93, .08); color: var(--mam-text); }
.mam-menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--mam-gold); border-radius: 999px; }

.mam-btn {
  --btn-bg: rgba(244, 200, 93, .08);
  --btn-color: var(--mam-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(244, 200, 93, .22);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.mam-btn:hover { transform: translateY(-2px); border-color: rgba(244, 200, 93, .48); box-shadow: 0 22px 60px rgba(0,0,0,.34); }
.mam-btn--gold {
  --btn-bg: linear-gradient(135deg, #fff0ad 0%, #f4c85d 28%, #d79b28 64%, #7b4e0b 100%);
  --btn-color: #130d03;
  border-color: rgba(255,240,176,.62);
  box-shadow: 0 18px 70px rgba(244, 200, 93, .25), inset 0 1px 0 rgba(255,255,255,.54);
}
.mam-btn--ghost { background: rgba(255, 248, 232, .045); color: #fff4d6; }
.mam-btn--sm { min-height: 42px; padding: 9px 16px; font-size: 12.5px; }

.mam-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--mam-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mam-eyebrow i { width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--mam-gold)); display: inline-block; }
.mam-section-head { max-width: 780px; margin-bottom: 38px; }
.mam-section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.mam-section-head h2, .mam-showcase-copy h2, .mam-security-card h2, .mam-download-box h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.mam-section-head p, .mam-showcase-copy p, .mam-security-card p, .mam-download-box p {
  margin: 0;
  color: var(--mam-muted);
  font-size: 17px;
  max-width: 760px;
}

.mam-hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 86px;
  background:
    linear-gradient(90deg, rgba(5,4,2,.9) 0%, rgba(5,4,2,.74) 45%, rgba(5,4,2,.92) 100%),
    var(--mam-hero-image) center/cover no-repeat;
}
.mam-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,4,2,0) 55%, var(--mam-bg) 100%);
}
.mam-orb { position: absolute; border-radius: 999px; filter: blur(12px); opacity: .72; pointer-events: none; }
.mam-orb--one { width: 360px; height: 360px; right: -120px; top: 18%; background: radial-gradient(circle, rgba(244,200,93,.18), transparent 62%); }
.mam-orb--two { width: 430px; height: 430px; left: -140px; bottom: 8%; background: radial-gradient(circle, rgba(215,155,40,.16), transparent 65%); }
.mam-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 56px;
}
.mam-hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.07em;
  max-width: 900px;
}
.mam-hero-copy h1::first-line { color: #fff9eb; }
.mam-hero-copy p {
  margin: 0;
  max-width: 660px;
  color: #d4c8ac;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 2;
}
.mam-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.mam-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
  max-width: 660px;
}
.mam-hero-proof div {
  padding: 17px 18px;
  border: 1px solid rgba(244, 200, 93, .14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  backdrop-filter: blur(14px);
}
.mam-hero-proof strong { display: block; color: var(--mam-gold-3); font-size: 18px; line-height: 1.1; }
.mam-hero-proof span { display: block; color: var(--mam-muted); font-size: 12.5px; margin-top: 6px; }

.mam-hero-stage { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; }
.mam-launcher-card {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid rgba(244, 200, 93, .24);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(26,20,10,.88), rgba(8,7,5,.84));
  box-shadow: var(--mam-shadow-gold), var(--mam-shadow-black), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-7deg) rotateX(5deg);
}
.mam-launcher-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(255, 240, 176, .24), transparent 28%, rgba(244, 200, 93, .12) 62%, transparent);
  pointer-events: none;
}
.mam-launcher-card__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(244, 200, 93, .14);
  background: rgba(0,0,0,.24);
}
.mam-launcher-card__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(244,200,93,.45); }
.mam-launcher-card__bar strong { margin-inline-start: auto; font-size: 12px; color: var(--mam-gold-3); }
.mam-launcher-card__screen { position: relative; min-height: 430px; padding: 30px; background: radial-gradient(circle at 25% 15%, rgba(244,200,93,.14), transparent 32%), rgba(0,0,0,.18); }
.mam-dashboard-panel {
  border: 1px solid rgba(244, 200, 93, .18);
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.mam-dashboard-panel span { color: var(--mam-gold); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.mam-dashboard-panel h2 { margin: 12px 0; font-size: 30px; line-height: 1.25; letter-spacing: -.04em; }
.mam-dashboard-panel p { margin: 0; color: var(--mam-muted); font-size: 14px; }
.mam-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.mam-mini-grid span {
  min-height: 78px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-radius: 20px;
  color: #eadbb6;
  border: 1px solid rgba(244, 200, 93, .12);
  background: rgba(255,255,255,.035);
  font-size: 13px;
}
.mam-floating-badge {
  position: absolute;
  padding: 12px 15px;
  border-radius: 999px;
  border: 1px solid rgba(244, 200, 93, .25);
  background: rgba(8,7,5,.76);
  backdrop-filter: blur(16px);
  color: var(--mam-gold-3);
  font-size: 12px;
  box-shadow: 0 14px 50px rgba(0,0,0,.4);
}
.mam-floating-badge--top { top: 86px; right: 28px; }
.mam-floating-badge--bottom { left: 24px; bottom: 104px; }

.mam-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mam-feature-card, .mam-game-card, .mam-system-card, .mam-archive-panel, .mam-empty-state, .mam-list-box, .mam-game-info-card, .mam-release-note {
  border: 1px solid var(--mam-border);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  border-radius: var(--mam-radius-lg);
  box-shadow: 0 20px 80px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.055);
}
.mam-feature-card {
  min-height: 286px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.mam-feature-card::before {
  content: "";
  position: absolute;
  inset: auto -20px -60px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,200,93,.14), transparent 67%);
}
.mam-feature-card:hover { transform: translateY(-8px); border-color: rgba(244,200,93,.38); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); }
.mam-feature-card span { color: rgba(244,200,93,.8); font-weight: 900; font-size: 13px; }
.mam-feature-card h3 { margin: 36px 0 12px; font-size: 22px; line-height: 1.35; }
.mam-feature-card p { margin: 0; color: var(--mam-muted); font-size: 14px; }

.mam-showcase-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: center; }
.mam-check-list { display: grid; gap: 12px; margin-top: 26px; }
.mam-check-list span, .mam-security-points span, .mam-list-box li {
  position: relative;
  padding: 12px 42px 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(244,200,93,.13);
  background: rgba(255,255,255,.035);
  color: #f1e6cc;
}
.mam-check-list span::before, .mam-security-points span::before, .mam-list-box li::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--mam-gold);
  box-shadow: 0 0 20px rgba(244,200,93,.65);
}
.mam-showcase-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mam-system-card { min-height: 210px; padding: 28px; }
.mam-system-card--large { grid-column: span 2; min-height: 260px; background: linear-gradient(135deg, rgba(244,200,93,.14), rgba(255,255,255,.03)); }
.mam-system-card small { color: var(--mam-gold); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mam-system-card strong { display: block; margin: 18px 0 10px; font-size: 28px; line-height: 1.2; }
.mam-system-card p { margin: 0; color: var(--mam-muted); }

.mam-process-section { padding-top: 60px; }
.mam-process-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.mam-process-line div { position: relative; padding: 30px; border-radius: var(--mam-radius-lg); border: 1px solid rgba(244,200,93,.16); background: linear-gradient(180deg, rgba(244,200,93,.075), rgba(255,255,255,.02)); }
.mam-process-line b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; color: #160e02; background: linear-gradient(135deg, #fff0ad, #d79b28); box-shadow: 0 18px 46px rgba(244,200,93,.19); }
.mam-process-line h3 { margin: 28px 0 10px; font-size: 24px; }
.mam-process-line p { margin: 0; color: var(--mam-muted); }

.mam-games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mam-game-card { overflow: hidden; position: relative; transition: transform .28s ease, border-color .28s ease; }
.mam-game-card:hover { transform: translateY(-8px); border-color: rgba(244,200,93,.44); }
.mam-game-card__media { position: relative; display: block; height: 250px; overflow: hidden; background: #0a0703; }
.mam-game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; opacity: .86; }
.mam-game-card:hover .mam-game-card__media img { transform: scale(1.07); }
.mam-game-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.82)); }
.mam-game-card__shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 20%, rgba(255,240,176,.16), transparent 58%); transform: translateX(100%); transition: transform .8s ease; z-index: 2; }
.mam-game-card:hover .mam-game-card__shine { transform: translateX(-100%); }
.mam-game-card__status { position: absolute; z-index: 3; top: 16px; right: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(5,4,2,.66); border: 1px solid rgba(244,200,93,.28); color: var(--mam-gold-3); font-size: 12px; backdrop-filter: blur(12px); }
.mam-game-card__body { padding: 24px; }
.mam-game-card__topline { display: flex; justify-content: space-between; gap: 10px; color: var(--mam-gold); font-size: 12px; font-weight: 800; }
.mam-game-card h3 { margin: 14px 0 10px; font-size: 25px; line-height: 1.35; }
.mam-game-card h3 a:hover { color: var(--mam-gold-3); }
.mam-game-card p { min-height: 76px; margin: 0; color: var(--mam-muted); font-size: 14px; }
.mam-game-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.mam-game-card__meta span { padding: 7px 10px; border-radius: 999px; background: rgba(244,200,93,.07); border: 1px solid rgba(244,200,93,.11); color: #d9cfba; font-size: 12px; }
.mam-game-card__link { display: inline-flex; color: var(--mam-gold); font-weight: 900; font-size: 13px; }

.mam-empty-state { padding: 46px; text-align: center; max-width: 780px; margin: 0 auto; }
.mam-empty-state h2, .mam-empty-state h3 { margin: 0 0 12px; font-size: 30px; }
.mam-empty-state p { margin: 0 auto 24px; color: var(--mam-muted); max-width: 600px; }

.mam-security-card, .mam-download-box {
  padding: clamp(34px, 5vw, 64px);
  border-radius: var(--mam-radius-xl);
  border: 1px solid rgba(244,200,93,.22);
  background:
    radial-gradient(circle at 16% 14%, rgba(244,200,93,.18), transparent 32rem),
    linear-gradient(135deg, rgba(30,22,9,.88), rgba(7,6,4,.82));
  box-shadow: var(--mam-shadow-gold), var(--mam-shadow-black);
}
.mam-security-card { display: grid; grid-template-columns: 1fr .72fr; gap: 34px; align-items: center; }
.mam-security-points { display: grid; gap: 12px; }
.mam-download-box { text-align: center; }
.mam-download-box p { margin-inline: auto; }
.mam-download-box .mam-hero-actions { justify-content: center; }

.mam-footer { border-top: 1px solid rgba(244,200,93,.12); background: #030302; }
.mam-footer-grid { display: grid; grid-template-columns: 1.25fr .72fr .9fr 1fr; gap: 30px; padding: 62px 0; }
.mam-footer p { color: var(--mam-muted); margin: 16px 0 0; font-size: 14px; }
.mam-footer h3 { margin: 0 0 14px; color: var(--mam-gold-3); font-size: 17px; }
.mam-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mam-footer-menu a { color: var(--mam-muted); font-size: 14px; }
.mam-footer-menu a:hover { color: var(--mam-gold); }
.mam-footer-socials { display: grid; gap: 10px; margin-top: 18px; }
.mam-footer-socials a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(244,200,93,.14);
  border-radius: 16px;
  color: var(--mam-text);
  background: linear-gradient(135deg, rgba(244,200,93,.08), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.mam-footer-socials a::after { content: "↗"; color: var(--mam-gold); font-size: 13px; }
.mam-footer-socials a:hover {
  color: var(--mam-gold-3);
  border-color: rgba(244,200,93,.34);
  transform: translateY(-1px);
  box-shadow: 0 16px 44px rgba(0,0,0,.2);
}

.mam-footer-bottom { border-top: 1px solid rgba(244,200,93,.08); color: var(--mam-muted-2); font-size: 12.5px; }
.mam-footer-bottom .mam-container { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; }

.mam-page-hero, .mam-empty-hero { min-height: 62vh; display: flex; align-items: center; }
.mam-page-hero h1, .mam-empty-hero h1 { margin: 0 0 18px; font-size: clamp(40px, 6vw, 74px); line-height: 1.1; letter-spacing: -.06em; }
.mam-prose { color: #e9dec6; }
.mam-prose h2, .mam-prose h3 { color: var(--mam-text); line-height: 1.35; }
.mam-prose p { color: #d0c5ad; }
.mam-prose a { color: var(--mam-gold); text-decoration: underline; text-decoration-color: rgba(244,200,93,.35); }

.mam-archive-hero { padding-top: 128px; background: radial-gradient(circle at 84% 20%, rgba(244,200,93,.14), transparent 34rem); }
.mam-archive-hero-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 34px; align-items: end; }
.mam-archive-hero h1, .mam-game-hero h1 { margin: 0 0 18px; font-size: clamp(44px, 7vw, 86px); line-height: 1.05; letter-spacing: -.075em; }
.mam-archive-hero p, .mam-game-hero p { color: var(--mam-muted); font-size: 18px; margin: 0; max-width: 760px; }
.mam-archive-panel { padding: 34px; }
.mam-archive-panel strong { display: block; color: var(--mam-gold-3); font-size: 24px; line-height: 1.35; margin-bottom: 12px; }
.mam-archive-panel span { color: var(--mam-muted); }
.mam-archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 18px 22px; border-radius: 24px; border: 1px solid rgba(244,200,93,.12); background: rgba(255,255,255,.03); }
.mam-archive-toolbar span { display: block; color: var(--mam-muted); font-size: 12px; }
.mam-archive-toolbar strong { color: var(--mam-gold-3); font-size: 20px; }
.mam-pagination { margin-top: 44px; display: flex; justify-content: center; }
.mam-pagination .nav-links { display: flex; gap: 8px; }
.mam-pagination a, .mam-pagination span { min-width: 42px; min-height: 42px; padding: 8px 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(244,200,93,.14); background: rgba(255,255,255,.03); color: var(--mam-muted); }
.mam-pagination .current { color: #130d03; background: var(--mam-gold); border-color: var(--mam-gold); }

.mam-game-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5,4,2,.92), rgba(5,4,2,.66), rgba(5,4,2,.94)),
    var(--mam-game-hero) center/cover no-repeat;
  overflow: hidden;
}
.mam-game-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg, var(--mam-bg), transparent); }
.mam-game-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 380px; gap: 42px; align-items: center; }
.mam-game-hero-card { border: 1px solid rgba(244,200,93,.25); border-radius: 34px; overflow: hidden; background: rgba(0,0,0,.42); box-shadow: var(--mam-shadow-black), var(--mam-shadow-gold); }
.mam-game-hero-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.mam-game-hero-card div { padding: 20px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.mam-game-hero-card span { color: var(--mam-gold); font-size: 13px; }
.mam-game-hero-card strong { color: var(--mam-gold-3); }
.mam-game-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.mam-game-main { padding: 36px; border-radius: var(--mam-radius-lg); background: rgba(255,255,255,.025); border: 1px solid rgba(244,200,93,.10); }
.mam-game-main h2 { margin-top: 0; font-size: 34px; }
.mam-release-note { margin-top: 28px; padding: 24px; }
.mam-game-sidebar { position: sticky; top: 112px; }
.mam-game-info-card { padding: 26px; }
.mam-game-info-card h3 { margin: 0 0 18px; font-size: 22px; }
.mam-game-info-card dl { margin: 0; display: grid; gap: 10px; }
.mam-game-info-card div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(244,200,93,.09); }
.mam-game-info-card dt { color: var(--mam-muted); }
.mam-game-info-card dd { margin: 0; color: var(--mam-gold-3); font-weight: 800; text-align: left; }
.mam-game-lists-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mam-list-box { padding: 30px; }
.mam-list-box h2 { margin: 0 0 18px; font-size: 30px; }
.mam-list-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mam-list-box p { color: var(--mam-muted); }

[data-mam-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
[data-mam-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .mam-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mam-hero-grid, .mam-showcase-grid, .mam-security-card, .mam-archive-hero-grid, .mam-game-hero-grid, .mam-game-detail-grid { grid-template-columns: 1fr; }
  .mam-hero-stage { min-height: auto; }
  .mam-launcher-card { transform: none; }
  .mam-games-grid { grid-template-columns: repeat(2, 1fr); }
  .mam-game-sidebar { position: static; }
}
@media (max-width: 860px) {
  body.admin-bar .mam-site-header { top: 46px; }
  .mam-header-inner { min-height: 76px; }
  .mam-menu-toggle { display: inline-block; margin-inline-start: auto; }
  .mam-primary-nav {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    border: 1px solid rgba(244,200,93,.18);
    border-radius: 24px;
    background: rgba(5,4,2,.94);
    backdrop-filter: blur(24px);
    box-shadow: 0 28px 90px rgba(0,0,0,.48);
  }
  .mam-primary-nav.is-open { display: block; }
  .mam-menu { display: grid; gap: 6px; }
  .mam-menu a { width: 100%; justify-content: flex-start; }
  .mam-header-actions { display: none; }
  .mam-hero { min-height: auto; padding-top: 82px; }
  .mam-section { padding: 82px 0; }
  .mam-hero-grid { gap: 34px; }
  .mam-hero-proof, .mam-process-line, .mam-footer-grid, .mam-game-lists-grid { grid-template-columns: 1fr; }
  .mam-showcase-visual { grid-template-columns: 1fr; }
  .mam-system-card--large { grid-column: span 1; }
  .mam-section-head--split, .mam-archive-toolbar { align-items: stretch; flex-direction: column; }
  .mam-footer-bottom .mam-container { flex-direction: column; }
  .mam-game-hero-card { max-width: 380px; }
}
@media (max-width: 640px) {
  .mam-container { width: min(100% - 28px, var(--mam-container)); }
  .mam-brand__text small { display: none; }
  .mam-brand__mark { width: 46px; height: 46px; border-radius: 15px; }
  .mam-brand__logo { width: 36px; height: 36px; }
  .mam-hero-copy h1, .mam-archive-hero h1, .mam-game-hero h1 { font-size: 40px; letter-spacing: -.055em; }
  .mam-section-head h2, .mam-showcase-copy h2, .mam-security-card h2, .mam-download-box h2 { font-size: 32px; }
  .mam-hero-actions { flex-direction: column; }
  .mam-btn { width: 100%; }
  .mam-feature-grid, .mam-games-grid { grid-template-columns: 1fr; }
  .mam-game-card__media { height: 230px; }
  .mam-launcher-card__screen { padding: 18px; }
  .mam-dashboard-panel { padding: 22px; }
  .mam-dashboard-panel h2 { font-size: 24px; }
  .mam-mini-grid { grid-template-columns: 1fr; }
  .mam-floating-badge { display: none; }
  .mam-security-card, .mam-download-box, .mam-empty-state, .mam-game-main { padding: 26px; }
}

/* === Modding Arena Masterpiece V3: human, launcher-focused redesign === */
:root {
  --mam-bg: #030201;
  --mam-bg-2: #070501;
  --mam-gold: #f6c96c;
  --mam-gold-2: #b8791f;
  --mam-gold-3: #fff0bc;
  --mam-text: #fff7e4;
  --mam-muted: #c5b695;
  --mam-muted-2: #8c816c;
  --mam-border: rgba(246, 201, 108, 0.18);
  --mam-border-strong: rgba(246, 201, 108, 0.42);
}
body {
  background:
    radial-gradient(circle at 78% 0%, rgba(246, 201, 108, .16), transparent 32rem),
    radial-gradient(circle at 14% 18%, rgba(184, 121, 31, .18), transparent 36rem),
    linear-gradient(180deg, #030201 0%, #0a0602 38%, #030201 100%);
}
body::before {
  background-size: 64px 64px;
  opacity: .86;
}
.mam-site-header {
  background: linear-gradient(180deg, rgba(3, 2, 1, .92), rgba(3, 2, 1, .66));
}
.mam-hero--v3 {
  background:
    linear-gradient(90deg, rgba(3,2,1,.95) 0%, rgba(3,2,1,.72) 44%, rgba(3,2,1,.96) 100%),
    radial-gradient(circle at 72% 34%, rgba(246,201,108,.16), transparent 32rem),
    var(--mam-hero-image) center/cover no-repeat;
}
.mam-hero--v3::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246,201,108,.07) 0 1px, transparent 1px),
    linear-gradient(rgba(246,201,108,.05) 0 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 65% 38%, rgba(0,0,0,.72), transparent 58%);
  pointer-events: none;
}
.mam-hero-grid--v3 { grid-template-columns: 1.08fr .92fr; }
.mam-hero--v3 .mam-hero-copy h1 {
  max-width: 980px;
  font-size: clamp(44px, 7.3vw, 94px);
  letter-spacing: -.08em;
  text-wrap: balance;
}
.mam-hero--v3 .mam-hero-copy p {
  max-width: 720px;
  color: #e3d4b5;
}
.mam-hero-proof--v3 div {
  min-height: 130px;
  background: linear-gradient(180deg, rgba(246,201,108,.075), rgba(255,255,255,.022));
  border-color: rgba(246,201,108,.19);
}
.mam-hero-proof--v3 strong { font-size: 18px; }
.mam-hero-proof--v3 span { line-height: 1.75; }
.mam-launcher-card--v3 {
  transform: perspective(1300px) rotateY(-10deg) rotateX(4deg);
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(34,24,9,.95), rgba(5,4,3,.92)),
    radial-gradient(circle at 22% 10%, rgba(246,201,108,.18), transparent 26rem);
}
.mam-launcher-card--v3 .mam-dashboard-panel h2 { font-size: 32px; }
.mam-mini-grid--v3 span {
  min-height: 92px;
  font-weight: 800;
  color: #fff0c4;
}
.mam-platform-section--v3 .mam-section-head p { max-width: 900px; }
.mam-feature-grid--v3 { gap: 20px; }
.mam-feature-card--v3 {
  min-height: 320px;
  background:
    radial-gradient(circle at 18% 18%, rgba(246,201,108,.1), transparent 12rem),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
}
.mam-feature-card--v3 h3 { font-size: 24px; }
.mam-feature-card--v3 p { font-size: 14.5px; line-height: 1.95; }
.mam-manifesto-section { padding-top: 56px; padding-bottom: 56px; }
.mam-manifesto-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(246,201,108,.26);
  border-radius: 42px;
  padding: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(circle at 12% 22%, rgba(246,201,108,.20), transparent 26rem),
    linear-gradient(135deg, rgba(39,27,9,.92), rgba(5,4,3,.88));
  box-shadow: 0 36px 110px rgba(0,0,0,.52), 0 18px 90px rgba(184,121,31,.18);
}
.mam-manifesto-card::before {
  content: "Modding Arena";
  position: absolute;
  left: -18px;
  bottom: -44px;
  font-size: clamp(54px, 10vw, 140px);
  font-weight: 900;
  letter-spacing: -.08em;
  color: rgba(246,201,108,.055);
  white-space: nowrap;
  pointer-events: none;
}
.mam-manifesto-card h2 {
  position: relative;
  margin: 0 0 18px;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1.14;
  letter-spacing: -.06em;
  max-width: 980px;
}
.mam-manifesto-card p {
  position: relative;
  max-width: 860px;
  margin: 0;
  color: #d8c9aa;
  font-size: 18px;
  line-height: 2.08;
}
.mam-manifesto-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.mam-manifesto-grid strong {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(246,201,108,.18);
  background: rgba(255,255,255,.045);
  color: #fff0c4;
  font-size: 16px;
}
.mam-showcase-section--v3 .mam-system-card strong { font-size: 25px; }
.mam-process-section--v3 .mam-process-line div {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(246,201,108,.09), rgba(255,255,255,.018));
}
.mam-latest-games-section--v3 {
  background: linear-gradient(180deg, transparent, rgba(246,201,108,.035), transparent);
}
.mam-security-section--v3 .mam-security-card,
.mam-download-section--v3 .mam-download-box {
  background:
    radial-gradient(circle at 80% 18%, rgba(246,201,108,.20), transparent 28rem),
    linear-gradient(135deg, rgba(37, 25, 8, .92), rgba(5, 4, 3, .88));
}
.mam-archive-hero--v3 {
  background:
    radial-gradient(circle at 75% 20%, rgba(246,201,108,.16), transparent 32rem),
    linear-gradient(180deg, rgba(246,201,108,.04), transparent 64%);
}
.mam-archive-hero--v3 h1,
.mam-game-hero--v3 h1 { text-wrap: balance; }
.mam-archive-hero--v3 p { line-height: 2.05; }
.mam-archive-panel strong { text-wrap: balance; }
.mam-game-hero--v3 {
  background:
    linear-gradient(90deg, rgba(3,2,1,.96), rgba(3,2,1,.66), rgba(3,2,1,.96)),
    radial-gradient(circle at 68% 22%, rgba(246,201,108,.18), transparent 30rem),
    var(--mam-game-hero) center/cover no-repeat;
}
.mam-game-main { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); }
.mam-game-main p { font-size: 16.5px; line-height: 2.1; }
.mam-game-card__topline span:first-child::before { content: ""; }
.mam-game-card__body p { line-height: 1.85; }
@media (max-width: 1120px) {
  .mam-hero-grid--v3 { grid-template-columns: 1fr; }
  .mam-launcher-card--v3 { transform: none; }
  .mam-manifesto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mam-manifesto-card { border-radius: 30px; }
  .mam-manifesto-grid strong { min-height: 72px; }
  .mam-hero-proof--v3 div { min-height: auto; }
}

/* === Modding Arena Masterpiece V4: cinematic launcher-grade redesign === */
:root {
  --mam-bg: #020100;
  --mam-bg-2: #070401;
  --mam-gold: #ffd36f;
  --mam-gold-2: #c68524;
  --mam-gold-3: #fff2c6;
  --mam-text: #fff8e9;
  --mam-muted: #d1c1a2;
  --mam-muted-2: #9a8c72;
  --mam-border: rgba(255, 211, 111, 0.18);
  --mam-border-strong: rgba(255, 211, 111, 0.46);
  --mam-shadow-gold: 0 24px 100px rgba(198, 133, 36, .25);
}
body {
  background:
    radial-gradient(circle at 82% -10%, rgba(255, 211, 111, .18), transparent 34rem),
    radial-gradient(circle at 10% 18%, rgba(198, 133, 36, .17), transparent 38rem),
    radial-gradient(circle at 50% 120%, rgba(255, 211, 111, .08), transparent 42rem),
    linear-gradient(180deg, #020100 0%, #090501 46%, #020100 100%);
}
body::after { opacity: .26; }
.mam-site-header { border-bottom-color: rgba(255, 211, 111, .16); }
.mam-brand__mark { box-shadow: 0 0 48px rgba(255, 211, 111, .16), inset 0 0 32px rgba(255,255,255,.04); }
.mam-header-link { color: #d7c7a7; }
.mam-btn { position: relative; overflow: hidden; }
.mam-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.24), transparent 58%);
  transform: translateX(115%);
  transition: transform .7s ease;
}
.mam-btn:hover::after { transform: translateX(-115%); }
.mam-btn--gold { box-shadow: 0 22px 82px rgba(255, 211, 111, .26), inset 0 1px 0 rgba(255,255,255,.62); }
.mam-section-head--wide { max-width: 940px; }
.mam-section-head--wide h2 { max-width: 940px; }

.mam-hero--v4 {
  min-height: calc(100vh - 86px);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(2,1,0,.96) 0%, rgba(2,1,0,.72) 45%, rgba(2,1,0,.96) 100%),
    radial-gradient(circle at 69% 34%, rgba(255,211,111,.18), transparent 32rem),
    var(--mam-hero-image) center/cover no-repeat;
}
.mam-hero--v4::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,1,0,0) 54%, #020100 100%),
    linear-gradient(90deg, rgba(255,211,111,.08) 0 1px, transparent 1px),
    linear-gradient(rgba(255,211,111,.055) 0 1px, transparent 1px);
  background-size: auto, 78px 78px, 78px 78px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.96), rgba(0,0,0,.44));
  pointer-events: none;
  z-index: -1;
}
.mam-hero-grid--v4 { grid-template-columns: 1.08fr .92fr; gap: clamp(38px, 5vw, 76px); }
.mam-hero-copy--v4 h1 {
  font-size: clamp(46px, 7.6vw, 102px);
  line-height: 1.03;
  letter-spacing: -.084em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fffaf0 0%, #ffe5a2 52%, #d69a34 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 22px 80px rgba(255, 211, 111, .1);
}
.mam-hero-copy--v4 p { color: #eadabd; font-size: clamp(17px, 1.9vw, 21px); line-height: 2.08; }
.mam-hero-proof--v4 { max-width: 760px; }
.mam-hero-proof--v4 div {
  min-height: 146px;
  border-color: rgba(255,211,111,.22);
  background:
    radial-gradient(circle at 12% 12%, rgba(255,211,111,.12), transparent 10rem),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  transition: transform .26s ease, border-color .26s ease;
}
.mam-hero-proof--v4 div:hover { transform: translateY(-5px); border-color: rgba(255,211,111,.42); }
.mam-hero-proof--v4 strong { color: #fff1bd; font-size: 19px; }
.mam-hero-proof--v4 span { color: #cfc0a2; line-height: 1.78; }
.mam-hero-stage--v4 { min-height: 650px; }
.mam-launcher-card--v4 {
  width: min(100%, 590px);
  border-radius: 44px;
  border-color: rgba(255,211,111,.34);
  background:
    radial-gradient(circle at 22% 0%, rgba(255,211,111,.2), transparent 22rem),
    linear-gradient(145deg, rgba(34,24,8,.96), rgba(4,3,2,.94));
  box-shadow: 0 42px 130px rgba(0,0,0,.68), 0 20px 105px rgba(198,133,36,.20), inset 0 1px 0 rgba(255,255,255,.09);
  transform: perspective(1400px) rotateY(-9deg) rotateX(5deg);
}
.mam-launcher-card__screen--v4 { min-height: 470px; }
.mam-launcher-card--v4 .mam-dashboard-panel h2 { font-size: clamp(26px, 2.5vw, 36px); }
.mam-launcher-console {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255,211,111,.14);
  border-radius: 22px;
  background: rgba(0,0,0,.20);
}
.mam-launcher-console div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,211,111,.08), rgba(255,255,255,.025));
}
.mam-launcher-console b { color: #fff0bd; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.mam-launcher-console span { color: #cfc0a2; font-size: 12.5px; text-align: left; }
.mam-mini-grid--v4 span { min-height: 88px; color: #fff1c5; font-weight: 900; }
.mam-floating-badge { border-color: rgba(255,211,111,.32); color: #fff0bd; }

.mam-platform-section--v4 .mam-section-head p { max-width: 920px; font-size: 18px; line-height: 2.1; }
.mam-feature-grid--v4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mam-feature-card--v4 {
  min-height: 360px;
  padding: 34px 28px;
  border-color: rgba(255,211,111,.17);
  background:
    radial-gradient(circle at 18% 14%, rgba(255,211,111,.12), transparent 14rem),
    linear-gradient(180deg, rgba(255,255,255,.064), rgba(255,255,255,.018));
}
.mam-feature-card--v4 span { color: #ffd36f; }
.mam-feature-card--v4 h3 { margin-top: 32px; font-size: 23px; line-height: 1.45; text-wrap: balance; }
.mam-feature-card--v4 p { font-size: 14.8px; line-height: 2.05; color: #cdbc9c; }

.mam-manifesto-section--v4 { padding: 60px 0; }
.mam-manifesto-card--v4 {
  border-color: rgba(255,211,111,.30);
  background:
    radial-gradient(circle at 88% 8%, rgba(255,211,111,.20), transparent 28rem),
    radial-gradient(circle at 14% 78%, rgba(198,133,36,.14), transparent 26rem),
    linear-gradient(135deg, rgba(40,28,9,.94), rgba(4,3,2,.9));
}
.mam-manifesto-card--v4 h2 { max-width: 1040px; color: #fff5d9; }
.mam-manifesto-card--v4 p { font-size: 18.5px; color: #decfac; }
.mam-manifesto-grid--v4 strong { border-color: rgba(255,211,111,.22); background: rgba(255,255,255,.052); }

.mam-showcase-section--v4 { padding-top: 96px; }
.mam-showcase-grid--v4 { align-items: stretch; }
.mam-showcase-section--v4 .mam-showcase-copy p { max-width: 760px; font-size: 17px; line-height: 2.1; }
.mam-check-list--v4 span {
  padding: 15px 54px 15px 18px;
  border-color: rgba(255,211,111,.18);
  background: linear-gradient(90deg, rgba(255,211,111,.075), rgba(255,255,255,.026));
  color: #f7ead0;
  font-weight: 700;
}
.mam-check-list--v4 span::before {
  content: "✓";
  right: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #161006;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff1bd, #d69a34);
  box-shadow: 0 0 26px rgba(255,211,111,.34);
}
.mam-showcase-visual--v4 .mam-system-card { border-color: rgba(255,211,111,.18); }
.mam-showcase-visual--v4 .mam-system-card--large {
  background:
    radial-gradient(circle at 14% 22%, rgba(255,211,111,.15), transparent 16rem),
    linear-gradient(135deg, rgba(255,211,111,.12), rgba(255,255,255,.028));
}
.mam-showcase-visual--v4 .mam-system-card strong { font-size: clamp(22px, 2.4vw, 30px); }

.mam-arena-stack-section--v4 { padding-top: 70px; padding-bottom: 70px; }
.mam-arena-stack-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; }
.mam-stack-board {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,211,111,.2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,211,111,.13), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
  box-shadow: 0 28px 92px rgba(0,0,0,.36);
}
.mam-stack-board div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,211,111,.13);
  background: rgba(0,0,0,.18);
}
.mam-stack-board b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #150e03;
  background: linear-gradient(135deg, #fff1bd, #d69a34);
  box-shadow: 0 18px 50px rgba(255,211,111,.19);
}
.mam-stack-board strong { color: #fff1c4; font-size: 20px; }
.mam-stack-board span { color: #cdbc9c; }

.mam-process-section--v4 .mam-process-line div {
  min-height: 268px;
  border-color: rgba(255,211,111,.18);
  background:
    radial-gradient(circle at 20% 16%, rgba(255,211,111,.1), transparent 14rem),
    linear-gradient(180deg, rgba(255,211,111,.085), rgba(255,255,255,.018));
}
.mam-process-section--v4 .mam-process-line h3 { color: #fff1c2; }
.mam-process-section--v4 .mam-process-line p { line-height: 2; color: #cbbb9d; }

.mam-latest-games-section--v4 {
  background:
    radial-gradient(circle at 50% 20%, rgba(255,211,111,.08), transparent 32rem),
    linear-gradient(180deg, transparent, rgba(255,211,111,.035), transparent);
}
.mam-games-grid--v4 .mam-game-card { border-color: rgba(255,211,111,.18); }
.mam-games-grid--v4 .mam-game-card__status { background: rgba(6,4,2,.72); }
.mam-game-card__body p { color: #cdbc9d; }
.mam-game-card__link { color: #ffd36f; }
.mam-empty-state--v4 h3, .mam-empty-state--v4 h2 { color: #fff1c4; }

.mam-security-section--v4 .mam-security-card--v4,
.mam-download-section--v4 .mam-download-box--v4 {
  border-color: rgba(255,211,111,.28);
  background:
    radial-gradient(circle at 78% 14%, rgba(255,211,111,.22), transparent 30rem),
    radial-gradient(circle at 12% 90%, rgba(198,133,36,.14), transparent 24rem),
    linear-gradient(135deg, rgba(43,29,9,.94), rgba(4,3,2,.9));
}
.mam-security-points--v4 span { padding: 15px 54px 15px 18px; line-height: 1.9; }
.mam-security-points--v4 span::before { content: "✦"; width: 24px; height: 24px; display: grid; place-items: center; color: #161006; font-size: 12px; background: linear-gradient(135deg, #fff1bd, #d69a34); }

.mam-archive-hero--v4,
.mam-archive-hero--v3 {
  background:
    radial-gradient(circle at 74% 18%, rgba(255,211,111,.18), transparent 34rem),
    linear-gradient(180deg, rgba(255,211,111,.045), transparent 68%);
}
.mam-archive-panel--v4 { border-color: rgba(255,211,111,.22); }
.mam-archive-panel--v4 strong { color: #fff1c4; }

@media (max-width: 1120px) {
  .mam-hero-grid--v4, .mam-arena-stack-grid { grid-template-columns: 1fr; }
  .mam-launcher-card--v4 { transform: none; }
  .mam-feature-grid--v4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .mam-stack-board div { grid-template-columns: 1fr; }
  .mam-stack-board b { grid-row: auto; }
}
@media (max-width: 640px) {
  .mam-hero-copy--v4 h1 { font-size: 42px; }
  .mam-feature-grid--v4 { grid-template-columns: 1fr; }
  .mam-feature-card--v4 { min-height: auto; }
  .mam-launcher-console div { align-items: flex-start; flex-direction: column; }
  .mam-launcher-console span { text-align: right; }
}


/* === Modding Arena Masterpiece V6: trust seal footer === */
.mam-trust-strip {
  margin-top: 34px;
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255, 211, 111, .22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 211, 111, .18), transparent 20rem),
    radial-gradient(circle at 10% 90%, rgba(190, 125, 32, .12), transparent 22rem),
    linear-gradient(135deg, rgba(255, 211, 111, .075), rgba(255,255,255,.018));
  box-shadow: 0 28px 92px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
}
.mam-trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 211, 111, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 211, 111, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%);
  opacity: .55;
}
.mam-trust-copy,
.mam-trust-actions { position: relative; z-index: 1; }
.mam-trust-copy span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #ffd36f;
  font-size: 13px;
  font-weight: 900;
}
.mam-trust-copy span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd36f;
  box-shadow: 0 0 24px rgba(255, 211, 111, .65);
}
.mam-trust-copy h3 {
  margin: 0;
  max-width: 820px;
  color: #fff4d1;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.65;
  letter-spacing: -.04em;
}
.mam-trust-copy p {
  margin: 12px 0 0;
  max-width: 760px;
  color: rgba(255,255,255,.68);
  line-height: 2.1;
  font-size: 15px;
}
.mam-trust-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mam-trust-seal {
  width: 136px;
  min-height: 136px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255, 211, 111, .28);
  background: linear-gradient(180deg, rgba(255, 244, 209, .98), rgba(255,255,255,.92));
  box-shadow: 0 22px 62px rgba(255, 211, 111, .18), 0 20px 60px rgba(0,0,0,.36);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mam-trust-seal:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 211, 111, .6);
  box-shadow: 0 28px 82px rgba(255, 211, 111, .26), 0 28px 80px rgba(0,0,0,.42);
}
.mam-trust-seal img {
  display: block;
  max-width: 106px;
  width: 100%;
  height: auto;
  cursor: pointer;
}
@media (max-width: 820px) {
  .mam-trust-strip { grid-template-columns: 1fr; text-align: center; }
  .mam-trust-copy span { justify-content: center; }
  .mam-trust-copy h3, .mam-trust-copy p { margin-left: auto; margin-right: auto; }
}
