/* =========================================================
   William Lloyd Jenkins — BASE STYLES
   Shared across Gateway, Relicrunners, and The Balam
   Typography update:
   - H1 / major titles → Cinzel Decorative
   - H2 / H3 → Cinzel
   - Normalized heading weights across themes
   - Slightly tightened tracking for a more epic feel
   ========================================================= */

/* ---------- Global Font Imports ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Cinzel:wght@500;600;700&family=Inter:wght@300;400;600&display=swap');

/* ---------- CSS Variables (theme overrides extend these) ---------- */
:root{
  --bg: #070b10;
  --text: #e9f5f7;
  --muted: rgba(233,245,247,0.78);

  --panel: rgba(0,0,0,0.55);
  --panel2: rgba(0,0,0,0.68);
  --border: rgba(255,255,255,0.18);

  --accent: #46f0ff;
  --accent-soft: rgba(70, 240, 255, 0.25);

  --radius: 14px;
  --shadow: 0 18px 55px rgba(0,0,0,0.55);

  /* Typography */
  --serif: "Cinzel", ui-serif, Georgia, "Times New Roman", Times, serif;
  --serif-deco: "Cinzel Decorative", "Cinzel", ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Normalized heading weights */
  --h1-weight: 700;  /* Cinzel Decorative only ships as 700 for our import */
  --h2-weight: 600;
  --h3-weight: 600;

  /* Epic tracking (slightly tighter than before) */
  --track-h1: 0.012em;
  --track-h2: 0.020em;
  --track-h3: 0.018em;
}

/* ---------- Reset ---------- */
*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);

  /* Global body font */
  font-family: var(--sans);
  font-weight: 400;

  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

img{ max-width: 100%; display: block; }

/* =========================================================
   NAV BRAND (Header logo + text)
   Supports: <img class="brand__icon"> + .brand__name/.brand__tag
   ========================================================= */

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0; /* prevents long name from pushing nav */
}

/* If any older nav still uses a span mark, hide it safely */
.brand__mark{ display: none; }

/* Sigil icon */
.brand__icon{
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;

  /* subtle cinematic glow (safe + tasteful) */
  filter: drop-shadow(0 0 6px rgba(70,240,255,0.25));
  transition: filter .2s ease, transform .2s ease;
}

.brand:hover .brand__icon{
  filter: drop-shadow(0 0 8px rgba(70,240,255,0.34));
  transform: translateY(-0.5px);
}

/* Text stack */
.brand__text{
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  min-width: 0; /* allows ellipsis if needed */
}

