/*
Theme Name: 8999bet Clean App Landing
Theme URI: https://8999bet.casa
Author: WP BC Site Builder
Description: Bengali-first clean app landing theme for 8999bet Bangladesh information pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: bet-clean-app
*/

:root {
  --green-950: #06352f;
  --green-900: #075246;
  --green-800: #08735f;
  --green-700: #0a9b72;
  --green-100: #dff7ea;
  --ink: #12211f;
  --muted: #60716d;
  --line: #dbe8e3;
  --soft: #f5faf7;
  --white: #ffffff;
  --gold: #f5c542;
  --violet: #34204f;
  --danger: #9f3a30;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(9, 70, 58, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  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.76;
  letter-spacing: 0;
}

a {
  color: var(--green-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(7, 82, 70, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner,
.site-main,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-950);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-800), #18c98b);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(10, 155, 114, 0.25);
}

.custom-logo,
.custom-logo-link img,
.site-branding img,
.brand-logo img,
.footer-logo img {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--green-800);
}

.site-main {
  padding: 36px 0 54px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 10%, rgba(245, 197, 66, 0.26), transparent 28%),
    linear-gradient(135deg, #075246 0%, #0a9b72 58%, #18c98b 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-section h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2vw, 20px);
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.primary-action,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 0;
  background: var(--gold);
  color: #17221f !important;
  padding: 13px 22px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(245, 197, 66, 0.25);
}

.secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
}

.hero-media img,
.content-figure img,
.wp-block-image img {
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 82, 70, 0.18);
}

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

.hero-meta span,
.info-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 18px 0 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  background: var(--white);
  padding: 16px;
  font-weight: 800;
  color: var(--green-950);
}

.section-band {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 33, 31, 0.05);
}

.section-band h2 {
  margin: 0 0 14px;
  color: var(--green-950);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-band h3 {
  margin-top: 22px;
  color: var(--green-900);
}

.section-band p:first-of-type {
  margin-top: 0;
}

.feature-grid,
.link-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-card,
.link-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.feature-card h3,
.link-card h3,
.faq-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.feature-card p,
.link-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
}

.warning-box {
  border-left: 4px solid var(--danger);
  border-radius: 8px;
  background: #fff7f4;
  color: #55211d;
  padding: 18px 20px;
  font-weight: 700;
}

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.toc-list a {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.page-shell {
  display: grid;
  gap: 24px;
}

.page-title {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
  color: #fff;
}

.page-title h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.entry-content > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide,
.entry-content > .hero-section,
.entry-content > .trust-strip,
.entry-content > .section-band {
  max-width: 100%;
}

.site-footer {
  background: var(--violet);
  color: rgba(255, 255, 255, 0.82);
  padding: 40px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

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

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .hero-section {
    padding: 28px;
  }

  .hero-meta,
  .trust-strip,
  .feature-grid,
  .link-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-link {
    width: 100%;
  }
}

