:root {
  --coal: #101416;
  --rail: #20292d;
  --steel: #5f7075;
  --paper: #f5ead8;
  --ticket: #fff7e8;
  --brass: #c9933d;
  --amber: #f3c15f;
  --red: #b63b2f;
  --green: #1f6f64;
  --ink: #181a1d;
  --muted: #657177;
  --line: rgba(24, 26, 29, .14);
  --shadow: 0 28px 70px rgba(16, 20, 22, .24);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16,20,22,.04) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 12% 9%, rgba(243,193,95,.32), transparent 26rem),
    radial-gradient(circle at 88% 2%, rgba(31,111,100,.22), transparent 22rem),
    linear-gradient(135deg, #efe1cc 0%, #f7efdf 50%, #dde8e4 100%);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", Verdana, sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: repeating-linear-gradient(115deg, transparent 0 18px, rgba(32,41,45,.08) 18px 20px);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--coal);
  border-radius: 999px;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 10px;
  z-index: 10;
  width: min(var(--max), calc(100% - 24px));
  margin: 10px auto 0;
  padding: 8px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(16,20,22,.96), rgba(32,41,45,.95));
  box-shadow: 0 18px 46px rgba(16,20,22,.28);
}
.site-header::after {
  content: "";
  display: block;
  height: 4px;
  margin: 8px 10px 2px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--brass) 0 34px, transparent 34px 46px);
  opacity: .7;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}
