/* =========================================================================
   Money Plane by Relax Gaming — relax-money-plane bundle
   CSS prefix: .mp- (verified free of collisions, see visual-direction §7)
   Unique structure per templates/landings/STYLE_GUIDE.md — not derived from
   any other bundle's CSS file.
   ========================================================================= */

/* --- Design tokens -------------------------------------------------- */
:root {
  --mp-sky-blue:     #2AA6E8;
  --mp-sky-light:    #6FC6F0;
  --mp-desert-sand:  #D9A066;
  --mp-mesa-red:     #B5502F;

  --mp-plane-red:    #C0392B;
  --mp-plane-cream:  #F0DFC0;
  --mp-plane-gold:   #E8B84A;

  --mp-bill-green:   #7CB342;
  --mp-coin-gold:    #FFD700;

  --mp-wagon-wood:   #6B3A1F;
  --mp-wagon-metal:  #8A6A3A;
  --mp-wagon-glow:   #F5A623;

  --mp-vol-1: #2AA6E8;
  --mp-vol-2: #4A9FD4;
  --mp-vol-3: #F59E0B;
  --mp-vol-4: #E85C1A;
  --mp-vol-5: #C0392B;

  --mp-bg-cream:   #FDF6E3;
  --mp-surface:    #FFFFFF;
  --mp-border:     #EADFC4;
  --mp-text-dark:  #1A1A1A;
  --mp-text-muted: #6B7280;

  --mp-favicon-bg: #2AA6E8;

  --mp-radius-lg: 18px;
  --mp-radius-md: 12px;
  --mp-radius-sm: 8px;
  --mp-shadow-soft: 0 10px 30px rgba(26, 26, 26, 0.08);
  --mp-container: 1120px;
}

/* --- Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--mp-text-dark);
  background: var(--mp-bg-cream);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.mp-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mp-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--mp-text-dark);
  color: #fff;
  padding: 10px 18px;
  z-index: 500;
  border-radius: 0 0 var(--mp-radius-sm) 0;
}
.mp-skip:focus { left: 0; }

.mp-frame {
  max-width: var(--mp-container);
  margin: 0 auto;
  padding: 0 24px;
}

.mp-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mp-plane-red);
  margin-bottom: 10px;
}

.mp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
}
.mp-btn--fly {
  background: var(--mp-plane-red);
  color: #fff;
}
.mp-btn--sky {
  background: transparent;
  border-color: var(--mp-sky-blue);
  color: var(--mp-sky-blue);
}

/* =========================================================================
   Header / Topbar — grid-based, explicit column placement (burger stays
   pinned to its own column regardless of which siblings are hidden)
   ========================================================================= */
.mp-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 227, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--mp-border);
  overflow: visible;
}

.mp-navtoggle { display: none; }

.mp-topbar-row {
  max-width: var(--mp-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 12px 24px;
}

.mp-brand {
  grid-column: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--mp-text-dark);
  white-space: nowrap;
}
.mp-brand span { font-weight: 500; color: var(--mp-plane-red); font-size: 0.85em; }

.mp-nav { grid-column: 2; min-width: 0; }
.mp-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 600;
}
.mp-nav-list a { text-decoration: none; color: var(--mp-text-dark); }
.mp-nav-list a:hover { color: var(--mp-plane-red); }

.mp-locale { grid-column: 3; position: relative; }
.mp-locale > summary {
  list-style: none;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--mp-border);
  background: var(--mp-surface);
  font-weight: 700;
  font-size: 0.82rem;
}
.mp-locale > summary::-webkit-details-marker { display: none; }
.mp-locale-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-md);
  box-shadow: var(--mp-shadow-soft);
  padding: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  min-width: 140px;
}
.mp-locale-panel a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--mp-radius-sm);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mp-text-dark);
}
.mp-locale-panel a:hover { background: var(--mp-bg-cream); }
.mp-locale-panel a[aria-current="page"] { color: var(--mp-plane-red); }

.mp-navbtn {
  grid-column: 4;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 36px;
  cursor: pointer;
  margin-left: auto;
}
.mp-navbtn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--mp-text-dark);
}

.mp-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 22px;
  background: var(--mp-surface);
  border-top: 1px solid var(--mp-border);
}
.mp-drawer a {
  text-decoration: none;
  color: var(--mp-text-dark);
  font-weight: 600;
  padding: 10px 4px;
  border-bottom: 1px solid var(--mp-border);
}
.mp-drawer-locale { margin-top: 14px; }
.mp-drawer-locale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.mp-drawer-locale-grid a {
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-sm);
  text-align: center;
  padding: 8px 4px;
  font-size: 0.82rem;
}
.mp-drawer-locale-grid a[aria-current="page"] { color: var(--mp-plane-red); border-color: var(--mp-plane-red); }

