
    :root {
      --page-k9bet-primary-color: #e44d26; /* Cam đậm */
      --page-k9bet-secondary-color: #ff8c00; /* Cam sáng */
      --page-k9bet-text-dark: #333;
      --page-k9bet-text-light: #fff;
      --page-k9bet-bg-light: #f9f9f9;
      --page-k9bet-bg-dark: #2c3e50; /* Xám xanh đậm */
      --page-k9bet-accent-color: #f39c12; /* Vàng cam */
    }

    .page-k9bet {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: var(--page-k9bet-text-dark);
      background-color: var(--page-k9bet-bg-light);
      padding-bottom: 80px; /* Space for floating button */
    }

    .page-k9bet__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    /* Hero Section */
    .page-k9bet__hero-section {
      position: relative;
      background-color: var(--page-k9bet-bg-dark);
      color: var(--page-k9bet-text-light);
      text-align: center;
      padding: 10px 0 50px; /* padding-top for fixed header */
      overflow: hidden;
    }

    .page-k9bet__hero-image {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
      display: block;
      margin: 0 auto;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      max-width: 100%;
      height: auto;
    }

    .page-k9bet__hero-content {
      position: relative;
      z-index: 1;
      padding: 20px 15px;
    }

    .page-k9bet__hero-title {
      font-size: 2.5em;
      margin-bottom: 15px;
      color: var(--page-k9bet-accent-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .page-k9bet__hero-description {
      font-size: 1.2em;
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-k9bet__cta-button {
      display: inline-block;
      background-color: var(--page-k9bet-primary-color);
      color: var(--page-k9bet-text-light);
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .page-k9bet__cta-button:hover {
      background-color: var(--page-k9bet-secondary-color);
      transform: translateY(-2px);
    }

    /* Floating Login Button */
    .page-k9bet__floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      background-color: var(--page-k9bet-primary-color);
      color: var(--page-k9bet-text-light);
      padding: 12px 25px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1em;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.2s ease;
      animation: page-k9bet__pulse 2s infinite;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .page-k9bet__floating-button:hover {
      background-color: var(--page-k9bet-secondary-color);
      transform: scale(1.05);
      animation-play-state: paused;
    }

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

    /* Section Styling */
    .page-k9bet__section {
      padding: 60px 0;
      background-color: var(--page-k9bet-bg-light);
      text-align: center;
    }

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

    .page-k9bet__section-title {
      font-size: 2em;
      margin-bottom: 40px;
      color: var(--page-k9bet-primary-color);
      position: relative;
      padding-bottom: 10px;
      display: inline-block;
    }

    .page-k9bet__section-title::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background-color: var(--page-k9bet-accent-color);
      border-radius: 2px;
    }

    .page-k9bet__section--dark .page-k9bet__section-title {
      color: var(--page-k9bet-accent-color);
    }

    .page-k9bet__section-description {
      font-size: 1.1em;
      max-width: 800px;
      margin: 0 auto 40px;
    }

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

    .page-k9bet__game-card {
      background-color: var(--page-k9bet-text-light);
      border-radius: 10px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      padding-bottom: 20px;
    }

    .page-k9bet__game-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .page-k9bet__game-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      margin-bottom: 15px;
      max-width: 100%;
      height: auto;
    }

    .page-k9bet__game-title {
      font-size: 1.4em;
      color: var(--page-k9bet-primary-color);
      margin-bottom: 10px;
      padding: 0 15px;
    }

    .page-k9bet__game-description {
      font-size: 0.95em;
      color: var(--page-k9bet-text-dark);
      padding: 0 15px 20px;
    }

    /* Why K9BET Section */
    .page-k9bet__feature-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      text-align: left;
    }

    .page-k9bet__feature-item {
      background-color: rgba(255, 255, 255, 0.1);
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

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

    .page-k9bet__feature-title {
      font-size: 1.3em;
      color: var(--page-k9bet-accent-color);
      margin-bottom: 15px;
    }

    .page-k9bet__feature-text {
      font-size: 1em;
      color: var(--page-k9bet-text-light);
    }

    /* Promotions Section */
    .page-k9bet__promo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .page-k9bet__promo-card {
      background-color: var(--page-k9bet-text-light);
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: left;
      transition: transform 0.3s ease;
    }

    .page-k9bet__promo-card:hover {
      transform: translateY(-8px);
    }

    .page-k9bet__promo-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
      max-width: 100%;
      height: auto;
    }

    .page-k9bet__promo-content {
      padding: 20px;
    }

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

    .page-k9bet__promo-description {
      font-size: 1em;
      color: var(--page-k9bet-text-dark);
      margin-bottom: 20px;
    }

    .page-k9bet__promo-button {
      background-color: var(--page-k9bet-secondary-color);
      color: var(--page-k9bet-text-light);
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-k9bet__promo-button:hover {
      background-color: var(--page-k9bet-primary-color);
    }

    /* FAQ Section */
    .page-k9bet__faq-section {
      padding: 60px 0;
      background-color: var(--page-k9bet-bg-light);
      text-align: center;
    }

    .page-k9bet__faq-list {
      max-width: 800px;
      margin: 40px auto 0;
      text-align: left;
    }

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

    .page-k9bet__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #f0f0f0;
      cursor: pointer;
      user-select: none;
      font-weight: bold;
      color: var(--page-k9bet-primary-color);
      transition: background-color 0.3s ease;
    }

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

    .page-k9bet__faq-question h3 {
      margin: 0;
      font-size: 1.15em;
      pointer-events: none; /* Prevent h3 from blocking click */
    }

    .page-k9bet__faq-toggle {
      font-size: 1.8em;
      line-height: 1;
      margin-left: 15px;
      pointer-events: none; /* Prevent span from blocking click */
      transition: transform 0.3s ease;
    }

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

    .page-k9bet__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      color: var(--page-k9bet-text-dark);
    }

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

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-k9bet__hero-section {
        padding-top: 10px; /* Adjust for mobile fixed header */
        padding-bottom: 30px;
      }

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

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

      .page-k9bet__cta-button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-k9bet__floating-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.9em;
      }

      .page-k9bet__section {
        padding: 40px 0;
      }

      .page-k9bet__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
      }

      .page-k9bet__game-grid,
      .page-k9bet__feature-list,
      .page-k9bet__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-k9bet__game-image,
      .page-k9bet__promo-image {
        height: 180px;
      }

      .page-k9bet__faq-question {
        padding: 12px 15px;
      }

      .page-k9bet__faq-question h3 {
        font-size: 1em;
      }

      .page-k9bet__faq-toggle {
        font-size: 1.5em;
      }

      .page-k9bet__faq-answer {
        padding: 0 15px;
      }

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

      /* Image responsive optimization */
      .page-k9bet img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-k9bet__hero-image,
      .page-k9bet__game-image,
      .page-k9bet__promo-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important; /* Override fixed height for responsiveness */
        object-fit: contain !important; /* Ensure image fits without cropping on mobile */
      }
    }
  