:root {
    color-scheme: dark;
    --bg: #080910;
    --bg-soft: #0d0f17;
    --panel: #141722;
    --panel-strong: #191d29;
    --line: #292e3d;
    --line-soft: #202533;
    --text: #f8f8fb;
    --muted: #a6a9b6;
    --purple: #832ee7;
    --purple-light: #b06aff;
    --mint: #65d1ba;
    --mint-dark: #173c38;
    --shadow: 0 24px 70px rgba(0, 0, 0, .32);
    --radius: 22px;
    --shell: 1304px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 116px;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 18% -10%, rgba(118, 44, 233, .13), transparent 31rem),
        radial-gradient(circle at 92% 12%, rgba(109, 210, 189, .07), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

body.bog-rtl { font-family: Tahoma, Arial, sans-serif; }

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

a { color: inherit; }

button,
input { font: inherit; }

.bog-shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.bog-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;
}

.bog-skip {
    position: fixed;
    inset-block-start: 10px;
    inset-inline-start: 10px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #090a10;
    transform: translateY(-160%);
    transition: transform .18s ease;
}

.bog-skip:focus { transform: translateY(0); }

.bog-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background: rgba(10, 11, 17, .93);
    backdrop-filter: blur(18px);
}

.bog-header-row {
    display: grid;
    grid-template-columns: auto auto minmax(170px, 1fr) auto;
    gap: 24px;
    align-items: center;
    min-height: 94px;
}

.bog-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.bog-logo img {
    width: 186px;
    height: auto;
}

.bog-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bog-nav a,
.bog-mobile-nav a {
    padding: 10px 14px;
    border-radius: 11px;
    color: #c6c7d0;
    font-weight: 750;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.bog-nav a:hover,
.bog-nav a[aria-current="page"] {
    background: #1a1d28;
    color: #fff;
}

.bog-search {
    justify-self: end;
    width: min(100%, 260px);
}

.bog-search input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: #0c0e15;
    color: var(--text);
}

.bog-search input:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(109, 210, 189, .12);
}

.bog-header-actions,
.bog-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 19px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}

.bog-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.bog-btn-primary {
    background: linear-gradient(135deg, #7d29f0, #6924d3);
    color: #fff;
    box-shadow: 0 13px 30px rgba(118, 44, 233, .24);
}

.bog-btn-secondary {
    border-color: var(--mint);
    background: var(--mint);
    color: #0a1716;
}

.bog-btn-light {
    background: #f9fbff;
    color: #161326;
}

.bog-menu-button {
    display: none;
    width: 46px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #12141d;
    cursor: pointer;
}

.bog-menu-button span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #fff;
}

.bog-mobile-nav {
    width: min(calc(100% - 32px), var(--shell));
    margin: 0 auto 16px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #12141d;
}

.bog-mobile-nav:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.bog-main {
    min-height: 62vh;
    padding: 34px 0 80px;
}

.bog-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.bog-breadcrumb a { color: var(--mint); }

.bog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
    min-height: 510px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #151823, #11131c);
    box-shadow: var(--shadow);
}

.bog-rtl .bog-hero { direction: rtl; }

.bog-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 3.2vw, 46px);
}

.bog-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--mint);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bog-rtl .bog-kicker { letter-spacing: 0; }

.bog-hero h1,
.bog-search-results h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(36px, 4.1vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.bog-rtl .bog-hero h1 { letter-spacing: 0; line-height: 1.18; }

.bog-hero-copy > p {
    max-width: 720px;
    margin: 22px 0 0;
    color: #b8bac5;
    font-size: 18px;
    line-height: 1.8;
}

.bog-actions { margin-top: 28px; flex-wrap: wrap; }

.bog-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.bog-stat {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--line-soft);
    border-radius: 13px;
    background: #0f1119;
}

.bog-stat-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 6px rgba(109, 210, 189, .08);
}

.bog-stat span:last-child { min-width: 0; }
.bog-stat small,
.bog-stat strong { display: block; overflow-wrap: anywhere; }
.bog-stat small { color: #777c8a; font-size: 11px; }
.bog-stat strong { font-size: 13px; }

.bog-hero-media {
    position: relative;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: #0f1118;
}

.bog-hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(20, 23, 34, .2), transparent 40%), linear-gradient(0deg, rgba(8, 9, 16, .35), transparent 45%);
    pointer-events: none;
}

.bog-rtl .bog-hero-media::after { background: linear-gradient(-90deg, rgba(20, 23, 34, .2), transparent 40%), linear-gradient(0deg, rgba(8, 9, 16, .35), transparent 45%); }

