:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --background-color: #FFFFFF;
  --button-text-color: #FFFF00;
}

.indep-site-header {
  background-color: var(--primary-color);
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.indep-site-header-brand {
  color: var(--secondary-color);
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}

.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: background-color 0.3s ease;
  color: var(--button-text-color);
}

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

.indep-site-header-button-login:hover {
  background-color: darken(var(--login-button-color), 10%);
}

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

.indep-site-header-button-register:hover {
  background-color: darken(var(--register-button-color), 10%);
}

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

  .indep-site-header-actions {
    gap: 10px;
  }

  .indep-site-header-button {
    padding: 8px 15px;
    font-size: 14px;
  }
}

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --background-color: #FFFFFF;
  --button-text-color: #FFFF00;
}

.indep-site-footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

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

.indep-site-footer a:hover {
  text-decoration: underline;
}

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

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

.indep-site-footer .footer-col h3 {
  color: var(--secondary-color);
  font-size: 18px;
  margin-bottom: 15px;
}

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

.indep-site-footer .indep-site-footer-brand {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
  text-transform: uppercase;
}

.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 a {
  font-size: 14px;
}

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

.indep-site-footer .indep-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
}

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

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

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

  .indep-site-footer .indep-site-footer-grid-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .indep-site-footer .footer-col:nth-child(2),
  .indep-site-footer .footer-col:nth-child(3) {
    grid-column: span 1;
  }

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

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

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

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

  .indep-site-footer .indep-site-footer-grid-row {
    grid-template-columns: repeat(2, 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-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-nohu99-index {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-color);
}

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

.page-nohu99-index__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding-top: 10px; /* Adjusted for shared header offset */
    background-color: var(--primary-color);
}

.page-nohu99-index__hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.page-nohu99-index__hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    padding: 40px 20px 20px;
    color: var(--text-light);
    box-sizing: border-box;
}

.page-nohu99-index__hero-title {
    font-size: clamp(2em, 5vw, 3.5em);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-light);
}

.page-nohu99-index__hero-description {
    font-size: 1.2em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

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

.page-nohu99-index__btn-primary,
.page-nohu99-index__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-nohu99-index__btn-primary {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-color);
}

.page-nohu99-index__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-nohu99-index__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-nohu99-index__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-nohu99-index__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
    font-weight: 700;
}

.page-nohu99-index__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-dark);
}

.page-nohu99-index__about-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.page-nohu99-index__image-gallery {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-nohu99-index__gallery-image {
    width: 100%;
    max-width: 550px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-nohu99-index__games-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-nohu99-index__games-section .page-nohu99-index__section-title {
    color: var(--text-light);
}

.page-nohu99-index__games-section .page-nohu99-index__text-block {
    color: var(--text-light);
}

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

.page-nohu99-index__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-nohu99-index__game-card:hover {
    transform: translateY(-5px);
}

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

.page-nohu99-index__game-title {
    font-size: 1.8em;
    color: var(--register-login-font-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-nohu99-index__game-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-light);
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-nohu99-index__game-card .page-nohu99-index__btn-primary {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-color);
}

.page-nohu99-index__game-card .page-nohu99-index__btn-primary:hover {
    background-color: #a00606;
}

.page-nohu99-index__why-choose-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.page-nohu99-index__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-nohu99-index__feature-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.page-nohu99-index__feature-item:hover {
    transform: translateY(-5px);
}

.page-nohu99-index__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-nohu99-index__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-nohu99-index__faq-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.page-nohu99-index__accordion {
    margin-top: 40px;
}

.page-nohu99-index__faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 10px;
    box-sizing: border-box;
}

.page-nohu99-index__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.page-nohu99-index__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
    pointer-events: none; /* Prevents text from blocking click event */
    flex-grow: 1;
}

.page-nohu99-index__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevents icon from blocking click event */
}

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

.page-nohu99-index__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    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-dark);
}

.page-nohu99-index__faq-item.active .page-nohu99-index__faq-answer {
    max-height: 2000px !important; /* Use !important for priority */
    padding: 20px 15px !important;
    opacity: 1;
}

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

.page-nohu99-index__call-to-action {
    padding: 60px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-nohu99-index__call-to-action .page-nohu99-index__section-title,
.page-nohu99-index__call-to-action .page-nohu99-index__text-block {
    color: var(--text-light);
}

.page-nohu99-index__call-to-action .page-nohu99-index__btn-primary {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-color);
    margin-top: 20px;
}

.page-nohu99-index__call-to-action .page-nohu99-index__btn-primary:hover {
    background-color: #a00606;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-nohu99-index__hero-image {
        height: 500px;
    }

    .page-nohu99-index__hero-title {
        font-size: clamp(1.8em, 4vw, 3em);
    }

    .page-nohu99-index__hero-description {
        font-size: 1.1em;
    }

    .page-nohu99-index__section-title {
        font-size: 2em;
    }

    .page-nohu99-index__gallery-image {
        max-width: 45%;
        height: 300px;
    }

    .page-nohu99-index__game-title {
        font-size: 1.6em;
    }

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

@media (max-width: 768px) {
    .page-nohu99-index__hero-section {
        padding-top: 10px !important;
    }

    .page-nohu99-index__hero-image {
        height: 400px;
    }

    .page-nohu99-index__hero-content {
        padding: 20px 10px;
    }

    .page-nohu99-index__hero-title {
        font-size: clamp(1.5em, 8vw, 2.5em);
    }

    .page-nohu99-index__hero-description {
        font-size: 1em;
        padding: 0 10px;
    }

    .page-nohu99-index__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-nohu99-index__btn-primary,
    .page-nohu99-index__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-nohu99-index__container {
        padding: 15px;
    }

    .page-nohu99-index__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-nohu99-index__text-block {
        font-size: 0.95em;
        padding: 0 5px;
    }

    .page-nohu99-index__gallery-image {
        max-width: 100%;
        height: 250px;
    }

    .page-nohu99-index__game-grid {
        grid-template-columns: 1fr;
    }

    .page-nohu99-index__game-card {
        margin: 0 10px;
    }

    .page-nohu99-index__game-image {
        height: 180px;
    }

    .page-nohu99-index__feature-list {
        grid-template-columns: 1fr;
        margin: 20px 10px 0;
    }

    .page-nohu99-index__faq-question h3 {
        font-size: 1.1em;
    }

    .page-nohu99-index__faq-answer {
        padding: 0 10px;
    }

    .page-nohu99-index__faq-item.active .page-nohu99-index__faq-answer {
        padding: 15px 10px !important;
    }

    /* Ensure all images are responsive */
    .page-nohu99-index img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-nohu99-index__about-section,
    .page-nohu99-index__games-section,
    .page-nohu99-index__why-choose-section,
    .page-nohu99-index__faq-section,
    .page-nohu99-index__call-to-action {
        padding: 30px 0;
    }

    .page-nohu99-index__cta-buttons,
    .page-nohu99-index__button-group,
    .page-nohu99-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-nohu99-index__faq-item {
        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;
    }
    .page-nohu99-index__accordion {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}