/*
Theme Name: Bounty Game
Description: India English WordPress theme for Bounty Game.
Version: 1.4.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bounty-game
*/
:root {
    color-scheme: dark;
    --bg: #1d1028;
    --panel: #261634;
    --ink: #fff4dd;
    --muted: #d1bdd1;
    --amber: #ffbf49;
    --copper: #d97742;
    --edge: #644555;
    --header: 70px;
    scroll-padding-top: calc(var(--header) + 18px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin:0; background: radial-gradient(ellipse at 70% 15%,#382043,transparent 55%),var(--bg); color:var(--ink); font: 1rem/1.6 system-ui,sans-serif; }
body.admin-bar { --admin-offset:32px; }
a { color:var(--amber); text-underline-offset:.2em; }
a:hover { color:var(--ink); }
:focus-visible { outline:3px solid var(--amber); outline-offset:4px; }
.bgr-skip { position:fixed; z-index:30; top:12px; left:12px; padding:8px 16px; background:#180d23; transform:translateY(-200%); }
.bgr-skip:focus { transform:none; }
.bgr-header { position:fixed; inset:var(--admin-offset,0px) 0 auto; z-index:20; border-bottom:1px solid var(--edge); background:#190e23; }
.bgr-header-row { max-width:1280px; display:flex; min-height:var(--header); align-items:center; justify-content:space-between; gap:16px; margin:auto; padding:8px clamp(12px,3vw,36px); }
.bgr-brand img { display:block; width:168px; height:48px; object-fit:contain; }
.bgr-nav, .bgr-links, .bgr-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.bgr-nav a,.bgr-drop summary,.bgr-menu-toggle { display:block; color:var(--ink); text-decoration:none; padding:8px 9px; border-radius:7px; }
.bgr-drop summary { display:list-item; cursor:pointer; }
.bgr-nav a:hover,.bgr-drop summary:hover { background:#382348; }
.bgr-drop { position:relative; }
.bgr-drop-links { position:absolute; inset:100% auto auto 0; min-width:156px; padding:6px; border:1px solid var(--edge); border-radius:10px; background:#261634; }
.bgr-menu-toggle { background:#372343; border:1px solid var(--edge); font:inherit; cursor:pointer; }
.bgr-main { width:min(calc(100% - 32px),1100px); margin:auto; padding-top:calc(var(--header) + 28px); padding-bottom:40px; min-height:65vh; }
.bgr-breadcrumb { color:var(--muted); display:flex; flex-wrap:wrap; gap:10px; font-size:.9rem; }
.bgr-intro { margin:20px 0 24px; }
h1,h2,h3 { line-height:1.15; letter-spacing:-.025em; }
h1 { font-size:clamp(2.2rem,7vw,4.8rem); margin:0 0 .25em; }
h2 { font-size:clamp(1.45rem,4vw,2.25rem); margin:0 0 .45em; }
h3 { font-size:1.25rem; }
p { color:var(--muted); max-width:70ch; }
.bgr-intro p { font-size:clamp(1rem,2.5vw,1.2rem); margin:0 0 16px; }
.bgr-hero { display:block; width:100%; height:auto; border:1px solid var(--edge); border-radius:18px; box-shadow:0 16px 40px #10091870; }
body:not(.home) .bgr-hero { max-width:720px; }
.bgr-panel { margin:20px 0; padding:clamp(16px,3.5vw,32px); border:1px solid var(--edge); border-radius:14px; background:var(--panel); }
.bgr-copy section + section { margin-top:24px; }
.bgr-links a,.bgr-actions a,.bgr-button { padding:8px 14px; border:1px solid #916844; border-radius:8px; text-decoration:none; display:inline-block; }
.bgr-links a:hover,.bgr-actions a:hover { background:#3b2341; }
.bgr-button,.bgr-actions a:last-child { background:var(--amber); color:#231329; border-color:var(--amber); font-weight:700; }
.bgr-button:hover,.bgr-actions a:last-child:hover { background:var(--ink); color:#231329; }
.bgr-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:10px; }
.bgr-metrics div { border:1px solid var(--edge); padding:12px; border-radius:9px; }
.bgr-metrics dt { color:var(--muted); }
.bgr-metrics dd { margin:0; color:var(--amber); font-weight:700; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.bgr-table { overflow-x:auto; }
.bgr-table table { width:100%; border-collapse:collapse; }
.bgr-table th,.bgr-table td { text-align:left; padding:8px; border-bottom:1px solid var(--edge); }
.bgr-footer { background:#160c20; border-top:1px solid var(--edge); padding:28px 16px 86px; }
.bgr-footer-inner { max-width:1100px; margin:auto; display:grid; gap:18px; }
.bgr-footer-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); gap:8px 14px; }
.bgr-float { position:fixed; right:max(12px,env(safe-area-inset-right)); bottom:max(12px,env(safe-area-inset-bottom)); display:flex; gap:6px; z-index:12; }
.bgr-float a { background:#21132d; border:1px solid #916844; box-shadow:0 4px 18px #11081990; text-decoration:none; border-radius:9px; padding:8px 12px; }
@media (max-width:1199px) {
    .bgr-nav { position:absolute; inset:100% 0 auto; align-items:stretch; display:flex; flex-direction:column; background:#190e23; padding:8px 16px 16px; max-height:calc(100dvh - var(--header) - var(--admin-offset,0px)); overflow:auto; border-bottom:1px solid var(--edge); }
    .bgr-drop-links { position:static; margin-left:14px; }
}
@media (max-width:782px) { body.admin-bar { --admin-offset:46px; } }
@media (max-width:600px) { body.admin-bar #wpadminbar { position:fixed; } }
@media (max-width:400px) { .bgr-main { width:calc(100% - 24px); } .bgr-hero { border-radius:10px; } }
.bgr-table th[scope="row"] { font-weight:600; }
.bgr-table a { display:inline-block; padding-block:.25rem; }
@media (max-width:1199px) {
    .bgr-nav a,.bgr-nav summary,.bgr-menu-toggle { min-height:44px; }
    .bgr-nav { overscroll-behavior:contain; }
}
@media (max-width:600px) {
    .bgr-actions a,.bgr-links a,.bgr-float a { min-height:44px; }
    .bgr-panel { scroll-margin-top:calc(var(--header) + 12px); }
    .bgr-table th,.bgr-table td { overflow-wrap:anywhere; }
}
.bgr-guide { border-top:1px solid var(--edge); padding:.75rem 0; }
.bgr-guide summary { cursor:pointer; color:var(--amber); font-weight:650; }
.bgr-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 2rem; padding-inline-start:1.6rem; }
.bgr-steps img { display:block; width:min(100%,250px); height:auto; }
#vpn-steps { scroll-margin-top:calc(var(--header) + 14px); }

.bgr-home-hero,.bgr-home-topics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(16px,3vw,32px); align-items:center; }
.bgr-home-hero h1 {font-size:clamp(2rem,4vw,3.6rem)}
.bgr-home-topics {align-items:stretch}.bgr-home-topics .bgr-panel {margin:0}
@media(max-width:720px){.bgr-home-hero,.bgr-home-topics{grid-template-columns:1fr}}

.bgr-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:360px}
.bgr-actions .bgr-button,.bgr-nav-action a {text-align:center;font-weight:750}
.bgr-actions .bgr-button:first-child {background:#ffda91;color:#26152a}
.bgr-actions .bgr-button:last-child,.bgr-nav-action a {background:#ffad4f;color:#24112b}
.bgr-footer {background:radial-gradient(ellipse at 80% 0%,#402039,transparent 65%),#160c20;border-top:3px solid #b87347}
.bgr-footer-top {display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--edge)}
.bgr-footer-links {grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.bgr-footer-links h2 {font-size:1.05rem;color:var(--ink);margin:0 0 10px}
.bgr-footer-links a {display:block;width:fit-content;padding:4px 0;color:#dfccce;text-decoration:none}
.bgr-footer-links a:hover {color:var(--amber);text-decoration:underline}
.bgr-footnote {border-top:1px solid var(--edge);padding-top:12px;color:var(--muted)}
@media(max-width:700px){.bgr-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bgr-header-row{gap:5px;padding-inline:8px}.bgr-header .bgr-brand img{width:clamp(68px,24vw,126px);height:auto}.bgr-nav-action a{font-size:.8rem;padding:10px 7px;min-height:44px;display:grid;place-items:center}.bgr-header .bgr-menu-toggle{margin-left:auto}}
