:root {
  --cream: #fffaf2;
  --cream-2: #f8efd9;
  --green: #24a557;
  --green-dark: #061912;
  --green-deep: #0d2c20;
  --red: #e70c2f;
  --red-dark: #9d071d;
  --gold: #ffd95b;
  --gold-deep: #c99625;
  --ink: #17201c;
  --muted: #66716a;
  --line: rgba(23, 32, 28, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, "Noto Sans Bengali", "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container,
.brand-row,
.nav-scroll,
.footer-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--green);
  color: var(--white);
}

.brand-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe16a 0%, #e80f34 52%, #087f47 100%);
  color: #111a15;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.brand-lockup strong {
  display: block;
  color: #071511;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.brand-lockup small {
  display: block;
  color: rgba(7, 21, 17, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-actions {
  display: flex;
  gap: 12px;
}

.quick-actions a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-actions a {
  background: #061912;
  color: var(--white);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.nav-band {
  background: var(--red);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-scroll {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-scroll a {
  position: relative;
  flex: 0 0 auto;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-scroll a.is-active::after,
.nav-scroll a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 4px;
  background: #061912;
  border-radius: 6px 6px 0 0;
}

.hero {
  min-height: 540px;
  background-color: var(--green-dark);
  background-image: linear-gradient(90deg, rgba(4, 17, 13, 0.98) 0%, rgba(4, 17, 13, 0.9) 44%, rgba(4, 17, 13, 0.18) 72%), url("/assets/bet55/bet55-hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  color: var(--white);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 38px;
  padding: 42px 0;
}

.hero-copy {
  max-width: 520px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 76px;
  line-height: 0.95;
  font-weight: 950;
}

.hero h1 span {
  display: block;
  color: var(--white);
}

.hero h1 {
  color: var(--gold);
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-primary {
  background: linear-gradient(180deg, #ffe987, #f4bd30);
  color: #111a15;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 24px rgba(247, 188, 34, 0.24);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.hero-metrics div {
  min-height: 88px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 28px;
  line-height: 1;
  color: var(--white);
}

.hero-metrics span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 72px 0;
}

.section-intro {
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
}

.two-col,
.content-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 36px;
  align-items: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head p,
.section-intro p,
.page-hero p,
.article-hero p,
.article-card p,
.feature-copy p,
.site-footer p {
  color: var(--muted);
}

.note-list,
.side-panel,
.responsible-note {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 32px rgba(23, 32, 28, 0.08);
}

.note-list {
  padding: 24px;
}

.note-list p:last-child,
.side-panel p:last-child,
.article-body p:last-child {
  margin-bottom: 0;
}

.feature-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.article-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(23, 32, 28, 0.08);
}

.feature-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-copy,
.article-card-body {
  padding: 20px;
}

.feature-copy span,
.article-card-body span,
.mini-list span,
.date-chip {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-list span {
  margin-right: 6px;
}

.text-link {
  color: var(--red-dark);
  font-weight: 900;
}

.band-dark {
  background: var(--green-dark);
  color: var(--white);
}

.band-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.image-stack {
  display: grid;
  gap: 14px;
}

.image-stack img {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 16 / 7;
  object-fit: cover;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.page-hero,
.article-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 58px 0;
}

.page-hero.simple,
.article-hero {
  background-image: linear-gradient(120deg, var(--green-dark), var(--green-deep) 58%, var(--red-dark));
}

.page-hero h1,
.article-hero h1 {
  margin-bottom: 16px;
  font-size: 48px;
  line-height: 1.12;
}

.page-hero p,
.article-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.page-hero img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.crumb {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.crumb a {
  color: var(--gold);
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-card-compact {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.article-card-compact img {
  height: 100%;
  min-height: 180px;
}

.side-panel {
  padding: 24px;
  position: sticky;
  top: 18px;
}

.side-panel h2 {
  font-size: 24px;
}

.side-panel ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.side-panel li {
  margin-bottom: 10px;
  color: var(--muted);
}

.btn.full {
  width: 100%;
}

.article-body {
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 16px 34px rgba(23, 32, 28, 0.08);
}

.article-body h2 {
  margin-top: 30px;
  font-size: 28px;
}

.article-cover {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 28px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.responsible-note {
  margin-top: 28px;
  padding: 20px;
  background: #fff5d4;
  color: #38280b;
}

.mini-list {
  display: grid;
  gap: 16px;
}

.mini-list a {
  display: block;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
}

.mini-list a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legacy-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.narrow {
  max-width: 860px;
}

.site-footer {
  background: #111a15;
  color: var(--white);
  padding: 46px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(160px, 0.55fr));
  gap: 28px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

@media (max-width: 940px) {
  .brand-row {
    min-height: 86px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .quick-actions {
    width: 100%;
  }

  .quick-actions a {
    flex: 1;
  }

  .nav-scroll {
    justify-content: flex-start;
    gap: 24px;
  }

  .hero {
    min-height: 560px;
    background-image: linear-gradient(90deg, rgba(4, 17, 13, 0.98), rgba(4, 17, 13, 0.76)), url("/assets/bet55/bet55-hero.jpg");
  }

  .hero-inner {
    min-height: 560px;
  }

  .two-col,
  .content-grid,
  .page-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .container,
  .brand-row,
  .nav-scroll,
  .footer-grid,
  .hero-inner,
  .copyright {
    width: min(100% - 28px, 1180px);
  }

  .brand-lockup strong {
    font-size: 30px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p,
  .page-hero p,
  .article-hero p {
    font-size: 16px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 28px;
  }

  .page-hero h1,
  .article-hero h1 {
    font-size: 34px;
  }

  .section {
    padding: 52px 0;
  }

  .feature-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card-compact {
    grid-template-columns: 1fr;
  }

  .article-card-compact img {
    min-height: auto;
  }

  .article-body {
    padding: 20px;
  }

  .article-cover {
    aspect-ratio: 16 / 10;
  }
}
