:root {
  font-size: 62.5%;
  --w278d-bg: #1a1a2e;
  --w278d-bg-soft: #20203a;
  --w278d-card: #252547;
  --w278d-primary: #ffeb3b;
  --w278d-accent: #ffaa00;
  --w278d-text: #dcdcdc;
  --w278d-muted: #d3d3d3;
  --w278d-line: rgba(255, 235, 59, .22);
  --w278d-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(255,235,59,.16), transparent 30rem), linear-gradient(180deg, #111124 0%, var(--w278d-bg) 45%, #10101f 100%);
  color: var(--w278d-text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, sans-serif;
  line-height: 1.5rem;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

.w278d-page {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(26,26,46,.92), rgba(20,20,36,.98));
  position: relative;
  overflow: hidden;
}
.w278d-container { width: 100%; padding: 0 1.4rem; }
.w278d-wrapper { padding-top: 7.2rem; }
.w278d-section { padding: 1.6rem 0; position: relative; }
.w278d-grid { display: grid; gap: 1rem; }
.w278d-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.w278d-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.w278d-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 430px;
  min-height: 6.4rem;
  background: rgba(18, 18, 35, .96);
  backdrop-filter: blur(1.2rem);
  border-bottom: .1rem solid var(--w278d-line);
  box-shadow: var(--w278d-shadow);
}
.w278d-topbar { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; }
.w278d-brand { display: flex; align-items: center; gap: .8rem; min-width: 0; margin-right: auto; text-decoration: none; }
.w278d-logo { width: 3.2rem; height: 3.2rem; border-radius: .9rem; border: .1rem solid var(--w278d-primary); }
.w278d-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.w278d-brand-name { color: var(--w278d-primary); font-size: 1.45rem; font-weight: 900; letter-spacing: .02em; }
.w278d-brand-sub { color: var(--w278d-muted); font-size: 1rem; }
.w278d-actions { display: flex; align-items: center; gap: .55rem; }
.w278d-btn {
  min-height: 4.4rem;
  border: 0;
  border-radius: 1.2rem;
  padding: 0 1.15rem;
  font-weight: 900;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.w278d-btn:active, .w278d-bottom-item:active, .w278d-game:active { transform: scale(.95); }
.w278d-btn-primary { color: #111124; background: linear-gradient(135deg, var(--w278d-primary), var(--w278d-accent)); box-shadow: 0 .7rem 1.8rem rgba(255,170,0,.22); }
.w278d-btn-ghost { color: var(--w278d-primary); background: rgba(255,235,59,.1); border: .1rem solid var(--w278d-line); }
.w278d-menu-toggle { width: 4.4rem; padding: 0; color: var(--w278d-text); background: var(--w278d-card); border: .1rem solid rgba(255,255,255,.08); }
.w278d-desktop-nav { display: none; }

.w278d-menu-shade { position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.w278d-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: min(86vw, 34rem);
  height: 100vh;
  padding: 2rem 1.4rem;
  background: linear-gradient(180deg, #20203a, #121223);
  border-left: .1rem solid var(--w278d-line);
  transform: translateX(104%);
  transition: transform .25s ease;
  box-shadow: var(--w278d-shadow);
}
.w278d-menu-open { opacity: 1; pointer-events: auto; transform: translateX(0); }
.w278d-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; color: var(--w278d-primary); }
.w278d-menu-links { display: grid; gap: .8rem; }
.w278d-menu-link { min-height: 4.4rem; display: flex; align-items: center; gap: .8rem; padding: 0 1rem; border-radius: 1.2rem; text-decoration: none; background: rgba(255,255,255,.05); color: var(--w278d-text); border: .1rem solid rgba(255,255,255,.07); }

.w278d-hero { padding: 1.2rem 1.4rem 0; }
.w278d-carousel { position: relative; overflow: hidden; border-radius: 2rem; border: .1rem solid var(--w278d-line); background: #0d0d1b; box-shadow: var(--w278d-shadow); }
.w278d-slide { display: none; position: relative; min-height: 17rem; }
.w278d-slide-active { display: block; }
.w278d-slide img { width: 100%; height: 18.4rem; object-fit: cover; opacity: .82; }
.w278d-slide-copy { position: absolute; inset: auto 1.2rem 1.2rem 1.2rem; padding: 1rem; border-radius: 1.4rem; background: rgba(13,13,27,.72); border: .1rem solid rgba(255,235,59,.25); }
.w278d-slide-title { margin: 0 0 .45rem; color: var(--w278d-primary); font-size: 1.8rem; line-height: 1.2; }
.w278d-slide-text { margin: 0; color: var(--w278d-muted); font-size: 1.2rem; }
.w278d-dots { position: absolute; right: 1.2rem; top: 1rem; display: flex; gap: .45rem; }
.w278d-dot { width: .9rem; height: .9rem; padding: 0; border-radius: 50%; border: .1rem solid var(--w278d-primary); background: transparent; }
.w278d-dot-active { background: var(--w278d-primary); }

.w278d-kicker { display: inline-flex; align-items: center; gap: .45rem; color: var(--w278d-accent); font-weight: 900; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.w278d-title { margin: .8rem 0 .8rem; color: #fff7a5; font-size: 2.35rem; line-height: 1.18; letter-spacing: -.03em; }
.w278d-h2 { margin: 0 0 1rem; color: var(--w278d-primary); font-size: 1.85rem; line-height: 1.25; }
.w278d-h3 { margin: .2rem 0 .6rem; color: #ffffff; font-size: 1.45rem; line-height: 1.3; }
.w278d-text { margin: 0 0 1rem; color: var(--w278d-text); font-size: 1.35rem; line-height: 1.7; }
.w278d-note { color: var(--w278d-muted); font-size: 1.18rem; line-height: 1.55; }
.w278d-strong { color: var(--w278d-primary); font-weight: 900; }
.w278d-link { color: var(--w278d-primary); font-weight: 800; text-decoration: underline; text-underline-offset: .25rem; }
.w278d-promo-link { color: var(--w278d-primary); font-weight: 950; text-decoration: none; border-bottom: .2rem solid var(--w278d-accent); cursor: pointer; }

.w278d-card { background: linear-gradient(180deg, rgba(37,37,71,.96), rgba(27,27,48,.96)); border: .1rem solid var(--w278d-line); border-radius: 1.8rem; padding: 1.25rem; box-shadow: 0 .7rem 2rem rgba(0,0,0,.22); }
.w278d-stat { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem; border-radius: 1.4rem; background: rgba(255,235,59,.08); border: .1rem solid rgba(255,235,59,.16); }
.w278d-stat b { color: var(--w278d-primary); font-size: 1.55rem; }
.w278d-pill-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.w278d-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem .9rem; border-radius: 999px; background: rgba(255,255,255,.06); border: .1rem solid rgba(255,255,255,.08); color: var(--w278d-muted); font-size: 1.15rem; }
.w278d-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }

.w278d-category { margin-bottom: 1.2rem; }
.w278d-category-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.w278d-badge { color: #111124; background: var(--w278d-primary); border-radius: 999px; padding: .35rem .75rem; font-size: 1.05rem; font-weight: 900; }
.w278d-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.w278d-game { text-decoration: none; color: var(--w278d-text); text-align: center; border-radius: 1.2rem; padding: .55rem .35rem; background: rgba(255,255,255,.045); min-height: 9.2rem; border: .1rem solid rgba(255,255,255,.06); transition: transform .18s ease, border .18s ease; }
.w278d-game:hover { border-color: var(--w278d-primary); }
.w278d-game img { width: 5.4rem; height: 5.4rem; margin: 0 auto .45rem; border-radius: 1.2rem; object-fit: cover; border: .1rem solid rgba(255,235,59,.32); }
.w278d-game span { display: block; font-size: 1.05rem; line-height: 1.25; font-weight: 800; }

.w278d-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.w278d-list li { padding: .9rem 1rem; border-radius: 1.2rem; background: rgba(255,255,255,.045); border-left: .3rem solid var(--w278d-accent); color: var(--w278d-text); font-size: 1.3rem; line-height: 1.55; }
.w278d-steps { counter-reset: w278d-step; display: grid; gap: .9rem; }
.w278d-step { position: relative; padding: 1rem 1rem 1rem 4.2rem; background: rgba(255,255,255,.045); border-radius: 1.4rem; border: .1rem solid rgba(255,255,255,.06); }
.w278d-step:before { counter-increment: w278d-step; content: counter(w278d-step); position: absolute; left: 1rem; top: 1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--w278d-primary); color: #111124; font-weight: 900; }
.w278d-quote { margin: 0; padding: 1rem; border-radius: 1.4rem; background: rgba(255,170,0,.08); border: .1rem solid rgba(255,170,0,.22); font-size: 1.25rem; line-height: 1.55; }

.w278d-footer { padding: 2rem 1.4rem 9rem; background: #10101f; border-top: .1rem solid var(--w278d-line); }
.w278d-footer-logo { display: flex; align-items: center; gap: .8rem; color: var(--w278d-primary); font-weight: 900; font-size: 1.6rem; }
.w278d-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.2rem 0; }
.w278d-footer-links a { color: var(--w278d-muted); text-decoration: none; padding: .8rem; border-radius: 1rem; background: rgba(255,255,255,.04); font-size: 1.15rem; }
.w278d-footer-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 1.2rem 0; }
.w278d-copy { color: rgba(220,220,220,.7); font-size: 1.1rem; }

.w278d-bottom-nav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 1000; width: 100%; max-width: 430px; height: 6.2rem; background: #141428; border-top: .1rem solid var(--w278d-line); display: flex; align-items: center; justify-content: space-around; box-shadow: 0 -1rem 2.4rem rgba(0,0,0,.32); }
.w278d-bottom-item { min-width: 6rem; min-height: 6rem; border: 0; background: transparent; color: var(--w278d-muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; font-size: 1.05rem; cursor: pointer; transition: transform .18s ease, color .18s ease; position: relative; }
.w278d-bottom-item i, .w278d-bottom-item ion-icon, .w278d-bottom-item .material-icons, .w278d-bottom-item svg { font-size: 2.4rem; width: 2.4rem; height: 2.4rem; }
.w278d-bottom-active { color: var(--w278d-primary); }
.w278d-bottom-active:after { content: ""; position: absolute; top: .35rem; width: 2.8rem; height: .3rem; border-radius: 999px; background: var(--w278d-primary); }

@media (min-width: 769px) {
  .w278d-page, .w278d-header, .w278d-bottom-nav { max-width: 1180px; }
  .w278d-page { box-shadow: 0 0 0 .1rem rgba(255,255,255,.04); }
  .w278d-container { max-width: 1080px; margin: 0 auto; }
  .w278d-desktop-nav { display: flex; gap: 1rem; margin: 0 1rem; }
  .w278d-desktop-nav a { color: var(--w278d-muted); text-decoration: none; font-weight: 800; font-size: 1.25rem; }
  .w278d-menu-toggle, .w278d-bottom-nav { display: none; }
  .w278d-game-grid { grid-template-columns: repeat(8, 1fr); }
  .w278d-wrapper { padding-top: 7rem; }
  .w278d-slide img { height: 32rem; }
  .w278d-footer { padding-bottom: 3rem; }
}

@media (max-width: 768px) {
  main.w278d-wrapper { padding-bottom: 8rem; }
}

@media (max-width: 360px) {
  .w278d-actions { gap: .35rem; }
  .w278d-btn { padding: 0 .8rem; font-size: 1.1rem; }
  .w278d-game-grid { gap: .55rem; }
  .w278d-game img { width: 4.8rem; height: 4.8rem; }
}
