@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy-950: #070b1c;
  --navy-900: #0b1026;
  --navy-850: #10163a;
  --navy-800: #161d4a;
  --ink: #0f1430;
  --ink-soft: #4b5578;
  --text: #f4f6ff;
  --text-soft: #b3bbd9;
  --text-dim: #8590b6;
  --red: #ff3d6e;
  --red-deep: #e3204f;
  --gold: #ffc531;
  --gold-deep: #f29f05;
  --purple: #7b5cff;
  --blue: #3b82f6;
  --green: #22c27a;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(255, 255, 255, .055);
  --glass-strong: rgba(255, 255, 255, .09);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(3, 6, 20, .7);
  --shadow-soft: 0 10px 30px -12px rgba(3, 6, 20, .55);
  --nav-h: 68px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font: 400 17px/1.6 "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  font: 600 16px/1 inherit; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff5c86, var(--red) 45%, var(--red-deep));
  box-shadow: 0 10px 24px -8px rgba(255, 61, 110, .65), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(255, 61, 110, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { color: var(--text); background: var(--glass); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--glass-strong); }
.btn-ghost .ic { transition: transform .25s var(--ease); }
.btn-ghost:hover .ic { transform: translateX(3px); }
.btn-gold {
  color: #3a2300; cursor: default;
  background: linear-gradient(135deg, #ffe17a, var(--gold) 50%, var(--gold-deep));
  box-shadow: 0 12px 28px -10px rgba(255, 197, 49, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-gold .ic { fill: currentColor; stroke: none; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled, .nav.open {
  background: rgba(9, 13, 34, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0, 0, 0, .8);
}
.nav-inner { width: min(100% - 32px, var(--wrap)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .7); }
.brand b { color: var(--gold); font-weight: 700; }
.nav-links { display: none; }
.nav-cta { display: none; }
.nav-toggle {
  margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    display: flex; flex-direction: column; gap: 4px; padding: 12px 20px 24px;
    background: rgba(9, 13, 34, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 14px 8px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav-cta-mobile { margin-top: 14px; min-height: 52px; }
}
@media (min-width: 960px) {
  .nav-toggle, .nav-cta-mobile { display: none; }
  .nav-links { display: flex; gap: 4px; margin-left: auto; }
  .nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-soft); transition: color .2s, background-color .2s; }
  .nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--glass); }
  .nav-links a.nav-play { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 197, 49, .4); }
  .nav-cta { display: inline-flex; margin-left: 8px; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + 36px) 0 72px;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(123, 92, 255, .35), transparent 60%),
    radial-gradient(700px 500px at 10% 80%, rgba(255, 61, 110, .18), transparent 60%),
    linear-gradient(180deg, #0a0f2a 0%, var(--navy-900) 100%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--navy-900)); z-index: -1; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform; }
.b1 { width: 380px; height: 380px; right: -80px; top: 60px; background: #5b3dff; animation: drift 18s ease-in-out infinite alternate; }
.b2 { width: 300px; height: 300px; left: -120px; bottom: 40px; background: #ff3d6e; opacity: .28; animation: drift 22s ease-in-out infinite alternate-reverse; }
.b3 { width: 220px; height: 220px; left: 45%; top: 30%; background: #2563eb; opacity: .25; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(40px, -30px, 0) scale(1.08); } }

.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { text-align: center; }
.hero-logo { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 20px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--text-soft);
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 194, 122, .2); }
.hero h1 { margin-top: 18px; font-size: clamp(44px, 11vw, 80px); font-weight: 800; letter-spacing: -.035em; }
.grad { background: linear-gradient(100deg, #ff6b93 0%, var(--red) 35%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 34ch; margin: 18px auto 0; font-size: clamp(18px, 4.4vw, 21px); color: var(--text-soft); }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.cta-row .btn { width: 100%; }
.hero-meta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 28px; }
.play-web { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 17px; font-weight: 600; color: var(--gold); text-underline-offset: 4px; }
.play-web:hover { text-decoration: underline; }
.play-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px;
  background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); line-height: 1.1;
}
.play-badge span { display: flex; flex-direction: column; font-size: 18px; font-weight: 600; }
.play-badge small { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); }
.play-mark { width: 26px; height: 26px; }
.play-mark use { fill: url(#g-gold); stroke: none; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 15px; color: var(--text-dim); }
.hero-facts b { color: var(--text); font-weight: 700; }

.hero-art { position: relative; }
.stage { position: relative; width: min(82vw, 520px); margin: 0 auto; aspect-ratio: 1; perspective: 1200px; }
.halo { position: absolute; inset: 6%; border-radius: 40px; background: radial-gradient(circle, rgba(255, 197, 49, .35), rgba(123, 92, 255, .25) 45%, transparent 70%); filter: blur(30px); }
.board {
  position: relative; width: 100%; height: 100%; border-radius: 26px;
  transform: rotateX(16deg) rotateZ(-6deg); transform-origin: 50% 60%;
  box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .85), 0 0 0 6px rgba(255, 255, 255, .06);
  animation: board-in 1.1s var(--ease) both;
}
@keyframes board-in { from { opacity: 0; transform: rotateX(30deg) rotateZ(-6deg) translateY(30px) scale(.94); } }
.piece { position: absolute; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); will-change: transform; animation: float 6s ease-in-out infinite; }
.die { width: 22%; }
.die-gold { left: -6%; top: 6%; --r: -14deg; animation-delay: -1s; }
.die-ivory { right: -5%; bottom: 4%; width: 19%; --r: 12deg; animation-delay: -3s; }
.pin { width: 10%; }
.pin-red { left: 8%; bottom: 0; --r: -8deg; animation-delay: -2s; }
.pin-green { left: 2%; top: 44%; width: 8%; --r: 6deg; animation-delay: -4s; }
.pin-yellow { right: 3%; top: -2%; --r: 10deg; animation-delay: -5s; }
.pin-blue { right: 18%; bottom: -6%; width: 8.5%; --r: -4deg; animation-delay: -1.5s; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); }
  50% { transform: translate3d(0, -14px, 0) rotate(calc(var(--r, 0deg) + 4deg)); }
}
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(255, 220, 120, .8); opacity: 0; animation: twinkle 4s ease-in-out infinite; }
.s1 { left: 12%; top: 20%; } .s2 { right: 10%; top: 30%; animation-delay: -1s; } .s3 { left: 30%; bottom: 8%; animation-delay: -2s; }
.s4 { right: 30%; top: 6%; animation-delay: -3s; width: 4px; height: 4px; } .s5 { left: -2%; bottom: 30%; animation-delay: -1.6s; width: 4px; height: 4px; } .s6 { right: -3%; bottom: 40%; animation-delay: -2.6s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }

