:root {
  --he88-primary: #11A84E;
  --he88-secondary: #22C768;
  --he88-glow: #57E38D;
  --he88-gold: #F2C14E;
  --he88-border: #2E7A4E;
  --he88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --he88-card-bg: #11271B;
  --he88-divider: #1E3A2A;
  --he88-text-main: #F2FFF6;
  --he88-background: #08160F;
  --he88-deep-green: #0A4B2C;
  --he88-text-secondary: #A7D9B8;
}

.indep-site-header {
  background-color: var(--he88-background);
  padding: 15px 20px;
  border-bottom: 1px solid var(--he88-divider);
  color: var(--he88-text-main);
}

.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(--he88-gold);
  text-decoration: none;
  text-transform: uppercase;
  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(--he88-border);
  color: var(--he88-text-main);
  background-color: var(--he88-deep-green);
}

.indep-site-header-button:hover {
  background-color: var(--he88-primary);
  border-color: var(--he88-secondary);
  color: var(--he88-gold);
}

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

.indep-site-header-button-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  color: var(--he88-text-main);
}

@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;
  }
  .indep-site-header-button {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
  }
}

:root {
  --he88-primary: #11A84E;
  --he88-secondary: #22C768;
  --he88-glow: #57E38D;
  --he88-gold: #F2C14E;
  --he88-border: #2E7A4E;
  --he88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --he88-card-bg: #11271B;
  --he88-divider: #1E3A2A;
  --he88-text-main: #F2FFF6;
  --he88-background: #08160F;
  --he88-deep-green: #0A4B2C;
  --he88-text-secondary: #A7D9B8;
}

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

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

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

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

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

