:root {
  --primary: #113B7A;
  --secondary: #1D5FD1;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --border: #244D84;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --divider: #1B3357;
  --deep-navy: #08162B;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
}

.indep-site-header {
  background-color: var(--deep-navy);
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.indep-site-header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.indep-site-header-brand {
  color: var(--gold);
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 0 8px var(--glow);
}

.indep-site-header-button {
  background: var(--button-gradient);
  color: var(--text-main);
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  box-shadow: 0 0 10px rgba(79, 168, 255, 0.3);
}

.indep-site-header-button:hover {
  box-shadow: 0 0 15px var(--glow);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .indep-site-header-brand {
    font-size: 24px;
  }
  .indep-site-header-button {
    padding: 8px 18px;
    font-size: 14px;
  }
}

.indep-site-footer {
  background-color: var(--deep-navy);
  color: var(--text-secondary);
  padding: 40px 20px 20px;
  border-top: 1px solid var(--border);
}

.indep-site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.indep-site-footer a:hover {
  color: var(--glow);
}

.indep-footer-brand {
  color: var(--gold);
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 15px;
  display: block;
  text-shadow: 0 0 8px var(--glow);
}

.indep-footer-cols-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.indep-site-footer .footer-col h4 {
  color: var(--text-main);
  font-size: 18px;
  margin-bottom: 20px;
}

.indep-site-footer .footer-col p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.indep-site-footer .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.indep-site-footer .footer-nav li {
  margin-bottom: 10px;
}

.indep-site-footer .footer-nav li:last-child {
  margin-bottom: 0;
}

.indep-site-footer .footer-dynamic-row {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--divider);
}

.indep-site-footer .footer-dynamic-row:last-of-type {
  border-bottom: none;
}

.indep-site-footer .footer-dynamic-row-top {
  border-bottom: 1px solid var(--divider);
  margin-bottom: 30px;
}

.indep-site-footer .indep-footer-grid-mid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto 40px;
}

.indep-site-footer .indep-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  margin-top: 30px;
  color: var(--text-secondary);
  font-size: 14px;
}

.indep-site-footer .footer-slot-anchor-inner {
  min-height: 20px; /* Ensure visibility for layout */
  width: 100%;
}

@media (max-width: 992px) {
  .indep-footer-cols-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .indep-site-footer .indep-footer-grid-mid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .indep-footer-cols-wrapper {
    grid-template-columns: 1fr;
  }
  .indep-site-footer .indep-footer-grid-mid {
    grid-template-columns: 1fr;
  }
  .indep-site-footer .footer-col {
    text-align: center;
  }
  .indep-footer-brand {
    margin-left: auto;
    margin-right: auto;
  }
  .indep-site-footer .footer-nav {
    text-align: center;
  }
}

.indep-position-nav{width:100%;box-sizing:border-box;padding:10px 16px;font-size:14px;line-height:1.5;background:#f6f7f9;color:#606266}
.indep-position-nav ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0}
.indep-position-nav li{display:flex;align-items:center;gap:6px}
.indep-position-nav li+li::before{content:">";color:#909399}
.indep-position-nav a{color:#409eff;text-decoration:none}
.indep-position-nav [aria-current="page"]{color:#303133}
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --border-color: #244D84;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg-color: #10233F;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
}

.page-topgamebai-index {
  font-family: Arial, sans-serif;
  color: var(--text-main-color);
  background-color: var(--deep-navy-color);
  line-height: 1.6;
}

.page-topgamebai-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-topgamebai-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles main offset */
  background-color: var(--deep-navy-color);
  position: relative;
  overflow: hidden;
}

.page-topgamebai-index__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-topgamebai-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures image covers area, might crop sides */
  min-height: 300px;
  filter: brightness(0.7);
}

.page-topgamebai-index__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.4);
  margin-top: -100px; /* Overlap with image for visual effect */
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-topgamebai-index__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-topgamebai-index__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-topgamebai-index__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-topgamebai-index__text-block {
  font-size: 1.05em;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-topgamebai-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-topgamebai-index__btn-primary,
.page-topgamebai-index__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-topgamebai-index__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid var(--glow-color);
}

.page-topgamebai-index__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(79, 168, 255, 0.5);
}

.page-topgamebai-index__btn-secondary {
  background: none;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-topgamebai-index__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(79, 168, 255, 0.1);
  box-shadow: 0 6px 20px rgba(79, 168, 255, 0.3);
}

