
:root {
  --bg:        #17101f;
  --bg-2:      #1e1529;
  --surface:   #271b35;
  --surface-2: #322244;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.19);

  --ink:   #f6f1fb;
  --ink-2: #b3a4c4;
  --ink-3: #7e6f92;

  --pink:  #ff4d94;
  --pink-2:#d81f6b;
  --gold:  #ffd166;
  --teal:  #2dd4bf;
  --red:   #fb7185;

  --grad:      linear-gradient(112deg, var(--pink), var(--pink-2));
  --grad-gold: linear-gradient(112deg, var(--gold), #e0a92b);

  --sans: "Nirmala UI","Segoe UI","Shonar Bangla",system-ui,-apple-system,Arial,sans-serif;
  --display: "Century Gothic","Nirmala UI","Segoe UI",Futura,system-ui,sans-serif;
  --mono: "Cascadia Mono",Consolas,ui-monospace,monospace;

  --r:   18px;
  --r-s: 11px;
  --shadow: 0 22px 54px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.68 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background:
    radial-gradient(58% 40% at 50% -8%, rgba(255,77,148,.16), transparent 70%),
    radial-gradient(40% 30% at 92% 18%, rgba(255,209,102,.10), transparent 72%);
}

.wrap { width: 100%; max-width: 1240px; padding-inline: clamp(15px, 4vw, 32px); margin-inline: auto; position: relative; z-index: 1; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.16; margin: 0; }
p { margin: 0 0 14px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
::selection { background: var(--pink); color: #200a14; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.lb { text-transform: lowercase !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border: 0; border-radius: 14px; cursor: pointer; text-decoration: none;
  font: 700 14.5px/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; transition: transform .16s, box-shadow .2s;
}
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(255,77,148,.34); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255,77,148,.48); }
.btn-gold { background: var(--grad-gold); color: #241a05; box-shadow: 0 10px 28px rgba(255,209,102,.28); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; border-radius: 11px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

.topbar { position: sticky; top: 0; z-index: 60; background: rgba(23,16,31,.95); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .mark { width: 36px; height: 36px; flex: none; }
.brand .wordmark b { display: block; font: 700 18px/1 var(--display); letter-spacing: .01em; }
.brand .wordmark span { display: block; color: var(--ink-3); font: 600 9px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; margin-top: 3px; }
.topnav { display: flex; gap: 3px; margin-inline-start: auto; }
.topnav a { padding: 9px 14px; border-radius: 11px; font: 600 13px/1 var(--display); color: var(--ink-2); text-decoration: none; transition: .16s; }
.topnav a:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.tools { display: flex; align-items: center; gap: 9px; }
.lang { display: inline-flex; align-items: center; }
.lang a { padding: 6px 8px; color: var(--ink-3); text-decoration: none; font: 700 12px/1 var(--display); letter-spacing: .07em; border-radius: 8px; }
.lang a:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.lang a.on { color: var(--gold); }
.lang a + a::before { content: "/"; margin-inline: 0 8px; color: var(--ink-3); opacity: .5; font-weight: 400; }

.hero { padding: clamp(38px, 5vw, 84px) 0 clamp(30px, 4vw, 60px); text-align: center; border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; background: rgba(255,209,102,.13); box-shadow: inset 0 0 0 1px rgba(255,209,102,.32); color: var(--gold); font: 700 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(29px, 5vw, 58px); letter-spacing: -.015em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero .lede { color: var(--ink-2); font-size: clamp(15px, 1.2vw, 17.5px); max-width: 74ch; margin: 0 auto 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { color: var(--ink-3); font-size: 12.5px; margin: 16px 0 0; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 12px; margin-top: 30px; }
.fig { background: var(--surface); border-radius: var(--r-s); padding: 19px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.fig .v { font: 700 clamp(22px, 2.6vw, 31px)/1 var(--mono); color: var(--gold); }
.fig .l { color: var(--ink-2); font-size: 13px; margin-top: 7px; }

.sec { padding: clamp(36px, 4.4vw, 72px) 0; border-top: 1px solid var(--line); }
.sec.alt { background: var(--bg-2); }
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(22px, 2.9vw, 37px); }
.sec-head .sub { color: var(--ink-2); font-size: 15px; margin: 12px auto 0; max-width: 82ch; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 700 10.5px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }

.grid-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 17px; }
.gcard { display: block; text-decoration: none; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .18s, box-shadow .2s; }
.gcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,77,148,.4), var(--shadow); }

.gcard .cover { width: 100%; height: auto; display: block; }
.gcard .gbody { padding: 15px 17px 18px; }
.gcard .gname { font: 700 16px/1.25 var(--display); margin-bottom: 9px; }
.gcard .gmeta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gcard .rtp { font: 700 13px/1 var(--mono); color: var(--teal); }
.gcard .prov { color: var(--ink-3); font-size: 11.5px; }
.gcard .play { display: inline-block; margin-top: 13px; padding: 8px 15px; border-radius: 10px; background: rgba(255,77,148,.14); box-shadow: inset 0 0 0 1px rgba(255,77,148,.3); color: var(--pink); font: 700 12px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }

.demo-wrap { border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-2); }
.demo-frame { position: relative; width: 100%; height: clamp(420px, 62vh, 720px); background: var(--bg-2); }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-frame .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.demo-play { position: absolute; inset: 0; display: grid; place-items: center; gap: 14px; border: 0; width: 100%; background: rgba(23,16,31,.55); cursor: pointer; color: var(--ink); font: 700 15px/1.3 var(--display); letter-spacing: .04em; }
.demo-play .circle { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 12px 34px rgba(255,77,148,.5); }
.demo-status { position: absolute; inset: 0; display: grid; place-items: center; gap: 12px; padding: 26px; text-align: center; color: var(--ink-2); font-size: 15px; }
.demo-status.err b { display: block; font: 700 19px/1.3 var(--display); color: var(--ink); margin-bottom: 8px; }
.demo-status.err p { max-width: 56ch; margin: 0 auto 16px; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--pink); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-note { color: var(--ink-3); font-size: 13px; margin: 14px 0 0; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--r); padding: 24px 26px; box-shadow: inset 0 0 0 1px var(--line); transition: .18s; }
.card:hover { background: var(--surface-2); }
.card h3 { font-size: 17px; margin-bottom: 11px; }
.card p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 11px; }
.card p:last-child { margin-bottom: 0; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.card li { position: relative; padding-inline-start: 17px; color: var(--ink-2); font-size: 14.5px; }
.card li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--pink); transform: rotate(45deg); }
.card b { color: var(--ink); }
.card.hi { background: linear-gradient(150deg, rgba(255,209,102,.13), var(--surface) 56%); box-shadow: inset 0 0 0 1px rgba(255,209,102,.3); }

