:root {
  --db-bg: #060203;
  --db-bg-2: #170407;
  --db-surface: rgba(36, 9, 10, .82);
  --db-surface-2: rgba(64, 15, 12, .78);
  --db-line: rgba(255, 215, 113, .30);
  --db-gold: #ffe27a;
  --db-gold-2: #ffb33b;
  --db-orange: #ff6e21;
  --db-red: #df2419;
  --db-cyan: #50dfff;
  --db-mint: #63f0bb;
  --db-text: #fff5c9;
  --db-muted: #d9bd82;
  --db-ink: #260805;
  --db-shadow: 0 24px 60px rgba(255, 83, 24, .20);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.db77-page {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--db-text);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 179, 59, .22), transparent 28%),
    linear-gradient(180deg, #080202 0%, #1b0607 45%, #050102 100%);
  font-family: Arial, "Noto Sans Bengali", "Kohinoor Bangla", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

.db77-page a {
  color: inherit;
  text-decoration: none;
}

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

.db77-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.db77-shell > *,
.db77-card,
.db77-panel,
.db77-side,
.db77-post,
.db77-article-card,
.db77-prose,
.db77-article-body {
  min-width: 0;
}

.db77-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--db-line);
  background: rgba(7, 2, 2, .92);
  backdrop-filter: blur(16px);
}

.db77-topbar {
  display: grid;
  grid-template-columns: minmax(210px, 260px) 1fr minmax(210px, 280px);
  gap: 22px;
  align-items: center;
  min-height: 86px;
  padding: 12px 0;
}

.db77-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.db77-logo-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: var(--db-ink);
  background: linear-gradient(145deg, #fff2a2, #ff9f28 55%, #f13718);
  box-shadow: 0 16px 42px rgba(255, 78, 20, .42);
  font-size: 24px;
  font-weight: 900;
}

.db77-logo strong {
  display: block;
  color: #fff6cd;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.db77-logo small {
  display: block;
  margin-top: 4px;
  color: var(--db-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.db77-nav,
.db77-actions,
.db77-hero-actions,
.db77-proof {
  display: flex;
  align-items: center;
}

.db77-nav {
  justify-content: center;
  gap: 8px;
}

.db77-nav a {
  padding: 12px 15px;
  border-radius: 999px;
  color: #ffe9aa;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.db77-nav a:hover,
.db77-nav a.is-active,
.db77-btn-primary {
  color: var(--db-ink) !important;
  background: linear-gradient(135deg, var(--db-gold), var(--db-orange));
}

.db77-actions {
  justify-content: flex-end;
  gap: 10px;
}

.db77-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--db-line);
  border-radius: 999px;
  color: #fff5c8;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.db77-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--db-shadow);
}

.db77-btn-outline {
  background: rgba(255, 255, 255, .06);
}

.db77-btn-primary {
  border: 0;
  box-shadow: 0 18px 44px rgba(255, 78, 20, .32);
}

.db77-hero {
  position: relative;
  min-height: 880px;
  padding: 54px 0 42px;
  isolation: isolate;
}

.db77-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 5, 1, .08), rgba(7, 2, 1, .72) 58%, #070201 96%),
    linear-gradient(180deg, rgba(7, 2, 1, .18), #070201 94%),
    url("/assets/77db-hero.png") center top / cover no-repeat;
}

.db77-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 280px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--db-bg));
}

.db77-hero-content {
  width: min(720px, 100%);
  margin: 0 auto;
  padding-top: 20px;
  text-align: center;
}

.db77-warning {
  margin: 0 0 20px;
  color: var(--db-gold);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.db77-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 78px;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  color: var(--db-ink);
  background: linear-gradient(145deg, #fff2a3, #ff9f28 55%, #f13718);
  box-shadow: 0 22px 60px rgba(255, 74, 20, .48);
  font-size: 44px;
  font-weight: 900;
}

.db77-hero h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  color: #fff4c4;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.14;
  font-weight: 900;
  text-shadow: 0 9px 38px rgba(255, 78, 20, .55);
}

.db77-lead {
  max-width: 660px;
  margin: 0 auto 28px;
  color: #f0dca8;
  font-size: 19px;
  line-height: 1.72;
}

.db77-proof {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.db77-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 227, 122, .28);
  border-radius: 999px;
  color: #ffe9aa;
  background: rgba(7, 2, 1, .56);
  font-size: 13px;
  font-weight: 900;
}

.db77-hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.db77-hero-actions .db77-btn {
  min-width: 214px;
  min-height: 56px;
  font-size: 16px;
}

