/* G777 Bengali topic template */
:root {
  --g7-bg: #050403;
  --g7-bg-soft: #0b0706;
  --g7-panel: #120b08;
  --g7-panel-2: #18100b;
  --g7-line: rgba(248, 198, 78, .24);
  --g7-line-red: rgba(231, 35, 38, .42);
  --g7-text: #fff8eb;
  --g7-muted: #cbbda6;
  --g7-red: #e72326;
  --g7-red-2: #ff5d4f;
  --g7-gold: #f8c64e;
  --g7-gold-2: #b9781c;
  --g7-green: #57d47b;
  --g7-ink: #15100c;
  --g7-font: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--g7-bg);
  color: var(--g7-text);
  font-family: var(--g7-font);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.g7-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.g7-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 4, 3, .94);
  border-bottom: 1px solid var(--g7-line-red);
  backdrop-filter: blur(16px);
}

.g7-nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.g7-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--g7-text);
  font-size: 31px;
  line-height: 1;
  font-weight: 950;
}

.g7-logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #1b0f06;
  background: linear-gradient(155deg, #ffe994, var(--g7-gold) 48%, #9d5f12);
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: 0 0 26px rgba(248, 198, 78, .36);
  font-size: 21px;
}

.g7-logo span:last-child {
  color: var(--g7-gold);
}

.g7-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #f6ead5;
  font-size: 15px;
  font-weight: 850;
}

.g7-menu a {
  position: relative;
  white-space: nowrap;
  opacity: .92;
}

.g7-menu a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--g7-red), var(--g7-gold));
}

.g7-actions,
.g7-hero-actions,
.g7-store-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.g7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 21px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.g7-btn:hover {
  transform: translateY(-2px);
}

.g7-btn-gold {
  color: #180e05;
  background: linear-gradient(180deg, #ffe27c, #f8c64e 42%, #cf7d11);
  box-shadow: 0 12px 24px rgba(248, 198, 78, .25);
}

.g7-btn-dark {
  color: var(--g7-text);
  background: rgba(255, 255, 255, .04);
  border-color: var(--g7-line-red);
}

.g7-btn-red {
  color: #fff;
  background: linear-gradient(180deg, #ff493f, #c9141d);
  border-color: rgba(248, 198, 78, .42);
}

.g7-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  padding: 62px 0 44px;
  background:
    radial-gradient(circle at 74% 20%, rgba(248, 198, 78, .22), transparent 29%),
    radial-gradient(circle at 22% 38%, rgba(231, 35, 38, .38), transparent 34%),
    linear-gradient(112deg, #050403 0%, #170806 58%, #05070a 100%);
}

.g7-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(116deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 86px);
  opacity: .54;
}

.g7-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.g7-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .48);
}

.g7-hero h1 strong {
  display: block;
  color: var(--g7-gold);
}

.g7-hero p {
  max-width: 590px;
  margin: 0 0 30px;
  color: #f2e5ce;
  font-size: 18px;
  font-weight: 700;
}

.g7-hero-art {
  width: 100%;
  margin-right: -38px;
  border-radius: 8px;
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, .55));
}

.g7-proof {
  padding: 20px 0;
  background: #050505;
  border-top: 1px solid var(--g7-line-red);
  border-bottom: 1px solid var(--g7-line-red);
}

.g7-proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--g7-line-red);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.g7-proof-item {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.g7-proof-item:last-child {
  border-right: 0;
}

.g7-proof-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--g7-gold);
}

.g7-proof-item strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.g7-proof-item span {
  display: block;
  color: var(--g7-muted);
  font-size: 13px;
}

.g7-main,
.g7-section {
  background: var(--g7-bg);
}

.g7-about {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, #070605, #0f0807);
}

.g7-about-panel {
  display: grid;
  grid-template-columns: .9fr .65fr .9fr;
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid var(--g7-line-red);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 16%, rgba(248, 198, 78, .12), transparent 36%),
    rgba(255, 255, 255, .025);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
}

.g7-section-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: 0;
}

.g7-section-title span {
  color: var(--g7-gold);
}

.g7-lead {
  margin: 0 0 15px;
  color: #d9cab4;
  font-size: 16px;
}

.g7-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.g7-stat {
  display: grid;
  place-items: center;
  min-height: 126px;
  padding: 16px 10px;
  text-align: center;
  border: 1px solid rgba(248, 198, 78, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.g7-stat svg {
  width: 36px;
  height: 36px;
  color: var(--g7-gold);
}

.g7-stat strong {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.15;
}

.g7-stat span {
  color: var(--g7-muted);
  font-size: 13px;
  font-weight: 800;
}

.g7-about-media {
  min-height: 310px;
  border: 1px solid rgba(248, 198, 78, .25);
  border-radius: 8px;
  background: url("/assets/g777-about.png") center / cover no-repeat;
}

.g7-section {
  padding: 0 0 60px;
}

.g7-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 24px;
  text-align: center;
}

.g7-heading::before,
.g7-heading::after {
  content: "";
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--g7-gold));
}

