:root {
  --bg: #050913;
  --bg-2: #091427;
  --panel: #0d1828;
  --panel-2: #101d31;
  --text: #f8fbff;
  --muted: #b7c1cf;
  --line: rgba(255,255,255,.12);
  --gold: #ffc439;
  --gold-2: #ff9f1c;
  --cyan: #27d8ff;
  --green: #30d98b;
  --shadow: 0 22px 70px rgba(0,0,0,.34);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5,9,19,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 1000;
  letter-spacing: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 38px;
  padding: 0 12px;
  transform: skew(-9deg);
  border-radius: 8px;
  color: #06101c;
  background: linear-gradient(135deg, #fff1a1, var(--gold), var(--gold-2));
  box-shadow: 0 16px 32px rgba(255,196,57,.22);
}
.brand-name {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--text);
  text-shadow: 0 0 18px rgba(255,196,57,.24);
}
.brand-name span { color: var(--gold); }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #edf2f8;
  font-weight: 800;
  font-size: 15px;
}
.nav a {
  position: relative;
  padding: 26px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
}
.nav a:hover::after,
.nav a.is-active::after { opacity: 1; }
.actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 900;
  font-size: 15px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #07101b;
  background: linear-gradient(135deg, #ffe98a, var(--gold), var(--gold-2));
  box-shadow: 0 20px 40px rgba(255,174,32,.27);
  border-color: transparent;
}
.btn-outline {
  color: var(--text);
  background: rgba(255,255,255,.035);
}
.btn svg { width: 18px; height: 18px; }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  background:
    radial-gradient(circle at 78% 16%, rgba(39,216,255,.18), transparent 32%),
    linear-gradient(120deg, #050913 0%, #07101d 45%, #0b1830 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,196,57,.5), transparent);
}
.hero-inner {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 46px;
  padding: 42px 0 54px;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 1000;
  max-width: 760px;
}
.hero h1 span { color: var(--gold); }
.hero-copy {
  margin: 0;
  max-width: 620px;
  color: #d9e3f0;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 40px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 600px;
}
.trust {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 80px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255,196,57,.08);
  border: 1px solid rgba(255,196,57,.28);
}
.icon-box svg { width: 22px; height: 22px; }
.trust strong { display: block; font-size: 14px; }
.trust span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.hero-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,196,57,.16);
}
.section {
  padding: 78px 0;
}
.section-dark {
  background: linear-gradient(180deg, #07101d, #050913);
}
.section-soft {
  background: linear-gradient(180deg, #f7f9fc, #edf3fa);
  color: #101825;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 1000;
}
.section-title h2 span { color: var(--gold-2); }
.section-title p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 650px;
}
.section-soft .section-title p { color: #586579; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.category-card,
.article-card,
.info-card {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.category-card:hover,
.article-card:hover { transform: translateY(-3px); border-color: rgba(255,196,57,.36); }
.category-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card-body { padding: 18px; }
.card-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}
.card-body p { margin: 0; color: var(--muted); font-size: 15px; }
.more {
  display: inline-flex;
  margin-top: 15px;
  color: var(--gold);
  font-weight: 900;
}
.bonus-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255,196,57,.28);
  background:
    linear-gradient(100deg, rgba(255,196,57,.18), transparent 38%),
    linear-gradient(180deg, #0b1528, #07101d);
}
.bonus-band h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; }
.bonus-band p { margin: 0; color: #dce5f0; max-width: 760px; }
.guide-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: start;
}
.guide-copy p { color: #586579; margin-top: 12px; }
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  padding: 18px;
  border: 1px solid rgba(12,25,44,.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(17,34,56,.07);
}
.step-num {
  display: grid;
  place-items: center;
  height: 58px;
  border-radius: 8px;
  font-weight: 1000;
  color: #07101b;
  background: linear-gradient(135deg, #ffe98a, var(--gold));
}
.step h3 { margin: 0 0 5px; font-size: 21px; }
.step p { margin: 0; color: #637084; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.article-card .tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-weight: 900;
  font-size: 13px;
}
.footer {
  padding: 54px 0 26px;
  background: #04070e;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .7fr);
  gap: 28px;
}
.footer p { color: var(--muted); max-width: 420px; }
.footer h3 { margin: 0 0 12px; }
.footer a:not(.brand) {
  display: block;
  color: var(--muted);
  margin: 8px 0;
}
.copy { color: #7d8897; padding-top: 28px; font-size: 14px; }
.page-hero {
  padding: 92px 0 82px;
  background:
    linear-gradient(90deg, rgba(5,9,19,.98), rgba(5,9,19,.62)),
    url('/assets/khela88-hero.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0 0 14px;
  max-width: 820px;
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1;
  font-weight: 1000;
}
.page-hero p { margin: 0; max-width: 720px; color: #dce5f1; font-size: 20px; }
.breadcrumb { color: var(--gold); font-weight: 900; margin-bottom: 16px; }
.listing-content {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 28px;
  align-items: start;
}
.text-panel {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}
.text-panel h2 { margin: 0 0 12px; font-size: 32px; }
.text-panel p { color: var(--muted); margin: 0 0 14px; }
.side-panel {
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,196,57,.22);
  background: linear-gradient(180deg, rgba(255,196,57,.11), rgba(255,255,255,.035));
}
.side-panel h3 { margin-top: 0; }
.side-panel a { display: block; color: var(--gold); font-weight: 900; margin: 10px 0; }
.article-section {
  background: #f5f7fb;
  color: #101825;
  padding: 70px 0;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}
.article-shell {
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(14,28,48,.12);
  box-shadow: 0 24px 60px rgba(12,25,44,.09);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.article-meta span {
  padding: 8px 12px;
  border-radius: 8px;
  background: #f0f4fa;
  color: #526078;
  font-size: 14px;
}
.article-cover {
  margin: 0 0 26px;
  border-radius: 8px;
  overflow: hidden;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-content h2 {
  margin: 30px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}
.article-content p { color: #344154; margin: 0 0 16px; font-size: 18px; }
.article-content ul { padding-left: 22px; color: #344154; }
.article-content li { margin: 8px 0; }
.note-box {
  margin: 26px 0;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,159,28,.25);
  background: #fff8e6;
}
.faq-list { display: grid; gap: 12px; margin-top: 20px; }
.faq-item {
  padding: 16px;
  border-radius: 8px;
  background: #f4f7fb;
  border: 1px solid rgba(14,28,48,.09);
}
.faq-item strong { display: block; margin-bottom: 5px; }
.article-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
}
.article-side-card {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(14,28,48,.12);
  background: #fff;
}
.article-side-card.visual {
  min-height: 210px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5,9,19,.18), rgba(5,9,19,.82)),
    url('/assets/khela88-sports.jpg') center/cover no-repeat;
}
.article-side-card h3,
.article-side-card h2 { margin-top: 0; }
.article-side-card ul { padding-left: 20px; margin-bottom: 0; color: #46566e; }
.article-side-card a { color: #0a6e8b; font-weight: 900; }
@media (max-width: 980px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav { width: 100%; overflow-x: auto; gap: 22px; padding-bottom: 2px; }
  .nav a { padding: 10px 0 16px; white-space: nowrap; }
  .nav a::after { bottom: 8px; }
  .actions { width: 100%; }
  .hero-inner,
  .guide-layout,
  .listing-content,
  .article-layout { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-inner { min-height: 0; padding-top: 42px; gap: 34px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-side { position: static; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .brand-name { font-size: 28px; }
  .actions .btn { flex: 1; padding: 0 12px; }
  .hero h1 { font-size: 36px; line-height: 1.08; }
  .page-hero h1 { font-size: 36px; line-height: 1.1; }
  .hero-copy { font-size: 18px; }
  .trust-row,
  .category-grid,
  .article-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions,
  .bonus-band { grid-template-columns: 1fr; }
  .bonus-band { padding: 22px; }
  .section { padding: 54px 0; }
  .article-shell { padding: 18px; }
  .article-content p { font-size: 16px; }
}