.brand__name{
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__tag{
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive tightening */
@media (max-width: 768px){
  .brand{ gap: 10px; }
  .brand__icon{ width: 34px; height: 34px; }
  .brand__name{ font-size: 0.90rem; letter-spacing: 0.05em; }
  .brand__tag{ font-size: 0.78rem; }
}

/* ---------- Global Headings (normalized) ---------- */
h1, h2, h3{
  margin: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

/* H1 / Major Titles */
h1,
.hero h1,
.hero__title{
  font-family: var(--serif-deco);
  font-weight: var(--h1-weight);
  letter-spacing: var(--track-h1);
  line-height: 1.05;
}

/* H2 */
h2,
.stripHead h2,
.section__head h2,

.worldCard__title{
  font-family: var(--serif);
  font-weight: var(--h2-weight);
  letter-spacing: var(--track-h2);
  line-height: 1.12;
}

/* H3 */
h3,
.card h3{
  font-family: var(--serif);
  font-weight: var(--h3-weight);
  letter-spacing: var(--track-h3);
  line-height: 1.18;
}

/* ---------- Layout Containers ---------- */
.wrap{
  min-height: 100vh;
  position: relative;
}

.wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- Hero ---------- */
.hero{
  padding: 56px 0 28px;
  text-align: center;
  position: relative;
}

.hero h1{
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  text-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.hero p{
  margin: 14px auto 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.05rem;
  text-shadow: 0 12px 30px rgba(0,0,0,0.65);
}

.heroActions{
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 26px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);

  /* Make buttons feel consistent with the site titles */
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.03em;

  min-width: 220px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition: transform .15s ease, filter .15s ease;
}

.btn::after{
  content: "";
  position: absolute;
  inset: -2px;
  opacity: 0.75;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 55%);
  mix-blend-mode: overlay;
}

.btn:hover{ transform: translateY(-1px); }

.btn--teal{ border-color: rgba(70,240,255,0.55); }
.btn--ember{ border-color: rgba(255,154,60,0.55); }

/* ---------- Worlds ---------- */
.worlds{ padding: 10px 0 0; }

.worldGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
}

.worldCard{
  background: rgba(0,0,0,0.50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.worldCard__title{
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.6rem;
  margin: 0;
  text-shadow: 0 12px 28px rgba(0,0,0,0.85);
  padding: 6px 14px;
}

.worldCard__media{
  height: 320px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}

.worldCard__body{
  padding: 14px 16px 18px;
  text-align: center;
  background: rgba(0,0,0,0.42);
}

.worldCard__body p{
  margin: 0 0 12px;
  color: rgba(233,245,247,0.82);
  font-size: 1rem;
  text-shadow: 0 10px 24px rgba(0,0,0,0.75);
}

/* ---------- Small Buttons ---------- */
.btnSmall{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.03em;

  min-width: 210px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.55);

  transition: transform .15s ease, filter .15s ease;
}

.btnSmall:hover{ transform: translateY(-1px); }

.btnSmall--teal{ border-color: rgba(70,240,255,0.45); }
.btnSmall--ember{ border-color: rgba(255,154,60,0.45); }

/* ---------- Other Stories Strip ---------- */
.strip{
  margin-top: 26px;
  background: rgba(0,0,0,0.62);
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 16px 0 18px;
}

.stripHead{
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  text-align: center;
  flex-wrap: wrap;
}

.stripHead h2{
  margin: 0;
  font-size: 1.8rem;
}

.stripHead span{
  color: var(--muted);
  font-size: 1rem;
}

.stripGrid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

/* ---------- Author / Covers ---------- */
.authorThumb{
  display: flex;
  gap: 10px;
  align-items: center;
}

.authorThumb__img{
  width: 96px;
  height: 96px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  flex: 0 0 auto;
}

.authorThumb__miniCovers{ display: flex; gap: 8px; }

.miniCover{
  width: 58px;
  height: 86px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

.bookTile{
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  box-shadow: 0 14px 38px rgba(0,0,0,0.55);
  min-height: 140px;
  display: grid;
  place-items: center;
}

.bookTile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- About ---------- */
.about{
  padding: 26px 0 56px;
  text-align: center;
}

.about p{
  margin: 0 auto 14px;
  max-width: 80ch;
  color: rgba(233,245,247,0.85);
  font-size: 1.05rem;
  text-shadow: 0 12px 30px rgba(0,0,0,0.75);
}

.about .btnSmall{ min-width: 220px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .worldGrid{ grid-template-columns: 1fr; }
  .stripGrid{ grid-template-columns: 1fr; }
  .authorThumb{ justify-content: center; }
  .authorThumb__miniCovers{ justify-content: center; }
  .bookTile{ min-height: 180px; }
}

/* =========================================================
   COMPONENTS — Sections + Cards (used by Relicrunners/Balam)
   Add to END of base.css
   ========================================================= */

/* ---------- Sections ---------- */
.section{ padding: 56px 0 10px; }

.section__head{
  max-width: 820px;
  margin: 0 auto 18px;
  text-align: center;
}

.section__head h2{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  text-shadow: 0 14px 32px rgba(0,0,0,0.65);
}

.section__head p{
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
  text-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

/* ---------- Card Grid ---------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 980px){
  .card-grid{ grid-template-columns: 1fr; }
}

/* ---------- Base Card ---------- */
.card{
  background: rgba(0,0,0,0.50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.card h3{
  margin: 0 0 10px;
  font-size: 1.15rem;
  text-shadow: 0 10px 24px rgba(0,0,0,0.55);
}

.card p{
  margin: 0;
  color: rgba(233,245,247,0.82);
  line-height: 1.65;
}

/* ---------- Image Cards ---------- */
.card--image{
  padding: 0;                 /* overlay handles spacing */
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card--image::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.72) 100%
  );
  pointer-events:none;
}

.card__overlay{
  position: relative;         /* sits above ::after */
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px;
}

.card__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ---------- Button variants used on world pages ---------- */
.btn--sm{
  padding: 10px 16px;
  min-width: 0;
  border-radius: 10px;
  font-size: 0.95rem;
}

.btn--ghost{
  background: rgba(0,0,0,0.30);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

/* =========================================================
   Card Grid — Locked Spacing + Vertical Rhythm
   ========================================================= */

/* Grid spacing is immutable */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;                 /* LOCKED horizontal + vertical spacing */
  align-items: stretch;
}

/* Cards behave as vertical stacks */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 280px;         /* LOCKED baseline card height */
  padding: 22px;

  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Image cards get more height, still aligned */
.card--image {
  min-height: 320px;
  padding: 0;
}

/* Inner overlay uses fixed rhythm */
.card__overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  gap: 12px;
  padding: 20px;
}

/* Card headings */
.card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

/* Card body text */
.card p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

/* Action row always pins to bottom */
.card__actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  padding-top: 14px;
}

/* =========================================================
   Section Vertical Rhythm — LOCKED
   ========================================================= */

.section {
  padding: 72px 0;           /* Primary vertical unit */
}

.section__head {
  margin-bottom: 28px;       /* Fixed header → content gap */
}

.section__head h2 { margin: 0 0 10px; }
.section__head p { margin: 0; }

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card,
  .card--image {
    min-height: auto;        /* Natural height on mobile */
  }
}

/* =========================================================
   Button FX — orbit ring + glow (shared)
   Add this at the END of your theme CSS
   ========================================================= */

.btn--fx{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
}

/* Outer glow wash */
.btn--fx::before{
  content:"";
  position:absolute;
  inset:-35%;
  z-index:0;
  opacity:.55;
  filter: blur(10px);
  transform: translateZ(0);
  pointer-events:none;
  background:
    radial-gradient(circle at 30% 30%, var(--fx-bright, rgba(255,154,60,.35)), transparent 55%),
    radial-gradient(circle at 70% 70%, var(--fx-dim, rgba(214,178,107,.22)), transparent 60%);
  transition: opacity .25s ease, filter .25s ease;
}

/* Orbit ring (the “circling” effect) */
.btn--fx::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  z-index:0;
  pointer-events:none;

  /* ring made from conic gradients; masked so only the border shows */
  background:
    conic-gradient(
      from 0deg,
      transparent 0 18%,
      var(--fx-streak, rgba(255,154,60,.75)) 18% 23%,
      transparent 23% 48%,
      var(--fx-streak2, rgba(214,178,107,.65)) 48% 53%,
      transparent 53% 78%,
      var(--fx-streak, rgba(255,154,60,.75)) 78% 83%,
      transparent 83% 100%
    );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  padding: 2px; /* ring thickness */
  opacity: .65;
  filter: drop-shadow(0 0 10px var(--fx-glow, rgba(255,154,60,.28)));
  animation: btnOrbit 2.2s linear infinite;
  transition: opacity .25s ease, filter .25s ease;
}

