/* Google Fonts import removed – now preloaded in HTML head for better performance */

:root {
  --primary-color: #e5a00d; /* Gold – site accent, matches Win theme */
  --secondary-color: #ffffff;
  --background-color: #000000;
  --text-color: #ffffff;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 55px; /* Space for fixed header */
}


header {
  background: #191a1b; /* updated navbar color */
  padding: 1.2rem 0;
  z-index: 1100; /* sit above overlay so toggle stays clickable */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease, background 0.3s ease, padding 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Enhanced shadow on scroll (optional - can be added with JavaScript if needed) */
header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: rgba(25, 26, 27, 0.95);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
  min-height: auto;
}

nav .nav-links {
  display: flex;
  gap: 1.5rem;
}

nav .nav-links a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}

nav .nav-links a:hover {
  text-decoration: none;
  opacity: 0.8;
}

nav .nav-links.cta {
  gap: 0.75rem;
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Reset navbar button style */
.nav-btn {
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  font-size: 0.9rem;
  white-space: nowrap;
  line-height: 1.4;
}

.nav-btn.login { 
  background: #e5a00d; 
}

.nav-btn.download { 
  background: #e5a00d; 
}

.nav-btn.register { 
  background: #e5a00d; 
}

.nav-btn:hover {
  background: #c4900a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
}

h1, h2 {
  color: var(--primary-color);
  margin-top: 0;
}

h3 {
  color: #ffd700;
  margin-top: 0;
}

/* Explicit heading sizes to ensure consistent rendering inside article, section, nav, and aside elements */
h1 {
  font-size: 2rem;
}
/* Match h1s nested in sectioning elements to override more specific UA rules */
article h1,
section h1,
nav h1,
aside h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.3rem;
}

h1, h2, h3, nav .nav-links a, .btn, .nav-btn {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.1px;
}

