:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --glow-color: #FFD36B;
  --border-color: #3A2A12;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg-color: #111111;
  --text-main-color: #FFF6D6;
  --background-color: #0A0A0A;
}

.indep-site-header {
  background-color: var(--background-color);
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

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

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

.indep-site-header-button {
  background: var(--button-gradient);
  color: var(--card-bg-color);
  padding: 10px 25px;
  border-radius: 30px;
  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);
  border: 1px solid var(--primary-color);
}

.indep-site-header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

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

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

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

.indep-site-footer a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 5px var(--glow-color);
}

.indep-site-footer .footer-dynamic-row {
  margin-bottom: 20px;
  min-height: 20px; /* Ensure visibility for empty slots */
}

.indep-site-footer .footer-slot-anchor-inner {
  min-height: 10px; /* Ensure slots take up some space */
  width: 100%;
  display: block;
}

.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 0;
}

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

.indep-site-footer .footer-about p {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-main-color);
  margin-top: 10px;
}

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

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

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

.indep-site-footer .indep-footer-grid-mid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 30px;
  min-height: 50px; /* Ensure visibility for empty slots */
}

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

.indep-site-footer .indep-footer-bottom p {
  margin: 0;
  font-size: 0.9em;
  color: var(--text-main-color);
}

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

  .indep-site-footer .indep-footer-grid-mid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

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

  .indep-site-footer .indep-footer-grid-mid {
    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-color: #F2C14E;
      --secondary-color: #FFD36B;
      --glow-color: #FFD36B;
      --border-color: #3A2A12;
      --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
      --card-bg-color: #111111;
      --text-main-color: #FFF6D6;
      --background-color: #0A0A0A;
      --header-offset: 122px; /* Fallback, actual value from shared */
    }

    body {
      background-color: var(--background-color);
      color: var(--text-main-color);
    }

    .page-lucky-8-index h1,
    .page-lucky-8-index h2,
    .page-lucky-8-index h3,
    .page-lucky-8-index h4,
    .page-lucky-8-index h5,
    .page-lucky-8-index h6 {
      color: var(--primary-color);
    }

    .page-lucky-8-index__hero-section {
      position: relative;
      width: 100%;
      overflow: hidden;
      padding-top: 10px; /* Small top padding, body handles --header-offset */
      margin-top: 0;
    }

    .page-lucky-8-index__hero-slide {
      display: none;
      width: 100%;
      position: relative;
    }

    .page-lucky-8-index__hero-slide.is-active {
      display: block;
    }

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

    .page-lucky-8-index__hero-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .page-lucky-8-index__hero-content h1 {
      font-size: clamp(2em, 5vw, 3.5em);
      margin-bottom: 10px;
      font-weight: bold;
      line-height: 1.2;
      letter-spacing: -1px;
    }

    .page-lucky-8-index__hero-content p {
      font-size: 1.1em;
      margin-bottom: 20px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-lucky-8-index__hero-buttons .page-lucky-8-index__button {
      background: var(--button-gradient);
      color: var(--card-bg-color);
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: inline-block;
      margin: 5px;
      border: none;
      cursor: pointer;
    }

    .page-lucky-8-index__hero-buttons .page-lucky-8-index__button:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
    }

    .page-lucky-8-index__banner-thumbs-section {
      max-width: 1200px;
      margin: 20px auto;
      padding: 0 16px;
    }

    .page-lucky-8-index__banner-thumbs-wrapper {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 15px;
    }

    .page-lucky-8-index__thumb-item {
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      border: 1px solid var(--border-color);
    }

    .page-lucky-8-index__thumb-item img {
      width: 100%;
      height: auto;
      aspect-ratio: 4/3;
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease;
    }

    .page-lucky-8-index__thumb-item:hover img {
      transform: scale(1.05);
    }

    .page-lucky-8-index__intro-section,
    .page-lucky-8-index__posts-section,
    .page-lucky-8-index__promo-section,
    .page-lucky-8-index__list-section,
    .page-lucky-8-index__faq-section,
    .page-lucky-8-index__cta-section {
      max-width: 1200px;
      margin: 40px auto;
      padding: 20px 16px;
      background-color: var(--card-bg-color);
      border-radius: 10px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
      border: 1px solid var(--border-color);
    }

    .page-lucky-8-index__section-title {
      text-align: center;
      margin-bottom: 30px;
      font-size: 2.2em;
    }

    .page-lucky-8-index__intro-content p {
      font-size: 1.05em;
      line-height: 1.6;
      text-align: justify;
    }

    .page-lucky-8-index__posts-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .page-lucky-8-index__post-card {
      background-color: #1a1a1a;
      border-radius: 8px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid var(--border-color);
    }

    .page-lucky-8-index__post-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(255, 211, 107, 0.2);
    }

    .page-lucky-8-index__post-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .page-lucky-8-index__post-content {
      padding: 15px;
    }

    .page-lucky-8-index__post-content h3 {
      font-size: 1.2em;
      margin-bottom: 10px;
      line-height: 1.4;
    }

    .page-lucky-8-index__post-content p {
      font-size: 0.9em;
      line-height: 1.5;
      color: #ccc;
    }

    .page-lucky-8-index__promo-content {
      text-align: center;
    }

    .page-lucky-8-index__promo-content img {
      width: 100%;
      max-width: 800px;
      height: auto;
      border-radius: 10px;
      margin-bottom: 20px;
      border: 1px solid var(--border-color);
    }

    .page-lucky-8-index__promo-content h2 {
      margin-bottom: 15px;
    }

    .page-lucky-8-index__promo-content p {
      font-size: 1.1em;
      line-height: 1.6;
      margin-bottom: 25px;
    }

    .page-lucky-8-index__list-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .page-lucky-8-index__list-item {
      background-color: #1a1a1a;
      border-radius: 8px;
      overflow: hidden;
      padding: 20px;
      text-align: center;
      border: 1px solid var(--border-color);
    }

    .page-lucky-8-index__list-item img {
      width: 100%;
      max-width: 250px;
      height: auto;
      aspect-ratio: 1/1;
      object-fit: contain;
      margin: 0 auto 15px auto;
    }

    .page-lucky-8-index__list-item h3 {
      font-size: 1.3em;
      margin-bottom: 10px;
    }

    .page-lucky-8-index__list-item p {
      font-size: 0.95em;
      color: #ccc;
    }

    .page-lucky-8-index__faq-item {
      margin-bottom: 15px;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      overflow: hidden;
      background-color: #1a1a1a;
      box-sizing: border-box;
    }

    .page-lucky-8-index__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #1a1a1a;
      transition: background-color 0.3s ease;
    }

    .page-lucky-8-index__faq-question:hover {
      background-color: #2a2a2a;
    }

    .page-lucky-8-index__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      flex-grow: 1;
      pointer-events: none; /* Allow click on the whole div */
    }

    .page-lucky-8-index__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      margin-left: 15px;
      pointer-events: none; /* Allow click on the whole div */
      transition: transform 0.3s ease;
    }

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

    .page-lucky-8-index__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    }

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

    .page-lucky-8-index__faq-answer p {
      margin: 0;
      line-height: 1.6;
      color: #ccc;
    }

    .page-lucky-8-index__overlay-section {
      min-height: 350px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--text-main-color);
      padding: 20px;
      margin: 40px auto;
      border-radius: 10px;
      overflow: hidden;
      position: relative;
    }

    .page-lucky-8-index__overlay-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .page-lucky-8-index__overlay-mask {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.65);
      z-index: 1;
    }

    .page-lucky-8-index__overlay-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
    }

    .page-lucky-8-index__overlay-content h2 {
      font-size: 2.5em;
      margin-bottom: 15px;
    }

    .page-lucky-8-index__overlay-content p {
      font-size: 1.1em;
      margin-bottom: 30px;
    }

    .page-lucky-8-index__cta-section {
      text-align: center;
      padding: 50px 16px;
    }

    .page-lucky-8-index__cta-section h2 {
      font-size: 2.8em;
      margin-bottom: 20px;
    }

    .page-lucky-8-index__cta-section p {
      font-size: 1.2em;
      margin-bottom: 30px;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.7;
    }

    .page-lucky-8-index__cta-section .page-lucky-8-index__button {
      font-size: 1.3em;
      padding: 15px 35px;
      border-radius: 8px;
    }

    @media (max-width: 768px) {
      .page-lucky-8-index__hero-content h1 {
        font-size: clamp(1.8em, 8vw, 2.5em);
      }

      .page-lucky-8-index__hero-content p {
        font-size: 1em;
      }

      .page-lucky-8-index__banner-thumbs-wrapper {
        grid-template-columns: repeat(2, 1fr);
      }

      .page-lucky-8-index__posts-grid {
        grid-template-columns: 1fr;
      }

      .page-lucky-8-index__list-grid {
        grid-template-columns: 1fr;
      }

      .page-lucky-8-index__section-title {
        font-size: 1.8em;
      }

      .page-lucky-8-index__intro-content p,
      .page-lucky-8-index__promo-content p,
      .page-lucky-8-index__list-item p,
      .page-lucky-8-index__faq-answer p {
        font-size: 0.9em;
      }

      .page-lucky-8-index__overlay-content h2 {
        font-size: 2em;
      }

      .page-lucky-8-index__overlay-content p {
        font-size: 1em;
      }

      .page-lucky-8-index__cta-section h2 {
        font-size: 2.2em;
      }

      .page-lucky-8-index__cta-section p {
        font-size: 1em;
      }

      .page-lucky-8-index__cta-section .page-lucky-8-index__button {
        font-size: 1.1em;
        padding: 12px 25px;
      }

      .page-lucky-8-index__button {
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
      }

      .page-lucky-8-index__hero-buttons {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .page-lucky-8-index img {
        max-width: 100% !important;
        height: auto !important;
      }
      
      .page-lucky-8-index__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-lucky-8-index__faq-question {
        padding: 15px !important;
      }

      .page-lucky-8-index__faq-answer {
        padding: 0 15px !important;
      }

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