.bog-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bog-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 22px;
    align-items: center;
    margin-top: 18px;
    padding: 24px 28px;
    border-radius: 18px;
    background: linear-gradient(110deg, #5f1fc8, #8027e7 58%, #7020cf);
    box-shadow: 0 20px 45px rgba(95, 31, 200, .22);
}

.bog-offer-copy h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
}

.bog-offer-copy p,
.bog-offer small { margin: 5px 0 0; color: #e8dcff; }
.bog-offer small { grid-column: 1 / -1; font-size: 12px; }

.bog-code {
    min-width: 170px;
    padding: 10px 15px;
    border: 1px dashed rgba(255, 255, 255, .55);
    border-radius: 12px;
    background: rgba(14, 8, 30, .22);
    text-align: center;
}

.bog-code span,
.bog-code strong { display: block; }
.bog-code span { color: #d9c9fa; font-size: 11px; }
.bog-code strong { font-size: 19px; letter-spacing: .04em; }

.bog-toc {
    position: sticky;
    top: 108px;
    z-index: 20;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 18px 0;
    padding: 12px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(12, 14, 21, .95);
    scrollbar-width: thin;
}

.bog-toc strong {
    flex: 0 0 auto;
    padding-inline: 7px;
    color: var(--muted);
    font-size: 12px;
}

.bog-toc a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #d6d7df;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.bog-toc a:hover { border-color: var(--mint); color: var(--mint); }

.bog-content-stack { display: grid; gap: 18px; }

.bog-hero-copy, .bog-content-copy, .bog-footer-grid > * { min-width: 0; overflow-wrap: anywhere; }
.bog-content-card.bog-text-only { grid-template-columns: minmax(0, 1fr); min-height: 0; }
html[lang^="my"] .bog-hero h1 { line-height: 1.6; letter-spacing: 0; font-size: clamp(30px, 3.3vw, 48px); }
html[lang^="my"] .bog-content-copy h2, html[lang^="my"] .bog-faq > h2 { line-height: 1.6; letter-spacing: 0; font-size: 30px; }
html[lang^="bn"] .bog-hero h1 { line-height: 1.3; letter-spacing: 0; }
html[lang^="bn"] .bog-content-copy h2 { line-height: 1.45; letter-spacing: 0; }

.bog-content-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    min-height: 400px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.bog-content-card.bog-layout-media-left .bog-content-copy { order: 2; }
.bog-content-card.bog-layout-media-left .bog-content-media { order: 1; }
.bog-rtl .bog-content-card.bog-layout-media-left .bog-content-copy { order: 2; }

.bog-content-copy {
    align-self: center;
    padding: clamp(30px, 4.5vw, 60px);
}

.bog-content-copy h2,
.bog-faq h2,
.bog-footer h2,
.bog-search-results h2 {
    margin: 0;
    line-height: 1.18;
}

.bog-content-copy h2,
.bog-faq > h2 {
    font-size: clamp(29px, 3.4vw, 46px);
    letter-spacing: -.025em;
}

.bog-rtl .bog-content-copy h2,
.bog-rtl .bog-faq > h2 { letter-spacing: 0; line-height: 1.3; }

.bog-content-copy p {
    margin: 18px 0 0;
    color: #b7bac4;
}

.bog-content-copy ul {
    display: grid;
    gap: 8px;
    margin: 21px 0 0;
    padding-inline-start: 22px;
    color: #d0d2d9;
}

.bog-content-copy li::marker { color: var(--mint); }

.bog-content-media {
    min-height: 100%;
    margin: 0;
    background: #0e1017;
}

.bog-content-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bog-faq {
    margin-top: 18px;
    padding: clamp(30px, 4.5vw, 60px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #151823, #10121a);
}

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

.bog-faq details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0d0f16;
}

.bog-faq summary {
    padding: 18px 20px;
    color: #f3f3f7;
    font-weight: 800;
    cursor: pointer;
}

.bog-faq details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
}

.bog-search-results {
    padding: clamp(30px, 5vw, 70px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.bog-search-result-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.bog-search-result-list article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0e1017;
}

.bog-search-result-list h2 { font-size: 22px; }
.bog-search-result-list h2 a { color: var(--mint); }
.bog-search-result-list p { margin: 8px 0 0; color: var(--muted); }

.bog-footer {
    border-top: 1px solid var(--line);
    background: #090a10;
}

.bog-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .7fr 1.15fr;
    gap: 50px;
    padding-top: 56px;
    padding-bottom: 40px;
}

.bog-footer-brand img { width: 175px; }
.bog-footer-brand p,
.bog-footer-grid > div > p { max-width: 520px; color: var(--muted); }
.bog-footer h2 { margin-bottom: 13px; font-size: 16px; }
.bog-footer nav { display: grid; align-content: start; gap: 8px; }
.bog-footer nav a { color: var(--muted); text-decoration: none; }
.bog-footer nav a:hover { color: var(--mint); }

.bog-age {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #5f6371;
    border-radius: 50%;
    color: #f3f3f6;
    font-weight: 900;
}

.bog-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 24px;
    border-top: 1px solid var(--line-soft);
    color: #737785;
    font-size: 13px;
}