/* Keep text above the effects */
.btn--fx > span,
.btn--fx{
  z-index:1;
}
.btn--fx{
  /* If your button doesn’t wrap text in a span, this still works */
  text-shadow:
    0 2px 0 rgba(0,0,0,0.55),
    0 0 14px var(--fx-textglow, rgba(255,154,60,.16));
}

/* Hover / active “feel” */
.btn--fx:hover::before{ opacity:.80; filter: blur(12px); }
.btn--fx:hover::after{
  opacity:.95;
  filter: drop-shadow(0 0 16px var(--fx-glow, rgba(255,154,60,.38)));
}
.btn--fx:active{
  transform: translateY(1px);
}

/* Orbit animation */
@keyframes btnOrbit{ to { transform: rotate(360deg); } }

/* Motion-safe */
@media (prefers-reduced-motion: reduce){
  .btn--fx::after{ animation: none; }
  .btn--fx{ transition: none; }
}

/* =========================================================
   Unified Button Base — matches subpages (bevel + inset + glow)
   Works on gateway + subpages
   ========================================================= */

.btn--bevel{
  position: relative;
  overflow: hidden;
  border-radius: 10px;

  font-weight: 700;
  letter-spacing: .04em;

  /* bevel stack */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.18)),
    linear-gradient(135deg, var(--fx-dim, rgba(0,140,160,.25)), rgba(0,0,0,0.12));

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -10px 18px rgba(0,0,0,0.35),
    0 18px 55px rgba(0,0,0,0.55),
    0 0 22px var(--fx-glow, rgba(70,240,255,.12));

  text-shadow:
    0 2px 0 rgba(0,0,0,0.55),
    0 0 14px var(--fx-textglow, rgba(70,240,255,.18));
}