.tscroll { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-2); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.data th, table.data td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--surface); color: var(--ink-3); font: 700 10px/1.3 var(--display); letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(255,255,255,.03); }
table.data .num { color: var(--teal); font-weight: 700; }

.ctamini { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 18px 24px; border-radius: var(--r); background: linear-gradient(104deg, rgba(255,209,102,.12), var(--surface) 62%); box-shadow: inset 0 0 0 1px rgba(255,209,102,.26); }
.ctamini b { font: 700 15.5px/1.3 var(--display); }
.ctamini .sub2 { display: block; color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }

.ctabox { margin-top: 26px; padding: 34px 32px; border-radius: 22px; background: linear-gradient(150deg, rgba(255,77,148,.18), var(--surface) 58%); box-shadow: inset 0 0 0 1px rgba(255,77,148,.32); text-align: center; }
.ctabox h2 { font-size: clamp(21px, 2.5vw, 31px); margin-bottom: 12px; }
.ctabox p { color: var(--ink-2); font-size: 15px; max-width: 70ch; margin: 0 auto 22px; }

.alertbox { display: flex; gap: 15px; margin-top: 20px; padding: 22px 26px; border-radius: var(--r); background: linear-gradient(150deg, rgba(251,113,133,.09), var(--surface) 58%); box-shadow: inset 0 0 0 1px rgba(251,113,133,.24); }
.alertbox h3 { font-size: 16.5px; margin-bottom: 9px; }
.alertbox p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 9px; }
.alertbox p:last-child { margin-bottom: 0; }

.faq { border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 24px; display: flex; align-items: center; gap: 14px; font: 700 15.5px/1.45 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255,255,255,.03); }
.faq summary::after { content: ""; margin-inline-start: auto; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg) translate(-2px,-2px); transition: transform .22s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.faq details p { padding: 0 24px 19px; margin: 0; color: var(--ink-2); font-size: 14.5px; }

.author { display: grid; grid-template-columns: auto 1fr; gap: 21px; background: var(--surface); border-radius: var(--r); padding: 25px 27px; box-shadow: inset 0 0 0 1px var(--line); text-align: start; }
.ava { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-gold); color: #241a05; font: 700 20px/1 var(--display); flex: none; }
.author h3 { font-size: 18px; }
.author .role { color: var(--gold); font-size: 13px; font-weight: 600; margin: 4px 0 11px; }
.author p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 12.5px; }

