/* LudoPlay homepage – clean, white, easy to read */
:root {
  --purple: #6d28d9;
  --purple-dark: #5b21b6;
  --purple-soft: #f3eeff;
  --purple-line: #ddd0fb;
  --gold: #ffc83d;
  --ink: #17152b;
  --text: #4a4860;
  --muted: #77758c;
  --line: #ebe9f2;
  --white: #ffffff;
  --navy: #1a1446;
  --red: #e5383b;
  --green: #1fa34a;
  --yellow: #f2c200;
  --blue: #2f6fe4;
  --radius: 16px;
  --header-h: 70px;
  --shadow-sm: 0 1px 2px rgba(23, 21, 43, 0.05), 0 4px 14px rgba(23, 21, 43, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); line-height: 1.22; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; border-radius: 6px; }

.container { width: min(1140px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 48px); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 16px rgba(109, 40, 217, 0.22); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-outline { border-color: #d6d3e3; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd666; }
.btn-light { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-light:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 16px rgba(23, 21, 43, 0.05); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 22px; }
.brand-mark { width: 34px; height: 34px; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); background: #f5f4f9; }
.nav-links a.active { color: var(--purple); background: var(--purple-soft); }
.nav-auth { display: flex; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; border: 1px solid var(--line); }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
.hero h1 span { color: var(--purple); }
.lead { margin-top: 18px; font-size: 19px; max-width: 540px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px; margin-top: 30px; }
.facts div { padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.facts div:first-child { border-color: var(--purple-line); background: var(--purple-soft); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.facts div:first-child dd { color: var(--purple); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.mini-ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 15px; color: var(--text); }
.mini-ticks li { position: relative; padding-left: 24px; }
.mini-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fa34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-art { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.hero-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--purple-soft); }
.hero-art .phone { position: relative; }

/* ---------- Phone mockup ---------- */
.phone { width: 260px; padding: 10px; border-radius: 38px; background: #14112e; box-shadow: 0 24px 50px rgba(23, 21, 43, 0.22); }
.phone-screen { border-radius: 30px; background: var(--navy); padding: 22px 12px 14px; display: flex; flex-direction: column; gap: 14px; }
.ps-top { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ps-pill { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #d8f5e1; color: #13703a; }
.board-wrap { background: #fff; border-radius: 10px; padding: 5px; }
.ps-bottom { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--gold); font-weight: 600; font-size: 14px; }

.ludo-board { display: grid; grid-template-columns: repeat(15, 1fr); aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.ludo-board .c { border: .5px solid rgba(23, 21, 43, 0.12); background: #fff; position: relative; }
.ludo-board .yard, .ludo-board .home-c, .ludo-board .center { border: none; }
.ludo-board .red { background: var(--red); }
.ludo-board .green { background: var(--green); }
.ludo-board .yellow { background: var(--yellow); }
.ludo-board .blue { background: var(--blue); }
.ludo-board .yard-in { background: #fff; }
.ludo-board .pawn::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2); }
.ludo-board .p-red::after { background: var(--red); }
.ludo-board .p-green::after { background: var(--green); }
.ludo-board .p-yellow::after { background: var(--yellow); }
.ludo-board .p-blue::after { background: var(--blue); }
.ludo-board .center { grid-column: 7 / span 3; grid-row: 7 / span 3; background: conic-gradient(from 45deg, var(--yellow) 0 25%, var(--blue) 0 50%, var(--red) 0 75%, var(--green) 0 100%); }
.ludo-board .star::before { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 7px; color: rgba(23, 21, 43, 0.4); }

.die { --s: 34px; position: relative; display: block; width: var(--s); height: var(--s); border-radius: 8px; background: #fff; box-shadow: inset 0 -3px 0 #d9d7e6; }
.die::before { content: ""; position: absolute; inset: 0; --p: radial-gradient(circle, var(--navy) 0 45%, transparent 52%); }
.die.face-6::before { background: var(--p) 22% 20% / 24% 24% no-repeat, var(--p) 78% 20% / 24% 24% no-repeat, var(--p) 22% 50% / 24% 24% no-repeat, var(--p) 78% 50% / 24% 24% no-repeat, var(--p) 22% 80% / 24% 24% no-repeat, var(--p) 78% 80% / 24% 24% no-repeat; }
.die.face-4::before { background: var(--p) 24% 24% / 24% 24% no-repeat, var(--p) 76% 24% / 24% 24% no-repeat, var(--p) 24% 76% / 24% 24% no-repeat, var(--p) 76% 76% / 24% 24% no-repeat; }

/* ---------- Icons ---------- */
.ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-purple { background: var(--purple-soft); } .ic-purple svg { stroke: var(--purple); }
.ic-blue { background: #e9f0ff; } .ic-blue svg { stroke: var(--blue); }
.ic-green { background: #e5f7ec; } .ic-green svg { stroke: var(--green); }
.ic-gold { background: #fff4d6; } .ic-gold svg { stroke: #b37800; }

/* ---------- Highlights ---------- */
.highlights { padding-bottom: 16px; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hl-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.hl-grid strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.35; }
.hl-grid p { font-size: 14.5px; margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; }
.sub { margin-top: 8px; font-size: 18px; color: var(--text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* tick lists */
.ticks { margin-top: 26px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #e5f7ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fa34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks-grid { margin-top: 0; grid-template-columns: 1fr 1fr; gap: 14px; }
.ticks-grid li { border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 18px 54px; background: #fff; }
.ticks-grid li::before { left: 18px; top: 50%; transform: translateY(-50%); }

/* price box */
.price-box { position: relative; border: 1px solid var(--purple-line); border-radius: 22px; padding: 36px; background: #fff; box-shadow: 0 20px 50px rgba(109, 40, 217, 0.12); overflow: hidden; }
.price-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--purple); }
.pb-title { display: inline-block; font-size: 14px; font-weight: 600; color: var(--purple); background: var(--purple-soft); padding: 4px 12px; border-radius: 999px; }
.pb-price { font-size: 54px; font-weight: 700; color: var(--ink); line-height: 1.15; margin-top: 14px; letter-spacing: -0.02em; }
.pb-price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pb-table { width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-size: 16px; }
.pb-table th, .pb-table td { padding: 15px 0; border-top: 1px solid var(--line); vertical-align: top; }
.pb-table th { text-align: left; font-weight: 500; color: var(--text); padding-right: 16px; }
.pb-table td { text-align: right; font-weight: 700; color: var(--ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.steps li { position: relative; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--purple); color: #fff; font-weight: 700; font-size: 19px; margin-bottom: 18px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 49px; right: -21px; width: 22px; height: 2px; background: var(--purple-line); }
.steps h3 { font-size: 19px; }
.steps p { margin-top: 6px; font-size: 15.5px; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.feature { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature:hover { border-color: var(--purple-line); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.feature h3 { font-size: 17px; margin-top: 18px; }
.feature p { font-size: 15px; margin-top: 4px; }

/* download */
.download-box { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.download-box .btn { margin-top: 26px; }
.dl-art { position: relative; padding: 10px 30px; }
.dl-art::before { content: ""; position: absolute; inset: 12% 0; border-radius: 28px; background: var(--purple-soft); }
.dl-art .phone { position: relative; }
.phone-sm { width: 220px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-title-row { text-align: left; }
.accordion { margin-top: 30px; display: grid; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s; }
.acc-item.open { border-color: var(--purple-line); }
.acc-item h3 { font-size: inherit; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 22px; text-align: left; font-size: 17px; font-weight: 600; color: var(--ink); }
.acc-ic { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--purple-soft); }
.acc-ic::before, .acc-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--purple); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.acc-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .acc-ic::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.acc-panel > p { overflow: hidden; padding: 0 22px; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-item.open .acc-panel > p { padding-bottom: 20px; }

/* contact card */
.contact { padding: 24px 0 88px; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 44px 48px; border-radius: 24px; background: var(--purple); color: #ede6ff; }
.contact h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.contact p { margin-top: 6px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 22px; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.f-text { margin-top: 10px; color: var(--muted); }
.f-links { display: flex; flex-wrap: wrap; gap: 10px 26px; max-width: 520px; }
.f-links a { color: var(--text); }
.f-links a:hover { color: var(--purple); }
.f-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* mobile bottom bar (shown on phones only) */
.mobile-bar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .nav-links a { padding: 8px; font-size: 14px; }
  .nav-menu { gap: 14px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(23, 21, 43, 0.08); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-menu.open { display: flex; }
  .site-header:has(.nav-menu.open) { border-color: var(--line); }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-auth { flex-direction: column; }
  .nav-auth .btn { padding: 13px; font-size: 16px; }
  .hero-inner, .two-col, .download-box { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { top: auto; bottom: -21px; right: auto; left: 47px; width: 2px; height: 22px; }
  .dl-art { order: 2; display: flex; justify-content: center; }
  .contact-inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
/* ---------- Phone ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .hero { padding: 32px 0 44px; }
  .lead { font-size: 17px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .facts div { padding: 10px; }
  .facts dt { font-size: 12px; }
  .facts dd { font-size: 18px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .phone { width: 230px; }
  .hl-grid { grid-template-columns: 1fr; gap: 10px; }
  .section { padding: 60px 0; }
  .feature-grid, .ticks-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 10px; margin-top: 28px; }
  .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px; }
  .feature .ic { grid-row: span 2; }
  .feature h3 { margin-top: 0; font-size: 16px; }
  .feature p { margin-top: 0; font-size: 14.5px; }
  .price-box { padding: 30px 20px 22px; }
  .pb-price { font-size: 44px; }
  .pb-table th, .pb-table td { display: block; text-align: left; padding: 0; border: 0; }
  .pb-table tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .pb-table td { margin-top: 2px; }
  .contact { padding-bottom: 60px; }
  .contact-actions, .contact-actions .btn { width: 100%; }
  .mobile-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(23, 21, 43, 0.06); transform: translateY(110%); transition: transform .25s ease; }
  .mobile-bar.show { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Phone + email under the contact heading */
.contact-info { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.contact-info a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.f-text a { color: inherit; text-decoration: none; }
.f-text a:hover { color: var(--purple); }

/* Highlighted one-line offer: ₹5,000 start, ₹70,000 after 7 days */
.offer { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 18px 0 4px; padding: 10px 16px; border-radius: 12px; background: #fff6d6; border: 1.5px solid #ffc83d; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.offer b { color: var(--purple); font-weight: 800; }
.offer-tag { padding: 3px 9px; border-radius: 999px; background: #ffc83d; color: #1a1446; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-box .offer { display: flex; margin: 6px 0 16px; font-size: .95rem; }
@media (max-width: 560px) { .offer { font-size: .95rem; } }

/* Payment steps in the price box: ₹5,000 now → launch in 7 days → ₹70,000 after */
.pb-price { color: var(--purple); }
.pb-step { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.pb-table td.hl { color: var(--purple); }
.pb-table tr:first-child th, .pb-table tr:first-child td { background: var(--purple-soft); }
.pb-table tr:first-child th { padding-left: 12px; border-radius: 10px 0 0 10px; }
.pb-table tr:first-child td { padding-right: 12px; border-radius: 0 10px 10px 0; }
@media (max-width: 560px) {
  .pb-table tr:first-child { background: var(--purple-soft); border-radius: 10px; padding: 12px; }
  .pb-table tr:first-child th, .pb-table tr:first-child td { background: none; padding: 0; }
}

/* Real game screenshot inside the phone frame */
.phone-img { display: block; width: 100%; height: auto; border-radius: 30px; }
.phone { padding: 8px; }