/* inset inner panel */
.btn--bevel::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius: 8px;
  pointer-events:none;

  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.38));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  opacity: .9;
}

.btn--bevel .btn__label{
  position: relative;
  z-index: 2;
}

.btn--bevel:hover{
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -12px 20px rgba(0,0,0,0.38),
    0 22px 62px rgba(0,0,0,0.58),
    0 0 30px var(--fx-glow, rgba(70,240,255,.18));
}

.btn--bevel:active{
  transform: translateY(0);
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.65),
    0 0 12px var(--fx-glow, rgba(70,240,255,.14));
}

/* =========================================================
   FX ring (no runes) — shared
   ========================================================= */

.btn--fx{ position: relative; }
.btn--fx .btn__fx{
  position:absolute;
  inset:-14px;
  pointer-events:none;
  z-index: 1;
  opacity: 0;
  transition: opacity .18s ease;
}
.btn--fx .btn__fx::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 999px;
  background:
    conic-gradient(
      from 0deg,
      transparent 0 22%,
      var(--fx-streak, rgba(70,240,255,.85)) 26%,
      transparent 30% 62%,
      var(--fx-streak2, rgba(120,255,230,.65)) 66%,
      transparent 70% 100%
    );
  filter: blur(var(--fx-blur, 9px));
  opacity: .75;
  animation: btnFxSpin var(--fx-speed, 2.8s) linear infinite;
}
.btn--fx:hover .btn__fx,
.btn--fx:focus-visible .btn__fx{ opacity: 1; }

@keyframes btnFxSpin{ to{ transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce){
  .btn--fx .btn__fx::before{ animation: none !important; }
}

/* =========================================================
   MailerLite (Form 35031411) — Teal/Orange Split Skin
   Keep the embed code intact. This is ONLY overrides.
   ========================================================= */

/* 1) Outer wrapper: split background + glow seam */
#mlb2-35031411.ml-form-embedContainer .ml-form-embedWrapper{
  position: relative !important;
  overflow: hidden !important;

  /* Split background */
  background: linear-gradient(
    90deg,
    rgba(70, 240, 255, 0.10) 0%,
    rgba(70, 240, 255, 0.10) 49.5%,
    rgba(255, 145, 0, 0.10) 50.5%,
    rgba(255, 145, 0, 0.10) 100%
  ) !important;

  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55) !important;
}

