
    :root {
      --primary-color: #e0b400; /* Vàng hổ phách */
      --secondary-color: #1a1a1a; /* Đen */
      --accent-color: #ff4d4d; /* Đỏ tươi */
      --text-light: #f5f5f5; /* Trắng ngà */
      --text-dark: #333333; /* Xám đậm */
      --background-dark: #222222; /* Xám đen */
      --background-light: #ffffff; /* Trắng */
      --border-color: #444444; /* Xám viền */
      --button-hover-color: #ffcc00; /* Vàng sáng */
    }

    /* Base styles for the page content */
    .page-3king {
      font-family: 'Arial', sans-serif;
      color: var(--text-light);
      background-color: var(--background-dark);
      line-height: 1.6;
      padding-bottom: 80px; /* Space for floating buttons */
      padding-top: 10px; /* Small padding to account for header, assuming body handles main offset */
    }

    .page-3king__section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .page-3king__section--dark {
      background-color: var(--background-dark);
      color: var(--text-light);
    }

    .page-3king__section--light {
      background-color: var(--background-light);
      color: var(--text-dark);
    }

    .page-3king__heading {
      font-size: 2.5em;
      color: var(--primary-color);
      margin-bottom: 20px;
      font-weight: bold;
    }

    .page-3king__subheading {
      font-size: 1.8em;
      color: var(--text-light);
      margin-bottom: 15px;
    }
    .page-3king__section--light .page-3king__subheading {
      color: var(--text-dark);
    }

    .page-3king__text {
      font-size: 1.1em;
      margin-bottom: 20px;
      color: var(--text-light);
    }
    .page-3king__section--light .page-3king__text {
      color: var(--text-dark);
    }

    /* Hero Section */
    .page-3king__hero-section {
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 450px;
      padding: 60px 20px;
      text-align: center;
    }

    .page-3king__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
      filter: brightness(0.6); /* Slightly darken background for text readability */
    }

    .page-3king__hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      color: var(--text-light);
    }

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

    .page-3king__hero-description {
      font-size: 1.2em;
      margin-bottom: 30px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    /* Floating Buttons */
    .page-3king__floating-buttons {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-around;
      padding: 10px 0;
      background-color: rgba(34, 34, 34, 0.95);
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
      z-index: 1000;
    }

    .page-3king__floating-button {
      flex: 1;
      margin: 0 5px;
      padding: 12px 15px;
      border: none;
      border-radius: 8px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      text-align: center;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      color: var(--text-light); /* Text color for buttons */
    }

    .page-3king__floating-button--register {
      background-color: var(--accent-color);
    }

    .page-3king__floating-button--register:hover {
      background-color: #e63939;
      transform: translateY(-2px);
    }

    .page-3king__floating-button--login {
      background-color: var(--primary-color);
    }

    .page-3king__floating-button--login:hover {
      background-color: var(--button-hover-color);
      transform: translateY(-2px);
    }

    /* Game Categories / Product Showcase */
    .page-3king__game-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-3king__category-card {
      background-color: var(--background-dark);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      color: var(--text-light);
    }

    .page-3king__category-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    .page-3king__category-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      max-width: 100%; /* Responsive image */
    }

    .page-3king__category-content {
      padding: 20px 15px;
    }

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

    .page-3king__category-description {
      font-size: 0.95em;
      color: var(--text-light);
    }

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

    .page-3king__promotion-card {
      background-color: var(--background-dark);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      color: var(--text-light);
      text-align: left;
    }

    .page-3king__promotion-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    .page-3king__promotion-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
      max-width: 100%; /* Responsive image */
    }

    .page-3king__promotion-content {
      padding: 20px;
    }

    .page-3king__promotion-title {
      font-size: 1.6em;
      color: var(--accent-color);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-3king__promotion-description {
      font-size: 1em;
      color: var(--text-light);
      margin-bottom: 15px;
    }

    /* Why 3King Section */
    .page-3king__feature-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
      list-style: none;
      padding: 0;
    }

    .page-3king__feature-item {
      background-color: var(--background-dark);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 25px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease;
      text-align: left;
      color: var(--text-light);
      box-sizing: border-box; /* Crucial for responsive lists */
    }
    .page-3king__section--light .page-3king__feature-item {
      background-color: var(--background-light);
      border-color: #e0e0e0;
      color: var(--text-dark);
    }

    .page-3king__feature-item:hover {
      background-color: #333333;
    }
    .page-3king__section--light .page-3king__feature-item:hover {
      background-color: #f0f0f0;
    }

    .page-3king__feature-title {
      font-size: 1.4em;
      color: var(--primary-color);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-3king__feature-text {
      font-size: 1em;
      color: var(--text-light);
    }
    .page-3king__section--light .page-3king__feature-text {
      color: var(--text-dark);
    }

    /* Payment and Providers Section */
    .page-3king__logo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      margin-top: 30px;
      padding: 0;
      list-style: none;
    }

    .page-3king__logo-item {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: var(--background-dark);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 15px;
      height: 100px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      transition: transform 0.2s ease;
      box-sizing: border-box; /* Crucial for responsive lists */
    }
    .page-3king__section--light .page-3king__logo-item {
      background-color: var(--background-light);
      border-color: #e0e0e0;
    }

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

    .page-3king__logo-image {
      max-width: 100%;
      max-height: 70px;
      height: auto;
      object-fit: contain;
      display: block;
      filter: brightness(0.9); /* Slightly dim for dark background */
      transition: filter 0.3s ease;
    }
    .page-3king__section--light .page-3king__logo-image {
      filter: none; /* No dimming for light background */
    }
    .page-3king__logo-item:hover .page-3king__logo-image {
      filter: brightness(1.1);
    }
    .page-3king__section--light .page-3king__logo-item:hover .page-3king__logo-image {
      filter: brightness(0.9);
    }

    /* FAQ Section */
    .page-3king__faq-container {
      margin-top: 30px;
      text-align: left;
    }

    .page-3king__faq-item {
      background-color: var(--background-dark);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      box-sizing: border-box; /* Crucial for responsive lists */
    }
    .page-3king__section--light .page-3king__faq-item {
      background-color: var(--background-light);
      border-color: #e0e0e0;
    }

    .page-3king__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #333333;
      color: var(--primary-color);
      font-weight: bold;
      font-size: 1.15em;
      transition: background-color 0.3s ease;
    }
    .page-3king__section--light .page-3king__faq-question {
      background-color: #f0f0f0;
      color: var(--primary-color);
    }

    .page-3king__faq-question:hover {
      background-color: #444444;
    }
    .page-3king__section--light .page-3king__faq-question:hover {
      background-color: #e8e8e8;
    }

    .page-3king__faq-question h3 {
      margin: 0;
      font-size: 1em; /* Adjust to fit parent's font size */
      color: var(--primary-color);
      pointer-events: none; /* Prevent h3 from blocking click event on parent div */
    }

    .page-3king__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click event on parent div */
    }

    .page-3king__faq-item.active .page-3king__faq-toggle {
      transform: rotate(45deg); /* Plus sign rotates to form an 'x' or 'minus' visually */
    }

    .page-3king__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px; /* Initial padding */
      background-color: var(--background-dark);
      color: var(--text-light);
      font-size: 1em;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
    }
    .page-3king__section--light .page-3king__faq-answer {
      background-color: var(--background-light);
      color: var(--text-dark);
    }

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

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-3king__hero-section {
        min-height: 350px;
        padding: 40px 15px;
      }

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

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

      .page-3king__section {
        padding: 30px 15px;
      }

      .page-3king__heading {
        font-size: 2em;
      }

      .page-3king__subheading {
        font-size: 1.5em;
      }

      .page-3king__text {
        font-size: 0.95em;
      }

      .page-3king__floating-button {
        padding: 10px 10px;
        font-size: 1em;
      }

      .page-3king__game-categories,
      .page-3king__promotions-grid,
      .page-3king__feature-list,
      .page-3king__logo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      /* Responsive list items */
      .page-3king__feature-item,
      .page-3king__logo-item,
      .page-3king__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px !important; /* Adjust padding for smaller screens */
      }

      .page-3king__feature-list,
      .page-3king__logo-grid,
      .page-3king__faq-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      /* Text wrapping for lists */
      .page-3king__feature-text,
      .page-3king__category-description,
      .page-3king__promotion-description,
      .page-3king__faq-answer {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      /* Responsive images */
      .page-3king__hero-background,
      .page-3king__category-image,
      .page-3king__promotion-image,
      .page-3king__logo-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
      }
      .page-3king__category-card, .page-3king__promotion-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-3king__hero-title {
        font-size: 1.8em;
      }

      .page-3king__hero-description {
        font-size: 0.9em;
      }

      .page-3king__heading {
        font-size: 1.8em;
      }

      .page-3king__subheading {
        font-size: 1.3em;
      }

      .page-3king__floating-buttons {
        padding: 8px 0;
      }

      .page-3king__floating-button {
        font-size: 0.9em;
        padding: 10px 8px;
        margin: 0 3px;
      }
    }
  