:root {
  --green: #94b70d;
  --green-dark: #749604;
  --green-soft: #c2dc35;
  --blue: #006dff;
  --deep-blue: #0757c8;
  --gold: #ffd43d;
  --ink: #172315;
  --white: #fff;
  --cream: #f7ffe0;
  --line: rgba(255, 255, 255, .42);
  --shadow: 0 22px 50px rgba(61, 91, 0, .28);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--white); background: radial-gradient(780px 420px at 18% 0%, rgba(255,255,255,.28), transparent 62%), linear-gradient(180deg, #9abc08 0%, #86aa04 58%, #6f9402 100%); font-family: "Noto Sans Bengali", "Hind Siliguri", "Trebuchet MS", "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 42px)); margin: 0 auto; }
header { position: relative; z-index: 5; background: rgba(142, 179, 5, .96); border-bottom: 1px solid rgba(255,255,255,.28); box-shadow: 0 12px 32px rgba(76,111,0,.18); }
.topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: flex-end; gap: 2px; font-size: 48px; line-height: .9; font-weight: 950; letter-spacing: 0; text-transform: uppercase; color: #fff; text-shadow: 0 5px 16px rgba(55,80,0,.25); }
.brand strong { color: var(--deep-blue); transform: skew(-8deg); }
.brand span { color: var(--blue); transform: skew(-8deg); }
.brand em { margin-left: 5px; color: var(--gold); font-size: 18px; font-style: normal; font-weight: 950; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.pill { min-height: 40px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 14px; font-weight: 900; color: #fff; background: rgba(255,255,255,.08); text-transform: uppercase; white-space: nowrap; }
.pill.hot, .btn.hot { background: linear-gradient(135deg, #0b73ff, #0757c8); box-shadow: 0 14px 22px rgba(0,109,255,.28); border-color: transparent; }
.nav { background: rgba(255,255,255,.09); }
.nav .wrap { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.nav a { min-height: 54px; display: inline-flex; align-items: center; color: #f4ffd7; font-size: 15px; font-weight: 950; text-transform: uppercase; border-bottom: 3px solid transparent; }
.nav a.active, .nav a:hover { color: #fff; border-color: var(--blue); }
.hero { padding: 20px 0 30px; }
.hero-board { position: relative; min-height: 438px; overflow: hidden; display: grid; align-items: center; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 40%, rgba(255,255,255,.18) 66%, rgba(255,255,255,0) 100%), url("/assets/3999bet-hero.png") center right / cover no-repeat; border-radius: 0 0 38px 38px; box-shadow: var(--shadow); }
.hero-board::after { content: ""; position: absolute; inset: auto 0 0; height: 88px; background: linear-gradient(180deg, transparent, rgba(148,183,13,.72)); }
.hero-copy { position: relative; z-index: 1; max-width: 625px; padding: 58px 40px 64px; color: var(--ink); }
h1 { margin: 0 0 18px; font-size: 52px; line-height: 1.08; letter-spacing: 0; font-weight: 950; }
h1 strong { color: var(--deep-blue); }
.lead { max-width: 560px; margin: 0 0 24px; color: #384625; font-size: 18px; line-height: 1.72; font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { min-height: 48px; min-width: 156px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, var(--blue), #0042c7); box-shadow: 0 14px 24px rgba(0,109,255,.26); font-size: 15px; font-weight: 950; text-transform: uppercase; text-align: center; }
.intro-card { margin-top: -8px; padding: 30px 34px; background: rgba(140,177,8,.9); border: 1px solid rgba(255,255,255,.55); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 0 26px rgba(255,255,255,.34); }
.intro-card h2 { margin: 0 0 16px; color: var(--deep-blue); font-size: 32px; line-height: 1.25; text-align: center; }
.intro-card p { margin: 0 0 14px; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.8; }
.quick-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-links a { padding: 7px 10px; color: #005cff; background: rgba(255,255,255,.82); border-radius: 999px; font-size: 13px; font-weight: 950; }
.section { padding: 60px 0 0; }
.section-title { margin: 0 0 24px; color: #fff; font-size: 36px; line-height: 1.2; font-weight: 950; text-align: center; text-transform: uppercase; text-shadow: 0 4px 12px rgba(67,93,0,.3); }
.section-title span { color: var(--deep-blue); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product { min-height: 170px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.44); border-radius: 14px; box-shadow: 0 12px 28px rgba(59,90,0,.18); }
.product b { width: 48px; height: 42px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--deep-blue)); border-radius: 12px; font-size: 13px; }
.product h3 { margin: 18px 0 6px; color: #fff; font-size: 20px; }
.product p { margin: 0; color: #efffc8; font-size: 14px; line-height: 1.55; font-weight: 700; }
.promo-band { margin-top: 56px; padding: 30px; display: grid; grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; background: rgba(255,255,255,.18); border-top: 1px solid rgba(255,255,255,.42); border-bottom: 1px solid rgba(255,255,255,.42); }
.promo-main, .promo { padding: 22px; background: rgba(255,255,255,.88); border-radius: 12px; color: var(--ink); }
.promo-main h2, .promo h3 { margin: 0 0 10px; color: var(--deep-blue); font-size: 24px; line-height: 1.3; }
.promo p { color: #496020; font-weight: 700; line-height: 1.65; }
.promo strong { display: block; color: var(--blue); font-size: 34px; line-height: 1; margin-bottom: 12px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post { overflow: hidden; background: rgba(255,255,255,.08); border-radius: 8px; }
.thumb { position: relative; min-height: 190px; display: block; background-image: url("/assets/3999bet-article-sprite.png"); background-size: 300% 200%; background-position: var(--pos); border: 1px solid rgba(255,255,255,.26); }
.date { position: absolute; top: 10px; left: 10px; width: 62px; min-height: 58px; display: grid; place-items: center; color: var(--blue); background: #fff; border: 2px solid var(--blue); font-weight: 950; line-height: 1.1; text-align: center; font-size: 12px; }
.post-body { padding: 18px 12px 18px; text-align: center; }
.post h3 { margin: 0 0 12px; color: var(--deep-blue); font-size: 18px; line-height: 1.35; }
.post p { margin: 0; color: #f4ffd9; font-size: 14px; font-weight: 700; line-height: 1.7; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; justify-content: center; }
.pagination li, .pagination a, .pagination span { min-height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; color: var(--deep-blue); background: rgba(255,255,255,.84); font-weight: 900; }
.subhero, .article-hero { margin-top: 26px; padding: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr); gap: 26px; align-items: center; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.46); border-radius: 18px; box-shadow: var(--shadow); }
.article-hero { display: block; }
.subhero h1, .article-hero h1 { color: #fff; text-shadow: 0 4px 14px rgba(67,93,0,.35); }
.subhero p, .article-hero p { color: #f4ffd9; font-size: 17px; line-height: 1.75; font-weight: 700; }
.sprite-panel { min-height: 280px; margin: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 14px; background-image: url("/assets/3999bet-article-sprite.png"); background-size: 300% 200%; background-position: var(--pos); position: relative; overflow: hidden; }
.sprite-wide { min-height: 330px; margin-bottom: 22px; }
.sprite-panel figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 10px 12px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--deep-blue)); font-weight: 950; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; margin-top: 22px; align-items: start; }
.article-card, .side-card { padding: 26px; background: rgba(255,255,255,.88); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); }
.article-card h2, .article-card h3, .side-card h3 { color: var(--deep-blue); }
.article-card p, .article-card li { color: #40571a; font-size: 16px; line-height: 1.75; font-weight: 700; }
.summary { padding: 16px; border-left: 5px solid var(--blue); background: #f4ffd7; color: #253913 !important; }
.article-card table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; color: #40571a; font-weight: 700; }
.article-card th, .article-card td { border: 1px solid rgba(0,109,255,.22); padding: 12px; vertical-align: top; text-align: left; }
.article-card th { color: var(--deep-blue); background: #f4ffd7; }
.faq details { margin: 10px 0; padding: 14px 16px; border: 1px solid rgba(0,109,255,.22); border-radius: 12px; background: #f7ffe0; }
.faq summary { color: var(--deep-blue); font-weight: 950; cursor: pointer; }
.warning { margin-top: 24px; padding: 16px; border: 1px solid rgba(0,109,255,.34); border-radius: 12px; color: #40571a; background: #f4ffd7; line-height: 1.68; font-weight: 700; }
.side-card { position: sticky; top: 18px; }
.side-card a { display: block; padding: 12px 0; border-top: 1px solid rgba(0,109,255,.16); color: var(--deep-blue); font-weight: 900; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; color: #40571a; font-weight: 800; }
.prenext { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.prenext div { padding: 12px; border: 1px solid rgba(0,109,255,.2); border-radius: 12px; color: var(--deep-blue); }
.about-footer { margin-top: 70px; padding: 44px 0 52px; background: rgba(116,150,4,.62); border-top: 1px solid rgba(255,255,255,.32); }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 58px; align-items: start; }
.footer-brand { margin-bottom: 24px; font-size: 64px; }
.about-footer h3 { margin: 0 0 16px; color: var(--deep-blue); font-size: 22px; text-transform: uppercase; }
.about-footer p, .about-footer li { color: #fff; font-size: 16px; line-height: 1.75; font-weight: 700; }
.provider-row { margin-top: 42px; padding-top: 34px; border-top: 3px solid rgba(255,255,255,.7); text-align: center; }
.logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.logos a { min-width: 70px; padding: 9px 12px; border-radius: 8px; color: var(--deep-blue); background: #fff; font-weight: 950; box-shadow: 0 8px 18px rgba(67,95,0,.22); }
.copyright { padding: 20px 0; background: rgba(52,58,50,.76); color: #cfd8be; font-size: 13px; font-weight: 700; }
@media (max-width: 980px) {
  .product-grid, .promo-band, .article-grid, .footer-grid, .subhero, .article-layout { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
  .side-card { position: static; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .topbar { padding: 14px 0; flex-direction: column; align-items: flex-start; }
  .brand { font-size: 36px; }
  .top-actions { width: 100%; }
  .pill { flex: 1; min-width: 0; padding: 0 12px; }
  .nav .wrap { gap: 10px 16px; justify-content: flex-start; padding: 8px 0; }
  .nav a { min-height: 36px; font-size: 13px; }
  .hero-board { min-height: 560px; background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 50%, rgba(255,255,255,.22) 100%), url("/assets/3999bet-hero.png") center bottom / cover no-repeat; }
  .hero-copy { padding: 34px 22px 220px; }
  h1 { font-size: 34px; }
  .intro-card, .promo-band, .article-card, .side-card { padding: 22px; }
  .section { padding-top: 44px; }
  .section-title { font-size: 30px; }
  .sprite-panel { min-height: 220px; }
  .footer-brand { font-size: 42px; }
  .prenext { grid-template-columns: 1fr; }
}
