/*
Theme Name: zbzbet Independent Guide
Theme URI: https://zbzbet.beer/
Author: zbzbet editorial team
Description: Bengali independent information guide theme using the locked Dark Emerald Article preset.
Version: 1.0.0
Text Domain: zbzbet-guide
*/

:root {
  --bg: #071915;
  --surface: #0b211c;
  --surface-2: #102a24;
  --gold: #e8c45b;
  --mint: #3bc29a;
  --text: #f4f8f6;
  --muted: #afc2ba;
  --line: #29483e;
  --info: #15372f;
  --warn: #e0a54b;
  --focus: #79e0be;
  --content: 1180px;
  --article: 760px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Nirmala UI", Vrinda, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}
body.menu-open { overflow: hidden; }
a { color: var(--mint); text-decoration-thickness: .09em; text-underline-offset: .2em; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--gold); color: #071915; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 68px; display: flex; align-items: center; background: rgba(7, 25, 21, .98); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 28px; }
.wordmark { color: var(--text); font: 800 1.4rem/1 system-ui, sans-serif; letter-spacing: -.03em; text-decoration: none; }
.wordmark::before { content: ""; display: inline-block; width: 24px; height: 3px; background: var(--gold); margin-inline-end: 10px; vertical-align: middle; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.site-nav a { color: var(--text); font-weight: 650; text-decoration: none; border-bottom: 2px solid transparent; padding: 20px 0 16px; }
.site-nav a:hover, .site-nav .current-menu-item a { color: var(--gold); border-color: currentColor; }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 24px; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before { position: absolute; top: -7px; }
.menu-toggle-bars::after { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.site-main { min-height: 62vh; }
.article-page { padding: 82px 0 96px; }
.article-header, .article-content { width: min(100%, var(--article)); margin-inline: auto; }
.article-header { margin-bottom: 36px; }
.eyebrow { color: var(--gold); font-size: .9rem; font-weight: 800; letter-spacing: .04em; margin: 0 0 18px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.15rem); margin: 0 0 24px; }
h2 { position: relative; font-size: clamp(1.8rem, 3.5vw, 2.55rem); margin: 88px 0 24px; padding-top: 28px; scroll-margin-top: 90px; }
h2::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 3px; background: var(--gold); }
h3 { color: var(--mint); font-size: 1.35rem; margin: 34px 0 14px; }
p { margin: 0 0 1.25em; }
.lead { font-size: 1.16rem; color: #dce9e4; max-width: 850px; }
.disclosure { background: var(--info); border-inline-start: 4px solid var(--gold); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; color: #dfeae6; margin: 28px 0; }
.hero-actions, .inline-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.button-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: var(--radius); background: var(--gold); color: #071915; font-weight: 800; text-decoration: none; }
.button-link.secondary { color: var(--text); background: transparent; border: 1px solid var(--line); }
.button-link:hover { color: #071915; filter: brightness(1.06); }
.button-link.secondary:hover { color: var(--gold); border-color: var(--gold); }
.guide-image { width: min(100%, 980px); margin: 38px auto 50px; }
.guide-image img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.guide-image figcaption { color: var(--muted); font-size: .88rem; margin-top: 10px; text-align: center; }
.hero-image { width: min(100%, 1040px); }
.contents { margin: 40px 0 56px; padding: 24px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contents strong { display: block; color: var(--gold); margin-bottom: 10px; }
.contents ol { columns: 2; gap: 36px; margin: 0; padding-inline-start: 24px; }
.contents li { break-inside: avoid; margin: 6px 0; }
.status-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 28px 0; list-style: none; }
.status-list li { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; }
.status-list strong { display: block; color: var(--gold); margin-bottom: 5px; }
.notice { padding: 18px 20px; border: 1px solid #795a24; border-radius: var(--radius); background: rgba(224,165,75,.09); }
.faq { margin-top: 28px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #dce9e4; padding: 0 0 18px; margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 52px 0 30px; background: #06130f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; }
.footer-title { font-size: 1.25rem; font-weight: 850; margin: 0 0 10px; }
.footer-note { color: var(--muted); max-width: 660px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.copyright { border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; margin-top: 34px; padding-top: 20px; }
.error-page { text-align: center; padding: 120px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 780px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--content)); }
  .site-header, .header-inner { min-height: 64px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 16px 20px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; padding: 10px 8px; border-bottom: 1px solid var(--line); }
  .article-page { padding: 48px 0 64px; }
  h1 { font-size: clamp(2.1rem, 10vw, 2.65rem); }
  h2 { margin-top: 58px; padding-top: 22px; }
  .contents ol { columns: 1; }
  .status-list, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .hero-actions .button-link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