.db77-game-dock {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 44px));
  margin: 44px auto 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.db77-game-card {
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(255, 227, 122, .28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
    rgba(24, 6, 5, .88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .32);
}

.db77-game-card i,
.db77-icon,
.db77-post time,
.db77-date {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  min-height: 38px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--db-ink);
  background: linear-gradient(135deg, var(--db-gold), var(--db-orange));
  font-style: normal;
  font-weight: 900;
}

.db77-game-card strong {
  display: block;
  margin-bottom: 5px;
  color: #fff5c8;
  font-size: 19px;
  line-height: 1.3;
}

.db77-game-card span,
.db77-card p,
.db77-panel p,
.db77-side p,
.db77-side li,
.db77-post p {
  color: var(--db-muted);
  line-height: 1.7;
}

.db77-section,
.db77-footer {
  padding: 56px 0;
}

.db77-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.db77-section-head p,
.db77-label,
.db77-page-kicker {
  margin: 0 0 9px;
  color: var(--db-gold-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.db77-section-head h2,
.db77-panel h2,
.db77-page-hero h1,
.db77-article-hero h1 {
  margin: 0;
  color: #ffe7a4;
  font-weight: 900;
  line-height: 1.2;
}

.db77-section-head h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.5vw, 48px);
}

.db77-promo {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 18px;
}

.db77-panel,
.db77-card,
.db77-side,
.db77-category-feature,
.db77-post,
.db77-article-card {
  border: 1px solid rgba(255, 227, 122, .23);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
    var(--db-surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
}

.db77-panel {
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 179, 59, .18), rgba(255, 49, 28, .08)),
    var(--db-surface);
}

.db77-panel h2 {
  font-size: 32px;
}

.db77-card-grid,
.db77-news-grid,
.db77-story-grid,
.db77-category-grid,
.db77-guide-grid,
.db77-faq-grid {
  display: grid;
  gap: 16px;
}

.db77-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.db77-card,
.db77-side,
.db77-post {
  padding: 22px;
}

.db77-card h3,
.db77-side h2,
.db77-post h3 {
  margin: 0;
  color: #fff4c4;
  line-height: 1.35;
}

.db77-card h3 {
  font-size: 21px;
}

.db77-card p {
  margin: 10px 0 0;
}

.db77-card a,
.db77-readmore,
.db77-side a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--db-gold);
  font-weight: 900;
}

.db77-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.db77-category-layout {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 18px;
}

.db77-category-feature {
  min-height: 100%;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 179, 59, .20), rgba(80, 223, 255, .10)),
    var(--db-surface-2);
}

.db77-category-feature img {
  width: 100%;
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 227, 122, .24);
}

.db77-category-feature span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--db-ink);
  background: linear-gradient(135deg, var(--db-gold), var(--db-orange));
  font-weight: 900;
}

.db77-category-feature h3 {
  margin: 0;
  color: #fff4c4;
  font-size: 32px;
  line-height: 1.25;
}

.db77-category-feature p {
  color: var(--db-muted);
  line-height: 1.75;
}

.db77-category-grid,
.db77-guide-grid,
.db77-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.db77-guide-band {
  display: grid;
  grid-template-columns: 1.08fr 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 227, 122, .26);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 113, 36, .18), rgba(80, 240, 180, .09)),
    rgba(24, 6, 5, .86);
}

.db77-guide-band h2 {
  margin: 0;
  color: #fff4c4;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.26;
}

.db77-guide-band ul {
  margin: 0;
  padding-left: 20px;
}

.db77-guide-band li {
  color: var(--db-muted);
  line-height: 1.8;
}

.db77-news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.db77-post h3 {
  margin-top: 10px;
  color: var(--db-gold);
  font-size: 20px;
}

.db77-post p {
  margin: 8px 0 0;
}

.db77-page-hero,
.db77-article-hero {
  position: relative;
  padding: 72px 0 58px;
  border-bottom: 1px solid var(--db-line);
  isolation: isolate;
}

.db77-page-hero::before,
.db77-article-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 2, 1, .38), #070201 94%),
    url("/assets/77db-category.png") center / cover no-repeat;
  opacity: .42;
}

.db77-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.db77-page-hero h1,
.db77-article-hero h1 {
  max-width: 880px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.22;
}

.db77-page-hero p,
.db77-article-hero p {
  max-width: 760px;
  color: #f0dca8;
  font-size: 18px;
  line-height: 1.75;
}