.g7-heading::after {
  background: linear-gradient(90deg, var(--g7-gold), transparent);
}

.g7-heading h2 {
  margin: 0;
  color: #f7df9a;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: 0;
}

.g7-game-table {
  overflow: hidden;
  border: 1px solid var(--g7-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
}

.g7-game-row {
  display: grid;
  grid-template-columns: 210px 1fr 420px 132px;
  align-items: center;
  min-height: 86px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.g7-game-row:first-child {
  border-top: 0;
}

.g7-game-head {
  min-height: 48px;
  color: #f8e2a3;
  font-weight: 950;
  background: rgba(255, 255, 255, .035);
}

.g7-cell {
  padding: 15px 20px;
}

.g7-game-name {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.g7-game-name i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(231, 35, 38, .45);
  border-radius: 8px;
  color: var(--g7-gold);
  background: #220b0b;
  font-size: 17px;
  font-style: normal;
}

.g7-desc {
  color: #d8ceb9;
  font-weight: 650;
}

.g7-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.g7-tag {
  padding: 7px 12px;
  border: 1px solid rgba(231, 35, 38, .44);
  border-radius: 8px;
  color: #ff7569;
  background: rgba(231, 35, 38, .08);
  font-size: 13px;
  font-weight: 900;
}

.g7-tag.green {
  border-color: rgba(87, 212, 123, .38);
  color: var(--g7-green);
  background: rgba(87, 212, 123, .08);
}

.g7-tag.gold {
  border-color: rgba(248, 198, 78, .36);
  color: var(--g7-gold);
  background: rgba(248, 198, 78, .08);
}

.g7-mini-btn {
  display: inline-flex;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--g7-red);
  border-radius: 8px;
  color: #ff786d;
  font-size: 14px;
  font-weight: 950;
}

.g7-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}

.g7-promo {
  min-height: 232px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--g7-line-red);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 30%, rgba(231, 35, 38, .23), transparent 31%),
    linear-gradient(135deg, #150b09, #050505);
}

.g7-promo h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 27px;
  font-weight: 950;
  line-height: 1.16;
}

.g7-promo p {
  max-width: 520px;
  margin: 0 0 24px;
  color: #d8cbb8;
}

.g7-store {
  padding: 12px 17px;
  border: 1px solid rgba(248, 198, 78, .45);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  color: #fff;
  font-weight: 900;
}

.g7-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.g7-pay {
  min-height: 82px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(231, 35, 38, .55);
  border-radius: 8px;
  color: #f4ead8;
  font-weight: 900;
}

.g7-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.g7-view-all {
  color: var(--g7-gold);
  font-weight: 950;
}

.g7-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.g7-news-card {
  overflow: hidden;
  border: 1px solid rgba(248, 198, 78, .25);
  border-radius: 8px;
  background: var(--g7-panel);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
  transition: transform .2s ease;
}

.g7-news-card:hover {
  transform: translateY(-5px);
}

.g7-news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.g7-news-body {
  padding: 18px;
}

.g7-cat {
  color: #ff675d;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.g7-news-body h3 {
  margin: 8px 0 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.35;
}

.g7-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #b9ae9d;
  font-size: 13px;
}

.g7-dede-list {
  margin-top: 28px;
  border: 1px solid var(--g7-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
}

.g7-list-row {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.g7-list-row:first-child {
  border-top: 0;
}

.g7-list-row img {
  width: 128px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
}

.g7-list-row h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.g7-list-row p {
  margin: 0;
  color: var(--g7-muted);
}

.g7-list-date {
  color: var(--g7-gold);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.g7-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.g7-pagination a,
.g7-pagination span,
.g7-pagination li {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(248, 198, 78, .3);
  border-radius: 8px;
  color: var(--g7-gold);
  list-style: none;
  font-weight: 900;
}

.g7-faq {
  padding: 54px 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0, rgba(248, 198, 78, .14), transparent 36%),
    #060505;
}

.g7-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}

.g7-faq-item {
  overflow: hidden;
  border: 1px solid rgba(231, 35, 38, .55);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.g7-faq-item summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  padding: 17px 20px;
  color: #fff;
  font-weight: 900;
  list-style: none;
}

.g7-faq-item summary::after {
  content: "+";
  color: var(--g7-gold);
}

.g7-faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: #d8cbb8;
}

