: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 20px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

.indep-site-header-actions {
  display: flex;
  gap: 15px;
}

.indep-site-header-button {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  color: var(--text-main);
  background-color: var(--primary);
}

.indep-site-header-button:hover {
  background-color: var(--secondary);
  box-shadow: 0 0 10px var(--glow);
}

.indep-site-header-button-primary {
  background: var(--button-gradient);
  border-color: var(--glow);
  color: var(--text-main);
}

.indep-site-header-button-primary:hover {
  box-shadow: 0 0 15px var(--glow);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .indep-site-header-content {
    flex-direction: column;
    gap: 15px;
  }

  .indep-site-header-brand {
    font-size: 24px;
  }

  .indep-site-header-actions {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .indep-site-header-button {
    flex: 1;
    text-align: center;
    padding: 8px 15px;
    font-size: 14px;
  }
}

: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-footer {
  background-color: var(--deep-navy);
  color: var(--text-secondary);
  padding: 30px 20px 15px;
  border-top: 1px solid var(--border);
  font-family: Arial, sans-serif;
}

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

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

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

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

.indep-site-footer .footer-col h3 {
  color: var(--text-main);
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 8px;
}

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

.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-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

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

.indep-site-footer-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 10px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.indep-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  color: var(--text-secondary);
  font-size: 13px;
  max-width: 1200px;
  margin: 0 auto;
}

.indep-footer-bottom p {
  margin: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .indep-site-footer-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .indep-site-footer-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .indep-site-footer .footer-col.footer-about {
    text-align: center;
  }

  .indep-site-footer .footer-col h3 {
    text-align: center;
  }

  .indep-site-footer .footer-nav {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .indep-site-footer-grid-row {
    grid-template-columns: 1fr;
  }
}

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

.page-zm88-index {
  color: #333333; /* Default text color for light body background */
  background-color: #f9f9f9;
}

.page-zm88-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 40px;
  background-color: var(--deep-navy);
  color: var(--text-main);
  text-align: center;
  gap: 30px;
}

.page-zm88-index__hero-content {
  max-width: 900px;
  margin-bottom: 20px;
}

.page-zm88-index__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-zm88-index__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-zm88-index__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-zm88-index__btn-primary,
.page-zm88-index__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-zm88-index__btn-primary {
  background: var(--button);
  color: #ffffff;
  border: 2px solid var(--primary);
}

.page-zm88-index__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-zm88-index__btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.page-zm88-index__btn-secondary:hover {
  background: var(--gold);
  color: var(--deep-navy);
  transform: translateY(-2px);
}

.page-zm88-index__hero-image-container {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-zm88-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-zm88-index__features-section {
  padding: 60px 20px;
  background-color: var(--deep-navy);
  color: var(--text-main);
  text-align: center;
}

.page-zm88-index__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 40px;
}

.page-zm88-index__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-zm88-index__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-zm88-index__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-zm88-index__feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--glow);
  margin-bottom: 10px;
}

.page-zm88-index__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-zm88-index__game-showcase {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.page-zm88-index__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-zm88-index__game-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-zm88-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-zm88-index__game-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-zm88-index__game-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-zm88-index__game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 20px;
}

.page-zm88-index__btn-small {
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  background: var(--secondary);
  color: #ffffff;
  border: none;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-zm88-index__btn-small:hover {
  background: #1144A6;
}

.page-zm88-index__about-us-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.page-zm88-index__about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-zm88-index__about-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-zm88-index__text-block {
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  color: #444444;
}

.page-zm88-index__text-block p {
  margin-bottom: 15px;
}

.page-zm88-index__text-block .page-zm88-index__btn-primary {
  margin-top: 20px;
  display: inline-block;
}

.page-zm88-index__faq-section {
  padding: 60px 20px;
  background-color: #f0f5fa;
}

.page-zm88-index__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-zm88-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-zm88-index__faq-item summary.page-zm88-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-zm88-index__faq-item summary.page-zm88-index__faq-question::-webkit-details-marker {
  display: none;
}
details.page-zm88-index__faq-item summary.page-zm88-index__faq-question:hover {
  background: #f5f5f5;
}
.page-zm88-index__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary);
  text-align: left;
}
.page-zm88-index__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-zm88-index__faq-item .page-zm88-index__faq-answer {
  padding: 0 25px 20px;
  background: #f9fcff;
  border-radius: 0 0 8px 8px;
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive styles */
@media (min-width: 1024px) {
  .page-zm88-index__hero-section {
    flex-direction: row;
    padding-top: 10px; /* Rely on body padding for header offset */
    padding-bottom: 60px;
    text-align: left;
  }
  .page-zm88-index__hero-content {
    margin-bottom: 0;
    margin-right: 40px;
  }
  .page-zm88-index__main-title {
    font-size: 3.8rem;
  }
  .page-zm88-index__cta-buttons {
    justify-content: flex-start;
  }
  .page-zm88-index__about-content {
    flex-direction: row;
    gap: 60px;
  }
  .page-zm88-index__about-image {
    order: 2;
  }
  .page-zm88-index__text-block {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-zm88-index__hero-section {
    padding: 10px 15px 30px;
  }
  .page-zm88-index__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-zm88-index__description {
    font-size: 0.95rem;
  }
  .page-zm88-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-zm88-index__btn-primary,
  .page-zm88-index__btn-secondary,
  .page-zm88-index__btn-small,
  .page-zm88-index a[class*="button"],
  .page-zm88-index a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-zm88-index__cta-buttons,
  .page-zm88-index__button-group,
  .page-zm88-index__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-zm88-index__features-section,
  .page-zm88-index__game-showcase,
  .page-zm88-index__about-us-section,
  .page-zm88-index__faq-section {
    padding: 40px 15px;
  }
  .page-zm88-index__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-zm88-index__feature-card,
  .page-zm88-index__game-card {
    padding: 20px;
  }
  .page-zm88-index__feature-icon {
    max-width: 150px;
  }
  .page-zm88-index__feature-title {
    font-size: 1.4rem;
  }
  .page-zm88-index__game-name {
    font-size: 1.3rem;
  }
  .page-zm88-index__about-content {
    flex-direction: column;
  }
  .page-zm88-index__text-block {
    font-size: 0.95rem;
  }
  details.page-zm88-index__faq-item summary.page-zm88-index__faq-question {
    padding: 15px 20px;
  }
  .page-zm88-index__faq-qtext {
    font-size: 1rem;
  }
  .page-zm88-index__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-zm88-index__faq-item .page-zm88-index__faq-answer {
    padding: 0 20px 15px;
  }
  .page-zm88-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-zm88-index__section,
  .page-zm88-index__card,
  .page-zm88-index__container,
  .page-zm88-index__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-zm88-index ul,
  .page-zm88-index ol {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-zm88-index li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
}