:root {
  --red: #ee2029;
  --deep-red: #870006;
  --dark: #130405;
  --gold: #ffd45c;
  --gold-2: #ffad1f;
  --line: rgba(238, 32, 41, .22);
  --text: #23120d;
  --muted: #745d57;
  --max: 1220px;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body.bet-page { margin: 0; font-family: Arial, "Noto Sans Bengali", Helvetica, sans-serif; color: var(--text); background: #fff7f1; letter-spacing: 0; }
.bet-page a { color: inherit; text-decoration: none; }
.bet-page img { display: block; max-width: 100%; height: auto; }
.bet-page h1, .bet-page h2, .bet-page h3 { overflow-wrap: anywhere; letter-spacing: 0; }
.top { background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.top-inner { width: min(var(--max), calc(100% - 36px)); min-height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--red); font-weight: 900; font-size: clamp(32px, 4vw, 46px); line-height: 1; }
.brand-mark { width: 58px; height: 58px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 18px; background: linear-gradient(145deg, #ff343b, #ac0007); box-shadow: 0 12px 24px rgba(238,32,41,.28); }
.top-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.btn { min-height: 42px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; text-transform: uppercase; text-align: center; box-shadow: 0 14px 24px rgba(238,32,41,.22); }
.btn.red { color: #fff; background: linear-gradient(180deg, #ff4b52, #d40610); }
.btn.dark { color: #fff; background: #191919; border-color: rgba(255,255,255,.16); box-shadow: none; }
.btn.gold { background: linear-gradient(180deg, #ffe277, #ffb21e); color: #5a1300; box-shadow: 0 12px 30px rgba(255,190,48,.32); }
.nav { background: linear-gradient(180deg, #ff3b42, #de0a13); color: #fff; box-shadow: inset 0 -1px 0 rgba(255,255,255,.2); }
.nav-inner { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; display: flex; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a { flex: 0 0 auto; padding: 16px 17px; font-size: 14px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.nav-inner a.is-active, .nav-inner a:hover { background: rgba(128,0,0,.25); }
.hero { min-height: 438px; position: relative; overflow: hidden; background: #b30008; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(84,0,0,.82), rgba(140,0,8,.36) 45%, rgba(140,0,8,.02)), url("3333bet-hero.png"); background-size: cover; background-position: center; filter: saturate(1.04) contrast(1.04); }
.hero-inner { position: relative; width: min(var(--max), calc(100% - 36px)); min-height: 438px; margin: 0 auto; display: flex; align-items: center; }
.hero-copy { width: min(610px, 100%); color: #fff; padding: 30px 0; text-shadow: 0 4px 16px rgba(0,0,0,.35); }
.hero-copy h1 { margin: 0 0 16px; font-size: clamp(52px, 8vw, 96px); line-height: .88; font-weight: 900; color: #fff; text-transform: uppercase; }
.hero-copy h1 span { color: var(--gold); display: block; font-size: .52em; line-height: 1.08; margin-top: 10px; }
.hero-copy p { margin: 0 0 28px; max-width: 560px; font-size: 20px; line-height: 1.55; font-weight: 700; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.marquee { width: min(var(--max), calc(100% - 36px)); margin: 16px auto 0; border: 2px solid var(--red); border-radius: 999px; background: #fff; color: #0377d8; min-height: 36px; display: flex; align-items: center; justify-content: center; padding: 6px 22px; font-weight: 800; text-align: center; }
.categories { width: min(var(--max), calc(100% - 36px)); margin: 18px auto 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.cat { aspect-ratio: 16 / 10; min-height: 92px; border-radius: 8px; background: linear-gradient(145deg, #2a0808, #d5121b); border: 1px solid rgba(255,212,92,.45); color: #fff; display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: 8px; box-shadow: 0 14px 28px rgba(100,0,0,.18); position: relative; overflow: hidden; }
.cat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 10%, rgba(255,212,92,.38), transparent 36%), linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.68)); }
.cat strong { position: relative; z-index: 1; display: block; width: 100%; padding: 9px 6px; border-radius: 6px; background: rgba(135,0,7,.72); border: 1px solid rgba(255,255,255,.16); color: #fffaf0; font-size: 12px; font-weight: 900; line-height: 1.25; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0,0,0,.55); }
.section { width: min(var(--max), calc(100% - 36px)); margin: 42px auto 0; }
.section-title { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 0 0 22px; color: var(--red); text-align: center; text-transform: uppercase; font-size: 28px; line-height: 1.2; font-weight: 900; }
.section-title::before, .section-title::after { content: ""; height: 1px; background: linear-gradient(90deg, transparent, rgba(238,32,41,.45)); }
.section-title::after { background: linear-gradient(90deg, rgba(238,32,41,.45), transparent); }
.intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: stretch; }
.intro-card, .side-panel, .feature, .article-card, .article-main, .article-side { background: #fff; border-radius: 8px; border: 1px solid rgba(238,32,41,.16); box-shadow: 0 20px 44px rgba(90,0,0,.08); }
.intro-card { padding: 30px; border-left: 5px solid var(--red); }
.intro-card h2 { margin: 0 0 14px; color: var(--red); font-size: 30px; line-height: 1.15; text-transform: uppercase; }
.intro-card p, .side-panel p, .article-card p, .article-main p, .article-main li { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.proof { border-radius: 8px; background: #fff4e5; border: 1px solid rgba(255,173,31,.4); padding: 14px; }
.proof strong { display: block; color: var(--deep-red); font-size: 24px; margin-bottom: 4px; }
.proof span { color: #806156; font-size: 13px; font-weight: 800; }
.side-panel { padding: 22px; background: radial-gradient(circle at 88% 18%, rgba(255,212,92,.28), transparent 26%), linear-gradient(145deg, #fff, #fff0e4); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.step { min-height: 138px; padding: 18px; border-radius: 8px; color: #fff; background: linear-gradient(145deg, #19100f, #e4111b); display: flex; flex-direction: column; justify-content: space-between; }
.step b { color: var(--gold); font-size: 26px; }
.step span { font-weight: 800; line-height: 1.35; }
.feature-grid, .article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { overflow: hidden; }
.feature-media { min-height: 150px; background-image: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.42)), url("3333bet-categories.png"); background-size: cover; background-position: center; }
.feature:nth-child(2) .feature-media { background-position: 42% center; }
.feature:nth-child(3) .feature-media { background-position: 72% center; }
.feature:nth-child(4) .feature-media { background-image: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.42)), url("3333bet-app-security.png"); }
.feature-body { padding: 18px; }
.feature h3, .article-card h3 { margin: 0 0 8px; color: var(--deep-red); font-size: 19px; line-height: 1.25; }
.promo { min-height: 300px; border-radius: 8px; overflow: hidden; position: relative; display: flex; align-items: center; padding: 38px; color: #fff; background: linear-gradient(90deg, rgba(75,0,0,.88), rgba(128,0,8,.36)), url("3333bet-app-security.png") right center / cover no-repeat; box-shadow: 0 20px 44px rgba(90,0,0,.18); }
.promo-copy { max-width: 560px; text-shadow: 0 4px 16px rgba(0,0,0,.38); }
.promo-copy h2 { margin: 0 0 10px; color: var(--gold); font-size: 38px; line-height: 1.08; text-transform: uppercase; }
.article-card { overflow: hidden; }
.article-thumb { min-height: 130px; background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.45)), url("3333bet-hero.png"); background-size: cover; background-position: center; }
.article-card:nth-child(2) .article-thumb, .article-card:nth-child(3) .article-thumb { background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.45)), url("3333bet-categories.png"); }
.article-card:nth-child(4) .article-thumb { background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.45)), url("3333bet-app-security.png"); }
.article-body { padding: 18px; }
.date { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 8px; background: var(--red); color: #fff; font-size: 20px; font-weight: 900; }
.date small { display: block; font-size: 10px; margin-top: -18px; }
.footer { margin-top: 50px; background: #160506; color: #fff1d3; }
.footer-inner { width: min(var(--max), calc(100% - 36px)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.article-hero { background: linear-gradient(90deg, rgba(88,0,0,.92), rgba(144,0,8,.45)), url("3333bet-hero.png") center / cover; color: #fff; padding: 70px 0; }
.article-hero-inner, .article-wrap { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: #ffe7aa; font-weight: 800; }
.article-hero h1 { max-width: 850px; margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; text-transform: uppercase; }
.article-hero p { max-width: 720px; margin: 18px 0 0; color: #fff6df; font-size: 19px; font-weight: 800; line-height: 1.55; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; padding: 42px 0 20px; }
.article-main { padding: 32px; }
.article-main img { width: 100%; margin-bottom: 24px; border-radius: 8px; border: 1px solid rgba(238,32,41,.18); }
.article-main h2, .article-main h3 { color: var(--deep-red); }
.article-main section + section { margin-top: 20px; }
.article-side { align-self: start; padding: 24px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(238,32,41,.14); }
.side-list a { color: var(--deep-red); font-weight: 800; }
@media (max-width: 980px) {
  .top-inner { min-height: 76px; }
  .categories { grid-template-columns: repeat(4, 1fr); }
  .intro, .article-wrap { grid-template-columns: 1fr; }
  .feature-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .brand { font-size: 34px; }
  .top-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 48px; }
  .hero-copy p { font-size: 17px; }
  .categories, .feature-grid, .article-grid, .proofs { grid-template-columns: 1fr; }
  .cat { min-height: 78px; aspect-ratio: auto; }
  .section-title { grid-template-columns: 1fr; }
  .section-title::before, .section-title::after { display: none; }
  .promo { padding: 28px 20px; }
  .promo-copy h2 { font-size: 30px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 24px 0; }
  .article-main { padding: 22px; }
}
