/*
Theme Name: Tata Game Pro (Bilingual EN/HI)
Version: 1.1.0
Author: dasheng
Text Domain: tata-game-pro
Description: India-focused gaming-style bilingual theme (English + Hindi /hi/) with auto-created pages, menus, and built-in SEO (no plugins).
*/

:root{
  --bg:#050617;
  --panel:rgba(255,255,255,.055);
  --panel2:rgba(255,255,255,.085);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --line:rgba(255,255,255,.12);
  --brand:#A855F7;
  --brand2:#06B6D4;

  --w:1160px;
  --p:18px;
  --r:18px;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,58,237,.40), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(34,211,238,.32), transparent 50%),
    radial-gradient(1200px 800px at 50% 110%, rgba(16,185,129,.18), transparent 55%),
    linear-gradient(180deg, #030414, #050617 45%, #050617);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  line-height:1.6;
}

a{color:inherit}
.container{max-width:var(--w);margin:0 auto;padding:0 var(--p)}

.topbar{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,8,18,.55);
  border-bottom:1px solid var(--line);
}
.topbar .row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.logo{
  width:40px;height:40px;border-radius:14px;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.9), rgba(124,58,237,.9));
  box-shadow: 0 8px 30px rgba(124,58,237,.28);
  border:1px solid rgba(255,255,255,.18);
}
.brand strong{letter-spacing:.2px}
.small{color:var(--muted);font-size:13px}
.badge{
  font-size:12px;color:rgba(255,255,255,.82);
  padding:4px 8px;border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nav a{
  text-decoration:none;
  padding:9px 12px;border-radius:12px;
  border:1px solid transparent;
  color:rgba(255,255,255,.86);
}
.nav a:hover{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.06)}
.nav .active{border-color:rgba(34,211,238,.35);background:rgba(34,211,238,.10)}

.langbtn{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  text-decoration:none;
}
.langdot{width:8px;height:8px;border-radius:99px;background:linear-gradient(90deg,var(--brand2),var(--brand))}

.breadcrumb{color:rgba(255,255,255,.68);font-size:13px;margin:10px 0}
.breadcrumb a{text-decoration:none}

.panel{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid var(--line);
  border-radius:var(--r);
  box-shadow: var(--shadow);
}

.hero{padding:28px 0 18px}
.heroGrid{display:grid;grid-template-columns: 1.15fr .85fr;gap:16px;align-items:stretch}
.heroLeft{padding:22px}
.kicker{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:10px}
.kicker .pill{
  font-size:12px;padding:6px 10px;border-radius:999px;
  border:1px solid rgba(34,211,238,.28);
  background: rgba(34,211,238,.10);
  color: rgba(255,255,255,.86);
}
h1{margin:0 0 8px;font-size:38px;line-height:1.15}
h2{margin:0 0 8px;font-size:20px}
h3{margin:0 0 6px;font-size:16px}
.sub{color:var(--muted);margin:0 0 14px;font-size:15px}
.ctaRow{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:14px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.btn:hover{background: rgba(255,255,255,.10)}
.btn.primary{
  background: linear-gradient(90deg, rgba(34,211,238,.85), rgba(124,58,237,.85));
  border-color: rgba(255,255,255,.08);
}
.btn.primary:hover{filter:brightness(1.05)}
.heroRight{overflow:hidden;position:relative}
.heroRight .img{width:100%;height:100%;display:block;opacity:.95}
.glow{
  position:absolute;inset:-60px -80px auto auto;
  width:240px;height:240px;border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.55), transparent 60%);
  filter: blur(6px);
}

.section{margin:18px 0}
.sectionTitle{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.sectionTitle .note{color:var(--muted);font-size:13px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.card{padding:14px}
.card p{margin:0;color:var(--muted);font-size:14px}
.twoCol{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.list{margin:0;padding-left:18px;color:var(--muted);font-size:14px}
.hr{height:1px;background:var(--line);margin:12px 0}

.faq details{
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.05);
  padding:12px 14px;
}
.faq details+details{margin-top:10px}
.faq summary{cursor:pointer;font-weight:600}

.footer{
  margin-top:22px;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.18);
  padding:16px 0;
}
.footer .row{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}

@media (max-width:980px){
  h1{font-size:30px}
  .heroGrid{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .twoCol{grid-template-columns:1fr}
}


/* Mobile Menu */
.burger{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.burger:hover{background: rgba(255,255,255,.10)}
.burger .lines{
  width:18px;height:14px;position:relative;
}
.burger .lines span{
  position:absolute;left:0;right:0;height:2px;border-radius:2px;
  background: linear-gradient(90deg, rgba(6,182,212,.95), rgba(168,85,247,.95));
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.burger .lines span:nth-child(1){top:0}
.burger .lines span:nth-child(2){top:6px}
.burger .lines span:nth-child(3){top:12px}

body.tgp-nav-open .burger .lines span:nth-child(1){top:6px;transform:rotate(45deg)}
body.tgp-nav-open .burger .lines span:nth-child(2){opacity:0}
body.tgp-nav-open .burger .lines span:nth-child(3){top:6px;transform:rotate(-45deg)}

.navList{list-style:none;margin:0;padding:0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.navList li{margin:0;padding:0}
.navList a{
  text-decoration:none;
  padding:9px 12px;border-radius:12px;
  border:1px solid transparent;
  color:rgba(255,255,255,.86);
  display:inline-block;
}
.navList a:hover{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.06)}
.navList .current-menu-item>a,
.navList .current_page_item>a,
.navList a.active{border-color:rgba(6,182,212,.35);background:rgba(6,182,212,.10)}

.mobilePanel{
  display:none;
  position:absolute;
  left:0;right:0;
  top:100%;
  background: rgba(7,8,18,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.mobileInner{
  padding:14px 0 16px;
}
.mobileGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.mobileGrid a{
  text-decoration:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius:14px;
  padding:10px 12px;
}
.mobileGrid a:hover{background: rgba(255,255,255,.10)}
.mobileMeta{margin-top:10px;color:var(--muted);font-size:13px}

@media(max-width:980px){
  nav.nav{display:none}
  .burger{display:inline-flex}
  body.tgp-nav-open nav.nav{display:none}
  body.tgp-nav-open .mobilePanel{display:block}
}
/* Bottom floating ad */
:root { --tgp-ad-h: 0px; }
body { padding-bottom: var(--tgp-ad-h); }

.tgp-float-ad{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  background: rgba(15,17,20,.92);
  backdrop-filter: blur(10px);
}

.tgp-float-ad__inner{
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 44px 12px 12px;
  text-decoration: none;
  color: #fff;
}

.tgp-float-ad__media{
  width: 64px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tgp-float-ad__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tgp-float-ad__title{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.tgp-float-ad__desc{
  opacity: .85;
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.2;
}

.tgp-float-ad__cta{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.tgp-float-ad__close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 26px;
}

@media (min-width: 900px){
  .tgp-float-ad{
    left: 18px;
    right: auto;
    width: 520px;
  }
}
