/* BODA8HK SEO Theme — main styles */

:root {
  --boda-purple: #c9a227;
  --boda-purple-dark: #a67c00;
  --boda-section-bg: #f5f0e8;
  --boda-link: #b8860b;
  --boda-text: #1a1a1a;
  --boda-muted: #777777;
  --boda-header-bg: #0f0d0a;
  --boda-footer-bg: #1a1410;
  --header-height: 112px;
  --radius: 4px;
  --font-sans: "Roboto", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--boda-text);
  background: #fff;
  overflow-x: hidden;
}

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

a {
  color: var(--boda-link);
}

.boda8-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .boda8-container {
    padding: 0 24px;
  }
}

/* Header */
.boda8-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--boda-header-bg);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.boda8-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.boda8-logo img,
.boda8-logo .custom-logo {
  height: 50px;
  width: auto;
}

@media (min-width: 768px) {
  .boda8-logo img,
  .boda8-logo .custom-logo {
    height: 60px;
  }
}

.boda8-nav-desktop {
  display: none;
  flex: 1;
  justify-content: center;
}

@media (min-width: 1024px) {
  .boda8-nav-desktop {
    display: flex;
  }
}

.boda8-nav-list,
.boda8-mobile-nav-list,
.boda8-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.boda8-nav .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.boda8-nav .menu a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.boda8-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.boda8-nav-list a,
.boda8-nav-link {
  display: block;
  padding: 8px 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.boda8-nav-list a:hover,
.boda8-nav-link:hover {
  opacity: 0.85;
}

.boda8-nav-list .current-menu-item > a,
.boda8-nav-list .current_page_item > a {
  border-bottom: 2px solid #fff;
}

.boda8-header-cta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.boda8-header-cta-desktop {
  display: none;
}

@media (min-width: 768px) {
  .boda8-header-cta-desktop {
    display: flex;
  }
}

.boda8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
}

.boda8-btn:hover {
  filter: brightness(1.1);
}

.boda8-btn-block {
  width: 100%;
}

.boda8-btn-purple {
  background: linear-gradient(135deg, #f0d060 0%, #a67c00 100%);
  color: #1a1000;
}

.boda8-btn-red {
  background: linear-gradient(97deg, #c41e3a 0%, #8b0000 100%);
}

.boda8-btn-cta {
  background: linear-gradient(101deg, #f0c040 0%, #8b6914 100%);
  color: #1a1000;
}

.boda8-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .boda8-menu-toggle {
    display: none;
  }
}

.boda8-menu-icon,
.boda8-menu-icon::before,
.boda8-menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
}

.boda8-menu-icon::before,
.boda8-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.boda8-menu-icon::before {
  top: -7px;
}

.boda8-menu-icon::after {
  top: 7px;
}

.boda8-mobile-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 16px;
}

@media (min-width: 1024px) {
  .boda8-mobile-nav {
    display: none !important;
  }
}

.boda8-mobile-nav-list a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.boda8-header-cta-mobile {
  flex-direction: column;
  padding: 12px 16px;
  gap: 8px;
}

/* Main */
.boda8-main {
  padding-top: var(--header-height);
  min-height: 60vh;
}

/* Typography in content */
.boda8-page-content h1,
.boda8-h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: #000;
  margin: 0 0 20px;
  text-align: left;
}

@media (min-width: 768px) {
  .boda8-page-content h1,
  .boda8-h1 {
    font-size: 40px;
    text-align: center;
  }
}

.boda8-page-content h2,
.boda8-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin: 0 0 16px;
}

@media (min-width: 768px) {
  .boda8-page-content h2,
  .boda8-section h2 {
    font-size: 30px;
    text-align: center;
  }
}

.boda8-page-content h3 {
  font-size: 18px;
  font-weight: 600;
}

.boda8-page-content p {
  line-height: 1.75;
}

.boda8-kw-link {
  color: var(--boda-purple);
  font-weight: 500;
  text-decoration: underline;
}

/* Sections */
.boda8-section {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .boda8-section {
    padding: 56px 0;
  }
}

.boda8-section-alt {
  background: var(--boda-section-bg);
}

.boda8-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.boda8-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--boda-purple);
  margin-bottom: 12px;
}

