/* ==========================================================================
   ACE444 — 92novagame.org
   Single stylesheet, no external requests. The font stack includes Bengali
   system faces so Bangla renders properly without loading a webfont.
   ========================================================================== */

:root {
  --gold: #f7c948;
  --gold-lite: #ffe9a8;
  --gold-deep: #d79b14;
  --red: #e5102e;
  --red-lite: #ff4a63;
  --green: #00a86b;

  --bg: #07080f;
  --bg-2: #0b0d18;
  --panel: #12152610;
  --panel-solid: #121526;
  --panel-2: #1a1e33;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .16);

  --text: #eaecf5;
  --muted: #959ab4;

  --wrap: 1200px;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --glow-gold: 0 10px 34px rgba(247, 201, 72, .32);
  --glow-red: 0 10px 34px rgba(229, 16, 46, .30);
  --header-h: 72px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Bengali",
          "Nirmala UI", "Kohinoor Bangla", "Bangla MN", "Hind Siliguri", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: #fff;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.12; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .5em; }
strong { color: #fff; font-weight: 700; }

.bn { font-weight: 700; }
.en { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.section { padding-block: clamp(56px, 8vw, 96px); position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }

.section-head { max-width: 760px; margin-inline: auto; margin-bottom: 44px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 7px 16px;
  background: rgba(247, 201, 72, .12);
  border: 1px solid rgba(247, 201, 72, .34);
  border-radius: 100px;
  color: var(--gold);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--gold); color: #10121f; padding: 12px 20px; font-weight: 700; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------ Buttons --------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: 0; border-radius: 12px;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.1;
  text-align: center; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { flex: 0 0 auto; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-lite), var(--gold) 45%, var(--gold-deep));
  color: #15172a; box-shadow: var(--glow-gold);
}
.btn-gold:hover { color: #15172a; box-shadow: 0 14px 40px rgba(247, 201, 72, .45); }

.btn-red {
  background: linear-gradient(135deg, var(--red-lite), var(--red));
  color: #fff; box-shadow: var(--glow-red);
}
.btn-red:hover { color: #fff; box-shadow: 0 14px 40px rgba(229, 16, 46, .45); }

.btn-outline {
  background: rgba(255, 255, 255, .04); color: #fff;
  box-shadow: inset 0 0 0 2px var(--line-2);
}
.btn-outline:hover { background: rgba(255, 255, 255, .10); color: #fff; }

.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-sm { padding: 11px 20px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ------------------------------ Header ---------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 8, 15, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 54px; height: 54px; }
.brand-text {
  font-size: 1.5rem; font-weight: 900; letter-spacing: .01em; line-height: 1;
  color: #fff; white-space: nowrap;
}
.brand-text span { color: var(--red-lite); }
.brand:hover { text-decoration: none; }
@media (max-width: 420px) {
  .brand img { width: 46px; height: 46px; }
  .brand-text { font-size: 1.28rem; }
}

.nav-panel { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 9px;
  color: var(--text); font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { background: rgba(255, 255, 255, .07); color: var(--gold); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Between the hamburger breakpoint and ~1180px the five links plus two buttons
   get tight, so trim the link padding rather than dropping a CTA. */
@media (min-width: 981px) and (max-width: 1180px) {
  .nav-links a { padding: 10px 9px; font-size: .9rem; }
  .nav-panel { gap: 12px; }
  .nav-actions { gap: 8px; }
  .btn-sm { padding: 10px 14px; font-size: .86rem; }
}

.nav-toggle {
  display: none; width: 46px; height: 44px; padding: 0;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.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); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 10px;
    padding: 16px 20px 24px;
    background: #0a0c16; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-panel.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 13px 12px; font-size: 1.02rem; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .nav-panel .btn { width: 100%; }
}

/* ------------------------------- Hero ----------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(48px, 9vw, 104px) clamp(56px, 9vw, 104px);
  background-image:
    linear-gradient(100deg, rgba(7,8,15,.97) 0%, rgba(7,8,15,.93) 38%, rgba(7,8,15,.62) 62%, rgba(7,8,15,.42) 80%, rgba(7,8,15,.62) 100%),
    url("/assets/img/hero-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(180deg, rgba(7,8,15,0) 0%, var(--bg) 100%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(7,8,15,.90) 0%, rgba(7,8,15,.72) 45%, rgba(7,8,15,.94) 100%),
      url("/assets/img/hero-bg-mobile.jpg");
    background-position: center top;
  }
}

.hero-inner { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { margin-bottom: .45em; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold-lite), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1rem, 2.1vw, 1.18rem); color: #c3c7dc; max-width: 36em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-cta .btn { flex: 1 1 230px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 30px; list-style: none; }
.trust-row li {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 8px 15px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: .86rem; font-weight: 600; color: #d6d9e8;
}
.trust-row svg { color: var(--green); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 560px; }
.stat {
  padding: 16px 14px; text-align: center;
  background: rgba(18, 21, 38, .72);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.stat b { display: block; font-size: clamp(1.3rem, 3.6vw, 1.75rem); color: var(--gold); line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--muted); }

/* ------------------------------- Games ---------------------------------- */

.games-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}
.game-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px 20px;
  background: linear-gradient(160deg, var(--panel-2) 0%, #0e1120 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.game-card::before {
  content: ""; position: absolute; inset: -40% 55% 55% -40%;
  background: radial-gradient(circle, rgba(247, 201, 72, .20), transparent 68%);
  pointer-events: none;
}
.game-card:hover { transform: translateY(-5px); border-color: rgba(247, 201, 72, .45); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.game-card .icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  background: rgba(247, 201, 72, .12);
  border: 1px solid rgba(247, 201, 72, .3);
  border-radius: 14px; color: var(--gold);
}
.game-card h3 { margin: 0; font-size: 1.1rem; }
.game-card p { margin: 0; font-size: .89rem; color: var(--muted); line-height: 1.6; }
.game-card .tag {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 10px; border-radius: 100px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.tag-hot { background: rgba(229, 16, 46, .18); color: var(--red-lite); border: 1px solid rgba(229, 16, 46, .4); }
.tag-new { background: rgba(0, 168, 107, .18); color: #3ddc9a; border: 1px solid rgba(0, 168, 107, .4); }

/* ------------------------------ Features -------------------------------- */

.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.feature {
  padding: 26px 24px;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature .icon {
  width: 48px; height: 48px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: rgba(0, 168, 107, .14); border: 1px solid rgba(0, 168, 107, .32);
  border-radius: 12px; color: #3ddc9a;
}
.feature h3 { font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ------------------------------ Bonuses --------------------------------- */

.bonus-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bonus {
  position: relative; padding: 28px 24px;
  background: linear-gradient(160deg, #1d1630 0%, #0f1020 100%);
  border: 1px solid rgba(247, 201, 72, .26);
  border-radius: var(--radius);
  text-align: center;
}
.bonus .amount {
  display: block; margin-bottom: 6px;
  font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--gold-lite), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bonus h3 { font-size: 1.05rem; margin-bottom: .4em; }
.bonus p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ------------------------------- Steps ---------------------------------- */

.steps-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step {
  position: relative; padding: 26px 22px 22px;
  background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
  color: #15172a; font-weight: 900; font-size: 1.05rem; border-radius: 12px;
}
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ------------------------------ Payments -------------------------------- */

.pay-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pay {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 16px;
  background: var(--panel-solid); border: 1px solid var(--line); border-radius: 14px;
  text-align: center;
}
.pay b { color: #fff; font-size: 1rem; }
.pay span { font-size: .8rem; color: var(--muted); }
.pay .badge {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  font-weight: 900; font-size: 1.1rem; color: #fff;
}

/* --------------------------- Screenshots -------------------------------- */

.shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.shot { margin: 0; }
.shot img {
  width: 100%; border-radius: 18px;
  border: 1px solid var(--line-2); background: #0a0c16;
  box-shadow: var(--shadow);
}
.shot figcaption { margin-top: 12px; text-align: center; font-size: .86rem; color: var(--muted); }

.shot-wide { max-width: 1160px; margin-inline: auto; }
.shot-wide img { border-radius: 16px; }

/* --------------------------------- FAQ ---------------------------------- */

.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 20px 46px 20px 2px;
  font-weight: 700; font-size: 1.03rem; color: #fff;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center;
  background: rgba(247, 201, 72, .14); border: 1px solid rgba(247, 201, 72, .32);
  border-radius: 8px; color: var(--gold); font-size: 1.15rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 8px 20px 2px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ------------------------------ CTA band -------------------------------- */

.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 58px) clamp(24px, 5vw, 52px);
  background: linear-gradient(135deg, #2a0d18 0%, #140a24 55%, #0a0b16 100%);
  border: 1px solid rgba(247, 201, 72, .26);
  border-radius: 22px;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: -60% 40% 40% -30%;
  background: radial-gradient(circle, rgba(229, 16, 46, .26), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #c3c7dc; max-width: 54ch; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }
.cta-band .hero-cta .btn { flex: 0 1 260px; }

/* ----------------------------- Disclaimer -------------------------------- */

.disclaimer {
  margin-top: 44px; padding: 20px 22px;
  background: rgba(247, 201, 72, .06);
  border: 1px solid rgba(247, 201, 72, .22);
  border-radius: var(--radius);
  font-size: .88rem; color: #bfc3d8;
}
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer strong { color: var(--gold); }

/* ------------------------------- Footer --------------------------------- */

.site-footer {
  padding: 60px 0 28px;
  background: #05060c;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; gap: 38px; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); }
.footer-brand img { width: 124px; height: 124px; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; color: var(--muted); max-width: 46ch; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.footer-cta .btn { flex: 0 1 auto; }
@media (max-width: 520px) { .footer-cta .btn { flex: 1 1 100%; } }
.footer-col h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #cfd3e4; font-size: .95rem; }
.footer-col a:hover { color: var(--gold); text-decoration: none; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .85rem; color: #7d8299;
}
.footer-bottom p { margin: 0; }
.age-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid rgba(229, 16, 46, .45); border-radius: 100px;
  color: var(--red-lite); font-weight: 800;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------- Mobile CTA bar ------------------------------ */

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 9, 18, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-2);
}
.mobile-cta .btn { flex: 1 1 0; padding: 14px 10px; font-size: .95rem; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }
}

/* ------------------------------ Reveal ---------------------------------- */

/* Scoped to .js so that if JavaScript fails or is blocked the content still
   renders — without this guard a script error leaves the page looking empty. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------- Print ----------------------------------- */

@media print {
  .site-header, .mobile-cta, .cta-band, .hero-cta { display: none; }
  body { background: #fff; color: #000; }
}