.mp-navtoggle:checked ~ .mp-drawer { display: flex; }

@media (max-width: 860px) {
  .mp-topbar-row { grid-template-columns: auto 1fr auto; }
  .mp-nav { display: none; }
  .mp-locale { display: none; }
  .mp-navbtn { display: flex; grid-column: 3; }
}

/* =========================================================================
   Block 1 — Hero
   ========================================================================= */
.mp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #DDF1FC 0%, var(--mp-bg-cream) 100%);
}
.mp-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
}
.mp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 20%;
}
@media (max-width: 767px) {
  .mp-hero-media { aspect-ratio: 3 / 4; }
  .mp-hero-media img { object-position: center 50%; }
}
.mp-hero-copy {
  position: relative;
  padding: 34px 24px 40px;
  max-width: var(--mp-container);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .mp-hero-copy {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 24px;
  }
  .mp-hero-copy-inner { max-width: 560px; }
}
.mp-hero-copy-inner {
  background: rgba(253, 246, 227, 0.88);
  padding: 22px 24px;
  border-radius: var(--mp-radius-lg);
}
@media (max-width: 767px) {
  .mp-hero-copy-inner { background: none; padding: 0; }
}
.mp-hero h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); }
.mp-hero-lede { font-size: 1.02rem; color: var(--mp-text-dark); }

.mp-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 18px 0;
  padding: 0;
}
.mp-hero-stats div { grid-column: span 1; }
.mp-hero-stats dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mp-text-muted);
}
.mp-hero-stats dd {
  margin: 2px 0 0;
  font-weight: 800;
  font-size: 1.02rem;
}

.mp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.mp-hero-disclaimer { font-size: 0.82rem; color: var(--mp-text-muted); max-width: 620px; }

/* =========================================================================
   Block 2 — Quick Specs
   ========================================================================= */
.mp-quickspecs { padding: 48px 0; }
.mp-quickspecs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
@media (max-width: 720px) {
  .mp-quickspecs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mp-quickspecs-item {
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-md);
  padding: 14px 16px;
}
.mp-quickspecs-item dt { font-size: 0.72rem; text-transform: uppercase; color: var(--mp-text-muted); letter-spacing: 0.04em; }
.mp-quickspecs-item dd { margin: 4px 0 0; font-weight: 700; }

/* =========================================================================
   Block 3 — How It Works (flight path)
   ========================================================================= */
.mp-flightpath { padding: 48px 0; background: var(--mp-surface); }
.mp-flightpath-intro { max-width: 760px; font-size: 1.02rem; }
.mp-flightpath-steps {
  counter-reset: mp-step;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.mp-flightpath-step {
  counter-increment: mp-step;
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--mp-bg-cream);
  border-radius: var(--mp-radius-md);
  border: 1px solid var(--mp-border);
}
.mp-flightpath-step::before {
  content: counter(mp-step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mp-plane-red);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.mp-flightpath-note { margin-top: 20px; font-size: 0.98rem; }

/* =========================================================================
   Block 4 — Volatility Levels & Max Win
   ========================================================================= */
.mp-volatility { padding: 48px 0; }
.mp-volatility-strip { background: var(--mp-surface); border-radius: var(--mp-radius-lg); padding: 30px 20px; border: 1px solid var(--mp-border); }
.mp-vol-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .mp-vol-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mp-vol-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--mp-bg-cream);
  border-radius: var(--mp-radius-md);
  padding: 16px 8px;
  border: 2px solid transparent;
}
.mp-vol-step--1 { border-color: var(--mp-vol-1); }
.mp-vol-step--2 { border-color: var(--mp-vol-2); }
.mp-vol-step--3 { border-color: var(--mp-vol-3); }
.mp-vol-step--4 { border-color: var(--mp-vol-4); }
.mp-vol-step--5 { border-color: var(--mp-vol-5); }
.mp-vol-label { font-weight: 700; font-size: 0.85rem; }
.mp-vol-max { font-weight: 900; font-size: 1.1rem; }
.mp-vol-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--mp-text-muted);
  margin: 20px auto 0;
  max-width: 640px;
}
.mp-vol-tablewrap { overflow-x: auto; margin-top: 26px; }
.mp-vol-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.mp-vol-table th, .mp-vol-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--mp-border);
  text-align: left;
  font-size: 0.92rem;
}
.mp-vol-table th { font-size: 0.78rem; text-transform: uppercase; color: var(--mp-text-muted); }

/* =========================================================================
   Block 5 — Money Train Connection
   ========================================================================= */
