:root {
  --b399-black: #050202;
  --b399-ink: #170708;
  --b399-red: #dc1f20;
  --b399-red-2: #900915;
  --b399-red-3: #3a0507;
  --b399-gold: #ffd567;
  --b399-gold-2: #c98724;
  --b399-cream: #fff0d1;
  --b399-page: #f8efe4;
  --b399-white: #fffaf1;
  --b399-muted: #cfb69e;
  --b399-line: rgba(255, 213, 103, .24);
  --b399-max: 1200px;
  --b399-radius: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body.b399-page {
  min-width: 320px;
  color: var(--b399-white);
  background:
    radial-gradient(circle at 18% 0%, rgba(220,31,32,.32), transparent 30%),
    linear-gradient(180deg, #050202 0%, #110304 45%, #1b0506 66%, #f8efe4 66%, #f8efe4 100%);
  font-family: "Noto Sans Bengali", "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
.b399-page a { color: inherit; text-decoration: none; }
.b399-page img { display: block; max-width: 100%; height: auto; }
.b399-shell { width: min(var(--b399-max), calc(100% - 40px)); margin: 0 auto; }
.b399-topbar { background: #050202; border-bottom: 1px solid rgba(255,213,103,.14); color: #f4d8b4; font-size: 13px; font-weight: 750; }
.b399-topbar .b399-shell { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.b399-topbar .b399-shell > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.b399-toplinks { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; color: var(--b399-gold); }
.b399-header { position: sticky; top: 0; z-index: 40; background: rgba(5,2,2,.94); border-bottom: 1px solid rgba(255,213,103,.16); backdrop-filter: blur(18px); }
.b399-header-inner { min-height: 86px; display: flex; align-items: center; gap: 18px; }
.b399-brand, .b399-footer-brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; min-width: 0; }
.b399-mark { width: 58px; aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; color: #230607; background: radial-gradient(circle at 30% 24%, #fff8 0 10%, transparent 11%), linear-gradient(135deg, #fff2a0, #f2b22d 52%, #e22a22); box-shadow: 0 16px 34px rgba(240,40,34,.35), inset 0 1px 0 rgba(255,255,255,.7); font-size: 18px; font-weight: 950; }
.b399-brand-title { display: block; color: var(--b399-gold); font-size: 34px; font-weight: 950; line-height: .9; text-transform: uppercase; text-shadow: 0 2px 0 #7b0711, 0 0 20px rgba(255,213,103,.34); }
.b399-brand-subtitle { display: block; margin-top: 6px; color: #ffefbe; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.b399-nav { margin-left: auto; min-width: 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px 14px; color: #ffe8b7; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.b399-nav a { min-height: 34px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; white-space: nowrap; }
.b399-nav a:hover, .b399-nav a.is-active { color: var(--b399-gold); border-bottom-color: var(--b399-red); }
.b399-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.b399-btn, .b399-header-cta { min-height: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; color: #220708; background: linear-gradient(135deg, #ffdf79, #d99323); box-shadow: 0 14px 34px rgba(255,197,62,.24), inset 0 1px 0 rgba(255,255,255,.62); font-size: 13px; font-weight: 950; text-transform: uppercase; white-space: nowrap; }
.b399-btn.is-ghost, .b399-header-cta.is-dark { color: #fff4cf; background: rgba(220,31,32,.24); border-color: rgba(255,213,103,.32); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.b399-hero { position: relative; isolation: isolate; min-height: 680px; padding: 58px 0 50px; background: linear-gradient(180deg, rgba(5,2,2,.3), rgba(5,2,2,1)), radial-gradient(circle at 72% 24%, rgba(255,213,103,.24), transparent 32%); }
.b399-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 115px; z-index: -1; background: linear-gradient(180deg, transparent, #f8efe4); }
.b399-hero-frame { min-height: 550px; border: 1px solid rgba(255,213,103,.26); border-radius: 28px; overflow: hidden; position: relative; background: #120303; box-shadow: 0 30px 90px rgba(0,0,0,.44), 0 0 0 1px rgba(220,31,32,.2); }
.b399-hero-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,2,2,.98) 0%, rgba(14,3,4,.92) 35%, rgba(30,4,6,.32) 58%, rgba(30,4,6,.05) 100%), url("399bet-hero.png") center right / cover no-repeat; }
.b399-hero-copy { position: relative; z-index: 1; width: min(590px, 100%); padding: 78px 58px; }
.b399-kicker { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; border: 1px solid rgba(255,213,103,.24); border-radius: 999px; padding: 0 14px; color: var(--b399-gold); background: rgba(15,3,4,.68); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.b399-hero h1, .b399-section-title h1 { max-width: 100%; margin: 18px 0 0; color: #fff; font-size: clamp(42px, 5vw, 76px); line-height: .94; font-weight: 950; text-transform: uppercase; overflow-wrap: anywhere; }
.b399-hero h1 span, .b399-section-title h1 span { display: block; color: var(--b399-gold); text-shadow: 0 0 34px rgba(255,213,103,.36); }
.b399-hero-text { width: min(530px, 100%); margin: 24px 0 0; color: #f5dfc5; font-size: 18px; line-height: 1.75; font-weight: 650; overflow-wrap: anywhere; word-break: break-word; }
.b399-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.b399-hero-stats { width: min(530px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.b399-stat { min-height: 82px; border: 1px solid rgba(255,213,103,.16); border-radius: 16px; padding: 15px; background: rgba(13,3,4,.76); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.b399-stat strong { display: block; color: var(--b399-gold); font-size: 24px; font-weight: 950; }
.b399-stat span { display: block; margin-top: 4px; color: var(--b399-muted); font-size: 12px; font-weight: 800; line-height: 1.35; }
.b399-main { background: var(--b399-page); color: #28120f; padding: 0 0 54px; }
.b399-section { padding: 48px 0; }
.b399-section.is-tight { padding: 30px 0; }
.b399-section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.b399-section-title h2 { margin: 0; color: #280809; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; font-weight: 950; overflow-wrap: anywhere; }
.b399-section-title p { max-width: 560px; margin: 8px 0 0; color: #735246; font-size: 15px; line-height: 1.65; font-weight: 650; }
.b399-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b399-card { min-width: 0; border: 1px solid rgba(116,31,20,.12); border-radius: var(--b399-radius); background: #fffaf1; box-shadow: 0 14px 34px rgba(64,22,14,.08); overflow: hidden; }
.b399-card-body { padding: 22px; }
.b399-card h3, .b399-card h2 { margin: 0; color: #260708; font-size: 22px; line-height: 1.18; font-weight: 950; overflow-wrap: anywhere; }
.b399-card p { margin: 10px 0 0; color: #684a3e; line-height: 1.68; font-size: 15px; font-weight: 620; overflow-wrap: anywhere; }
.b399-category { position: relative; min-height: 180px; padding: 22px; background: linear-gradient(145deg, #fffaf1, #ffe3ab); }
.b399-category::after { content: ""; position: absolute; right: 18px; bottom: 18px; width: 64px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff7, transparent 24%), linear-gradient(135deg, #f7c34a, #c7191f); opacity: .92; }
.b399-category strong { color: var(--b399-red-2); font-size: 13px; font-weight: 950; text-transform: uppercase; }
.b399-category h3 { max-width: 80%; margin-top: 10px; }
.b399-feature-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: stretch; }
.b399-feature { border-radius: 18px; overflow: hidden; background: #190405; color: #fff4cf; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 340px; box-shadow: 0 26px 56px rgba(55,11,10,.18); }
.b399-feature.is-reverse { grid-template-columns: 1fr; min-height: 340px; }
.b399-feature-copy { padding: 34px; align-self: center; }
.b399-feature h3 { margin: 0; color: var(--b399-gold); font-size: 31px; line-height: 1.05; font-weight: 950; overflow-wrap: anywhere; }
.b399-feature p { margin: 14px 0 0; color: #efd5b8; line-height: 1.72; font-weight: 650; }
.b399-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.b399-band { background: linear-gradient(135deg, #3c0507, #94101b 48%, #1a0304); color: #fff4cf; border: 1px solid rgba(255,213,103,.25); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; box-shadow: 0 24px 50px rgba(83,14,12,.2); }
.b399-band h2, .b399-band h3 { margin: 0; color: var(--b399-gold); font-size: clamp(28px, 3vw, 42px); line-height: 1.08; font-weight: 950; }
.b399-band p { margin: 12px 0 0; color: #f3d5b7; line-height: 1.68; font-weight: 650; }
.b399-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.b399-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.b399-article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.b399-tag { display: inline-flex; align-items: center; min-height: 28px; border-radius: 999px; padding: 0 11px; color: #65080f; background: #ffe0a1; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.b399-article-card .b399-card-body { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; }
.b399-article-card .b399-read { margin-top: auto; padding-top: 16px; color: var(--b399-red-2); font-size: 13px; font-weight: 950; }
.b399-aside { position: sticky; top: 110px; display: grid; gap: 14px; }
.b399-aside .b399-card-body { padding: 18px; }
.b399-aside a { display: block; padding: 13px 0; border-top: 1px solid rgba(116,31,20,.12); color: #3d1110; font-weight: 850; line-height: 1.4; }
.b399-step-grid, .b399-faq-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.b399-step { min-height: 185px; padding: 20px; border-radius: var(--b399-radius); background: #fffaf1; border: 1px solid rgba(116,31,20,.12); }
.b399-step strong { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 50%; color: #220708; background: linear-gradient(135deg, #ffdf79, #d99323); font-size: 16px; font-weight: 950; }
.b399-step h3 { margin: 16px 0 0; color: #260708; font-size: 19px; line-height: 1.2; }
.b399-step p { margin: 10px 0 0; color: #684a3e; line-height: 1.62; font-weight: 620; }
.b399-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b399-faq { padding: 22px; border-radius: var(--b399-radius); background: #fffaf1; border: 1px solid rgba(116,31,20,.12); }
.b399-faq h3 { margin: 0; color: #260708; font-size: 20px; line-height: 1.25; }
.b399-faq p { margin: 10px 0 0; color: #684a3e; line-height: 1.66; font-weight: 620; }
.b399-page-hero { padding: 52px 0 46px; background: radial-gradient(circle at 78% 20%, rgba(255,213,103,.22), transparent 30%), linear-gradient(135deg, #050202, #3a0507 54%, #090202); color: #fff4cf; }
.b399-page-hero .b399-shell { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: center; }
.b399-page-hero h1 { margin: 16px 0 0; color: #fff; font-size: clamp(36px, 4vw, 58px); line-height: 1; font-weight: 950; overflow-wrap: anywhere; }
.b399-page-hero p { margin: 16px 0 0; color: #f1d7b9; font-size: 17px; line-height: 1.7; font-weight: 650; }
.b399-page-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255,213,103,.22); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.b399-article-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.b399-prose { padding: 28px; border-radius: 12px; background: #fffaf1; border: 1px solid rgba(116,31,20,.12); }
.b399-prose h2 { margin: 0 0 12px; color: #260708; font-size: 28px; line-height: 1.18; font-weight: 950; }
.b399-prose section + section { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(116,31,20,.12); }
.b399-prose p { margin: 0; color: #5f443b; font-size: 17px; line-height: 1.82; font-weight: 620; overflow-wrap: anywhere; }
.b399-footer { background: #080202; color: #e9cba8; padding: 44px 0 22px; border-top: 1px solid rgba(255,213,103,.16); }
.b399-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, .7fr)); gap: 28px; }
.b399-footer h3 { margin: 0 0 12px; color: var(--b399-gold); font-size: 17px; }
.b399-footer p, .b399-footer a { color: #d8b897; line-height: 1.7; font-size: 14px; font-weight: 620; }
.b399-footer a { display: block; margin: 7px 0; }
.b399-copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,213,103,.12); color: #b89474; font-size: 13px; line-height: 1.6; }
@media (max-width: 1040px) {
  .b399-header-inner { flex-wrap: wrap; padding: 14px 0; }
  .b399-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .b399-feature-row, .b399-layout, .b399-article-body, .b399-page-hero .b399-shell { grid-template-columns: 1fr; }
  .b399-aside { position: static; }
  .b399-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b399-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b399-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .b399-shell { width: min(100% - 24px, var(--b399-max)); }
  .b399-topbar .b399-shell { display: grid; grid-template-columns: 1fr; align-items: flex-start; padding: 9px 0; gap: 7px; }
  .b399-header-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .b399-brand { width: 100%; }
  .b399-mark { width: 48px; border-radius: 13px; font-size: 15px; }
  .b399-brand-title { font-size: 28px; }
  .b399-brand-subtitle { font-size: 11px; }
  .b399-actions { width: 100%; max-width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .b399-header-cta { width: 100%; min-width: 0; padding: 0 10px; font-size: 12px; }
  .b399-nav { width: 100%; max-width: 100%; margin-left: 0; }
  .b399-btn { min-width: 0; padding: 0 16px; font-size: 12px; }
  .b399-toplinks { gap: 10px; font-size: 12px; }
  .b399-hero { min-height: 0; padding: 22px 0 34px; }
  .b399-hero-frame { min-height: 0; border-radius: 18px; }
  .b399-hero-frame::before { background: linear-gradient(180deg, rgba(5,2,2,.95) 0%, rgba(12,3,4,.86) 55%, rgba(22,4,5,.7) 100%), url("399bet-hero.png") 62% center / cover no-repeat; }
  .b399-hero-copy { padding: 40px 20px; }
  .b399-hero h1, .b399-section-title h1 { font-size: clamp(32px, 11vw, 44px); line-height: .98; }
  .b399-hero-text { font-size: 16px; line-height: 1.68; }
  .b399-hero-stats { grid-template-columns: 1fr; }
  .b399-section-title { display: block; }
  .b399-grid, .b399-list, .b399-step-grid, .b399-faq-grid { grid-template-columns: 1fr; }
  .b399-feature { grid-template-columns: 1fr; }
  .b399-feature-copy { padding: 24px; }
  .b399-feature img { min-height: 230px; }
  .b399-band { grid-template-columns: 1fr; padding: 22px; }
  .b399-page-hero { padding: 34px 0; }
  .b399-page-hero h1 { font-size: clamp(31px, 10vw, 44px); }
  .b399-page-hero img { aspect-ratio: 16/10; }
  .b399-prose { padding: 22px; }
  .b399-footer-grid { grid-template-columns: 1fr; }
}
