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

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

.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(--ev77-primary);
  text-decoration: none;
  text-shadow: 0 0 8px var(--ev77-glow);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.indep-site-header-brand:hover {
  color: var(--ev77-secondary);
  text-shadow: 0 0 12px var(--ev77-glow);
}

.indep-site-header-button {
  background: var(--ev77-button);
  color: var(--ev77-card-bg);
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

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

  .indep-site-header-button {
    padding: 8px 18px;
    font-size: 1em;
  }
}

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

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

.indep-site-footer-brand {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--ev77-primary);
  text-decoration: none;
  text-shadow: 0 0 6px var(--ev77-glow);
  display: block;
  margin-bottom: 15px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.indep-site-footer-brand:hover {
  color: var(--ev77-secondary);
  text-shadow: 0 0 10px var(--ev77-glow);
}

.indep-site-footer p {
  line-height: 1.6;
  color: var(--ev77-text-main);
}

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

.indep-site-footer a:hover {
  color: var(--ev77-primary);
  text-decoration: underline;
}

.indep-site-footer .footer-dynamic-row {
  max-width: 1200px;
  margin: 0 auto 20px;
  min-height: 20px; /* Ensure visibility of empty slots */
}

.indep-site-footer .footer-slot-anchor-inner {
  min-height: 10px;
  display: block;
}

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

.indep-site-footer .footer-col h3 {
  font-size: 1.3em;
  color: var(--ev77-primary);
  margin-bottom: 15px;
}

.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 {
  color: var(--ev77-text-main);
  font-size: 0.95em;
}

.indep-site-footer .footer-nav a:hover {
  color: var(--ev77-secondary);
  text-decoration: underline;
}

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

.indep-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--ev77-border);
  margin-top: 30px;
  color: var(--ev77-text-main);
  font-size: 0.85em;
}

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

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

@media (max-width: 768px) {
  .indep-site-footer-cols {
    grid-template-columns: 1fr;
  }
  .indep-site-footer-grid-mid {
    grid-template-columns: 1fr;
  }
  .indep-site-footer-brand {
    font-size: 2em;
    text-align: center;
  }
  .indep-site-footer .footer-col p {
    text-align: center;
  }
  .indep-site-footer .footer-nav {
    text-align: center;
  }
  .indep-site-footer .footer-col.footer-dynamic-col {
    min-height: 50px;
  }
  .indep-site-footer .footer-slot-anchor-inner {
    min-height: 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-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; /* Default for pages without shared.css */
    }

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

    .page-ev77-index {
      color: var(--text-main-color);
      background-color: var(--background-color);
    }

    .page-ev77-index h1,
    .page-ev77-index h2,
    .page-ev77-index h3,
    .page-ev77-index h4,
    .page-ev77-index h5,
    .page-ev77-index h6 {
      color: var(--primary-color);
      font-weight: 700;
      line-height: 1.2;
    }

    .page-ev77-index__hero-section {
      padding-top: 10px;
      margin-top: 0;
      width: 100%;
      overflow: hidden;
      position: relative;
      background-color: var(--card-bg-color);
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .page-ev77-index__hero-image-wrapper {
      width: 100%;
      max-width: 1920px;
      margin-bottom: 20px;
    }

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

    .page-ev77-index__hero-content {
      max-width: 900px;
      text-align: center;
      padding: 0 20px 40px;
    }

    .page-ev77-index__page-title {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 15px;
      text-shadow: 0 0 8px var(--glow-color);
    }

    .page-ev77-index__page-description {
      font-size: clamp(1rem, 2vw, 1.2rem);
      line-height: 1.6;
      margin-bottom: 30px;
      color: var(--text-main-color);
    }

    .page-ev77-index__cta-button {
      display: inline-block;
      background: var(--button-gradient);
      color: #111;
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
      border: none;
      cursor: pointer;
    }

    .page-ev77-index__cta-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
    }

    .page-ev77-index__section {
      padding: 50px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-ev77-index__section-title {
      text-align: center;
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      margin-bottom: 40px;
      position: relative;
    }

    .page-ev77-index__section-title::after {
      content: '';
      display: block;
      width: 80px;
      height: 3px;
      background-color: var(--primary-color);
      margin: 15px auto 0;
    }

    .page-ev77-index__intro-grid,
    .page-ev77-index__games-grid,
    .page-ev77-index__promo-grid,
    .page-ev77-index__guide-grid,
    .page-ev77-index__policy-grid {
      display: grid;
      gap: 30px;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .page-ev77-index__card {
      background-color: var(--card-bg-color);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-ev77-index__card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 25px rgba(255, 211, 107, 0.5);
    }

    .page-ev77-index__card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-bottom: 1px solid var(--border-color);
    }

    .page-ev77-index__card-content {
      padding: 25px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-ev77-index__card-title {
      font-size: 1.4rem;
      margin-bottom: 15px;
      color: var(--primary-color);
    }

    .page-ev77-index__card-text {
      font-size: 1rem;
      line-height: 1.6;
      color: var(--text-main-color);
      margin-bottom: 20px;
    }

    .page-ev77-index__card-link {
      display: inline-block;
      color: var(--secondary-color);
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }

    .page-ev77-index__card-link:hover {
      color: #FFF;
    }

    .page-ev77-index__contact-info {
      text-align: center;
      padding-top: 20px;
      font-size: 1.1rem;
      line-height: 1.8;
    }

    .page-ev77-index__contact-info p {
      margin-bottom: 10px;
    }

    .page-ev77-index__contact-info a {
      color: var(--secondary-color);
      text-decoration: none;
      font-weight: bold;
    }

    .page-ev77-index__contact-info a:hover {
      text-decoration: underline;
    }

    /* FAQ Styles */
    .page-ev77-index__faq-item {
      background-color: var(--card-bg-color);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      margin-bottom: 15px;
      overflow: hidden;
    }

    .page-ev77-index__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      user-select: none;
      background-color: #1a1a1a;
      color: var(--primary-color);
      font-weight: bold;
      font-size: 1.15rem;
      transition: background-color 0.3s ease;
    }

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

    .page-ev77-index__faq-question h3 {
      margin: 0;
      color: inherit;
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

    .page-ev77-index__faq-toggle {
      font-size: 1.8rem;
      line-height: 1;
      pointer-events: none; /* Prevent toggle icon from blocking click event */
      transition: transform 0.3s ease;
    }

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

    .page-ev77-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-main-color);
      font-size: 1rem;
      line-height: 1.6;
    }

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

    /* Responsive */
    @media (max-width: 768px) {
      .page-ev77-index__hero-content {
        padding: 0 15px 30px;
      }

      .page-ev77-index__page-title {
        font-size: 1.8rem;
      }

      .page-ev77-index__page-description {
        font-size: 0.95rem;
      }

      .page-ev77-index__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
      }
      .page-ev77-index__cta-button-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
      }

      .page-ev77-index__section {
        padding: 30px 15px;
      }

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

      .page-ev77-index__intro-grid,
      .page-ev77-index__games-grid,
      .page-ev77-index__promo-grid,
      .page-ev77-index__guide-grid,
      .page-ev77-index__policy-grid {
        grid-template-columns: 1fr;
      }

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

      .page-ev77-index__card-text {
        font-size: 0.9rem;
      }

      .page-ev77-index__card-image {
        height: 180px;
      }

      .page-ev77-index img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      /* FAQ Mobile */
      .page-ev77-index__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
      }

      .page-ev77-index__faq-question h3 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

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

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