.bog-footer-bottom p { margin: 0; }

.bog-mobile-actions { display: none; }

@media (max-width: 1120px) {
    .bog-header-row {
        grid-template-columns: auto 1fr auto;
        gap: 16px;
    }
    .bog-nav { justify-self: start; }
    .bog-search { display: none; }
    .bog-hero { grid-template-columns: 1fr .75fr; }
    .bog-content-card { grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); }
}

@media (max-width: 850px) {
    html { scroll-padding-top: 88px; }
    .bog-shell { width: min(calc(100% - 28px), var(--shell)); }
    .bog-header-row { min-height: 76px; grid-template-columns: 1fr auto; }
    .bog-logo img { width: 160px; }
    .bog-nav,
    .bog-header-actions { display: none; }
    .bog-menu-button { display: block; }
    .bog-main { padding-top: 18px; padding-bottom: 58px; }
    .bog-hero { grid-template-columns: 1fr; min-height: 0; }
    .bog-hero-copy { padding: 34px 28px; }
    .bog-hero h1,
    .bog-search-results h1 { font-size: clamp(36px, 10vw, 54px); }
    .bog-hero-copy > p { font-size: 16px; line-height: 1.72; }
    .bog-hero-media { min-height: 290px; }
    .bog-offer { grid-template-columns: 1fr auto; padding: 22px; }
    .bog-offer .bog-btn { grid-column: 1 / -1; }
    .bog-toc { top: 86px; }
    .bog-content-card { grid-template-columns: 1fr; min-height: 0; }
    .bog-content-card .bog-content-copy,
    .bog-content-card.bog-layout-media-left .bog-content-copy { order: 1; }
    .bog-content-card .bog-content-media,
    .bog-content-card.bog-layout-media-left .bog-content-media { order: 2; }
    .bog-content-copy { padding: 30px 26px; }
    .bog-content-media { min-height: 260px; max-height: 430px; }
    .bog-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .bog-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    body { padding-bottom: 68px; }
    .bog-shell { width: min(calc(100% - 20px), var(--shell)); }
    .bog-logo img { width: 146px; }
    .bog-mobile-nav:not([hidden]) { grid-template-columns: 1fr; }
    .bog-breadcrumb { margin-inline: 4px; }
    .bog-hero,
    .bog-content-card,
    .bog-faq,
    .bog-search-results { border-radius: 17px; }
    .bog-hero-copy { padding: 28px 22px; }
    .bog-hero h1,
    .bog-search-results h1 { font-size: clamp(34px, 11vw, 46px); line-height: 1.05; }
    .bog-actions { align-items: stretch; flex-direction: column; }
    .bog-actions .bog-btn { width: 100%; }
    .bog-stats { grid-template-columns: 1fr; }
    .bog-hero-media { min-height: 230px; }
    .bog-offer { grid-template-columns: 1fr; gap: 15px; padding: 20px; border-radius: 15px; }
    .bog-code { min-width: 0; }
    .bog-offer .bog-btn { grid-column: auto; }
    .bog-toc { top: 82px; margin: 13px 0; }
    .bog-content-copy { padding: 27px 21px; }
    .bog-content-copy h2,
    .bog-faq > h2 { font-size: 29px; }
    .bog-content-media { min-height: 210px; }
    .bog-faq { padding: 27px 20px; }
    .bog-faq summary { padding: 16px; }
    .bog-faq details p { padding: 0 16px 16px; }
    .bog-footer-grid { grid-template-columns: 1fr; padding-top: 42px; }
    .bog-footer-brand { grid-column: auto; }
    .bog-footer-bottom { display: grid; }
    .bog-mobile-actions {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: 1fr 1fr 1.35fr;
        gap: 1px;
        padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        border-top: 1px solid var(--line);
        background: rgba(9, 10, 16, .97);
        backdrop-filter: blur(16px);
    }
    .bog-mobile-actions a {
        display: grid;
        min-width: 0;
        min-height: 45px;
        place-items: center;
        padding: 7px;
        border-radius: 10px;
        color: #c7c9d1;
        font-size: 12px;
        font-weight: 800;
        text-align: center;
        text-decoration: none;
    }
    .bog-mobile-actions .is-primary { background: var(--purple); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