ul {
  padding-left: 1.2rem;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.85rem 1.75rem;
  border-radius: 5px; /* subtle rounded corner */
  text-decoration: none;
  margin-right: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background: #c4900a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Footer Styles */
footer {
  background: #1a1a1a;
  color: #dddddd;
  padding: 2rem 1rem 2rem;
  margin-top: 4rem;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

/* Footer Column Styles */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-left {
  flex-shrink: 0;
}

.footer-logo {
  margin-bottom: 0;
}

.footer-logo img {
  height: auto !important;
  max-height: 58px !important;
  width: auto !important;
}

.footer-middle {
  flex: 1;
  max-width: 600px;
  margin: 0 auto;
}

.footer-disclaimer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  padding: 0;
}

.footer-disclaimer {
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.footer-right {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #e5a00d;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: inline-block;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-copyright p {
  margin: 0;
  color: #cccccc;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  font-weight: 400;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-left {
    max-width: 100%;
  }
  
  .footer-middle {
    max-width: 100%;
    margin: 0;
  }
  
  .footer-right {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 1rem 1.5rem;
    margin-top: 3rem;
    background: #1a1a1a;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-left {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .footer-middle {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .footer-right {
    max-width: 100%;
  }
  
  .footer-logo {
    margin-bottom: 1rem;
  }
  
  .footer-logo img {
    height: auto !important;
    max-height: 52px !important;
    width: auto !important;
  }
  
  .footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
  
  .footer-disclaimer {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
  }
  
  .footer-links {
    gap: 0.5rem;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .footer-copyright {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-copyright p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 2.5rem 1rem 1.25rem;
    background: #1a1a1a;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-left,
  .footer-middle,
  .footer-right {
    max-width: 100%;
  }
  
  .footer-logo img {
    height: auto !important;
    max-height: 48px !important;
    width: auto !important;
  }
  
  .footer-description {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  .footer-disclaimer {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
  
  .footer-right h4 {
    font-size: 1rem;
    margin-bottom: 0.875rem;
  }
  
  .footer-right a {
    font-size: 0.9rem;
  }
  
  .footer-copyright {
    padding-top: 1.25rem;
    margin-top: 1.25rem;
  }
  
  .footer-copyright p {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  /* ensure header nav row */
  .main-navigation {
    flex-direction: row;
    align-items: center;
  }
  .main-navigation .site-logo { margin-right: 0; }
  
  /* Adjust body padding for mobile header */
  body {
    padding-top: 60px; /* Smaller padding for mobile */
  }
  
  header {
    padding: 0.75rem 0; /* Slightly less padding on mobile */
  }

  /* align toggle right within nav */
  .menu-toggle {
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 0 0 auto; /* push to far right within flex row */
    font-size: 26px;
  }

  /* center the mobile login/download buttons below nav */
  .mobile-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 0.5rem;
  }

  /* colour scheme for mobile buttons to match desktop */
  .mobile-buttons .btn:nth-child(1) { /* Login */
    background: #e5a00d !important;
  }
  .mobile-buttons .btn:nth-child(2) { /* Download */
    background: #e5a00d !important;
  }

  /* align toggle right within nav */
  .menu-toggle {
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 0 0 auto; /* push to far right within flex row */
    font-size: 26px;
  }

  /* center the mobile login/download buttons below nav */
  .mobile-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 0.5rem;
  }

  /* colour scheme for mobile buttons to match desktop */
  .mobile-buttons .btn:nth-child(1) { /* Login */
    background: #e5a00d !important;
  }
  .mobile-buttons .btn:nth-child(2) { /* Download */
    background: #e5a00d !important;
  }

  /* stack hero buttons vertically on small screens */
  .hero .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero .cta-buttons .btn {
    width: 100%;
  }
}

/* ===== New Enhancements ===== */
.hero {
  background: var(--background-color);
  
  padding: 4rem 1rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
  color: var(--primary-color);
}
.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  color: #ffffff;
}
.toc {
  background: rgba(0, 80, 179, 0.05);
  border: 1px solid rgba(0, 80, 179, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.toc details {
  transition: all 0.3s ease;
}

.toc summary {
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  padding: 0.5rem 0;
  border-bottom: 2px solid rgba(0, 80, 179, 0.3);
  margin-bottom: 1rem;
  user-select: none;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::before {
  content: "▶";
  margin-right: 0.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  font-size: 0.8em;
}

.toc details[open] summary::before {
  transform: rotate(90deg);
}

.toc summary:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.toc details:not([open]) {
  padding-bottom: 0;
}

.toc details[open] ol {
  animation: fadeIn 0.3s ease;
  margin-top: 1rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.toc a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc a:hover { 
  text-decoration: underline;
  color: #ffffff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Style for details / summary FAQ */
summary {
  font-weight: bold;
  cursor: pointer;
}
summary::marker { color: var(--primary-color); }

.details-content {
  margin-left: 1rem;
}

/* ===== Button Color Variants ===== */
.btn-green,
.btn-red {
  background: var(--primary-color);
}

/* ===== Info Table ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.info-table th, .info-table td {
  padding: 0.75rem 0.5rem;
  border: 1px solid #e0e0e0;
  text-align: left;
}
.info-table th {
  background: #f5f5f500;
  width: 45%;
}

/* Dropdown menu colors */
.desktop-nav .sub-menu {
  background-color: #1c1d1e;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.desktop-nav .sub-menu li a {
  color: #ffffff;
  text-decoration: none;
}

.desktop-nav .sub-menu li a:hover {
  background-color: rgba(255,255,255,0.1);
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}

.main-navigation .site-logo img {
  max-height: 58px !important;
  height: auto !important;
  width: auto !important;
}

.main-navigation .main-nav-ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex: 1;
  justify-content: flex-start;
}

.nav-links.cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.main-nav-ul > li > a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  font-size: 1.1rem;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.main-nav-ul > li > a:hover {
  text-decoration: none;
  color: #e5a00d;
  opacity: 1;
}

.menu-item-has-children {
  position: relative;
}
.menu-item-has-children > a::after {
  content: "▼";
  font-size: 0.7em;
  margin-left: 4px;
}

.menu-item-has-children .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  z-index: 1000;
  list-style: none;
  padding: 8px 0;
}

.menu-item-has-children .sub-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-item-has-children .sub-menu li:last-child {
  border-bottom: none;
}

.menu-item-has-children .sub-menu li a {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  color: #ffffff;
}

.menu-item-has-children .sub-menu li a:hover {
  background-color: rgba(255,255,255,0.12);
}

.menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* ===== FAQ Accordion ===== */
.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  color: var(--primary-color);
  background: #f9f9f9;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "\25BA"; /* right-point arrow */
  font-size: 0.75rem;
  margin-right: 10px;
  transition: transform 0.25s ease;
}
.faq-item[open] summary {
  background: #f1f3f5;
}
.faq-item[open] summary::before {
  transform: rotate(90deg);
}
.faq-item p {
  margin: 0;
  padding: 14px 18px;
  background: #ffffff;
  color: #ffffff;
}

/* Gift Code Styling */
#gift-code code {
  background: #f1f3f500;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#copyGift {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  margin-left: 10px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.2s ease;
}
#copyGift:hover {
  background: #22275b;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0.35rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.menu-toggle:hover {
  background: rgba(255,255,255,0.1);
}
.menu-toggle:focus {
  outline: 2px solid #e5a00d;
  outline-offset: 2px;
}

.mobile-buttons {
  display: none;
  gap: 10px;
  padding: 10px;
}

.mobile-nav {
  /* Off-canvas panel */
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #1c1d1e;
  z-index: 1300; /* above header so items are clickable */
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0,0,0,0.4);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(229, 160, 13, 0.3);
}

/* Accordion inside off-canvas nav – dropdown clearly visible */
.mobile-nav .sub-menu {
  display: block; /* override desktop nav display:none */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #1a1c1e;
  padding: 0;
  border-left: 3px solid #e5a00d;
  margin: 4px 12px 8px;
  border-radius: 6px;
}

.mobile-nav .menu-item-has-children.open > .sub-menu {
  max-height: 600px;
  padding: 6px 0 10px;
}

/* "How To" parent link – gold when open */
.mobile-nav .menu-item-has-children > a {
  color: #ffffff !important;
}
.mobile-nav .menu-item-has-children.open > a {
  color: #e5a00d !important;
  font-weight: 600;
}

/* rotate arrow on open */
.mobile-nav .menu-item-has-children > a::after {
  content: "▼";
  float: right;
  transition: transform 0.2s ease;
  color: #e5a00d;
  font-size: 0.75em;
}
.mobile-nav .menu-item-has-children.open > a::after {
  transform: rotate(180deg);
  color: #e5a00d;
}

/* Dropdown items – white text, clear separation */
.mobile-nav .sub-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .sub-menu li:last-child {
  border-bottom: none;
}

.mobile-nav .sub-menu a {
  padding: 12px 24px 12px 40px;
  font-size: 1rem;
  color: #ffffff !important;
  background: transparent !important;
  border-bottom: none !important;
}
.mobile-nav .sub-menu a:hover,
.mobile-nav .sub-menu a:active {
  background: rgba(229, 160, 13, 0.2) !important;
  color: #e5a00d !important;
}

.mobile-nav .close-nav {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 992px) {
  .main-navigation .main-nav-ul,
  .main-navigation .nav-links.cta {
    display: none !important;
  }
  
  body {
    padding-top: 70px !important; /* Header with mobile buttons inside */
  }
  
  header {
    padding: 0.4rem 0;
    min-height: auto;
  }
  
  .main-navigation {
    padding: 0.4rem 0.75rem;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap;
    max-width: 100%;
  }
  
  .main-navigation .site-logo {
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
  
  .site-logo img {
    height: auto !important;
    max-height: 40px !important;
    width: auto !important;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    padding: 0.35rem;
    margin-left: 0.5rem;
    order: 3;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
  }
  
  /* Hide Login, Register, Download on phone – user opens toggle menu for links */
  .mobile-buttons {
    display: none !important;
  }
}

.mobile-nav.open {
  transform: translateX(0);
}

/* Prevent page scroll when mobile nav is open (don't use touch-action: none – it blocks link taps on phone) */
body.nav-open {
  overflow: hidden;
}

/* Keep touch/click working on mobile nav links */
.mobile-nav.open {
  touch-action: manipulation;
}

/* Dark overlay when nav is open – only over content (NOT over nav panel) so taps on nav work on phone */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 300px; /* same as nav max-width so overlay never covers nav */
  width: calc(100% - 300px);
  height: 100vh;
  height: 100dvh;
  background: rgba(0,0,0,0.5);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (max-width: 375px) {
  .nav-overlay {
    left: 80%; /* nav is 80% on small screens */
    width: 20%;
  }
}

/* ---- Hero CTA Buttons (Register / Download / Login) ---- */
.hero .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0; /* same margin from top paragraph and from bottom paragraph */
}
.hero .cta-buttons .btn {
  margin-right: 0; /* gap handles spacing */
}


/* Accessible, high-contrast, and distinguishable links */
a, a:visited, a:active {
  color: #e5a00d !important;
  text-decoration: underline !important;
  font-weight: bold;
}
a:hover, a:focus {
  color: #c4900a !important;
  text-decoration: underline !important;
}

/* === NAVBAR & BUTTON COLOR OVERRIDES === */

/* Navbar links and menu items white */
nav .nav-links a,
.main-nav-ul > li > a,
.desktop-nav .sub-menu li a,
.menu-item-has-children > a,
.menu-item-has-children .sub-menu li a,
.mobile-nav a {
  color: #fff !important;
}

/* Navbar toggler (menu-toggle) white */
.menu-toggle {
  color: #fff !important;
}

/* Home menu item white (assuming it has a class or is first nav link) */
nav .nav-links a:first-child,
.main-nav-ul > li:first-child > a {
  color: #fff !important;
}

/* Button text white */
.btn, .nav-btn, .btn-register, .btn-login, .btn-download {
  color: #fff !important;
} 

/* Remove underline from all links */
a, a:visited, a:active, a:hover, a:focus {
  text-decoration: none !important;
} 

/* Adjust image size and vertical centering for two-column layout */
.flex-row {
  display: flex;
  align-items: center; /* vertical center */
  gap: 2rem;
  flex-wrap: wrap;
}
.col-img {
  flex: 1 1 280px;
  max-width: 320px;
  margin: 0 0 0 1rem;
}
.col-img img {
  max-width: 100%;
  height: auto;
  display: block;
}
.col-text {
  flex: 2 1 400px;
  min-width: 250px;
}
@media (max-width: 900px) {
  .flex-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .col-img, .col-text {
    max-width: 100%;
    flex: 1 1 100%;
    margin: 0;
  }
} 

/* High-contrast button styles for accessibility */
.btn, .btn-login, .btn-download, .btn-register, #copyGift {
  background: #e5a00d !important; /* deep blue for high contrast */
  color: #fff !important;
  border: 2px solid #002855;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.btn:hover, .btn-login:hover, .btn-download:hover, .btn-register:hover, #copyGift:hover {
  background: #c4900a !important;
  color: #fff !important;
  border-color: #001933;
}

/* Features Card Grid Layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: rgba(25, 26, 27, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 80, 179, 0.2);
  height: auto;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 80, 179, 0.15);
  border-color: rgba(0, 80, 179, 0.4);
}

.feature-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 1.5rem auto;
  display: block;
  transition: transform 0.3s ease;
}

.feature-card:hover img {
  transform: scale(1.1);
}

.feature-card h3 {
  color: #ffd700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
  
  .feature-card img {
    width: 60px;
    height: 60px;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
}

/* Games Grid Layout */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

/* Center the last 2 items in the second row */
.games-grid .game-card:nth-child(4) {
  grid-column: 1 / 2;
}

.games-grid .game-card:nth-child(5) {
  grid-column: 2 / 3;
}

.game-card {
  background: rgba(25, 26, 27, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 80, 179, 0.2);
  height: auto;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 80, 179, 0.15);
  border-color: rgba(0, 80, 179, 0.4);
}