/* Glass sheen (subtle) */
#mlb2-35031411.ml-form-embedContainer .ml-form-embedWrapper::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.03) 35%,
    rgba(0,0,0,0.10)
  ) !important;
  pointer-events: none !important;
}

/* Lightning seam down the middle (your split “crack”) */
#mlb2-35031411.ml-form-embedContainer .ml-form-embedWrapper::after{
  content: "" !important;
  position: absolute !important;
  top: -20% !important;
  bottom: -20% !important;
  left: 50% !important;
  width: 2px !important;
  transform: translateX(-50%) !important;

  /* faux lightning: stacked glows */
  background: rgba(255,255,255,0.85) !important;
  box-shadow:
    0 0 10px rgba(70, 240, 255, 0.55),
    0 0 18px rgba(70, 240, 255, 0.35),
    0 0 10px rgba(255, 145, 0, 0.55),
    0 0 18px rgba(255, 145, 0, 0.35) !important;

  opacity: 0.85 !important;
  pointer-events: none !important;
}

/* 2) Text color to match your cinematic theme */
#mlb2-35031411 h4,
#mlb2-35031411 p{
  color: #e7f6f8 !important;
}

/* 3) Input: neutral glass field (so it sits on the split cleanly) */
#mlb2-35031411 input[type="email"]{
  background: rgba(7, 11, 16, 0.65) !important;
  color: #e7f6f8 !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  outline: none !important;
}

#mlb2-35031411 input[type="email"]::placeholder{
  color: rgba(231, 246, 248, 0.65) !important;
}

/* Focus ring: teal/orange dual */
#mlb2-35031411 input[type="email"]:focus{
  border-color: rgba(255,255,255,0.30) !important;
  box-shadow:
    0 0 0 3px rgba(70, 240, 255, 0.25),
    0 0 0 6px rgba(255, 145, 0, 0.18) !important;
}

/* 4) Button: split teal/orange with a crisp seam */
#mlb2-35031411 button.primary{
  position: relative !important;
  overflow: hidden !important;

  background: linear-gradient(
    90deg,
    #46f0ff 0%,
    #46f0ff 49.5%,
    #ff9100 50.5%,
    #ff9100 100%
  ) !important;

  color: #070b10 !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35) !important;
  transition: transform .15s ease, filter .15s ease !important;

  /* Make ML button match site headings */
  font-family: var(--serif) !important;
}

/* Lightning seam inside the button */
#mlb2-35031411 button.primary::after{
  content: "" !important;
  position: absolute !important;
  top: -30% !important;
  bottom: -30% !important;
  left: 50% !important;
  width: 2px !important;
  transform: translateX(-50%) !important;
  background: rgba(255,255,255,0.9) !important;
  box-shadow:
    0 0 8px rgba(70, 240, 255, 0.65),
    0 0 8px rgba(255, 145, 0, 0.65) !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
}

/* Hover/active */
#mlb2-35031411 button.primary:hover{
  filter: brightness(1.06) !important;
  transform: translateY(-1px) !important;
}
#mlb2-35031411 button.primary:active{
  transform: translateY(0) !important;
  filter: brightness(0.98) !important;
}

/* 5) Optional: tighten spacing so it feels “designed”, not embedded */
#mlb2-35031411.ml-form-embedContainer .ml-form-embedBody{
  padding: 22px 22px 6px 22px !important;
}

/* =========================================================
   SEAMLESS BACKGROUND FIX
   - Kill the big section "wash" rectangles
   - Let the body background be the one true backdrop
   - Stronger hero fade so there's no hard cut
========================================================= */

.page,
main.page,
.section,
.section--about,
.section--worlds,
.section--quote,
.about-hero-bg{
  background: transparent !important;
}

.section--about::after,
.section--worlds::after,
.section--quote::after{
  content: none !important;
}

/* Make the hero blend down into the same atmosphere (bigger + smoother fade) */
.hero{
  position: relative;
  padding: 74px 0 56px; /* slightly taller so the blend has room */
}

