:root {
  --bg: #050708;
  --ink: #fff5d7;
  --muted: #cfc7b2;
  --soft: #8f998e;
  --panel: rgba(12, 20, 17, .92);
  --panel-2: rgba(17, 27, 22, .82);
  --line: rgba(255, 213, 83, .24);
  --green: #28de83;
  --yellow: #ffd553;
  --red: #ef344b;
  --blue: #36a5ff;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(0,0,0,.48);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(40,222,131,.14), transparent 24rem),
    radial-gradient(circle at 82% 0%, rgba(255,213,83,.16), transparent 26rem),
    linear-gradient(180deg, #050708 0%, #09100d 48%, #050708 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 76%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.72; font-size: 1.03rem; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: 0; }
h1 { font-size: clamp(3rem, 5.7vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 4rem); }
h3 { font-size: 1.18rem; }
main { overflow: hidden; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5,7,8,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  transition: transform .18s ease, filter .18s ease;
}

.brand:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 18px rgba(40,222,131,.28));
}

.brand img {
  width: 186px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  padding: 12px 13px;
  border-radius: var(--radius);
  color: #eee5ce;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  transform: translateY(-1px);
  color: #fff;
  background: linear-gradient(135deg, rgba(255,213,83,.24), rgba(40,222,131,.13));
  box-shadow: inset 0 0 0 1px rgba(255,213,83,.45), 0 12px 26px rgba(0,0,0,.24);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.menu-button:hover {
  border-color: rgba(40,222,131,.64);
  background: rgba(40,222,131,.12);
  box-shadow: 0 0 0 3px rgba(40,222,131,.08);
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero {
  padding: 34px 0 36px;
}

.hero-board {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(520px, .9fr) 1.1fr;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,7,8,.96), rgba(5,7,8,.78) 42%, rgba(5,7,8,.16)),
    url("/assets/images/ludo-money-hero.jpg") center right / cover;
  position: relative;
}

.hero-board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(5,7,8,.64), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(255,213,83,.18), transparent 22rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 46px 0 46px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 690px;
}

.hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(3.2rem, 4.6vw, 5.2rem);
  max-width: 680px;
}

