
    /* Tổng quan và biến */
    :root {
      --page-bet789-primary-color: #ffcc00; /* Vàng */
      --page-bet789-secondary-color: #ffffff; /* Trắng */
      --page-bet789-background-color: #000000; /* Đen */
      --page-bet789-dark-gray: #1a1a1a;
      --page-bet789-text-color: #ffffff;
      --page-bet789-link-hover-color: #ffd700;
    }

    .page-bet789 {
      font-family: 'Arial', sans-serif;
      background-color: var(--page-bet789-background-color);
      color: var(--page-bet789-text-color);
      line-height: 1.6;
      overflow-x: hidden;
      box-sizing: border-box;
    }

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

    .page-bet789__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: var(--page-bet789-dark-gray);
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      text-align: center;
    }

    .page-bet789__section-title {
      color: var(--page-bet789-primary-color);
      font-size: 2.5em;
      margin-bottom: 20px;
      text-transform: uppercase;
      font-weight: bold;
      line-height: 1.2;
    }

    .page-bet789__section-subtitle {
      color: var(--page-bet789-secondary-color);
      font-size: 1.2em;
      margin-bottom: 30px;
    }

    .page-bet789__text {
      color: var(--page-bet789-text-color);
      font-size: 1em;
      margin-bottom: 15px;
      line-height: 1.8;
      text-align: justify;
    }

    .page-bet789__link,
    .page-bet789__button {
      display: inline-block;
      background-color: var(--page-bet789-primary-color);
      color: var(--page-bet789-background-color);
      padding: 12px 25px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
    }

    .page-bet789__link:hover,
    .page-bet789__button:hover {
      background-color: var(--page-bet789-link-hover-color);
      transform: translateY(-2px);
    }

    /* Hero Section */
    .page-bet789__hero-section {
      position: relative;
      width: 100%;
      overflow: hidden;
      padding-top: 100px; /* Desktop safe zone */
      background-color: var(--page-bet789-dark-gray);
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 500px; /* Đảm bảo đủ không gian */
      box-sizing: border-box;
    }

    .page-bet789__hero-image-wrapper {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      margin-bottom: 20px;
    }

    .page-bet789__hero-image {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: 8px;
    }

    .page-bet789__hero-content {
      position: relative;
      z-index: 10;
      padding: 20px;
      max-width: 800px;
      margin: 0 auto;
    }

    .page-bet789__hero-title {
      font-size: 3em;
      color: var(--page-bet789-primary-color);
      margin-bottom: 15px;
      line-height: 1.2;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-bet789__hero-description {
      font-size: 1.3em;
      color: var(--page-bet789-secondary-color);
      margin-bottom: 30px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    /* Game Categories */
    .page-bet789__games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 20px;
      margin-top: 30px;
    }

    .page-bet789__game-item {
      background-color: var(--page-bet789-background-color);
      border-radius: 8px;
      overflow: hidden;
      text-align: center;
      padding: 15px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      min-height: 220px;
    }

    .page-bet789__game-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    }

    .page-bet789__game-image-wrapper {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      flex-grow: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .page-bet789__game-image {
      max-width: 100%;
      height: auto;
      border-radius: 4px;
      object-fit: contain; /* Ensure logo is not stretched */
    }

    .page-bet789__game-title {
      color: var(--page-bet789-primary-color);
      font-size: 1.1em;
      font-weight: bold;
      margin-top: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .page-bet789__game-title a {
        color: var(--page-bet789-primary-color);
        text-decoration: none;
    }

    .page-bet789__game-title a:hover {
        color: var(--page-bet789-link-hover-color);
    }

    /* Promo Section */
    .page-bet789__promo-section {
      background: linear-gradient(45deg, var(--page-bet789-dark-gray), var(--page-bet789-background-color));
      border-radius: 8px;
      padding: 50px 20px;
      margin-top: 40px;
      text-align: center;
    }

    .page-bet789__promo-title {
      font-size: 2.8em;
      color: var(--page-bet789-primary-color);
      margin-bottom: 20px;
      font-weight: bold;
    }

    .page-bet789__promo-text {
      font-size: 1.2em;
      color: var(--page-bet789-secondary-color);
      margin-bottom: 30px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Guide Section */
    .page-bet789__guide-step {
      display: flex;
      align-items: center;
      margin-bottom: 30px;
      background-color: var(--page-bet789-background-color);
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    }

    .page-bet789__guide-icon-wrapper {
      flex-shrink: 0;
      width: 80px;
      height: 80px;
      margin-right: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: var(--page-bet789-primary-color);
      border-radius: 50%;
    }

    .page-bet789__guide-icon {
      max-width: 60px;
      height: auto;
      display: block;
    }

    .page-bet789__guide-content {
      text-align: left;
    }

    .page-bet789__guide-title {
      color: var(--page-bet789-primary-color);
      font-size: 1.5em;
      margin-bottom: 10px;
    }

    .page-bet789__guide-description {
      color: var(--page-bet789-text-color);
      font-size: 1em;
    }

    /* FAQ Section */
    .page-bet789__faq-list {
      margin-top: 30px;
    }

    .page-bet789__faq-item {
      background-color: var(--page-bet789-background-color);
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    }

    .page-bet789__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: var(--page-bet789-dark-gray);
      color: var(--page-bet789-primary-color);
      cursor: pointer;
      user-select: none;
      transition: background-color 0.3s ease;
      font-size: 1.1em;
      font-weight: bold;
    }

    .page-bet789__faq-question h3 {
        margin: 0;
        color: var(--page-bet789-primary-color);
        pointer-events: none; /* Prevent h3 from blocking click */
    }

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

    .page-bet789__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      margin-left: 10px;
      transition: transform 0.3s ease;
      color: var(--page-bet789-secondary-color);
      pointer-events: none; /* Prevent toggle from blocking click */
    }

    .page-bet789__faq-item.active .page-bet789__faq-toggle {
      transform: rotate(45deg); /* Change '+' to 'x' or '-' */
    }

    .page-bet789__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(--page-bet789-text-color);
      text-align: justify;
    }

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

    /* Testimonials / Why Choose Section */
    .page-bet789__advantages-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-bet789__advantage-card {
      background-color: var(--page-bet789-background-color);
      padding: 25px;
      border-radius: 8px;
      text-align: left;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-bet789__advantage-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
    }

    .page-bet789__advantage-icon-wrapper {
      width: 60px;
      height: 60px;
      background-color: var(--page-bet789-primary-color);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 15px;
    }

    .page-bet789__advantage-icon {
      max-width: 40px;
      height: auto;
    }

    .page-bet789__advantage-title {
      color: var(--page-bet789-primary-color);
      font-size: 1.3em;
      margin-bottom: 10px;
    }

    .page-bet789__advantage-text {
      color: var(--page-bet789-text-color);
      font-size: 0.95em;
    }

    /* Floating CTA Button (within main content, not a global shared component) */
    .page-bet789__sticky-cta {
        position: sticky;
        bottom: 20px;
        left: 0;
        right: 0;
        z-index: 99;
        text-align: center;
        padding: 10px;
        background-color: transparent; /* No background */
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-bet789__container {
        padding: 15px;
      }

      .page-bet789__hero-section {
        padding-top: 160px; /* Mobile safe zone */
        min-height: 400px;
      }

      .page-bet789__hero-title {
        font-size: 2.2em;
      }

      .page-bet789__hero-description {
        font-size: 1em;
      }

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

      .page-bet789__section-subtitle {
        font-size: 1em;
      }

      .page-bet789__text {
        font-size: 0.95em;
      }

      .page-bet789__link,
      .page-bet789__button {
        padding: 10px 20px;
        font-size: 0.9em;
      }

      .page-bet789__games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      }

      .page-bet789__game-item {
        min-height: 180px;
      }

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

      .page-bet789__promo-text {
        font-size: 1em;
      }

      .page-bet789__guide-step {
        flex-direction: column;
        text-align: center;
      }

      .page-bet789__guide-icon-wrapper {
        margin-right: 0;
        margin-bottom: 15px;
      }

      .page-bet789__guide-content {
        text-align: center;
      }

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

      .page-bet789__faq-question {
        font-size: 1em;
        padding: 12px 15px;
      }

      .page-bet789__faq-toggle {
        font-size: 1.3em;
      }

      .page-bet789__faq-item.active .page-bet789__faq-answer {
        padding: 15px 15px !important;
      }

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

      /* Force image responsiveness */
      .page-bet789 img {
          max-width: 100% !important;
          height: auto !important;
          display: block !important;
          margin: 0 auto !important;
      }
      .page-bet789__hero-image-wrapper,
      .page-bet789__game-image-wrapper,
      .page-bet789__guide-icon-wrapper {
          width: 100% !important;
          max-width: 100% !important;
          overflow: hidden !important;
          box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
        .page-bet789__hero-section {
            padding-top: 140px; /* Smallest mobile safe zone */
            min-height: 350px;
        }
        .page-bet789__hero-title {
            font-size: 1.8em;
        }
        .page-bet789__hero-description {
            font-size: 0.9em;
        }
        .page-bet789__game-item {
            min-height: 160px;
        }
        .page-bet789__game-title {
            font-size: 1em;
        }
    }

  