
    /* Tổng quan */
    :root {
      --page-bay789official-primary-color: #e44d26; /* Màu cam đỏ */
      --page-bay789official-secondary-color: #333; /* Màu xám đậm */
      --page-bay789official-accent-color: #ffcc00; /* Màu vàng nổi bật */
      --page-bay789official-text-color: #333;
      --page-bay789official-light-text-color: #f8f8f8;
      --page-bay789official-bg-light: #f5f5f5;
      --page-bay789official-bg-dark: #222;
      --page-bay789official-border-radius: 8px;
      --page-bay789official-transition-speed: 0.3s ease;
    }

    .page-bay789official {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--page-bay789official-text-color);
      background-color: var(--page-bay789official-bg-light);
      padding-bottom: 80px; /* Cho nút nổi */
    }

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

    .page-bay789official__section {
      padding: 60px 0;
      text-align: center;
    }

    .page-bay789official__section--dark {
      background-color: var(--page-bay789official-bg-dark);
      color: var(--page-bay789official-light-text-color);
    }

    .page-bay789official__heading {
      font-size: 2.5em;
      margin-bottom: 30px;
      color: var(--page-bay789official-secondary-color);
      text-transform: uppercase;
      position: relative;
      padding-bottom: 15px;
    }

    .page-bay789official__heading--light {
      color: var(--page-bay789official-light-text-color);
    }

    .page-bay789official__heading::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background-color: var(--page-bay789official-primary-color);
      border-radius: 2px;
    }

    .page-bay789official__subheading {
      font-size: 1.8em;
      margin-bottom: 20px;
      color: var(--page-bay789official-primary-color);
    }

    .page-bay789official__text {
      font-size: 1.1em;
      margin-bottom: 20px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-bay789official__button {
      display: inline-block;
      background-color: var(--page-bay789official-primary-color);
      color: var(--page-bay789official-light-text-color);
      padding: 15px 30px;
      border-radius: var(--page-bay789official-border-radius);
      text-decoration: none;
      font-weight: bold;
      transition: background-color var(--page-bay789official-transition-speed), transform var(--page-bay789official-transition-speed);
      border: none;
      cursor: pointer;
      font-size: 1.1em;
    }

    .page-bay789official__button:hover {
      background-color: #d13a1a;
      transform: translateY(-2px);
    }

    /* Hero Section */
    .page-bay789official__hero-section {
      position: relative;
      background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('[GALLERY:banner:bay789,hero,promotion]') no-repeat center center;
      background-size: cover;
      color: var(--page-bay789official-light-text-color);
      padding: 10px 0 100px 0; /* Adjusted for fixed header, 10px top padding */
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 450px;
      text-align: center;
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;
      overflow: hidden;
    }

    .page-bay789official__hero-content {
      max-width: 900px;
      padding: 20px;
      animation: fadeIn 1s ease-out;
    }

    .page-bay789official__hero-title {
      font-size: 3.5em;
      margin-bottom: 20px;
      line-height: 1.2;
      color: var(--page-bay789official-accent-color);
      text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }

    .page-bay789official__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      font-weight: normal;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    /* Floating Login Button */
    .page-bay789official__floating-button {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--page-bay789official-accent-color);
      color: var(--page-bay789official-secondary-color);
      padding: 15px 25px;
      border-radius: 50px;
      font-size: 1.2em;
      font-weight: bold;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      z-index: 1000;
      animation: pulse 2s infinite;
      border: none;
      cursor: pointer;
      text-decoration: none; /* Make sure it's not underlined if it's an <a> */
    }

    .page-bay789official__floating-button:hover {
      background-color: #ffeb3b;
      transform: translateX(-50%) translateY(-3px);
      animation: none;
    }

    @keyframes pulse {
      0% { transform: translateX(-50%) scale(1); }
      50% { transform: translateX(-50%) scale(1.05); }
      100% { transform: translateX(-50%) scale(1); }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

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

    .page-bay789official__game-card {
      background-color: #fff;
      border-radius: var(--page-bay789official-border-radius);
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      overflow: hidden;
      text-align: center;
      transition: transform var(--page-bay789official-transition-speed), box-shadow var(--page-bay789official-transition-speed);
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-bay789official__game-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

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

    .page-bay789official__game-card-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-bay789official__game-card-title {
      font-size: 1.5em;
      color: var(--page-bay789official-primary-color);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-bay789official__game-card-description {
      font-size: 0.95em;
      color: var(--page-bay789official-secondary-color);
      margin-bottom: 15px;
      flex-grow: 1;
    }

    /* Why Choose Us / Features */
    .page-bay789official__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 40px;
      text-align: left;
    }

    .page-bay789official__feature-item {
      background-color: var(--page-bay789official-bg-dark);
      color: var(--page-bay789official-light-text-color);
      padding: 30px;
      border-radius: var(--page-bay789official-border-radius);
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      transition: transform var(--page-bay789official-transition-speed);
    }

    .page-bay789official__feature-item:hover {
      transform: translateY(-5px);
    }

    .page-bay789official__feature-title {
      font-size: 1.6em;
      color: var(--page-bay789official-accent-color);
      margin-bottom: 15px;
      display: flex;
      align-items: center;
    }

    .page-bay789official__feature-title svg {
      margin-right: 15px;
      min-width: 32px; /* Ensure icon is not too small */
      min-height: 32px;
      color: var(--page-bay789official-primary-color);
    }

    .page-bay789official__feature-description {
      font-size: 1em;
      line-height: 1.7;
    }

    /* How-to Guides */
    .page-bay789official__guide-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-bay789official__guide-card {
      background-color: #fff;
      border-radius: var(--page-bay789official-border-radius);
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      overflow: hidden;
      text-align: left;
      transition: transform var(--page-bay789official-transition-speed);
      padding: 25px;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

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

    .page-bay789official__guide-card-icon {
      font-size: 3em;
      color: var(--page-bay789official-primary-color);
      margin-bottom: 15px;
    }

    .page-bay789official__guide-card-title {
      font-size: 1.5em;
      color: var(--page-bay789official-secondary-color);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-bay789official__guide-card-description {
      font-size: 0.95em;
      color: var(--page-bay789official-text-color);
      flex-grow: 1;
      margin-bottom: 20px;
    }

    /* FAQ Section */
    .page-bay789official__faq-list {
      max-width: 900px;
      margin: 40px auto 0 auto;
      text-align: left;
    }

    .page-bay789official__faq-item {
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: var(--page-bay789official-border-radius);
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .page-bay789official__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      background-color: var(--page-bay789official-bg-light);
      cursor: pointer;
      font-weight: bold;
      color: var(--page-bay789official-secondary-color);
      font-size: 1.1em;
      transition: background-color var(--page-bay789official-transition-speed);
      user-select: none;
    }

    .page-bay789official__faq-question:hover {
      background-color: #e0e0e0;
    }

    .page-bay789official__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      pointer-events: none; /* Prevent h3 from blocking click event on parent */
      flex-grow: 1;
      color: var(--page-bay789official-secondary-color); /* Ensure good contrast */
    }

    .page-bay789official__faq-toggle {
      font-size: 1.5em;
      margin-left: 15px;
      color: var(--page-bay789official-primary-color);
      pointer-events: none; /* Prevent toggle icon from blocking click event on parent */
      transition: transform var(--page-bay789official-transition-speed);
    }

    .page-bay789official__faq-item.active .page-bay789official__faq-toggle {
      transform: rotate(45deg); /* Change + to X or similar */
    }

    .page-bay789official__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;
      color: var(--page-bay789official-text-color);
    }

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

    /* Image responsiveness */
    .page-bay789official img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .page-bay789official__image-container {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      margin: 20px auto;
      border-radius: var(--page-bay789official-border-radius);
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .page-bay789official__hero-title {
        font-size: 2.8em;
      }
      .page-bay789official__hero-subtitle {
        font-size: 1.3em;
      }
      .page-bay789official__heading {
        font-size: 2em;
      }
      .page-bay789official__subheading {
        font-size: 1.5em;
      }
      .page-bay789official__section {
        padding: 40px 0;
      }
    }

    @media (max-width: 768px) {
      .page-bay789official__hero-section {
        padding-top: 10px; /* Ensure it clears the fixed header on mobile */
        min-height: 350px;
      }
      .page-bay789official__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
      }
      .page-bay789official__hero-subtitle {
        font-size: 1.1em;
        margin-bottom: 25px;
      }
      .page-bay789official__heading {
        font-size: 1.8em;
      }
      .page-bay789official__text {
        font-size: 1em;
      }
      .page-bay789official__button {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-bay789official__floating-button {
        width: calc(100% - 40px);
        max-width: 300px;
        font-size: 1.1em;
        padding: 12px 20px;
        bottom: 15px;
      }

      /* List items responsive */
      .page-bay789official__game-grid,
      .page-bay789official__features-grid,
      .page-bay789official__guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .page-bay789official__game-card,
      .page-bay789official__feature-item,
      .page-bay789official__guide-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px; /* Adjust padding for smaller screens */
      }
      .page-bay789official__game-card-description,
      .page-bay789official__feature-description,
      .page-bay789official__guide-card-description,
      .page-bay789official__faq-answer p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      .page-bay789official__game-card-image {
        height: 180px;
      }
      .page-bay789official__faq-question {
        padding: 15px;
        font-size: 1em;
      }
      .page-bay789official__faq-question h3 {
        font-size: 1em;
      }
      .page-bay789official__faq-answer {
        padding: 0 15px;
      }
      .page-bay789official__faq-item.active .page-bay789official__faq-answer {
        padding: 15px 15px !important;
      }
      .page-bay789official__image-container {
        margin: 15px auto;
      }
      .page-bay789official img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-bay789official__hero-title {
        font-size: 1.8em;
      }
      .page-bay789official__hero-subtitle {
        font-size: 1em;
      }
      .page-bay789official__heading {
        font-size: 1.6em;
      }
    }
  