.db77-page-hero img {
  border-radius: 16px;
  border: 1px solid var(--db-line);
  box-shadow: var(--db-shadow);
}

.db77-content-layout,
.db77-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.db77-article-card {
  padding: 28px;
}

.db77-prose,
.db77-article-body {
  color: var(--db-text);
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.db77-prose h2,
.db77-article-body h2 {
  margin: 26px 0 10px;
  color: var(--db-gold);
  font-size: 28px;
  line-height: 1.3;
}

.db77-prose h3,
.db77-article-body h3 {
  margin: 22px 0 8px;
  color: #fff4c4;
  font-size: 22px;
  line-height: 1.35;
}

.db77-prose p,
.db77-article-body p {
  margin: 12px 0;
}

.db77-prose li,
.db77-article-body li {
  margin: 8px 0;
}

.db77-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--db-line);
  border-radius: 12px;
}

.db77-table th,
.db77-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 227, 122, .18);
  text-align: left;
  vertical-align: top;
}

.db77-table th {
  color: var(--db-ink);
  background: linear-gradient(135deg, var(--db-gold), var(--db-orange));
}

.db77-side ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.db77-alert {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 113, 36, .36);
  border-radius: 14px;
  color: #ffe7a7;
  background: rgba(255, 113, 36, .10);
  line-height: 1.75;
}

.db77-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.db77-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--db-gold);
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  font-weight: 900;
}

.db77-column-title {
  padding: 14px 16px;
  border-left: 4px solid var(--db-orange);
  border-radius: 0 12px 12px 0;
  color: #fff4c4;
  background: rgba(255, 113, 36, .14);
  font-weight: 900;
}

.db77-prenext {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.db77-prenext > div,
.db77-tools {
  padding: 12px;
  border: 1px solid rgba(255, 227, 122, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}

.db77-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.db77-tools a,
.db77-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--db-ink);
  background: linear-gradient(135deg, var(--db-gold), var(--db-orange));
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.db77-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--db-muted);
  border-top: 1px solid var(--db-line);
}

.db77-footer strong {
  color: var(--db-gold);
  font-size: 26px;
}

.db77-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, .8fr));
  gap: 22px;
}

.db77-footer-grid h3 {
  margin: 0 0 12px;
  color: #fff4c4;
}

.db77-footer-grid a {
  display: block;
  margin: 7px 0;
  color: var(--db-muted);
}

@media (max-width: 1100px) {
  .db77-topbar {
    grid-template-columns: 1fr;
  }

  .db77-logo,
  .db77-nav,
  .db77-actions {
    justify-content: center;
  }

  .db77-nav {
    flex-wrap: wrap;
  }

  .db77-game-dock,
  .db77-card-grid,
  .db77-story-grid,
  .db77-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db77-hero {
    min-height: 1080px;
  }

  .db77-promo,
  .db77-category-layout,
  .db77-guide-band,
  .db77-page-hero-grid,
  .db77-content-layout,
  .db77-article-layout {
    grid-template-columns: 1fr;
  }

  .db77-game-dock {
    margin-top: 42px;
  }
}

@media (max-width: 720px) {
  .db77-shell {
    width: min(100% - 28px, 1180px);
  }

  .db77-header {
    position: static;
  }

  .db77-logo strong {
    font-size: 30px;
  }

  .db77-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .db77-nav a {
    text-align: center;
  }

  .db77-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .db77-hero {
    min-height: auto;
    padding: 42px 0 34px;
  }

  .db77-hero-content {
    padding-top: 0;
  }

  .db77-warning {
    font-size: 13px;
  }

  .db77-badge {
    min-width: 142px;
    min-height: 58px;
    font-size: 30px;
  }

  .db77-hero h1,
  .db77-page-hero h1,
  .db77-article-hero h1 {
    font-size: 32px;
    line-height: 1.28;
  }

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

  .db77-hero-actions {
    flex-direction: column;
  }

  .db77-hero-actions .db77-btn,
  .db77-actions .db77-btn {
    width: 100%;
  }

  .db77-game-dock,
  .db77-card-grid,
  .db77-story-grid,
  .db77-category-grid,
  .db77-guide-grid,
  .db77-faq-grid,
  .db77-news-grid,
  .db77-footer-grid,
  .db77-prenext {
    grid-template-columns: 1fr;
  }

  .db77-section,
  .db77-footer {
    padding: 38px 0;
  }

  .db77-section-head,
  .db77-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .db77-panel,
  .db77-card,
  .db77-category-feature,
  .db77-article-card,
  .db77-side {
    padding: 18px;
  }

  .db77-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
