/*
Theme Name: bd666 Midnight Modular Atlas
Theme URI: https://bd666.beer/
Author: bd666.beer
Description: স্বাধীন bn-BD তথ্য গাইডের জন্য Midnight Modular Brand Atlas থিম।
Version: 3.0.0
Text Domain: bd666-observer
*/
:root{--bg:#07111f;--surface:#0e1b2e;--module:#13243a;--highlight:#17304c;--cyan:#59d3ef;--violet:#8d91ff;--coral:#ff9379;--text:#f5f8fc;--muted:#b9c7d8;--border:#2e4b6d;--info:#153049;--warning:#f3c16d;--focus:#9cedff;--max:1220px;--read:780px;--radius:18px;--shadow:0 18px 50px rgba(0,0,0,.26)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:radial-gradient(circle at 90% 8%,rgba(76,201,240,.08),transparent 30%),var(--bg);color:var(--text);font-family:"Noto Sans Bengali","Hind Siliguri","Vrinda",system-ui,sans-serif;font-size:17px;line-height:1.72;-webkit-font-smoothing:antialiased;overflow-wrap:anywhere}img{display:block;max-width:100%;height:auto;border-radius:14px}a{color:var(--cyan);text-decoration-thickness:.08em;text-underline-offset:.18em}a:hover{color:#a3eeff}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}p{margin:0 0 1.25rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:1000;left:1rem;top:-5rem;padding:.75rem 1rem;background:#fff;color:#07111f;border-radius:8px}.skip-link:focus{top:1rem}
.site-header{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(89,211,239,.18);background:rgba(7,17,31,.94);backdrop-filter:blur(16px)}.header-inner{height:68px;max-width:var(--max);margin:auto;padding:0 clamp(16px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:2rem}.wordmark{display:inline-flex;align-items:center;min-height:48px;color:var(--text);font-size:1.48rem;font-weight:800;letter-spacing:.02em;text-decoration:none}.wordmark span{color:var(--cyan)}.menu{display:flex;align-items:center;gap:.35rem;list-style:none;margin:0;padding:0}.menu a{display:flex;align-items:center;min-height:48px;padding:.45rem .9rem;border-radius:10px;color:var(--muted);font-weight:600;text-decoration:none}.menu a:hover,.current-menu-item>a{background:var(--module);color:var(--text)}.menu-toggle{display:none;width:48px;height:48px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);cursor:pointer}.menu-toggle>span[aria-hidden]{display:block;height:2px;margin:5px 0;background:var(--text)}
.site-main{min-height:65vh}.home-shell,.page-shell{max-width:var(--max);margin:auto;padding:0 clamp(16px,4vw,48px)}.hero{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(30px,5vw,70px);align-items:center;min-height:670px;padding:72px 0 82px}.hero-copy{min-width:0}.eyebrow,.section-kicker{margin:0 0 1rem;color:var(--cyan);font-size:.88rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.hero h1,.prose-page h1{margin:0 0 1.2rem;font-size:clamp(2.35rem,5.1vw,4.1rem);line-height:1.13;letter-spacing:-.025em}.lead{font-size:clamp(1.08rem,1.6vw,1.28rem);line-height:1.72;color:#dce7f3}.hero-media{position:relative;margin:0}.hero-media:before{content:"";position:absolute;inset:-14px;border:1px solid rgba(141,145,255,.35);border-radius:28px;transform:rotate(1.5deg);pointer-events:none}.hero-media img{aspect-ratio:16/9;object-fit:cover;border:1px solid var(--border);box-shadow:var(--shadow)}figcaption{margin-top:.7rem;color:var(--muted);font-size:.85rem}.actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.7rem 1.15rem;border:1px solid var(--cyan);border-radius:10px;background:var(--cyan);color:#07111f;font-weight:800;text-decoration:none}.button:hover{background:#a3eeff;color:#07111f;transform:translateY(-1px)}.button-secondary{background:transparent;color:var(--text);border-color:var(--border)}.button-secondary:hover{background:var(--module);color:var(--text)}
.content-section{display:grid;grid-template-columns:minmax(0,7fr) minmax(280px,5fr);gap:clamp(28px,5vw,64px);align-items:center;padding:clamp(56px,8vw,96px) 0;border-top:1px solid rgba(46,75,109,.55)}.content-section.reverse-section .section-copy{order:2}.content-section.reverse-section .section-media{order:1}.section-copy{max-width:var(--read);min-width:0}.content-section h2,.faq-section h2,.prose-page h2{margin:0 0 1.2rem;font-size:clamp(1.9rem,3.2vw,2.75rem);line-height:1.22;letter-spacing:-.018em}.content-section h3,.prose-page h3{margin:2rem 0 .6rem;font-size:1.28rem;line-height:1.35}.intro-section{grid-template-columns:minmax(0,8fr) minmax(260px,4fr);align-items:start}.notice,.callout{padding:1.4rem;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(135deg,var(--info),var(--module));box-shadow:var(--shadow)}.notice strong,.callout strong{display:block;margin-bottom:.55rem;color:var(--cyan);font-size:1.08rem}.notice span{display:block;color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.7rem 0}.game-grid article,.timeline article{padding:1.15rem;border:1px solid var(--border);border-radius:14px;background:var(--module)}.game-grid h3{margin:0 0 .45rem;font-size:1.05rem;color:var(--cyan)}.game-grid p,.timeline p{margin:0;color:var(--muted);font-size:.95rem}.section-media{margin:0;min-width:0}.section-media img{aspect-ratio:4/3;object-fit:cover;border:1px solid var(--border);box-shadow:var(--shadow)}.section-media-crop img{aspect-ratio:16/9;object-position:center 68%}.wide-section{grid-template-columns:minmax(0,7fr) minmax(320px,5fr)}.text-link{display:inline-flex;min-height:44px;align-items:center;font-weight:800}.responsible-section{background:linear-gradient(135deg,rgba(240,181,90,.07),transparent);margin-inline:calc(-1 * clamp(16px,4vw,48px));padding-inline:clamp(16px,4vw,48px)}
.faq-section{max-width:900px;margin:auto;padding:clamp(60px,9vw,110px) 0}.faq-section details{margin:.85rem 0;border:1px solid var(--border);border-radius:14px;background:var(--module)}.faq-section summary{display:flex;align-items:center;min-height:62px;padding:1rem 3rem 1rem 1.2rem;font-weight:800;cursor:pointer;position:relative}.faq-section summary:after{content:"+";position:absolute;right:1.2rem;color:var(--cyan);font-size:1.5rem}.faq-section details[open] summary:after{content:"−"}.faq-section details p{padding:0 1.2rem 1.2rem;color:var(--muted)}
.page-shell{padding-top:clamp(48px,7vw,86px);padding-bottom:clamp(70px,9vw,120px)}.prose-page{max-width:var(--read);margin:auto}.prose-page .lead{margin-bottom:2.2rem}.prose-page h2{margin-top:3.2rem;font-size:clamp(1.75rem,3vw,2.35rem)}.prose-page .callout{margin:2rem 0}.callout.warning{border-color:rgba(243,193,109,.55);background:linear-gradient(135deg,rgba(243,193,109,.12),var(--module))}.callout.warning strong{color:var(--warning)}.timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}.timeline strong{display:block;margin-bottom:.5rem;color:var(--cyan)}.error-page{min-height:55vh;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.site-footer{border-top:1px solid var(--border);background:#050c16}.footer-inner{max-width:var(--max);margin:auto;padding:64px clamp(16px,4vw,48px);display:grid;grid-template-columns:2fr repeat(3,1fr);gap:2rem}.footer-brand p{max-width:380px;margin:.8rem 0;color:var(--muted)}.footer-brand .age-note{color:var(--warning);font-size:.9rem}.footer-group h2{margin:0 0 .8rem;color:var(--muted);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}.footer-group a{display:flex;align-items:center;min-height:44px;color:var(--text);text-decoration:none}.footer-group a:hover{text-decoration:underline}.footer-bottom{max-width:var(--max);margin:auto;padding:18px clamp(16px,4vw,48px);border-top:1px solid rgba(46,75,109,.55);display:flex;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.85rem}
@media(max-width:839px){body{font-size:16px}.header-inner{height:66px}.menu-toggle{display:block}.primary-nav{position:absolute;top:66px;left:16px;right:16px;display:none;padding:.7rem;border:1px solid var(--border);border-radius:14px;background:#0b1727;box-shadow:var(--shadow)}.primary-nav.is-open{display:block}.menu{display:block}.menu a{padding:.7rem}.hero{grid-template-columns:1fr;min-height:0;padding:46px 0 58px}.hero h1,.prose-page h1{font-size:clamp(2.1rem,10vw,2.85rem)}.hero-media{margin:10px 0}.content-section,.intro-section,.wide-section{grid-template-columns:1fr;padding:52px 0}.content-section.reverse-section .section-copy,.content-section.reverse-section .section-media{order:initial}.game-grid,.timeline{grid-template-columns:1fr}.section-media img{max-height:430px}.footer-inner{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column}}
@media(max-width:420px){.footer-inner{grid-template-columns:1fr}.footer-brand{grid-column:auto}.actions{display:grid}.button{width:100%}.hero-media:before{inset:-7px}.content-section h2,.faq-section h2{font-size:1.85rem}.footer-bottom{padding-bottom:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