.boda8-lead-box {
  border-left: 4px solid var(--boda-purple);
  background: linear-gradient(90deg, #fff9e6 0%, #faf8f5 100%);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #444;
}

.boda8-hero-img,
.boda8-section-img {
  border: 1px solid #ececec;
  border-radius: 6px;
  overflow: hidden;
  margin: 24px 0;
}

.boda8-banner-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

@media (min-width: 768px) {
  .boda8-banner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.boda8-check-list {
  list-style: none;
  padding: 0;
  margin: 16px auto;
  max-width: 700px;
}

.boda8-check-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 15px;
}

.boda8-check-list li::before {
  content: "✓";
  color: var(--boda-purple);
  font-weight: 700;
  flex-shrink: 0;
}

/* Hub links */
.boda8-hub {
  border: 1px solid #e8dff0;
  background: #faf7fc;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
}

.boda8-hub-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--boda-purple);
  margin: 0 0 16px;
}

.boda8-hub-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .boda8-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.boda8-hub-link {
  display: block;
  padding: 10px 12px;
  border: 1px solid #e8dff0;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  color: var(--boda-text);
  transition: border-color 0.2s;
}

.boda8-hub-link:hover {
  border-color: var(--boda-purple);
}

.boda8-hub-link strong {
  display: block;
  color: var(--boda-purple);
  font-size: 15px;
}

.boda8-hub-link span {
  display: block;
  font-size: 12px;
  color: var(--boda-muted);
  margin-top: 2px;
}

.boda8-hub-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.boda8-hub-anchors a {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8dff0;
  color: var(--boda-purple);
  text-decoration: none;
}

/* FAQ */
.boda8-faq {
  border: 1px solid #e5e5e5;
  background: #fff;
  margin-top: 20px;
}

.boda8-faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.boda8-faq-item:last-child {
  border-bottom: none;
}

.boda8-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  font-family: inherit;
}

.boda8-faq-q::after {
  content: "▼";
  font-size: 12px;
  color: var(--boda-purple);
  transition: transform 0.2s;
}

.boda8-faq-item.is-open .boda8-faq-q::after {
  transform: rotate(180deg);
}

.boda8-faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.75;
}

.boda8-faq-item.is-open .boda8-faq-a {
  display: block;
}

/* Feature / game cards */
.boda8-cards-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .boda8-cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .boda8-cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.boda8-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 6px;
  padding: 24px;
}

.boda8-game-card {
  text-align: center;
}

.boda8-game-card img {
  margin: 0 auto 16px;
  max-height: 180px;
  width: auto;
}

.boda8-cta-wrap {
  text-align: center;
  padding: 32px 0;
}

/* Breadcrumb */
.boda8-breadcrumb {
  font-size: 13px;
  color: var(--boda-muted);
  padding: 20px 0 8px;
}

.boda8-breadcrumb a {
  color: var(--boda-muted);
  text-decoration: none;
}

.boda8-breadcrumb a:hover {
  color: var(--boda-purple);
}

.boda8-breadcrumb-sep {
  margin: 0 6px;
}

.boda8-page-top {
  padding-top: 20px;
}

/* Blog */
.boda8-post-list {
  display: grid;
  gap: 24px;
  padding: 40px 0;
}

.boda8-post-card {
  border: 1px solid #ececec;
  border-radius: 6px;
  padding: 24px;
}

.boda8-post-title {
  margin: 0 0 8px;
  font-size: 22px;
}

.boda8-post-title a {
  color: #000;
  text-decoration: none;
}

.boda8-post-excerpt {
  color: #555;
  margin-bottom: 12px;
}

.boda8-link {
  color: var(--boda-purple);
  font-weight: 500;
}

/* Footer */
.boda8-footer {
  background: var(--boda-footer-bg);
  color: #e8e0d0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: 40px;
}

.boda8-footer-grid {
  display: grid;
  gap: 32px;
  padding: 48px 16px;
}

@media (min-width: 768px) {
  .boda8-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .boda8-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.boda8-footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
}

.boda8-disclaimer {
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(90deg, #fff9e6 0%, #faf8f5 100%);
  font-size: 13px;
  line-height: 1.7;
  color: #5c4a2a;
}

.boda8-disclaimer strong {
  color: #8b6914;
}

.boda8-footer-desc {
  font-size: 14px;
  line-height: 1.6;
}

.boda8-footer-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #000;
}

.boda8-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.boda8-footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 15px;
  text-decoration: none;
}

.boda8-social {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.boda8-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--boda-purple);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.boda8-footer-copy {
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 16px;
  font-size: 14px;
}

/* WordPress blocks compatibility */
.boda8-page-content .alignwide {
  max-width: 1200px;
}

.boda8-page-content .alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
