/*
Theme Name: 662BET Bangladesh Entry
Theme URI: https://662bet.site/
Author: Site Owner
Description: Bengali-first Bangladesh brand entry theme for 662BET app, login, games, payment, bonus, and responsible-use content.
Version: 1.0.0
Text Domain: 662bet-bd-entry
*/

:root {
  --ink: #13231f;
  --muted: #5c6d68;
  --paper: #f7faf7;
  --surface: #ffffff;
  --line: #dbe5df;
  --green: #147a4c;
  --green-dark: #0d5038;
  --red: #c72835;
  --gold: #d9a441;
  --blue: #245c91;
  --teal: #0e7b7b;
  --shadow: 0 18px 50px rgba(19, 35, 31, .10);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans Bengali", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  max-width: min(320px, 46vw);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 44px;
  max-width: 154px;
  max-height: 44px;
  object-fit: contain;
  border-radius: 6px;
  flex: 0 0 auto;
}

.brand-name {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--red));
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list .current-menu-item > a {
  background: #edf6f0;
  color: var(--green-dark);
}

.site-main {
  overflow: hidden;
}

.hero {
  background: #f1f7f2;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: clamp(560px, 82vh, 760px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(36px, 7vw, 76px) 0 clamp(30px, 5vw, 54px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 900;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 850;
}

h3 {
  margin: 24px 0 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: #31453f;
  font-size: clamp(18px, 2vw, 22px);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tag-grid li {
  padding: 7px 10px;
  border: 1px solid #cbdcd2;
  border-radius: 8px;
  background: #fff;
  color: #203c34;
  font-size: 14px;
  font-weight: 700;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 80, 56, .2);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-note {
  margin: 14px 0 0;
  color: #536862;
  font-size: 14px;
}

.content-band {
  padding: clamp(48px, 7vw, 86px) 0;
}

.content-band.alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.section-grid.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.section-media img,
.wp-block-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.content-prose {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) 0;
}

.content-prose > *:first-child {
  margin-top: 0;
}

.content-prose p,
.section-copy p,
.content-prose li,
.section-copy li {
  color: #344a44;
}

.content-prose ul,
.section-copy ul {
  padding-left: 1.3em;
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #fff5f4;
  color: #3f2c2c;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.quick-links a {
  display: block;
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
}

.trust-strip {
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4fbf6;
  color: #28453c;
}

.site-footer {
  background: #13231f;
  color: #e8f2ed;
  padding: 42px 0;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 32px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-links a,
.site-footer a {
  color: #e8f2ed;
}

.footer-note {
  color: #b8cbc4;
  font-size: 14px;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-list {
    justify-content: flex-start;
  }

  .hero-inner,
  .section-grid,
  .section-grid.reverse,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-media img {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand-logo {
    height: 38px;
    max-width: 132px;
    max-height: 38px;
  }

  .nav-list a {
    font-size: 13px;
    padding: 6px 8px;
  }

  .info-list,
  .quick-links,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-name {
    display: none;
  }
}
