:root {
  --rg88-primary: #113B7A;
  --rg88-secondary: #1D5FD1;
  --rg88-glow: #4FA8FF;
  --rg88-gold: #F2C14E;
  --rg88-border: #244D84;
  --rg88-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --rg88-card-bg: #10233F;
  --rg88-divider: #1B3357;
  --rg88-deep-navy: #08162B;
  --rg88-text-main: #F3F8FF;
  --rg88-text-secondary: #AFC4E8;
}

.indep-site-header {
  background-color: var(--rg88-deep-navy);
  padding: 15px 20px;
  border-bottom: 1px solid var(--rg88-divider);
}

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

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

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

.indep-site-header-button {
  background: var(--rg88-button-gradient);
  color: var(--rg88-text-main);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid var(--rg88-border);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.indep-site-header-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.indep-site-header-button-primary {
  background: var(--rg88-button-gradient);
  border-color: var(--rg88-gold);
}

:root {
  --rg88-primary: #113B7A;
  --rg88-secondary: #1D5FD1;
  --rg88-glow: #4FA8FF;
  --rg88-gold: #F2C14E;
  --rg88-border: #244D84;
  --rg88-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --rg88-card-bg: #10233F;
  --rg88-divider: #1B3357;
  --rg88-deep-navy: #08162B;
  --rg88-text-main: #F3F8FF;
  --rg88-text-secondary: #AFC4E8;
}

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

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

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

.indep-site-footer .footer-dynamic-row {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rg88-divider);
}

.indep-site-footer .footer-dynamic-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

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

.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-site-footer-brand {
  color: var(--rg88-gold);
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

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

.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 li a {
  font-size: 15px;
  color: var(--rg88-text-secondary);
}

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

.indep-site-footer .indep-footer-mid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 10px 0;
  border-top: 1px solid var(--rg88-divider);
  border-bottom: 1px solid var(--rg88-divider);
}