.page-topgamebai-index__about-section,
.page-topgamebai-index__features-section,
.page-topgamebai-index__games-section,
.page-topgamebai-index__promotions-section,
.page-topgamebai-index__faq-section,
.page-topgamebai-index__contact-section {
  padding: 60px 0;
  background-color: var(--deep-navy-color);
  border-top: 1px solid var(--divider-color);
}

.page-topgamebai-index__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-topgamebai-index__feature-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-topgamebai-index__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(79, 168, 255, 0.3);
}

.page-topgamebai-index__feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-topgamebai-index__feature-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-topgamebai-index__feature-description {
  font-size: 0.95em;
  color: var(--text-secondary-color);
}

.page-topgamebai-index__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-topgamebai-index__game-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-bottom: 20px;
}

.page-topgamebai-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(79, 168, 255, 0.3);
}

.page-topgamebai-index__game-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-topgamebai-index__game-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-topgamebai-index__game-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 1px solid var(--glow-color);
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-topgamebai-index__game-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(79, 168, 255, 0.4);
}

.page-topgamebai-index__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-topgamebai-index__promotion-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding-bottom: 20px;
}

.page-topgamebai-index__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(79, 168, 255, 0.3);
}

.page-topgamebai-index__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-topgamebai-index__promotion-title {
  font-size: 1.6em;
  color: var(--gold-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-topgamebai-index__promotion-description {
  font-size: 0.95em;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-topgamebai-index__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-topgamebai-index__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-topgamebai-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  background-color: var(--primary-color);
  color: var(--text-main-color);
  font-weight: bold;
  font-size: 1.15em;
  transition: background-color 0.3s ease;
}

.page-topgamebai-index__faq-question:hover {
  background-color: var(--secondary-color);
}

.page-topgamebai-index__faq-qtext {
  pointer-events: none; /* Prevent text from blocking click */
  flex-grow: 1;
}

.page-topgamebai-index__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click */
  transition: transform 0.3s ease;
}

.page-topgamebai-index__faq-item.active .page-topgamebai-index__faq-toggle {
  transform: rotate(45deg);
}

.page-topgamebai-index__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  color: var(--text-secondary-color);
  background-color: var(--card-bg-color);
}

.page-topgamebai-index__faq-item.active .page-topgamebai-index__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-topgamebai-index__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
}

.page-topgamebai-index__contact-section .page-topgamebai-index__btn-primary {
  margin-top: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-topgamebai-index__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-topgamebai-index__hero-title {
    font-size: 3em;
  }

  .page-topgamebai-index__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-topgamebai-index__container {
    padding: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-topgamebai-index__hero-section {
    padding-top: 10px !important;
  }

  .page-topgamebai-index__hero-image-wrapper {
    max-height: 400px;
  }

  .page-topgamebai-index__hero-image {
    object-fit: contain; /* Changed to contain for mobile */
    height: auto;
    aspect-ratio: unset;
    max-height: none;
  }

  .page-topgamebai-index__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-topgamebai-index__hero-title {
    font-size: 2.5em;
  }

  .page-topgamebai-index__hero-description {
    font-size: 1em;
  }

  .page-topgamebai-index__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-topgamebai-index__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-topgamebai-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-topgamebai-index__btn-primary,
  .page-topgamebai-index__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
  }

  .page-topgamebai-index__features-grid,
  .page-topgamebai-index__game-grid,
  .page-topgamebai-index__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-topgamebai-index__feature-icon {
    width: 100px;
    height: 100px;
  }

  .page-topgamebai-index__feature-title {
    font-size: 1.3em;
  }

  .page-topgamebai-index__game-thumbnail {
    height: auto;
    aspect-ratio: 1/1;
  }

  .page-topgamebai-index__game-title {
    font-size: 1.2em;
  }

  .page-topgamebai-index__game-button {
    padding: 8px 20px;
    font-size: 0.95em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-topgamebai-index__promotion-image {
    height: 180px;
  }

  .page-topgamebai-index__promotion-title {
    font-size: 1.4em;
  }

  .page-topgamebai-index__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-topgamebai-index__faq-answer {
    padding: 15px 20px !important;
  }

  .page-topgamebai-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-topgamebai-index__features-section,
  .page-topgamebai-index__games-section,
  .page-topgamebai-index__promotions-section,
  .page-topgamebai-index__faq-section,
  .page-topgamebai-index__contact-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-topgamebai-index__hero-title {
    font-size: 2em;
  }

  .page-topgamebai-index__hero-content {
    margin-top: -40px;
  }

  .page-topgamebai-index__section-title {
    font-size: 1.6em;
  }

  .page-topgamebai-index__feature-icon {
    width: 80px;
    height: 80px;
  }
}