@media (min-width: 600px) {
  .cta-row { flex-direction: row; justify-content: center; }
  .cta-row .btn { width: auto; }
  .hero-meta { flex-direction: row; justify-content: center; }
}
@media (min-width: 960px) {
  .hero { padding: calc(var(--nav-h) + 64px) 0 110px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 48px; }
  .hero-copy { text-align: left; }
  .hero-logo { margin-left: 0; width: 80px; height: 80px; }
  .lead { margin-left: 0; }
  .cta-row, .hero-meta { justify-content: flex-start; }
  .stage { width: min(100%, 540px); }
}

/* Sections */
.section { position: relative; padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.section-head h2 { font-size: clamp(32px, 6.4vw, 50px); font-weight: 800; }
.sub { margin-top: 14px; font-size: 18px; color: var(--text-soft); }
@media (min-width: 960px) { .section { padding: 112px 0; } .section-head { margin-bottom: 60px; } }

/* Features */
.features { background: var(--navy-900); }
.feature-grid { display: grid; gap: 16px; }
.feature {
  position: relative; overflow: hidden; padding: 26px 24px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .22; transition: opacity .35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), var(--shadow); }
.feature:hover::before { opacity: .4; }
.feature-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px;
  color: var(--accent); font-size: 24px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}
.feature h3 { font-size: 21px; font-weight: 700; }
.feature p { margin-top: 8px; color: var(--text-soft); font-size: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* Phones */
.phone {
  position: relative; padding: 7px; border-radius: 30px;
  background: linear-gradient(160deg, #2a3159, #0c1026 60%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone img { width: 100%; aspect-ratio: 9 / 16; border-radius: 24px; background: #11163a; }

/* Game modes */
.modes { background: linear-gradient(180deg, var(--navy-900), var(--navy-850) 50%, var(--navy-900)); }
.mode-panels { display: grid; gap: 24px; }
.mode-panel {
  position: relative; overflow: hidden; display: grid; gap: 30px; padding: 30px 22px 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.mode-online { background: radial-gradient(600px 400px at 100% 0%, rgba(255, 61, 110, .22), transparent 60%), linear-gradient(160deg, #1a1f52, #121638); }
.mode-offline { background: radial-gradient(600px 400px at 100% 0%, rgba(59, 130, 246, .24), transparent 60%), linear-gradient(160deg, #13224d, #0f1636); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag-live { color: #ffd3de; background: rgba(255, 61, 110, .18); box-shadow: inset 0 0 0 1px rgba(255, 61, 110, .4); }
.tag-live .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(255, 61, 110, .25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 61, 110, 0); } }
.tag-offline { color: #cfe1ff; background: rgba(59, 130, 246, .18); box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .4); }
.mode-text h3 { margin-top: 16px; font-size: clamp(26px, 5vw, 34px); font-weight: 800; }
.mode-list { display: grid; gap: 12px; margin-top: 22px; }
.mode-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.mi { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; font-size: 19px; color: var(--gold); background: rgba(255, 197, 49, .12); }
.mode-list b { display: block; font-size: 17px; font-weight: 700; }
.mode-list li > div > span { display: block; font-size: 15px; color: var(--text-soft); line-height: 1.45; }
.mode-phones { position: relative; height: 360px; margin-inline: -6px; }
.mode-phones .phone { position: absolute; bottom: -60px; }
.mode-phones .phone-front { bottom: -40px; }
.phone-back { width: 45%; left: 5%; transform: rotate(-7deg); opacity: .9; }
.phone-front { width: 51%; right: 5%; transform: rotate(4deg); }
.mode-panel:hover .phone-front { transform: rotate(2deg) translateY(-8px); }
.mode-panel:hover .phone-back { transform: rotate(-9deg) translateY(-4px); }
.mode-phones .phone { transition: transform .5s var(--ease); }
@media (min-width: 700px) and (max-width: 1023px) {
  .mode-panel { grid-template-columns: 1.15fr 1fr; align-items: stretch; gap: 20px; padding: 36px 30px 0; }
  .mode-text { padding-bottom: 36px; }
  .mode-phones { height: auto; min-height: 420px; }
  .phone-back { width: 50%; left: 0; }
  .phone-front { width: 58%; right: 0; }
}
@media (min-width: 1024px) {
  .mode-panels { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mode-panel { padding: 40px 36px 0; grid-template-rows: auto 1fr; }
  .mode-phones { height: 400px; }
  .phone-back { width: 200px; left: 6%; }
  .phone-front { width: 232px; right: 6%; }
}

/* Gallery */
.gallery { background: var(--navy-900); padding-bottom: 96px; }
.shot-track {
  display: flex; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 10px max(20px, calc((100% - var(--wrap)) / 2)) 40px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
.shot-track:focus-visible { outline-offset: -4px; }
.shot-track::-webkit-scrollbar { height: 6px; }
.shot-track::-webkit-scrollbar-thumb { border-radius: 3px; background: rgba(255, 255, 255, .2); }
.shot { flex: 0 0 min(64vw, 270px); scroll-snap-align: center; perspective: 900px; }
.shot .phone { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.shot:hover .phone { transform: translateY(-10px) rotateY(-6deg) rotateX(3deg); box-shadow: 0 40px 70px -26px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.shot figcaption { margin-top: 16px; text-align: center; font-size: 16px; font-weight: 600; color: var(--text-soft); }
.shot-nav { display: none; }
@media (min-width: 960px) {
  .shot { flex-basis: 300px; scroll-snap-align: start; }
  .shot-track { gap: 28px; scroll-padding-inline: max(20px, calc((100% - var(--wrap)) / 2)); }
  .shot-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: -8px; }
  .shot-nav button {
    display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer;
    color: var(--text); font-size: 20px; background: var(--glass); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
    transition: background-color .2s, transform .2s var(--ease);
  }
  .shot-nav button:hover { background: var(--glass-strong); transform: translateY(-2px); }
  .shot-nav button:disabled { opacity: .35; cursor: default; transform: none; }
  .shot-nav .prev .ic { transform: rotate(180deg); }
}

/* Customization */
.custom { background: radial-gradient(800px 500px at 50% 0%, rgba(123, 92, 255, .22), transparent 65%), var(--navy-850); }
.bento { display: grid; gap: 18px; }
.tile {
  padding: 24px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  backdrop-filter: blur(6px);
}
.tile-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.tile-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; font-size: 21px; color: var(--gold); background: rgba(255, 197, 49, .13); }
.tile h3 { font-size: 20px; font-weight: 700; }
.tile-head p { margin-top: 2px; font-size: 15px; color: var(--text-soft); }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.items li { padding: 10px 6px 10px; border-radius: 16px; text-align: center; background: #fff; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.items li:hover { transform: translateY(-4px) rotate(-1.5deg); }
.items img { width: 76%; margin: 0 auto; }
.items span { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--ink); }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.swatches img { width: 100%; aspect-ratio: 140 / 106; object-fit: cover; border-radius: 12px; outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .7); }
.swatches span { display: block; margin-top: 6px; font-size: 13px; text-align: center; color: var(--text-soft); }
.avatars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.avatars img { width: 100%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .14), 0 10px 20px -10px rgba(0, 0, 0, .8); transition: transform .3s var(--ease); }
.avatars li:hover img { transform: scale(1.06); }
.modes-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { display: grid; gap: 7px; padding: 14px; border-radius: 16px; aspect-ratio: 4 / 3; align-content: start; }
.mini i { display: block; height: 12px; border-radius: 6px; }
.mini i:first-child { width: 55%; height: 14px; }
.mini i:nth-child(2) { height: 30px; border-radius: 9px; }
.mini-light { background: #f3f6fb; }
.mini-light i { background: #fff; box-shadow: 0 2px 6px rgba(15, 20, 48, .12); }
.mini-light i:first-child { background: #1d2340; box-shadow: none; }
.mini-dark { background: #141a33; box-shadow: inset 0 0 0 1px var(--line); }
.mini-dark i { background: #232b4f; }
.mini-dark i:first-child { background: #e9edfb; }
.mini i:last-child { width: 40%; background: var(--red); }
.langs { display: flex; flex-wrap: wrap; gap: 10px; }
.langs li { padding: 9px 16px; border-radius: 999px; font-size: 17px; font-weight: 600; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); }
.langs li[lang="bn"] { color: #3a2300; background: linear-gradient(135deg, #ffe17a, var(--gold)); box-shadow: none; }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .items { grid-template-columns: repeat(6, 1fr); }
  .tile-wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .tile-wide { grid-column: span 2; }
  .items { grid-template-columns: repeat(3, 1fr); }
}

/* Rules */
.rules { color: var(--ink); background: linear-gradient(180deg, #f6f7fd, #eceffa); }
.rules .section-head h2 { color: var(--ink); }
.rules .sub { color: var(--ink-soft); }
.rules .kicker { color: var(--red-deep); }
.rule-grid { display: grid; gap: 14px; counter-reset: rule; }
.rule {
  position: relative; padding: 24px 22px; border-radius: var(--radius); background: #fff;
  box-shadow: 0 1px 0 rgba(15, 20, 48, .05), 0 18px 40px -26px rgba(15, 20, 48, .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rule:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(15, 20, 48, .05), 0 26px 50px -26px rgba(15, 20, 48, .55); }
.rule::after { counter-increment: rule; content: "0" counter(rule); position: absolute; right: 20px; top: 18px; font-size: 14px; font-weight: 700; color: #c3c8dc; }
.rule-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 15px; font-size: 22px; color: #fff; }
.r-red { background: linear-gradient(135deg, #ff6b93, var(--red-deep)); }
.r-gold { background: linear-gradient(135deg, #ffd65c, var(--gold-deep)); }
.r-green { background: linear-gradient(135deg, #4fe0a0, #11945a); }
.r-blue { background: linear-gradient(135deg, #7aaeff, #2156d6); }
.r-purple { background: linear-gradient(135deg, #a993ff, #5b3dd6); }
.rule h3 { font-size: 19px; font-weight: 700; }
.rule p { margin-top: 6px; font-size: 15.5px; color: var(--ink-soft); }
@media (min-width: 640px) { .rule-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .rule-grid { grid-template-columns: repeat(5, 1fr); } }

/* FAQ */
.faq { color: var(--ink); background: #eceffa; padding-top: 0; box-shadow: 0 -2px 0 #eceffa; }
.faq .section-head h2 { color: var(--ink); }
.faq .kicker { color: var(--red-deep); }
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; box-shadow: 0 14px 34px -26px rgba(15, 20, 48, .5); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  font-size: 18px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-soft); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); }
.faq details a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Download */
.download { padding: 0 0 90px; background: linear-gradient(180deg, #eceffa 0 140px, var(--navy-900) 140px); box-shadow: 0 -2px 0 #eceffa; }
.download-card {
  position: relative; overflow: hidden; display: grid; gap: 10px; padding: 48px 26px 0; border-radius: 34px; text-align: center;
  background:
    radial-gradient(500px 340px at 85% 20%, rgba(255, 197, 49, .28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 61, 110, .35), transparent 60%),
    linear-gradient(140deg, #2a1d78, #141a4b 55%, #0d1233);
  box-shadow: 0 40px 80px -36px rgba(7, 11, 28, .9), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.download-copy h2 { font-size: clamp(38px, 8vw, 60px); font-weight: 800; }
.download-copy > p:first-of-type { max-width: 30ch; margin: 14px auto 28px; font-size: 19px; color: var(--text-soft); }
.download-copy .btn { width: 100%; max-width: 360px; }
.download-copy .dl-web { margin-top: 12px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--text-dim); }
.download-phone { position: relative; height: 380px; margin-top: 26px; }
.phone-hero { position: absolute; left: 50%; bottom: -70px; width: min(56vw, 250px); transform: translateX(-50%) rotate(-4deg); }
.dl-die { width: 76px; left: 8%; top: 18%; --r: -12deg; }
.dl-pin { width: 42px; right: 12%; top: 8%; --r: 10deg; animation-delay: -2.5s; }
@media (min-width: 900px) {
  .download { padding-bottom: 120px; }
  .download-card { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 70px 64px 0; text-align: left; }
  .download-copy { padding-bottom: 70px; }
  .download-copy > p:first-of-type { margin-left: 0; }
  .download-copy .btn { width: auto; }
  .download-copy .dl-web { margin-left: 10px; }
  .download-phone { height: 420px; margin-top: 0; align-self: end; }
  .phone-hero { width: 260px; bottom: -110px; }
}

/* Footer */
.footer { padding: 64px 0 32px; background: var(--navy-950); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 36px; }
.footer-brand p { max-width: 38ch; margin-top: 14px; color: var(--text-dim); font-size: 15.5px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h3 { margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--text-soft); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col small { color: var(--text-dim); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-dim); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Policy page */
.doc-hero { padding: calc(var(--nav-h) + 56px) 0 64px; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(123, 92, 255, .32), transparent 70%), var(--navy-900); }
.doc-hero h1 { font-size: clamp(36px, 7vw, 56px); font-weight: 800; }
.doc-hero p { margin-top: 12px; color: var(--text-dim); }
.doc-body { padding: 0 0 96px; background: var(--navy-900); }
.doc {
  max-width: 820px; margin: 0 auto; padding: 36px 24px; border-radius: var(--radius-lg); color: var(--ink); background: #fff;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.doc h2 { margin: 34px 0 10px; font-size: 22px; font-weight: 700; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0; padding-left: 22px; list-style: disc; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.doc code { padding: 2px 6px; border-radius: 6px; background: #f0f2f9; font-size: .92em; }
.doc .summary { padding: 18px 20px; border-radius: 16px; background: #f4f6fc; box-shadow: inset 0 0 0 1px #e3e7f3; }
@media (min-width: 760px) { .doc { padding: 52px 56px; } }

/* Reveal on scroll (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

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