.g7-footer {
  padding: 46px 0 0;
  color: #f6eddc;
  background: #050403;
  border-top: 1px solid rgba(231, 35, 38, .32);
}

.g7-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 44px;
}

.g7-footer p,
.g7-footer a {
  color: #cfc2af;
  font-size: 14px;
}

.g7-footer h3 {
  margin: 0 0 16px;
  color: var(--g7-gold);
  font-size: 16px;
  font-weight: 950;
}

.g7-footer-links {
  display: grid;
  gap: 10px;
}

.g7-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #afa492;
  font-size: 13px;
}

.g7-backtop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  z-index: 40;
  border-radius: 50%;
  color: #fff;
  background: var(--g7-red);
  box-shadow: 0 10px 20px rgba(231, 35, 38, .34);
  font-weight: 950;
}

.g7-article-hero {
  padding: 64px 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(248, 198, 78, .18), transparent 31%),
    linear-gradient(115deg, #070504, #180806 68%, #050403);
}

.g7-breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 0;
  color: var(--g7-gold);
  list-style: none;
  font-weight: 900;
}

.g7-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #806c48;
}

.g7-article-title {
  max-width: 940px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: 0;
}

.g7-article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #dacdb8;
  font-weight: 800;
}

.g7-article-shell {
  padding: 54px 0;
  background: #f6f1e9;
  color: var(--g7-ink);
}

.g7-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.g7-article-card {
  overflow: hidden;
  border: 1px solid #e3d7c7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(24, 33, 48, .08);
}

.g7-article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.g7-article-body {
  padding: 38px;
}

.g7-page-title {
  margin-bottom: 18px;
  color: var(--g7-red);
  font-weight: 950;
}

.g7-article-body h2,
.g7-article-body h3 {
  color: #16100b;
  line-height: 1.24;
}

.g7-article-body h2 {
  margin: 30px 0 12px;
  font-size: 30px;
}

.g7-article-body h3 {
  margin: 24px 0 10px;
  font-size: 24px;
}

.g7-article-body p,
.g7-article-body li {
  color: #453c32;
  font-size: 17px;
}

.g7-article-body img {
  border-radius: 8px;
  margin: 22px auto;
}

.g7-pagebreak {
  margin-top: 28px;
}

.g7-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px 38px 34px;
}

.g7-article-nav > div {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid #eadfce;
  border-radius: 8px;
  color: #3a3027;
  font-weight: 850;
}

.g7-sidebar {
  display: grid;
  gap: 18px;
}

.g7-side-card {
  padding: 24px;
  border: 1px solid #e3d7c7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(24, 33, 48, .06);
}

.g7-side-card h2 {
  margin: 0 0 14px;
  color: #17100b;
  font-size: 20px;
}

.g7-side-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: #554a3d;
  font-weight: 800;
}

.g7-side-card p {
  margin: 0 0 14px;
  color: #554a3d;
}

@media (max-width: 1080px) {
  .g7-nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .g7-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 5px;
  }

  .g7-actions {
    margin-left: auto;
  }

  .g7-hero-grid,
  .g7-about-panel,
  .g7-article-grid {
    grid-template-columns: 1fr;
  }

  .g7-hero-art {
    max-width: 720px;
    margin: 0 auto;
  }

  .g7-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .g7-proof-item {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .g7-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .g7-game-row {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 14px 0;
  }

  .g7-game-head {
    display: none;
  }

  .g7-cell {
    padding: 8px 20px;
  }

  .g7-promos,
  .g7-faq-grid {
    grid-template-columns: 1fr;
  }

  .g7-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .g7-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .g7-wrap {
    width: min(100% - 22px, 1180px);
  }

  .g7-logo {
    font-size: 26px;
  }

  .g7-logo-mark {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .g7-actions {
    display: none;
  }

  .g7-btn {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .g7-menu {
    font-size: 13px;
  }

  .g7-hero {
    min-height: auto;
    padding-top: 36px;
  }

  .g7-hero h1 {
    max-width: 100%;
    font-size: 25px;
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .g7-hero p {
    font-size: 15px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .g7-proof-grid,
  .g7-news-grid,
  .g7-footer-grid,
  .g7-article-nav,
  .g7-list-row {
    grid-template-columns: 1fr;
  }

  .g7-proof-item {
    border-right: 0;
  }

  .g7-section-title,
  .g7-heading h2 {
    font-size: 28px;
  }

  .g7-stats {
    grid-template-columns: 1fr 1fr;
  }

  .g7-pay-grid {
    grid-template-columns: 1fr 1fr;
  }

  .g7-copy {
    display: block;
    text-align: center;
  }

  .g7-article-body,
  .g7-article-nav {
    padding-right: 20px;
    padding-left: 20px;
  }
}