.indep-site-footer .indep-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--rg88-divider);
  color: var(--rg88-text-secondary);
  font-size: 13px;
}

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

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

  .indep-site-footer .footer-col.footer-about {
    grid-column: span 2;
  }
}

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

  .indep-site-footer .indep-footer-mid-grid {
    grid-template-columns: 1fr;
  }

  .indep-site-footer .footer-col.footer-about {
    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;
  }
}

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

    .page-rg88-index {
      color: #111111;
      background-color: #F3F8FF;
    }

    .page-rg88-index h1,
    .page-rg88-index h2,
    .page-rg88-index h3,
    .page-rg88-index h4 {
      color: var(--primary-color);
    }

    .page-rg88-index__hero-section {
      padding-top: 10px;
      margin-top: 0;
      width: 100%;
      overflow: hidden;
      position: relative;
      background-color: var(--deep-navy-color);
    }

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

    .page-rg88-index__hero-content {
      position: relative;
      z-index: 1;
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      text-align: center;
      color: var(--text-main-color);
    }

    .page-rg88-index__hero-content h1 {
      font-weight: bold;
      line-height: 1.2;
      letter-spacing: -0.02em;
      max-width: 800px;
      margin: 20px auto 10px auto;
      color: var(--gold-color);
    }

    .page-rg88-index__hero-content p {
      font-size: 1.1em;
      max-width: 900px;
      margin: 0 auto 30px auto;
      color: var(--text-secondary-color);
    }

    .page-rg88-index__hero-button {
      background: var(--button-gradient);
      color: var(--text-main-color);
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      display: inline-block;
      transition: background 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-rg88-index__hero-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .page-rg88-index__gameshow-section {
      background-color: var(--card-bg-color);
      padding: 40px 20px;
      text-align: center;
    }

    .page-rg88-index__gameshow-section h2 {
      color: var(--gold-color);
      margin-bottom: 30px;
      font-size: 2.5em;
    }

    .page-rg88-index__gameshow-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-rg88-index__gameshow-card {
      background-color: var(--deep-navy-color);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
      display: block;
      text-decoration: none;
      color: var(--text-main-color);
    }

    .page-rg88-index__gameshow-card:hover {
      transform: translateY(-5px);
    }

    .page-rg88-index__gameshow-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 4/3;
      object-fit: cover;
      display: block;
      border-bottom: 2px solid var(--border-color);
    }

    .page-rg88-index__gameshow-card h3 {
      font-size: 1.1em;
      padding: 15px 10px;
      margin: 0;
      color: var(--text-main-color);
      text-align: center;
    }

    .page-rg88-index__intro-section,
    .page-rg88-index__overview-section,
    .page-rg88-index__guide-section,
    .page-rg88-index__closing-section,
    .page-rg88-index__blog-section {
      max-width: 1100px;
      margin: 40px auto;
      padding: 20px;
      background-color: var(--text-main-color);
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      color: #333333;
    }

    .page-rg88-index__intro-section h2,
    .page-rg88-index__overview-section h2,
    .page-rg88-index__guide-section h2,
    .page-rg88-index__closing-section h2,
    .page-rg88-index__blog-section h2 {
      text-align: center;
      margin-bottom: 30px;
      color: var(--primary-color);
      font-size: 2em;
    }

    .page-rg88-index__intro-content p,
    .page-rg88-index__overview-content p,
    .page-rg88-index__guide-content p,
    .page-rg88-index__closing-content p {
      line-height: 1.8;
      margin-bottom: 15px;
      color: #555555;
    }

    .page-rg88-index__overview-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      margin-top: 30px;
    }

    .page-rg88-index__overview-item img {
      width: 100%;
      height: auto;
      aspect-ratio: 16/9;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 15px;
    }

    .page-rg88-index__overview-item h3 {
      font-size: 1.5em;
      margin-bottom: 10px;
      color: var(--primary-color);
    }

    .page-rg88-index__overview-item ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .page-rg88-index__overview-item ul li {
      margin-bottom: 8px;
      padding-left: 25px;
      position: relative;
      color: #555555;
    }

    .page-rg88-index__overview-item ul li::before {
      content: '✔';
      color: var(--secondary-color);
      position: absolute;
      left: 0;
      top: 0;
    }

    .page-rg88-index__guide-steps {
      display: flex;
      flex-direction: column;
      gap: 25px;
    }

    .page-rg88-index__guide-step {
      display: flex;
      align-items: flex-start;
      gap: 20px;
    }

    .page-rg88-index__guide-step-number {
      background-color: var(--secondary-color);
      color: var(--text-main-color);
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.4em;
      font-weight: bold;
      flex-shrink: 0;
    }

    .page-rg88-index__guide-step-content h3 {
      margin-top: 0;
      font-size: 1.4em;
      color: var(--primary-color);
    }

    .page-rg88-index__guide-step-content p {
      margin-bottom: 0;
      color: #555555;
    }

    .page-rg88-index__blog-container {
      position: relative;
      max-width: 1100px;
      margin: 0 auto;
      overflow: hidden;
    }

    .page-rg88-index__blog-track {
      display: flex;
      gap: 20px;
      padding: 10px 0;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }

    .page-rg88-index__blog-card {
      flex: 0 0 calc(33.333% - 13.333px);
      background-color: var(--card-bg-color);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: var(--text-main-color);
    }

    .page-rg88-index__blog-card:hover {
      transform: translateY(-5px);
    }

    .page-rg88-index__blog-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 16/9;
      object-fit: cover;
      display: block;
      border-bottom: 1px solid var(--border-color);
    }

    .page-rg88-index__blog-card-content {
      padding: 15px;
      flex-grow: 1;
    }

    .page-rg88-index__blog-card h3 {
      font-size: 1.2em;
      margin-top: 0;
      margin-bottom: 10px;
      color: var(--text-main-color);
    }

    .page-rg88-index__blog-card p {
      font-size: 0.9em;
      color: var(--text-secondary-color);
      line-height: 1.6;
      margin-bottom: 10px;
    }

    .page-rg88-index__blog-card-date {
      font-size: 0.8em;
      color: var(--text-secondary-color);
      text-align: right;
    }

    .page-rg88-index__blog-nav-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: var(--text-main-color);
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      z-index: 10;
      font-size: 1.5em;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }

    .page-rg88-index__blog-nav-button:hover {
      background-color: rgba(0, 0, 0, 0.7);
    }

    .page-rg88-index__blog-prev {
      left: 0;
    }

    .page-rg88-index__blog-next {
      right: 0;
    }

    .page-rg88-index__cta-section {
      background-color: var(--primary-color);
      padding: 50px 20px;
      text-align: center;
      color: var(--text-main-color);
    }

    .page-rg88-index__cta-section h2 {
      color: var(--gold-color);
      margin-bottom: 20px;
    }

    .page-rg88-index__cta-section p {
      font-size: 1.1em;
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      color: var(--text-secondary-color);
    }

    .page-rg88-index__cta-button {
      background: var(--button-gradient);
      color: var(--text-main-color);
      padding: 18px 35px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.2em;
      display: inline-block;
      transition: background 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .page-rg88-index__cta-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .page-rg88-index__gameshow-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .page-rg88-index__blog-card {
        flex: 0 0 calc(50% - 10px);
      }
    }

    @media (max-width: 768px) {
      .page-rg88-index__hero-content h1 {
        font-size: clamp(2em, 8vw, 2.5em);
      }
      .page-rg88-index__hero-content p {
        font-size: 1em;
      }
      .page-rg88-index__gameshow-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .page-rg88-index__overview-grid {
        grid-template-columns: 1fr;
      }
      .page-rg88-index__guide-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .page-rg88-index__guide-step-number {
        margin-bottom: 10px;
      }
      .page-rg88-index__blog-card {
        flex-basis: 100%;
      }
      .page-rg88-index__blog-track {
        padding: 0;
      }
      .page-rg88-index__blog-nav-button {
        padding: 8px 12px;
        font-size: 1.2em;
      }
      .page-rg88-index img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-rg88-index ul li {
        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-rg88-index ul, .page-rg88-index ol {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-rg88-index__hero-button,
      .page-rg88-index__cta-button {
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
      }
      .page-rg88-index__hero-section .page-rg88-index__hero-button-container,
      .page-rg88-index__cta-section .page-rg88-index__cta-button-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
      }
    }

    @media (max-width: 480px) {
      .page-rg88-index__gameshow-grid {
        grid-template-columns: 1fr;
      }
      .page-rg88-index__gameshow-card h3 {
        font-size: 1em;
      }
      .page-rg88-index__blog-card-content {
        padding: 10px;
      }
      .page-rg88-index__blog-card h3 {
        font-size: 1.1em;
      }
    }