.hero::after{
  content:"";
  position:absolute;
  left: 0; right: 0; bottom: -1px;
  height: 220px;              /* BIGGER fade area */
  pointer-events:none;

  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.20) 35%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.78) 100%
  );
}

/* Reduce jumpy spacing */
.section{ padding: 46px 0; }

/* Panels readable without giant slab */
.panel{
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

/* Subtle local tint but stays seamless. */
.section--about,
.section--worlds,
.section--quote{
  position: relative;
}

.section--about::before,
.section--worlds::before,
.section--quote::before{
  opacity: 0.55;
}

/* optional: faint localized glow */
.section--about::marker{ content: ""; } /* harmless noop */
.section--about{
  background-image:
    radial-gradient(900px 420px at 18% 30%, rgba(70,240,255,0.08), transparent 60%),
    radial-gradient(900px 420px at 82% 30%, rgba(255,154,46,0.08), transparent 60%);
  background-repeat: no-repeat;
}
.section--worlds{
  background-image:
    radial-gradient(900px 420px at 22% 20%, rgba(70,240,255,0.06), transparent 62%),
    radial-gradient(900px 420px at 78% 20%, rgba(255,154,46,0.06), transparent 62%);
  background-repeat: no-repeat;
}

/* =========================================================
   ABOUT — OVERRIDE BASE.CSS SLABS (seamless wallpaper)
   Add this at the END of theme-about.css
========================================================= */

body.about .about{
  padding: 0 !important;
  text-align: left !important;
  background: transparent !important;
}

body.about .wrap,
body.about .wrap::before,
body.about .strip,
body.about .worlds,
body.about .worldCard,
body.about .worldCard__body,
body.about .card,
body.about .card--image,
body.about .section,
body.about .section__head,
body.about .page,
body.about main.page,
body.about #main{
  background: transparent !important;
}

body.about .worldCard{
  box-shadow: none !important;
  border: 0 !important;
}

body.about .worldCard__title{
  background: transparent !important;
}

body.about .section--about,
body.about .section--worlds,
body.about .section--quote{
  background: transparent !important;
}

body.about .section--about::after,
body.about .section--worlds::after,
body.about .section--quote::after,
body.about .hero::before{
  content: none !important;
}

body.about .panel,
body.about .about-quote{
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

body.about .about-topwall::after,
body.about .about-hero-bg::after{
  height: 320px !important;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.14) 30%,
    rgba(0,0,0,0.48) 70%,
    rgba(0,0,0,0.82) 100%
  ) !important;
}

body.about .about-topwall,
body.about .about-hero-bg{
  position: relative;
  z-index: 1;
}

/* =========================
   Socials Footer
========================== */
.site-footer{
  margin-top: 48px;
  padding: 28px 0;
  background: rgba(0,0,0,0.55);
  border-top: 1px solid rgba(255,255,255,0.14);
}

.footer__inner{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.footer__brand{
  display: grid;
  gap: 6px;
}

.footer__title{
  font-family: var(--serif);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: rgba(233,245,247,0.95);
}

.footer__tagline{
  font-size: 0.95rem;
  color: rgba(233,245,247,0.72);
}

.footer__socials{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.social{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  color: rgba(233,245,247,0.92);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.social svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.92;
}

.social span{
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.social:hover{
  transform: translateY(-1px);
  background: rgba(70,240,255,0.12);
  border-color: rgba(70,240,255,0.35);
}

.footer__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer__copy{
  font-size: 0.9rem;
  color: rgba(233,245,247,0.70);
}

.footer__links{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(233,245,247,0.78);
}

.footer__links a{
  opacity: 0.9;
  border-bottom: 1px solid transparent;
}

.footer__links a:hover{
  border-bottom-color: rgba(70,240,255,0.55);
}

.footer__links .dot{ opacity: 0.6; }