.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(1.04rem, 2vw, 1.36rem);
  line-height: 1.05;
  white-space: nowrap;
}
.brand span span {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .84rem;
  line-height: 1.25;
}
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.nav a {
  padding: 8px 11px;
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-weight: 900;
  font-size: .9rem;
}
.nav a:hover,
.nav a.is-active {
  color: #15130f;
  background: var(--amber);
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.language-select {
  min-width: 92px;
  padding: 10px 32px 10px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: #fff;
  background: #273237;
  font-weight: 900;
}
.language-select option { color: #101416; background: #fff; }
.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 13px;
  color: #111;
  background: var(--amber);
  font-weight: 950;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: #15130f;
  background: linear-gradient(90deg, var(--amber), #ffe6a5);
  box-shadow: 0 16px 34px rgba(201,147,61,.28);
  text-decoration: none;
  font-weight: 950;
}
.button.alt {
  color: #fff;
  background: linear-gradient(90deg, var(--green), #2e8d81);
  box-shadow: 0 16px 34px rgba(31,111,100,.24);
}
.page-shell {
  width: min(var(--max), calc(100% - 24px));
  margin: 22px auto 82px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 4px;
  color: var(--muted);
  font-weight: 850;
}
.breadcrumbs a { color: var(--ink); text-decoration: none; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(320px, .86fr);
  gap: 18px;
  align-items: stretch;
}
.hero-copy,
.engine-card,
.content-card,
.side-card,
.media-card,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 54px);
  background: linear-gradient(135deg, rgba(255,247,232,.96), rgba(245,234,216,.94));
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 2px dashed rgba(182,59,47,.22);
  border-radius: 22px;
}
.hero-copy > * { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 950;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: var(--red);
}
h1, h2, h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  line-height: 1.05;
  color: #15130f;
}
h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.25rem, 6.6vw, 5.45rem);
  letter-spacing: -.055em;
}
.lead {
  max-width: 740px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.23rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.engine-card {
  overflow: hidden;
  background: linear-gradient(160deg, #151b1e, #263238);
  color: #fff;
}
.engine-image {
  min-height: 310px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(16,20,22,.08), rgba(16,20,22,.78)),
    url("money-train-game.webp") center / cover;
}
.engine-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.engine-title strong {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1;
  text-shadow: 0 10px 24px rgba(0,0,0,.5);
}
.provider-logo {
  width: 92px;
  max-height: 44px;
  padding: 7px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}
.meter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.12);
}
.meter {
  padding: 15px;
  background: rgba(255,255,255,.06);
}
.meter span {
  display: block;
  color: rgba(255,255,255,.64);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .72rem;
  font-weight: 900;
}
.meter strong { display: block; margin-top: 4px; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}
.content-card {
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255,247,232,.94);
}
.content-card h2 {
  margin: 34px 0 13px;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  letter-spacing: -.035em;
}
.content-card h2:first-child { margin-top: 0; }
.content-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
}
.content-card p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 1.03rem;
}
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.media-card {
  overflow: hidden;
  background: #fff;
}
.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #172025;
}
.media-card figcaption {
  padding: 13px 15px;
  color: var(--muted);
  font-weight: 800;
}
.mini-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.mini-card,
.link-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: #fffaf0;
}
.mini-card {
  background: linear-gradient(160deg, #fffaf0, #eef8f4);
}
.link-card {
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(182,59,47,.42);
}
.link-card span {
  display: block;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 950;
}
.link-card strong { display: block; margin-top: 7px; }
.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}
th, td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: #243034;
  color: #fff;
  font-weight: 950;
}
tr:last-child td { border-bottom: 0; }
.ticket-note {
  margin: 22px 0;
  padding: 17px 18px;
  border-radius: 22px;
  color: #342614;
  background: repeating-linear-gradient(90deg, #ffe0a3 0 22px, #ffd487 22px 44px);
  font-weight: 900;
}
.side-stack {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}
.side-card {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,250,240,.94);
}
.side-card.dark {
  color: #fff;
  background: linear-gradient(155deg, #1a2225, #0f1517);
}
.side-card h2,
.side-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}
.side-card.dark h2,
.side-card.dark h3 { color: #fff; }
.side-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.side-card li {
  display: flex;
  gap: 9px;
  color: var(--muted);
}
.side-card.dark li { color: rgba(255,255,255,.76); }
.side-card li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: .58em;
  border-radius: 50%;
  background: var(--brass);
}
.side-logo {
  width: 130px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
}
.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16,20,22,.78), rgba(16,20,22,.95)),
    url("money-train-gameplay.webp") center / cover;
}
.cta-panel h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}
.cta-panel p { margin: 0; color: rgba(255,255,255,.76); }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.faq-item:first-of-type { border-top: 0; }
.float-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 12;
}
.site-footer {
  border-top: 1px solid rgba(24,26,29,.14);
  padding: 30px 0 42px;
  color: var(--muted);
}
.footer-inner {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}
@media (max-width: 1000px) {
  .site-header {
    top: 0;
    width: 100%;
    margin: 0;
    border-radius: 0 0 22px 22px;
  }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 8px;
  }
  .nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-actions .desktop-cta { display: none; }
  .hero,
  .layout,
  .footer-inner,
  .cta-panel { grid-template-columns: 1fr; }
  .side-stack { position: static; }
}
@media (max-width: 680px) {
  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .brand strong {
    white-space: normal;
    font-size: 1.02rem;
  }
  .brand span span { font-size: .76rem; }
  .language-select {
    min-width: 78px;
    padding: 9px 26px 9px 10px;
    font-size: .82rem;
  }
  .menu-toggle { padding: 9px 10px; }
  .page-shell {
    width: min(100% - 18px, var(--max));
    margin-top: 12px;
  }
  .hero-copy,
  .content-card {
    padding: 22px 17px;
    border-radius: 24px;
  }
  .hero-copy::before { inset: 10px; }
  h1 {
    font-size: clamp(2rem, 12vw, 3.45rem);
    letter-spacing: -.04em;
  }
  .lead { font-size: 1rem; }
  .engine-image { min-height: 205px; }
  .meter-grid,
  .media-row,
  .mini-grid,
  .link-grid { grid-template-columns: 1fr; }
  .content-card h2 { font-size: clamp(1.55rem, 8.6vw, 2.3rem); }
  .float-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .float-cta .button { width: 100%; }
}