.game-card img {
  width: 100%;
  max-width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 1.5rem auto;
  display: block;
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.05);
}

.game-card h3 {
  color: #ffd700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.game-card p {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive Design for Games Grid */
@media (max-width: 992px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .games-grid .game-card:nth-child(4),
  .games-grid .game-card:nth-child(5) {
    grid-column: auto;
  }
}

/* Responsive Design for Games Grid */
@media (max-width: 992px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .games-grid .game-card:nth-child(4),
  .games-grid .game-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .game-card {
    min-height: auto;
  }
  
  .game-card img {
    max-width: 160px;
    height: 120px;
  }
}

/* FAQ Accordion Styling */
#faq details {
  background: rgba(25, 26, 27, 0.8);
  border: 1px solid rgba(0, 80, 179, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

#faq details:hover {
  border-color: rgba(0, 80, 179, 0.4);
  box-shadow: 0 4px 12px rgba(0, 80, 179, 0.1);
}

#faq details summary {
  background: rgba(0, 80, 179, 0.1);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #ffd700;
  border-radius: 7px;
  transition: background 0.3s ease;
  outline: none;
}

#faq details summary:hover {
  background: rgba(0, 80, 179, 0.15);
}

#faq details[open] summary {
  background: rgba(0, 80, 179, 0.2);
  border-bottom: 1px solid rgba(0, 80, 179, 0.2);
  border-radius: 7px 7px 0 0;
}

