
    :root {
      --primary-color: #e44d26; /* Cam đỏ */
      --secondary-color: #ffcc00; /* Vàng */
      --dark-background: #1a1a1a; /* Nền tối */
      --light-text: #f0f0f0; /* Chữ sáng */
      --gray-text: #b0b0b0; /* Chữ xám */
      --border-color: #333; /* Màu viền */
      --button-hover-color: #f76b4a; /* Màu nút hover */
    }

    .page-3king-com {
      font-family: 'Arial', sans-serif;
      color: var(--light-text);
      background-color: var(--dark-background);
      line-height: 1.6;
      overflow-x: hidden;
      padding-top: var(--header-offset, 0); /* Fallback to 0 if body padding is not set by shared.css */
    }

    .page-3king-com__section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
      box-sizing: border-box;
    }

    .page-3king-com__hero-section {
      background-image: url('[GALLERY:hero:1920x1080:3king,casino,banner,mobile]');
      background-size: cover;
      background-position: center;
      color: var(--light-text);
      padding: 100px 20px 80px; /* Adjusted padding-top to avoid double offset if body already has it */
      min-height: 500px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .page-3king-com__hero-title {
      font-size: 3.2em;
      margin-bottom: 15px;
      color: var(--secondary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      font-weight: bold;
    }

    .page-3king-com__hero-subtitle {
      font-size: 1.3em;
      margin-bottom: 30px;
      max-width: 800px;
      color: var(--light-text);
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .page-3king-com__cta-button {
      display: inline-block;
      background-color: var(--primary-color);
      color: var(--light-text);
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      font-size: 1.1em;
      border: none;
      cursor: pointer;
    }

    .page-3king-com__cta-button:hover {
      background-color: var(--button-hover-color);
    }

    .page-3king-com__section-title {
      font-size: 2.5em;
      color: var(--secondary-color);
      margin-bottom: 40px;
      position: relative;
      padding-bottom: 10px;
    }

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

    .page-3king-com__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
      justify-content: center;
    }

    .page-3king-com__game-item {
      background-color: #2a2a2a;
      border-radius: 10px;
      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;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 20px;
    }

    .page-3king-com__game-item:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .page-3king-com__game-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      border-bottom: 3px solid var(--primary-color);
    }

    .page-3king-com__game-title {
      font-size: 1.5em;
      color: var(--secondary-color);
      margin: 20px 0 15px;
      padding: 0 15px;
      word-wrap: break-word; /* Ensure title wraps */
    }

    .page-3king-com__game-description {
      color: var(--gray-text);
      font-size: 0.95em;
      padding: 0 15px;
      margin-bottom: 15px;
    }

    .page-3king-com__why-choose-us-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-3king-com__why-choose-item {
      background-color: #2a2a2a;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      text-align: left;
      transition: transform 0.3s ease;
    }

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

    .page-3king-com__why-choose-title {
      font-size: 1.4em;
      color: var(--primary-color);
      margin-bottom: 15px;
      word-wrap: break-word;
    }

    .page-3king-com__why-choose-text {
      color: var(--gray-text);
      font-size: 0.95em;
    }

    .page-3king-com__faq-section {
      background-color: #1f1f1f;
    }

    .page-3king-com__faq-container {
      max-width: 900px;
      margin: 0 auto;
      text-align: left;
    }

    .page-3king-com__faq-item {
      margin-bottom: 15px;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      overflow: hidden;
      background-color: #2a2a2a;
    }

    .page-3king-com__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #333;
      cursor: pointer;
      user-select: none;
      font-size: 1.1em;
      color: var(--light-text);
      transition: background-color 0.3s ease;
    }

    .page-3king-com__faq-question:hover {
      background-color: #444;
    }

    .page-3king-com__faq-question h3 {
      margin: 0;
      color: var(--secondary-color);
      font-size: 1.1em;
      pointer-events: none; /* Prevent h3 from blocking click event */
      word-wrap: break-word;
      flex-grow: 1; /* Allow question text to take available space */
      padding-right: 10px; /* Space between text and toggle */
    }

    .page-3king-com__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--primary-color);
      line-height: 1;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click event */
    }

    .page-3king-com__faq-item.active .page-3king-com__faq-toggle {
      transform: rotate(45deg);
    }

    .page-3king-com__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      color: var(--gray-text);
      background-color: #2a2a2a;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      font-size: 0.95em;
      box-sizing: border-box;
    }

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

    .page-3king-com__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 1000;
    }

    .page-3king-com__floating-button {
      background-color: var(--primary-color);
      color: var(--light-text);
      padding: 12px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1em;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-align: center;
      white-space: nowrap;
      border: none;
      cursor: pointer;
    }

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

    .page-3king-com__floating-button--login {
      background-color: #4CAF50; /* Green for login */
    }

    .page-3king-com__floating-button--login:hover {
      background-color: #66BB6A;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-3king-com__hero-title {
        font-size: 2.5em;
      }

      .page-3king-com__hero-subtitle {
        font-size: 1.1em;
      }

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

      .page-3king-com__section-title {
        font-size: 2em;
        margin-bottom: 30px;
      }

      .page-3king-com__game-grid,
      .page-3king-com__why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-3king-com__game-item,
      .page-3king-com__why-choose-item {
        margin: 0 auto; /* Center single column items */
        width: 100%; /* Ensure full width */
        max-width: 400px; /* Optional: limit max width for very large screens */
        box-sizing: border-box; /* Ensure padding/border included in width */
      }

      .page-3king-com__game-image {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
      }

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

      .page-3king-com__faq-question h3 {
        font-size: 1em;
      }

      .page-3king-com__faq-answer {
        padding: 0 15px;
      }

      .page-3king-com__faq-item.active .page-3king-com__faq-answer {
        padding: 15px !important;
      }

      .page-3king-com__floating-buttons {
        bottom: 15px;
        right: 15px;
        flex-direction: row; /* Buttons side-by-side on mobile */
        width: calc(100% - 30px); /* Adjust width to fit screen */
        justify-content: center;
        gap: 8px;
      }

      .page-3king-com__floating-button {
        flex: 1; /* Allow buttons to grow and fill space */
        padding: 10px 15px;
        font-size: 0.9em;
      }

      /* Ensure all images are responsive */
      .page-3king-com img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      /* Ensure all list containers are responsive */
      .page-3king-com ul, .page-3king-com ol {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      /* Ensure all list items are responsive */
      .page-3king-com ul li, .page-3king-com ol 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;
      }
    }

    @media (max-width: 480px) {
      .page-3king-com__hero-title {
        font-size: 2em;
      }
      .page-3king-com__hero-subtitle {
        font-size: 1em;
      }
      .page-3king-com__section-title {
        font-size: 1.8em;
      }
      .page-3king-com__floating-buttons {
        flex-direction: column; /* Stack buttons vertically on very small screens */
      }
      .page-3king-com__floating-button {
        width: 100%;
      }
    }
  