.indep-site-footer-brand {
  font-size: 28px;
  font-weight: bold;
  color: var(--he88-gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

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

.footer-col h3 {
  font-size: 18px;
  color: var(--he88-text-main);
  margin-bottom: 15px;
}

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

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

.footer-nav a {
  display: block;
  padding: 2px 0;
  transition: color 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
  .indep-site-footer-cols {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }
  .indep-site-footer-grid-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .indep-site-footer-brand {
    text-align: center;
    font-size: 24px;
  }
  .footer-col p {
    text-align: center;
  }
  .footer-col h3 {
    text-align: center;
  }
  .footer-nav {
    text-align: center;
  }
}

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

.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: #11A84E;
            --secondary: #22C768;
            --glow: #57E38D;
            --gold: #F2C14E;
            --border: #2E7A4E;
            --button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
            --card-bg: #11271B;
            --divider: #1E3A2A;
            --text-main: #F2FFF6;
            --background: #08160F;
            --deep-green: #0A4B2C;
            --text-secondary: #A7D9B8;
            --header-offset: 122px; /* Placeholder, will be overridden by shared.css */
        }

        body {
            font-family: 'Arial', sans-serif;
            background-color: var(--background);
            color: var(--text-main);
            line-height: 1.6;
            margin: 0;
            padding-top: var(--header-offset); /* Shared component handles this */
        }

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

        .page-he88-index__hero-section {
            background: var(--background);
            padding-top: 10px; /* Small decorative top padding */
            padding-bottom: 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .page-he88-index__hero-image-wrapper {
            width: 100%;
            max-width: 100%;
            overflow: hidden;
            margin-bottom: 40px;
        }

        .page-he88-index__hero-image {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
        }

        .page-he88-index__hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .page-he88-index__main-title {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            color: var(--gold);
            margin-bottom: 20px;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.05em;
        }

        .page-he88-index__description {
            font-size: 1.15rem;
            color: var(--text-secondary);
            margin-bottom: 30px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .page-he88-index__cta-button {
            display: inline-block;
            background: var(--button);
            color: var(--text-main);
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: none;
            cursor: pointer;
        }

        .page-he88-index__cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
            background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
        }

        .page-he88-index__features-section {
            background-color: var(--card-bg);
            padding: 80px 0;
            border-top: 1px solid var(--divider);
        }

        .page-he88-index__section-title {
            text-align: center;
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--primary);
            margin-bottom: 60px;
            font-weight: 700;
        }

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

        .page-he88-index__feature-card {
            background-color: var(--deep-green);
            padding: 30px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border);
            height: 100%;
            box-sizing: border-box;
        }

        .page-he88-index__feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        }

        .page-he88-index__feature-icon {
            width: 80px;
            height: 80px;
            margin-bottom: 20px;
            display: block;
            margin-left: auto;
            margin-right: auto;
            border-radius: 50%;
            object-fit: cover;
        }

        .page-he88-index__feature-title {
            font-size: 1.8rem;
            color: var(--gold);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .page-he88-index__feature-description {
            font-size: 1rem;
            color: var(--text-secondary);
        }

        .page-he88-index__games-section {
            padding: 80px 0;
            background-color: var(--background);
        }

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

        .page-he88-index__game-card {
            background-color: var(--card-bg);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border);
            height: 100%;
            box-sizing: border-box;
        }

        .page-he88-index__game-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }

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

        .page-he88-index__game-content {
            padding: 20px;
            text-align: center;
        }

        .page-he88-index__game-title {
            font-size: 1.5rem;
            color: var(--gold);
            margin-bottom: 10px;
            font-weight: 600;
        }

        .page-he88-index__game-description {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin-bottom: 20px;
        }

        .page-he88-index__game-button {
            display: inline-block;
            background: var(--button);
            color: var(--text-main);
            padding: 10px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .page-he88-index__game-button:hover {
            background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
            transform: translateY(-2px);
        }

        .page-he88-index__about-section {
            background-color: var(--deep-green);
            padding: 80px 0;
            border-top: 1px solid var(--divider);
            border-bottom: 1px solid var(--divider);
        }

        .page-he88-index__about-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
            align-items: center;
            text-align: center;
        }

        .page-he88-index__about-text {
            max-width: 800px;
        }

        .page-he88-index__about-text p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 20px;
        }

        .page-he88-index__about-image {
            width: 100%;
            max-width: 600px;
            height: auto;
            border-radius: 12px;
            object-fit: cover;
        }

        .page-he88-index__faq-section {
            padding: 80px 0;
            background-color: var(--background);
        }

        .page-he88-index__faq-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 900px;
            margin: 0 auto;
        }

        .page-he88-index__faq-item {
            background-color: var(--card-bg);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border);
        }

        .page-he88-index__faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 25px;
            cursor: pointer;
            user-select: none;
            background-color: var(--deep-green);
            transition: background-color 0.3s ease;
        }

        .page-he88-index__faq-question:hover {
            background-color: var(--primary);
        }

        .page-he88-index__faq-question h3 {
            margin: 0;
            font-size: 1.25rem;
            color: var(--gold);
            font-weight: 600;
            pointer-events: none;
        }

        .page-he88-index__faq-toggle {
            font-size: 1.8rem;
            color: var(--gold);
            font-weight: bold;
            margin-left: 15px;
            transition: transform 0.3s ease;
            pointer-events: none;
        }

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

        .page-he88-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);
            font-size: 1rem;
            text-align: left;
        }

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

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .page-he88-index__main-title {
                font-size: clamp(2rem, 4.5vw, 3rem);
            }

            .page-he88-index__description {
                font-size: 1.1rem;
            }

            .page-he88-index__feature-title {
                font-size: 1.6rem;
            }

            .page-he88-index__game-title {
                font-size: 1.3rem;
            }
        }

        @media (max-width: 768px) {
            .page-he88-index__hero-section {
                padding-bottom: 40px;
            }

            .page-he88-index__main-title {
                font-size: clamp(1.8rem, 7vw, 2.5rem);
            }

            .page-he88-index__description {
                font-size: 1rem;
            }

            .page-he88-index__cta-button {
                padding: 12px 25px;
                font-size: 1rem;
            }

            .page-he88-index__features-section,
            .page-he88-index__games-section,
            .page-he88-index__about-section,
            .page-he88-index__faq-section {
                padding: 50px 0;
            }

            .page-he88-index__section-title {
                font-size: clamp(1.8rem, 6vw, 2.5rem);
                margin-bottom: 40px;
            }

            .page-he88-index__features-grid {
                grid-template-columns: 1fr;
            }

            .page-he88-index__feature-card {
                padding: 25px;
            }

            .page-he88-index__feature-icon {
                width: 70px;
                height: 70px;
            }

            .page-he88-index__feature-title {
                font-size: 1.5rem;
            }

            .page-he88-index__games-grid {
                grid-template-columns: 1fr;
            }

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

            .page-he88-index__game-content {
                padding: 15px;
            }

            .page-he88-index__game-title {
                font-size: 1.3rem;
            }

            .page-he88-index__game-button {
                padding: 8px 18px;
                font-size: 0.9rem;
            }

            .page-he88-index__about-content {
                flex-direction: column;
            }

            .page-he88-index__about-text p {
                font-size: 1rem;
            }

            .page-he88-index__about-image {
                max-width: 100%;
            }

            .page-he88-index__faq-question {
                padding: 15px 20px;
            }

            .page-he88-index__faq-question h3 {
                font-size: 1.1rem;
            }

            .page-he88-index__faq-toggle {
                font-size: 1.5rem;
            }

            .page-he88-index__faq-answer {
                padding: 0 20px;
                font-size: 0.95rem;
            }

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

            .page-he88-index__container {
                padding: 0 10px;
            }

            .page-he88-index__hero-image-wrapper img,
            .page-he88-index__features-grid img,
            .page-he88-index__games-grid img,
            .page-he88-index__about-image {
                max-width: 100% !important;
                height: auto !important;
                box-sizing: border-box !important;
            }

            .page-he88-index__faq-list > * {
                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-he88-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;
            }
        }