/*
Theme Name: BDG Game
Author: BDG Game Site
Description: Black, white, and gold BDG Game theme with automatic page setup on activation.
Version: 1.5.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bdg-game
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #050505;
  color: #f2f2f2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: #ffcc00;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 8px 12px;
  background: #ffcc00;
  color: #050505;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid #ffcc00;
  background: #080808;
  box-shadow: 0 2px 16px rgba(255, 204, 0, 0.28);
}

.hdr-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1100px;
  min-height: 70px;
  margin: 0 auto;
  padding: 8px 14px;
}

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

.hdr-logo img {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 5px;
  object-fit: contain;
}

.nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover,
.nav .current-menu-item > a {
  color: #ffcc00;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1px solid #8a6a00;
  border-radius: 6px;
  background: #080808;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffcc00;
}

.wrap {
  width: calc(100% - 24px);
  max-width: 700px;
  margin: 0 auto;
  padding: 8px 0 30px;
}

.card {
  padding: 24px 22px 40px;
  border: 1px solid #4b3b00;
  border-radius: 6px;
  background: #0a0a0a;
  box-shadow: 0 0 28px rgba(255, 204, 0, 0.1);
}

.card h1 {
  margin: 6px 0 12px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.card h2 {
  margin: 20px 0 10px;
  color: #fff;
  font-size: 21px;
  line-height: 1.3;
}

.card h3 {
  margin: 14px 0 6px;
  color: #fff;
  font-size: 18px;
}

.card p {
  margin: 0 0 10px;
  color: #ddd;
}

.card strong {
  color: #fff;
}

.card a {
  color: #ffcc00;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.card .hl {
  color: #ffcc00;
  font-weight: 700;
}

.card ul,
.card ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.card li {
  margin: 3px 0;
}

.card .band {
  margin: 18px 0 12px;
  padding: 7px 10px;
  border-left: 2px solid #ffcc00;
  border-radius: 7px;
  background: linear-gradient(90deg, #080808, #ffcc00);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
  color: #050505;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.card .band a {
  color: #fff;
}

.card img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.card img.icon {
  width: 120px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(255, 204, 0, 0.35);
}

.card img.shot {
  border: 1px solid #4b3b00;
  border-radius: 8px;
}

.center {
  text-align: center;
}

.account-actions {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}

.btn {
  display: inline-block;
  padding: 9px 22px;
  border: 2px solid #ffcc00;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe66b, #d5a500);
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.24);
  color: #050505 !important;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 204, 0, 0.4);
}

.account-actions .btn {
  flex: 1;
  padding: 11px 10px;
}

.btn-outline {
  background: transparent;
  box-shadow: none;
  color: #ffcc00 !important;
}

.tw {
  overflow-x: auto;
  margin: 12px 0;
}

.card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.card th {
  padding: 9px 8px;
  border: 1px solid #8a6a00;
  background: linear-gradient(90deg, #ffdb38, #c99a00);
  color: #050505;
  text-align: center;
}

.card td {
  padding: 8px;
  border: 1px solid #4b3b00;
  background: #0e0e0e;
  text-align: center;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  color: #999;
  font-size: 11px;
}

.cats {
  display: grid;
  gap: 10px;
  margin: 10px 0;
}

.cat {
  padding: 10px;
  border: 1px solid #4b3b00;
  border-radius: 8px;
  background: #0e0e0e;
}

.cat h3 {
  margin-top: 0;
  font-size: 16px;
}

.cat p {
  margin-bottom: 6px;
}

#ez-toc-container {
  margin: 8px 0 12px;
  padding: 10px;
  border: 1px solid #4b3b00;
  border-radius: 8px;
  background: #0e0e0e;
}

.ez-toc-title {
  margin: 0 0 6px !important;
  color: #fff;
  font-weight: 700;
}

.ez-toc-title-toggle {
  display: none;
}

#ez-toc-container ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

#ez-toc-container ul ul {
  padding-left: 14px;
}

#ez-toc-container li {
  margin: 3px 0;
}

.ftr {
  width: calc(100% - 24px);
  max-width: 700px;
  margin: 0 auto;
  padding: 0 10px 30px;
  color: #999;
  font-size: 11px;
  text-align: center;
}

.ftr nav {
  margin-bottom: 8px;
}

.footer-nav {
  justify-content: center;
  gap: 6px 14px;
}

.ftr a {
  color: #ffcc00;
  text-decoration: none;
}

.top {
  position: fixed;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid #ffcc00;
  border-radius: 50%;
  background: #0e0e0e;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.3);
  color: #ffcc00;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.top.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 760px) {
  .burger {
    display: flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 11px 4px;
    border-top: 1px solid #4b3b00;
    font-size: 13px;
  }

  .card {
    padding: 18px 16px 30px;
  }

  .card h1 {
    font-size: 24px;
  }

  .card .band {
    font-size: 16px;
  }
}
.bdg-home-faq{margin-top:2rem;scroll-margin-top:6rem}
.bdg-home-faq details{margin:.75rem 0;border:1px solid #534417;border-radius:10px;background:#101010}
.bdg-home-faq summary{cursor:pointer;padding:1rem;font-weight:700;line-height:1.5;color:#ffe066}
.bdg-home-faq summary::marker{color:#ffcc00}
.bdg-home-faq summary:focus-visible{outline:2px solid #ffcc00;outline-offset:3px}
.bdg-home-faq details[open] summary{border-bottom:1px solid #534417}
.bdg-home-faq details p{margin:0;padding:1rem;line-height:1.75}
.bdg-home-faq a{text-decoration:underline;text-underline-offset:3px}
.telegram-button{position:fixed;left:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:30;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:2px solid #ffcc00;border-radius:999px;background:#ffcc00;color:#111;font-size:14px;font-weight:700;text-decoration:none;box-shadow:0 3px 14px #0008}
.telegram-button:hover{background:#fff;color:#111}
.telegram-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
