: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;
}

.indep-site-header {
  background-color: var(--primary-color);
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-color);
}

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

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

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

.indep-site-header-button {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 1em;
}

.indep-site-header-button {
  background-color: var(--secondary-color);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

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

.indep-site-header-button-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.indep-site-header-button-primary:hover {
  background: linear-gradient(180deg, #3C84FF 0%, #1555C6 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--glow-color);
}

@media (max-width: 768px) {
  .indep-site-header-container {
    flex-direction: column;
    gap: 15px;
  }
  .indep-site-header-brand {
    font-size: 2em;
  }
  .indep-site-header-actions {
    width: 100%;
    justify-content: center;
  }
  .indep-site-header-button {
    flex-grow: 1;
    text-align: center;
  }
}

: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;
}

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

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

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

.indep-site-footer .footer-dynamic-row {
  margin-bottom: 20px;
}

.indep-site-footer .footer-slot-anchor-inner {
  min-height: 10px; /* Ensure visibility for layout */
  background-color: transparent; /* Keep background transparent */
}

.indep-site-footer .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 {
  padding: 10px;
}

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

.indep-site-footer .footer-about p {
  font-size: 0.95em;
  line-height: 1.6;
  margin-top: 10px;
}

.indep-site-footer .indep-footer-col-title {
  font-size: 1.3em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  position: relative;
}

.indep-site-footer .indep-footer-col-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--gold-color);
  margin-top: 8px;
  border-radius: 2px;
}

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

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

.indep-site-footer .footer-nav a {
  font-size: 0.95em;
  display: block;
}

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

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

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

@media (max-width: 768px) {
  .indep-site-footer .indep-footer-cols-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .indep-site-footer .indep-footer-mid-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .indep-site-footer .footer-about {
    text-align: center;
  }
  .indep-site-footer .indep-footer-col-title {
    text-align: center;
  }
  .indep-site-footer .indep-footer-col-title::after {
    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: #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-hm88-index {
    background-color: var(--deep-navy);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
}

.page-hm88-index__hero-section {
    position: relative;
    padding-top: 10px;
    text-align: center;
    overflow: hidden;
}

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

.page-hm88-index__hero-content {
    position: relative;
    padding: 40px 15px;
    z-index: 1;
    background-color: rgba(8, 22, 43, 0.8);
}

.page-hm88-index__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-hm88-index__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

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

.page-hm88-index__btn-primary,
.page-hm88-index__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-hm88-index__btn-primary {
    background: var(--button);
    color: var(--text-main);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-hm88-index__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-hm88-index__btn-secondary {
    background-color: transparent;
    color: var(--glow);
    border: 2px solid var(--glow);
    box-shadow: 0 4px 15px rgba(79, 168, 255, 0.2);
}

.page-hm88-index__btn-secondary:hover {
    background-color: var(--glow);
    color: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 168, 255, 0.4);
}

.page-hm88-index__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

.page-hm88-index__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-hm88-index__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--glow);
    border-radius: 2px;
}

.page-hm88-index__about-section {
    padding: 60px 0;
    background-color: var(--deep-navy);
}

.page-hm88-index__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-hm88-index__text-content {
    flex: 1;
}

.page-hm88-index__text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-hm88-index__image-content {
    flex: 1;
    text-align: center;
}

.page-hm88-index__image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.page-hm88-index__features-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.page-hm88-index__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-hm88-index__feature-card {
    background-color: var(--deep-navy);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hm88-index__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow);
}

.page-hm88-index__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-hm88-index__card-title {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-hm88-index__games-section {
    padding: 60px 0;
    background-color: var(--deep-navy);
}

.page-hm88-index__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-hm88-index__game-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hm88-index__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow);
}

.page-hm88-index__game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-hm88-index__game-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-hm88-index__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

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

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

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

.page-hm88-index__faq-question h3 {
    margin: 0;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: var(--text-main);
}

.page-hm88-index__faq-question:hover {
    background-color: #1a4a90;
}

.page-hm88-index__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    pointer-events: none; /* Prevent toggle from blocking click event */
    transition: transform 0.3s ease;
}

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

.page-hm88-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);
}

.page-hm88-index__faq-item.active .page-hm88-index__faq-answer {
    max-height: 2000px !important; /* Sufficiently large value */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-hm88-index__faq-answer p {
    margin: 0;
    line-height: 1.6;
}

.page-hm88-index__cta-bottom-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
}

.page-hm88-index__cta-bottom-section .page-hm88-index__section-title {
    color: var(--text-main);
}

.page-hm88-index__cta-bottom-section .page-hm88-index__section-title::after {
    background-color: var(--gold);
}

.page-hm88-index__cta-description {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-hm88-index__hero-content {
        padding: 30px 15px;
    }

    .page-hm88-index__main-title {
        font-size: 2.8rem;
    }

    .page-hm88-index__subtitle {
        font-size: 1.1rem;
    }

    .page-hm88-index__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-hm88-index__image-content {
        margin-top: 30px;
    }

    .page-hm88-index__features-grid,
    .page-hm88-index__game-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hm88-index img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-hm88-index__section,
    .page-hm88-index__card,
    .page-hm88-index__container,
    .page-hm88-index__about-section,
    .page-hm88-index__features-section,
    .page-hm88-index__games-section,
    .page-hm88-index__faq-section,
    .page-hm88-index__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-hm88-index__hero-section {
        padding-top: 10px; /* Reduced from var(--header-offset) */
    }

    .page-hm88-index__main-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .page-hm88-index__subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-hm88-index__btn-primary,
    .page-hm88-index__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-hm88-index__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-hm88-index__section-title::after {
        width: 60px;
    }

    .page-hm88-index__about-section,
    .page-hm88-index__features-section,
    .page-hm88-index__games-section,
    .page-hm88-index__faq-section,
    .page-hm88-index__cta-bottom-section {
        padding: 40px 0;
    }

    .page-hm88-index__features-grid,
    .page-hm88-index__game-categories {
        grid-template-columns: 1fr;
    }

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

    .page-hm88-index__faq-answer {
        padding: 15px 20px;
    }

    .page-hm88-index__faq-answer p {
        font-size: 0.95rem;
    }

    .page-hm88-index__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .page-hm88-index__faq-item li {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-hm88-index__faq-list {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .page-hm88-index__main-title {
        font-size: 1.8rem;
    }

    .page-hm88-index__section-title {
        font-size: 1.6rem;
    }

    .page-hm88-index__card-title {
        font-size: 1.2rem;
    }
}