.mp-connection { padding: 48px 0; background: var(--mp-surface); }
.mp-connection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}
@media (min-width: 860px) {
  .mp-connection-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
}
.mp-connection-media img {
  border-radius: var(--mp-radius-lg);
  border: 1px solid var(--mp-border);
}

/* =========================================================================
   Block 6 — Choosing Your Volatility Level
   ========================================================================= */
.mp-choose { padding: 48px 0; }
.mp-choose-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.mp-choose-card {
  flex: 1 1 260px;
  min-width: 0;
  background: var(--mp-bg-cream);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-md);
  padding: 18px 20px;
}
.mp-choose-card h3 { font-size: 1.02rem; }
.mp-choose-note { margin-top: 18px; font-size: 0.95rem; color: var(--mp-text-muted); }

/* =========================================================================
   Block 7 — Full Specs
   ========================================================================= */
.mp-datasheet { padding: 48px 0; background: var(--mp-surface); }
.mp-datasheet-scroll { overflow-x: auto; margin-top: 20px; }
.mp-datasheet-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.mp-datasheet-table th, .mp-datasheet-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--mp-border);
  text-align: left;
  font-size: 0.92rem;
}
.mp-datasheet-table tr:nth-child(odd) td { background: rgba(217, 160, 102, 0.08); }

/* =========================================================================
   Block 8 — Disambiguation
   ========================================================================= */
.mp-idcheck { padding: 48px 0; }
.mp-idcheck-lede { max-width: 760px; }
.mp-idcheck-list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.mp-idcheck-item {
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-left: 4px solid var(--mp-plane-red);
  border-radius: var(--mp-radius-sm);
  padding: 12px 16px;
}
.mp-idcheck-item--self { border-left-color: var(--mp-bill-green); }
.mp-idcheck-callout { font-size: 0.95rem; color: var(--mp-text-muted); }

/* =========================================================================
   Block 9 — Demo
   ========================================================================= */
.mp-demo { padding: 48px 0; background: var(--mp-surface); }
.mp-demo-box {
  background: var(--mp-bg-cream);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
  padding: 22px 24px;
}

/* =========================================================================
   Block 10 — Where to Play
   ========================================================================= */
.mp-operator { padding: 48px 0; }
.mp-operator-note {
  background: var(--mp-surface);
  border-left: 4px solid var(--mp-sky-blue);
  border-radius: var(--mp-radius-sm);
  padding: 14px 18px;
  margin-top: 14px;
}

/* =========================================================================
   Block 11 — About Relax Gaming
   ========================================================================= */
.mp-about { padding: 48px 0; background: var(--mp-surface); }

/* =========================================================================
   Block 12 — FAQ
   ========================================================================= */
.mp-faq { padding: 48px 0; }
.mp-faq-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
.mp-faq-item {
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-md);
  padding: 6px 18px;
}
.mp-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  list-style: none;
}
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-item summary::after { content: "+"; float: right; color: var(--mp-plane-red); font-weight: 800; }
.mp-faq-item[open] summary::after { content: "\2212"; }
.mp-faq-item p { padding-bottom: 14px; margin: 0; }

/* =========================================================================
   Block 13 — Responsible Gambling
   ========================================================================= */
.mp-rg { padding: 40px 0; background: #241E14; color: #F4EEDD; }
.mp-rg a { color: var(--mp-sky-light); font-weight: 700; }
.mp-rg-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }

/* =========================================================================
   Block 14 — Footer  (single explicit column — immune to nested auto-fill
   grid blowout; see multi-locale-bundle-lessons.md CSS Grid note)
   ========================================================================= */
.mp-footer { background: var(--mp-text-dark); color: #E7E2D4; padding: 34px 0 26px; }
.mp-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.mp-footer-brand { font-weight: 800; font-size: 1.05rem; color: #fff; }
.mp-footer-note, .mp-footer-meta { font-size: 0.85rem; color: #B9B2A0; margin: 0; }
.mp-footer-locale-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
}
@media (max-width: 480px) {
  .mp-footer-locale-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mp-footer-locale-grid a {
  text-decoration: none;
  color: #E7E2D4;
  border: 1px solid #45402E;
  border-radius: var(--mp-radius-sm);
  text-align: center;
  padding: 7px 4px;
  font-size: 0.78rem;
}
.mp-footer-locale-grid a[aria-current="page"] { color: var(--mp-vol-3); border-color: var(--mp-vol-3); }
.mp-footer-rg a { margin-right: 14px; color: var(--mp-sky-light); font-weight: 700; text-decoration: none; }
.mp-footer-disclaimer { font-size: 0.78rem; color: #8B8471; }