.hero-copy p {
  max-width: 590px;
  margin: 22px 0 0;
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 950;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.button:hover {
  transform: translateY(-3px);
  border-color: rgba(40,222,131,.72);
  box-shadow: 0 18px 44px rgba(40,222,131,.16), 0 0 0 3px rgba(40,222,131,.08);
}

.button.primary {
  color: #10110b;
  background: linear-gradient(135deg, #ffd553, #fff0b8 54%, #28de83);
  box-shadow: 0 18px 44px rgba(255,213,83,.18);
}

.button.primary:hover {
  background: linear-gradient(135deg, #ffe172, #fff6cf 52%, #44f69c);
}

.button.ghost {
  background: rgba(255,255,255,.05);
}

.button.ghost:hover {
  background: rgba(40,222,131,.1);
}

.hero-stats {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  width: min(560px, calc(100% - 56px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-pill {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,213,83,.24);
  background: rgba(5,8,8,.72);
  backdrop-filter: blur(12px);
}

.stat-pill b { display: block; color: var(--ink); }
.stat-pill span { color: var(--muted); font-size: .9rem; }

.section { padding: 56px 0; }

.section-heading {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 { font-size: clamp(1.95rem, 3.5vw, 3.25rem); }
.section-heading p { margin: 0; }

.lane-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.lane-card,
.panel,
.question,
.legal-card,
.content-card {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
}

.lane-card {
  min-height: 300px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lane-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40,222,131,.52);
  background: linear-gradient(180deg, rgba(40,222,131,.1), rgba(255,255,255,.025)), var(--panel);
  box-shadow: 0 22px 46px rgba(0,0,0,.36), 0 0 0 3px rgba(40,222,131,.06);
}

.lane-card b {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #11120a;
  background: linear-gradient(135deg, var(--yellow), var(--green));
  margin: 14px 0 18px;
}

.lane-card:nth-child(2) b { background: linear-gradient(135deg, var(--red), #ffd553); }
.lane-card:nth-child(3) b { background: linear-gradient(135deg, var(--blue), var(--green)); }
.lane-card:nth-child(4) b { background: linear-gradient(135deg, #fff2b9, var(--red)); }

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
}

.content-card .card-image,
.panel .card-image {
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 18px;
}

.panel { padding: 28px; }
.panel h2, .content-card h2 { font-size: clamp(1.55rem, 2.6vw, 2.45rem); }

.image-panel {
  padding: 0;
  overflow: hidden;
}

.panel-image {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.ludo-board {
  min-height: 420px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 22px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.08), transparent 12rem),
    rgba(7,12,11,.9);
}

.zone {
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #050708;
  font-weight: 950;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.14);
}

.zone.green { background: #28de83; }
.zone.yellow { background: #ffd553; }
.zone.red { background: #ef344b; }
.zone.blue { background: #36a5ff; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding: 14px 14px 14px 42px;
  color: var(--muted);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 16px rgba(255,213,83,.8);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.signal-step {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.signal-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.1);
}

.signal-step.active,
.signal-step:hover {
  transform: translateY(-4px);
  border-color: rgba(40,222,131,.55);
  background: rgba(40,222,131,.1);
}

.question-list { display: grid; gap: 12px; }

details.question {
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
details.question:hover {
  border-color: rgba(40,222,131,.45);
  background: rgba(16, 30, 24, .94);
  box-shadow: 0 18px 34px rgba(0,0,0,.28);
}
details summary {
  cursor: pointer;
  padding: 19px 22px;
  font-weight: 950;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details p { margin: 0; padding: 0 22px 22px; }

.subhero {
  padding: 62px 0 28px;
}

.subhero-inner {
  min-height: 330px;
  display: grid;
  align-content: end;
  padding: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(90deg, rgba(5,7,8,.96), rgba(5,7,8,.52)),
    url("/assets/images/ludo-money-hero.jpg") center right / cover;
}

.subhero h1 { font-size: clamp(2.55rem, 5.2vw, 5rem); }
.subhero p { max-width: 760px; font-size: 1.14rem; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.content-card {
  padding: 24px;
  background: var(--panel-2);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40,222,131,.45);
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
}

.content-card strong {
  display: inline-block;
  color: var(--green);
  margin-bottom: 16px;
}

.wide-card { grid-column: 1 / -1; }
.legal-card { padding: 28px; }
.legal-card h2 { font-size: 1.75rem; margin-top: 24px; }
.legal-card h2:first-child { margin-top: 0; }

.contact-box {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 18px;
}

.site-footer {
  margin-top: 54px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(3,5,6,.78);
}

.footer-inner {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
}

.footer-links a {
  transition: color .18s ease, text-shadow .18s ease;
}

.footer-links a:hover {
  color: var(--green);
  text-shadow: 0 0 18px rgba(40,222,131,.34);
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--soft);
  text-align: center;
  padding: 18px 0;
  font-size: .92rem;
}

@media (max-width: 1040px) {
  .brand img { width: 164px; }
  .nav-links a { padding: 10px 9px; }
  .hero-board {
    grid-template-columns: 1fr;
    min-height: 670px;
    background-position: center;
  }
  .hero-copy {
    padding: 34px 28px 230px;
    max-width: 100%;
  }
  .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(3rem, 9vw, 4.8rem);
  }
  .hero-stats { grid-template-columns: 1fr; }
  .lane-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 28px, 760px); }
  .menu-button { display: inline-grid; place-items: center; }
  .nav { min-height: 74px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(5,7,8,.97);
    border: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .split, .section-heading, .content-grid, .contact-box, .footer-inner, .signal-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 20px, 520px); }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 3rem); }
  .hero { padding-top: 24px; }
  .hero-board { min-height: 640px; }
  .hero-copy { padding: 28px 20px 238px; }
  .hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
    line-height: 1;
  }
  .hero-copy p { font-size: 1rem; }
  .hero-stats { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .lane-grid { grid-template-columns: 1fr; }
.panel-image { min-height: 320px; }
  .subhero-inner { min-height: 300px; padding: 26px; }
}