.disclaimer { display: flex; gap: 15px; align-items: flex-start; margin-top: 20px; padding: 20px 24px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); font-size: 13px; line-height: 1.62; text-align: start; }
.badge18 { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(251,113,133,.13); box-shadow: inset 0 0 0 1px rgba(251,113,133,.38); color: var(--red); font: 700 14px/1 var(--mono); }

footer.site { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0 40px; }

.slider { padding: clamp(20px, 2.4vw, 30px) 0 0; }
.slbox { position: relative; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: var(--r); }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; scroll-snap-align: center; display: block; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .18s; }
.slide-txt { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(52%, 520px); padding: clamp(14px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.slide-txt b { font: 700 clamp(16px, 2.5vw, 30px)/1.15 var(--display); color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.slide-txt .s { color: rgba(255,255,255,.86); font-size: clamp(11px, 1.25vw, 15px); line-height: 1.4; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.slide-txt .fake-btn { margin-top: 4px; padding: 9px 18px; border-radius: var(--r-s); background: var(--grad); color: #fff; font: 700 12.5px/1 var(--display); letter-spacing: .03em; white-space: nowrap; }
@media (max-width: 560px) {
  .slide-txt .s { display: none; }
  .slide-txt { width: 60%; gap: 6px; }
}
.slide:hover { box-shadow: inset 0 0 0 1px rgba(255,77,148,.3), var(--shadow); }
.slide img { display: block; width: 100%; height: auto; }
.slnav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 999px; cursor: pointer; background: rgba(23,16,31,.95); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; transition: opacity .18s; }
.slnav::before { content: ""; position: absolute; top: 13px; left: 14px; width: 11px; height: 11px; border-top: 2px solid var(--ink); border-inline-start: 2px solid var(--ink); }
.slnav.prev { inset-inline-start: 12px; }
.slnav.prev::before { transform: rotate(-45deg); }
.slnav.next { inset-inline-end: 12px; }
.slnav.next::before { left: 9px; transform: rotate(135deg); }
.slbox:hover .slnav, .slnav:focus-visible { opacity: 1; }
.sldots { display: flex; gap: 7px; justify-content: center; margin-top: 13px; }
.sldot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: .18s; }
.sldot.on { width: 22px; background: var(--pink); }
@media (max-width: 720px) {
  .slnav { display: none; }
}

.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(206px, 1fr)); gap: 26px; }
.foot-grid .fh { font: 700 12.5px/1.16 var(--display); text-transform: uppercase; letter-spacing: .11em; margin-bottom: 12px; }
.foot-grid a { display: block; color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 4px 0; }
.foot-grid a:hover { color: var(--pink); }
.foot-grid p { color: var(--ink-3); font-size: 13.5px; }
.foot-bottom { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; display: flex; gap: 15px; justify-content: space-between; flex-wrap: wrap; }
.foot-bottom a { color: var(--ink-2); text-decoration: none; }

.crumbs { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 20px 0 0; font-size: 13px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--pink); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs .cur { color: var(--ink); }

.gamehead { padding: 26px 0 4px; }
.gamehead h1 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 12px; }
.gamehead .lede { color: var(--ink-2); font-size: 15.5px; max-width: 78ch; }
.gspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 12px; margin: 20px 0 24px; }
.gspec { background: var(--surface); border-radius: var(--r-s); padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.gspec .l { color: var(--ink-3); font: 700 10px/1 var(--display); letter-spacing: .13em; text-transform: uppercase; margin-bottom: 8px; }
.gspec .v { font: 700 20px/1 var(--mono); color: var(--gold); }
.gspec .v.small { font-size: 15px; font-family: var(--display); color: var(--ink); }

.doc { max-width: 78ch; padding: 40px 0 10px; }
.doc h1 { font-size: clamp(25px, 3.8vw, 34px); margin-bottom: 8px; }
.doc .upd { color: var(--ink-3); font-size: 13.5px; margin-bottom: 26px; }
.doc h2 { font-size: 19px; margin: 28px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc ul, .doc ol { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 14px; }
.doc a { color: var(--pink); }
.doc .callout { background: var(--surface); border-radius: var(--r-s); padding: 18px 22px; margin: 22px 0; box-shadow: inset 0 0 0 1px var(--line); }

.notfound { text-align: center; padding: 26px 0 6px; }
.nf-code { font: 700 clamp(70px, 13vw, 140px)/.9 var(--mono); color: var(--pink); margin-bottom: 12px; }
.notfound h1 { font-size: clamp(23px, 3.8vw, 33px); margin-bottom: 12px; }
.notfound .lede { color: var(--ink-2); font-size: 16px; max-width: 56ch; margin: 0 auto 22px; }

@media (max-width: 900px) {
  .topnav { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .author { grid-template-columns: 1fr; }
  .demo-frame { height: 68vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