#faq details p {
  padding: 1.5rem;
  margin: 0;
  color: #e0e0e0;
  line-height: 1.6;
}

#faq details p a {
  color: var(--primary-color);
  text-decoration: none;
}

#faq details p a:hover {
  text-decoration: underline;
}

/* Hide old FAQ elements that are causing display issues */
#faq dt,
#faq dd {
  display: none !important;
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

/* Base Mobile Styles (up to 768px) */
@media (max-width: 768px) {
  /* Typography adjustments */
  body {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 65px !important; /* Header with mobile buttons inside */
  }
  
  header {
    padding: 0.35rem 0;
    min-height: auto;
  }
  
  .main-navigation {
    min-height: auto;
    padding: 0.35rem 0.5rem;
    gap: 0.4rem;
  }
  
  .site-logo img {
    height: auto !important;
    max-height: 36px !important;
    width: auto !important;
  }
  
  .menu-toggle {
    font-size: 20px;
    padding: 0.15rem;
    order: 3;
  }
  
  .mobile-buttons {
    padding: 0;
    gap: 0.4rem;
    position: static;
    order: 2;
    margin-left: auto;
    margin-right: 0.4rem;
  }
  
  .mobile-buttons .btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
  
  h1 {
    font-size: 1.75rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  h2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 0.875rem;
  }
  
  h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  h4 {
    font-size: 1.1rem !important;
    line-height: 1.3;
  }
  
  /* Container padding */
  .container {
    padding: 1rem 1rem;
    max-width: 100%;
  }
  
  /* Hero section */
  .hero {
    padding: 2.5rem 1rem;
  }
  
  .hero h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  /* Images - Maintain professional appearance and aspect ratio */
  img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
  }
  
  /* Override problematic inline styles on mobile - force proper sizing */
  img[style*="max-width"],
  img[style*="width"],
  img[style*="height"] {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
  }
  
  /* Specific image containers - maintain aspect ratio */
  .col-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .game-card img,
  .feature-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  /* Hero and content images */
  .hero img,
  section img,
  .container img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    display: block;
    margin: 0 auto;
  }
  
  /* Text center images - fix the 120% issue */
  .text-center img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    margin: 0 auto;
  }
  
  /* Blog images */
  .recent-post-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  /* Tables - make scrollable on mobile */
  .info-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
  }
  
  .info-table table {
    width: 100%;
    min-width: 300px;
  }
  
  .info-table th,
  .info-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  /* Buttons */
  .btn,
  .nav-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    width: auto;
    display: inline-block;
  }
  
  .hero .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  
  .hero .cta-buttons .btn {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  /* Content sections */
  section {
    margin-bottom: 2rem;
  }
  
  section.container {
    padding: 1.5rem 1rem;
  }
  
  /* Lists */
  ul, ol {
    padding-left: 1.5rem;
  }
  
  li {
    margin-bottom: 0.5rem;
  }
  
  /* Table of Contents */
  .toc {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .toc summary {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }
  
  /* FAQ */
  #faq details {
    margin-bottom: 0.75rem;
  }
  
  #faq details summary {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
  
  #faq details p {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  /* Two-column layout adjustments */
  .flex-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .col-img {
    max-width: 100%;
    margin: 0;
    order: 1;
  }
  
  .col-text {
    order: 2;
    max-width: 100%;
  }
  
  .col-img img {
    max-width: 100%;
    width: 100%;
  }
  
  /* Text center images */
  .text-center img {
    max-width: 100%;
    height: auto;
  }
  
  /* Blog grid */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Game cards */
  .game-card {
    padding: 1.25rem;
    min-height: auto;
  }
  
  .game-card img {
    max-width: 140px;
    height: 110px;
  }
  
  .game-card h3 {
    font-size: 1.15rem;
  }
  
  .game-card p {
    font-size: 0.95rem;
  }
  
  /* Feature cards */
  .feature-card {
    padding: 1.25rem;
    min-height: auto;
  }
  
  .feature-card img {
    width: 60px;
    height: 60px;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
  body {
    padding-top: 60px !important; /* Header with mobile buttons inside */
    font-size: 15px;
  }
  
  header {
    min-height: auto;
    padding: 0.3rem 0;
  }
  
  .main-navigation {
    min-height: auto;
    padding: 0.3rem 0.5rem;
    gap: 0.3rem;
  }
  
  .mobile-buttons {
    position: static;
    padding: 0;
    gap: 0.3rem;
    order: 2;
    margin-left: auto;
    margin-right: 0.3rem;
  }
  
  .mobile-buttons .btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .container {
    padding: 1rem 0.75rem;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  h2 {
    font-size: 1.3rem !important;
  }
  
  h3 {
    font-size: 1.15rem !important;
  }
  
  .hero {
    padding: 2rem 0.75rem;
  }
  
  .hero h1 {
    font-size: 1.5rem !important;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .btn,
  .nav-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
  
  .site-logo img {
    height: auto !important;
    max-height: 40px !important;
    width: auto !important;
  }
  
  .info-table th,
  .info-table td {
    padding: 0.4rem;
    font-size: 0.85rem;
  }
  
  section.container {
    padding: 1.25rem 0.75rem;
  }
  
  .toc {
    padding: 0.875rem;
  }
  
  .toc summary {
    font-size: 1rem;
  }
  
  .game-card,
  .feature-card {
    padding: 1rem;
  }
  
  .game-card img {
    max-width: 120px;
    height: 100px;
    width: auto;
    object-fit: cover;
  }
  
  /* Ensure images maintain aspect ratio */
  img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
  }
  
  .col-img img,
  .game-card img,
  .feature-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* Medium Tablets (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 1.5rem 1.25rem;
  }
  
  .hero {
    padding: 3rem 1.25rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Large Tablets (769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .container {
    padding: 1.5rem 1.5rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .games-grid .game-card:nth-child(4),
  .games-grid .game-card:nth-child(5) {
    grid-column: auto;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
}

/* Ensure all images are responsive and maintain aspect ratio */
img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain;
}

/* Override any inline styles that might break responsiveness - especially max-width:120% */
img[style*="max-width"],
img[style*="width"],
img[style*="height"] {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
}


/* Specific image containers */
.col-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Game and feature card images */
.game-card img,
.feature-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Hero section images */
.hero img {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  margin: 0 auto;
}

/* Text center images - override any problematic inline styles */
.text-center img {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  margin: 0 auto;
}

/* Section images */
section img,
.container img {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Better text wrapping */
p, li, td, th {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive video/iframe */
iframe,
video {
  max-width: 100%;
  height: auto;
}

/* Better spacing for mobile */
@media (max-width: 768px) {
  .my-4 {
    margin: 1.5rem 0;
  }
  
  .mt-4 {
    margin-top: 1.5rem;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem;
  }
  
  /* Better touch targets for mobile */
  a, button, .btn, .nav-btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Better spacing between sections */
  section + section {
    margin-top: 2rem;
  }
  
  /* Better table readability */
  table {
    font-size: 0.9rem;
  }
  
  /* Better list spacing */
  ul, ol {
    margin-bottom: 1rem;
  }
  
  /* Better paragraph spacing */
  p {
    margin-bottom: 1rem;
  }
  
  /* Better details/summary spacing */
  details {
    margin-bottom: 1rem;
  }
  
  /* Better form elements */
  input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
    width: 100%;
    max-width: 100%;
  }
}

/* Extra small devices (up to 360px) */
@media (max-width: 360px) {
  body {
    padding-top: 100px; /* Ensure enough space for header + mobile buttons */
  }
  
  .container {
    padding: 0.75rem;
  }
  
  .hero {
    padding: 1.5rem 0.75rem;
  }
  
  h1 {
    font-size: 1.35rem !important;
  }
  
  h2 {
    font-size: 1.2rem !important;
  }
  
  .btn,
  .nav-btn {
    padding: 0.6rem 0.875rem;
    font-size: 0.875rem;
  }
  
  .site-logo img {
    height: auto !important;
    max-height: 36px !important;
    width: auto !important;
  }
  
  footer {
    padding: 2rem 0.75rem 1rem;
  }
  
  .footer-content {
    gap: 1.25rem;
  }
}

/* ===== BDG Win UI Color System ===== */
:root {
  --primary-color: #e5a00d;
  --secondary-color: #ffffff;
  --background-color: #ececec;
  --text-color: #2f3542;
}

body {
  background: #ececec !important;
  color: #2f3542 !important;
  padding-top: 126px;
}

header {
  background: linear-gradient(90deg, #22252c, #2c3038) !important;
  padding: 56px 0 0 !important;
}

.main-navigation {
  max-width: 100% !important;
  width: 100%;
  padding: 0.95rem 3rem !important;
  min-height: 74px;
  background: #ecc879;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
}

.site-logo {
  margin-right: 2rem !important;
}

.site-logo img {
  display: block !important;
  max-height: 56px !important;
  width: auto !important;
}

.site-logo a {
  text-decoration: none !important;
}

.main-nav-ul {
  justify-content: flex-end !important;
  gap: 2rem !important;
}

.main-nav-ul > li > a,
.menu-item-has-children > a,
.menu-item-has-children .sub-menu li a {
  color: #111827 !important;
  font-weight: 600;
}

.main-nav-ul > li > a:hover,
.menu-item-has-children .sub-menu li a:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.35) !important;
}

.desktop-nav .sub-menu,
.menu-item-has-children .sub-menu {
  background: #ecc879 !important;
  border: 1px solid rgba(17, 24, 39, 0.22);
}

.menu-item-has-children .sub-menu li {
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.nav-links.cta {
  position: absolute;
  top: -45px;
  right: 1.25rem;
  margin-left: 0 !important;
  gap: 0.7rem !important;
}

.nav-links.cta .nav-btn {
  background: #e5a00d !important;
  color: #ffffff !important;
  border: 1px solid #c4900a;
  border-radius: 10px;
  min-width: 132px;
  text-align: center;
  padding: 0.55rem 1.1rem;
  box-shadow: none;
}

.nav-links.cta .nav-btn.download {
  background: #e5a00d !important;
  color: #ffffff !important;
  border-color: #c4900a;
}

.nav-links.cta .nav-btn:hover {
  background: #c4900a !important;
  color: #ffffff !important;
}

.nav-links.cta .nav-btn.download:hover {
  background: #c4900a !important;
  color: #ffffff !important;
}

.menu-toggle {
  color: #111827 !important;
}

h1,
h2,
h3 {
  color: #111827 !important;
}

/* Base readable text on light background */
section,
.container,
.info-table,
.faq-item {
  color: #2f3542 !important;
}

.container p,
.container li,
.container td,
.container th,
.hero p {
  color: #2f3542 !important;
}

/* Keep text visible on dark cards/blocks */
.feature-card,
.game-card,
.feature-card p,
.feature-card li,
.game-card p,
.game-card li,
#faq details,
#faq details p,
#faq details li,
#faq details ul,
#faq details ol,
#faq details span,
#faq details strong {
  color: #e8edf6 !important;
}

.feature-card h3,
.game-card h3 {
  color: #f4f7ff !important;
}

#faq details h1,
#faq details h2,
#faq details h3,
#faq details h4,
#faq details h5 {
  color: #f4f7ff !important;
}

/* TOC should be a single yellow rectangle */
.toc {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.toc details {
  margin: 0 !important;
}

.toc summary {
  background: #ecc879 !important;
  color: #111827 !important;
  border: 1px solid rgba(17, 24, 39, 0.35) !important;
  border-radius: 24px !important;
  padding: 0.9rem 1rem !important;
  margin-bottom: 0 !important;
}

.toc summary::before {
  color: #111827 !important;
}

.toc ol {
  padding: 1rem 1.2rem 1.1rem 2rem !important;
}

.toc li {
  color: #2f3542 !important;
  margin-bottom: 0.45rem;
}

.toc a {
  color: #111827 !important;
  font-weight: 600;
}

.toc a:hover {
  color: #111827 !important;
  opacity: 0.8;
}

/* Ensure all nav links are visible on gold strip */
.main-nav-ul > li > a,
.main-nav-ul > li:first-child > a,
.menu-item-has-children > a {
  color: #111827 !important;
}

.hero .cta-buttons a[href*="register"],
.hero .cta-buttons a[href*="login"],
.hero .cta-buttons a[href*="download"] {
  background: #e5a00d !important;
  border-color: #c4900a !important;
  color: #ffffff !important;
}

.hero .cta-buttons .btn:hover {
  transform: translateY(-1px);
}

.mobile-nav {
  background: #232730 !important;
}

.mobile-nav a {
  color: #ffffff !important;
}

/* Mobile dropdown – visible background + white text */
.mobile-nav .sub-menu {
  background: #1a1c1e !important;
  border-left: 3px solid #e5a00d !important;
}
.mobile-nav .sub-menu a,
.mobile-nav .sub-menu li a {
  color: #ffffff !important;
}
.mobile-nav .sub-menu a:hover {
  color: #e5a00d !important;
}

.mobile-buttons .btn,
.btn,
.btn-login,
.btn-download,
.btn-register,
#copyGift {
  background: #e5a00d !important;
  border: 1px solid #c4900a !important;
  color: #ffffff !important;
  text-shadow: none;
}

.mobile-buttons .btn:nth-child(2),
.btn-register {
  background: #e5a00d !important;
  border-color: #c4900a !important;
}

.mobile-buttons .btn:nth-child(3),
.btn-download {
  background: #e5a00d !important;
  border-color: #c4900a !important;
}

.btn:hover,
.btn-login:hover,
.btn-download:hover,
.btn-register:hover,
#copyGift:hover,
.mobile-buttons .btn:hover {
  filter: brightness(0.95);
}

@media (max-width: 992px) {
  body {
    padding-top: 74px !important;
  }

  header {
    padding: 0 !important;
  }

  .main-navigation {
    padding: 0.45rem 0.75rem !important;
    min-height: 58px;
    background: #22252c !important;
    border: none;
  }

  .site-logo img {
    display: block !important;
  }

  .menu-toggle {
    color: #ffffff !important;
  }

  .mobile-buttons .btn {
    min-width: 82px;
  }
}

/* Footer Yellow Theme */
footer {
  background: #ecc879 !important;
  color: #111827 !important;
  border-top: 1px solid rgba(17, 24, 39, 0.2) !important;
}

.footer-disclaimer-title,
.footer-disclaimer,
.footer-copyright p {
  color: #111827 !important;
}

.footer-links a {
  color: #111827 !important;
}

.footer-links a:hover {
  color: #0f172a !important;
}

.footer-logo img {
  display: block !important;
  max-height: 58px !important;
  width: auto !important;
}

/* Blog pages: dark theme + gold accent to match BDG Win site */
body.blog-page {
  background: #000000 !important;
  color: #e2e8f0 !important;
}

body.blog-page .blog-footer {
  border-top: 1px solid #2d3748 !important;
  background: #191a1b !important;
  color: #e2e8f0 !important;
}

body.blog-page .blog-footer a,
body.blog-page .back-to-blog {
  color: #e5a00d !important;
}

body.blog-page .back-to-blog:hover {
  color: #c4900a !important;
}

body.blog-page .blog-cta {
  background: #191a1b !important;
  border: 1px solid #e5a00d !important;
}

body.blog-page .blog-cta h3 {
  color: #e5a00d !important;
}

body.blog-page .blog-cta p {
  color: #e2e8f0 !important;
}

/* Headings: gold accent for main title, light for rest */
body.blog-page .blog-header h1 {
  color: #e5a00d !important;
}

body.blog-page .widget-header h3,
body.blog-page .recent-post-title,
body.blog-page .blog-content-body h1,
body.blog-page .blog-content-body h2,
body.blog-page .blog-content-body h3,
body.blog-page .blog-content-body h4,
body.blog-page .blog-content-body h5,
body.blog-page .blog-content-body h6 {
  color: #f8fafc !important;
}

body.blog-page .blog-content-body a {
  color: #e5a00d !important;
}

body.blog-page .blog-content-body a:hover {
  color: #c4900a !important;
}

body.blog-page .blog-meta,
body.blog-page .blog-meta time,
body.blog-page .meta-separator,
body.blog-page .recent-post-date,
body.blog-page .widget-header p,
body.blog-page .sidebar-loading,
body.blog-page .blog-content-body,
body.blog-page .blog-content-body p,
body.blog-page .blog-content-body li,
body.blog-page .blog-content-body span,
body.blog-page .blog-content-body strong,
body.blog-page .blog-content-body em {
  color: #cbd5e1 !important;
}

/* Final global button unification to match register blue */
.btn,
.btn-primary,
.btn-secondary,
.btn-register,
.btn-login,
.btn-download,
.nav-btn,
.mobile-buttons .btn,
#copyGift,
.cta-widget-btn,
.view-all-posts {
  background: #e5a00d !important;
  color: #ffffff !important;
  border-color: #c4900a !important;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-register:hover,
.btn-login:hover,
.btn-download:hover,
.nav-btn:hover,
.mobile-buttons .btn:hover,
#copyGift:hover,
.cta-widget-btn:hover,
.view-all-posts:hover {
  background: #c4900a !important;
  color: #ffffff !important;
  border-color: #002f69 !important;
}

/* Extra-specific white text to beat page-level inline overrides */
body a.btn,
body a.btn-primary,
body a.btn-secondary,
body a.btn-register,
body a.btn-login,
body a.btn-download,
body a.nav-btn,
body .cta-widget-btn,
body .view-all-posts,
body button#copyGift {
  color: #ffffff !important;
}
 
