/* SEOGUIDES1 — the /guides pages: the M8 Market look (dark navy, the M∞
   brand gradient, gold prices), system fonts, no script, no web font. */
:root {
  --bg: #07060f;
  --bg-2: #0d0b1c;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.085);
  --text: #f5f3ff;
  --muted: #aba6c8;
  --gold: #f5c76b;
  --violet: #8b5cff;
  --brand: linear-gradient(115deg, #7c4dff, #c04bff 38%, #ff4fa3 70%, #ff9a5a);
  --r-card: 22px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Myanmar",
    "Noto Sans Thai", "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(124, 77, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255, 79, 163, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font);
  padding-bottom: 84px;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe1a1; }
img { max-width: 100%; height: auto; }
.g-top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: rgba(7, 6, 15, 0.82);
  backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--border);
}
.g-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.g-brand img { border-radius: 50%; }
.g-brand b { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-top nav { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.g-top nav a { color: var(--muted); text-decoration: none; }
.g-top nav a.g-cta-sm { color: #160f06; background: var(--gold); padding: 7px 14px; border-radius: 999px; font-weight: 700; }
.g-main { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; }
.g-hero h1, .g-article h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.2; margin: 8px 0 12px; }
.g-lead { color: var(--muted); font-size: 18px; margin: 0 0 12px; }
.g-meta { color: var(--muted); font-size: 14px; }
.g-crumbs { margin: 0; font-size: 14px; }
.g-article h2 { font-size: 24px; line-height: 1.3; margin: 36px 0 10px; scroll-margin-top: 80px; }
.g-article h3 { font-size: 19px; margin: 24px 0 8px; scroll-margin-top: 80px; }
.g-article ul, .g-article ol { padding-left: 22px; }
.g-article li { margin: 6px 0; }
.g-price { color: var(--gold); white-space: nowrap; }
.g-toc { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-card); padding: 14px 18px; margin: 18px 0; }
.g-toc p { margin: 0 0 6px; font-weight: 700; }
.g-toc a { color: var(--text); text-decoration: none; }
.g-tip { border-left: 3px solid var(--gold); background: var(--panel); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.g-table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: 14px; }
.g-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.g-table th, .g-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.g-table th { background: var(--panel-2); }
.g-offers { list-style: none; padding: 0; margin: 14px 0 6px; display: grid; gap: 8px; }
.g-offers a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); color: var(--text); text-decoration: none; }
.g-offers a:hover { border-color: rgba(245, 199, 107, 0.55); }
.g-offer-price { color: var(--gold); font-weight: 700; white-space: nowrap; font-size: 15px; }
.g-offers-more, .g-offers-none { font-size: 15px; }
.g-cta { margin: 40px 0 0; padding: 22px; border-radius: var(--r-card); background: linear-gradient(140deg, #2a1268 0%, #4b1fa8 46%, #7c2d9e 100%); }
.g-cta h2 { margin-top: 0; }
.g-btn, .g-sticky { display: inline-block; background: var(--gold); color: #160f06; font-weight: 800; text-decoration: none; border-radius: 14px; padding: 12px 20px; }
.g-btn:hover, .g-sticky:hover { color: #160f06; filter: brightness(1.06); }
.g-cards { list-style: none; padding: 0; display: grid; gap: 12px; }
.g-cards a { display: block; padding: 18px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--panel); color: var(--text); text-decoration: none; }
.g-cards a:hover { border-color: rgba(245, 199, 107, 0.55); }
.g-cards h2 { font-size: 20px; margin: 0 0 6px; }
.g-cards p { color: var(--muted); margin: 0 0 6px; }
.g-foot { max-width: 760px; margin: 0 auto; padding: 24px 16px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }
.g-sticky { position: fixed; left: 16px; right: 16px; bottom: 14px; text-align: center; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8); z-index: 6; }
@media (min-width: 820px) {
  .g-sticky { left: auto; right: 24px; bottom: 24px; }
}
