
    :root {
      --page-777king99-com-primary-color: #FFD700; /* Gold */
      --page-777king99-com-secondary-color: #FF4500; /* OrangeRed */
      --page-777king99-com-dark-bg: #1a1a1a; /* Dark background */
      --page-777king99-com-light-text: #ffffff;
      --page-777king99-com-gray-text: #cccccc;
      --page-777king99-com-accent-light: #fffacd;
      --page-777king99-com-border-color: #333;
    }

    .page-777king99-com {
      font-family: 'Arial', sans-serif;
      color: var(--page-777king99-com-light-text);
      background-color: var(--page-777king99-com-dark-bg);
      line-height: 1.6;
      overflow-x: hidden;
    }

    .page-777king99-com__hero-section {
      position: relative;
      padding: 10px 20px 60px;
      background: linear-gradient(135deg, #2a0a0a, #0d0d0d);
      text-align: center;
      overflow: hidden;
      min-height: 500px; /* Ensure sufficient height */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .page-777king99-com__hero-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('[GALLERY:pattern:1920x1080:abstract,geometric,dark]') no-repeat center center/cover;
      opacity: 0.1;
      z-index: 0;
    }

    .page-777king99-com__main-title {
      color: var(--page-777king99-com-primary-color);
      font-size: 2.5em;
      margin-bottom: 10px;
      text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
      position: relative;
      z-index: 1;
    }

    .page-777king99-com__hero-description {
      color: var(--page-777king99-com-gray-text);
      font-size: 1.1em;
      margin-bottom: 30px;
      max-width: 800px;
      position: relative;
      z-index: 1;
    }

    .page-777king99-com__hero-buttons {
      display: flex;
      gap: 20px;
      margin-top: 20px;
      margin-bottom: 30px;
      position: relative;
      z-index: 1;
    }

    .page-777king99-com__btn {
      display: inline-block;
      padding: 12px 25px;
      border-radius: 30px;
      font-weight: bold;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
      text-align: center;
      box-sizing: border-box;
      font-size: 1em;
    }

    .page-777king99-com__btn--primary {
      background-color: var(--page-777king99-com-secondary-color);
      color: var(--page-777king99-com-light-text);
      border: 2px solid var(--page-777king99-com-secondary-color);
    }

    .page-777king99-com__btn--primary:hover {
      background-color: #e03e00;
      border-color: #e03e00;
      transform: translateY(-2px);
    }

    .page-777king99-com__btn--secondary {
      background-color: transparent;
      color: var(--page-777king99-com-primary-color);
      border: 2px solid var(--page-777king99-com-primary-color);
    }

    .page-777king99-com__btn--secondary:hover {
      background-color: var(--page-777king99-com-primary-color);
      color: var(--page-777king99-com-dark-bg);
      transform: translateY(-2px);
    }

    .page-777king99-com__hero-section img {
      max-width: 100%;
      height: auto;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      margin-top: 30px;
      position: relative;
      z-index: 1;
      max-height: 400px; /* Limit image height for mobile */
      object-fit: contain;
    }

    .page-777king99-com__section-title {
      text-align: center;
      color: var(--page-777king99-com-primary-color);
      font-size: 2em;
      margin-bottom: 40px;
      padding-top: 40px;
      text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }

    .page-777king99-com__game-categories,
    .page-777king99-com__promotions-section,
    .page-777king99-com__about-us,
    .page-777king99-com__payment-methods,
    .page-777king99-com__faq-section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-777king99-com__category-grid,
    .page-777king99-com__promotion-grid,
    .page-777king99-com__payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      justify-items: center;
      align-items: start;
    }

    .page-777king99-com__category-item,
    .page-777king99-com__promotion-item,
    .page-777king99-com__payment-item {
      background-color: #282828;
      border-radius: 15px;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      width: 100%;
      box-sizing: border-box;
      padding-bottom: 20px;
    }

    .page-777king99-com__category-item:hover,
    .page-777king99-com__promotion-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    }

    .page-777king99-com__category-item img,
    .page-777king99-com__promotion-item img,
    .page-777king99-com__payment-item img {
      max-width: 100%;
      height: auto;
      display: block;
      margin-bottom: 15px;
      border-bottom: 1px solid var(--page-777king99-com-border-color);
      object-fit: cover;
      width: 100%;
    }
    
    .page-777king99-com__category-item img {
      min-height: 150px;
      max-height: 200px;
    }

    .page-777king99-com__promotion-item img {
      min-height: 180px;
      max-height: 250px;
    }

    .page-777king99-com__payment-item img {
      min-height: 100px;
      max-height: 120px;
      object-fit: contain;
      background-color: #fff;
      padding: 10px;
    }

    .page-777king99-com__category-title,
    .page-777king99-com__promotion-title {
      color: var(--page-777king99-com-primary-color);
      font-size: 1.4em;
      margin-bottom: 10px;
      padding: 0 15px;
    }

    .page-777king99-com__category-description,
    .page-777king99-com__promotion-description {
      color: var(--page-777king99-com-gray-text);
      font-size: 0.95em;
      padding: 0 15px;
      margin-bottom: 15px;
    }

    .page-777king99-com__payment-name {
      color: var(--page-777king99-com-light-text);
      font-size: 1.1em;
      font-weight: bold;
      margin-top: 10px;
    }

    .page-777king99-com__about-text {
      color: var(--page-777king99-com-gray-text);
      font-size: 1em;
      text-align: justify;
      margin-bottom: 30px;
    }

    .page-777king99-com__image-container {
      text-align: center;
      margin-bottom: 30px;
    }

    .page-777king99-com__about-us img {
      max-width: 100%;
      height: auto;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
      max-height: 450px;
      object-fit: cover;
    }

    .page-777king99-com__floating-buttons {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 15px;
      z-index: 1000;
      padding: 10px 15px;
      background-color: rgba(0, 0, 0, 0.7);
      border-radius: 50px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .page-777king99-com__float-btn {
      display: block;
      padding: 10px 20px;
      border-radius: 25px;
      font-weight: bold;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 0.9em;
      text-align: center;
      box-sizing: border-box;
    }

    .page-777king99-com__float-btn--register {
      background-color: var(--page-777king99-com-secondary-color);
      color: var(--page-777king99-com-light-text);
    }

    .page-777king99-com__float-btn--register:hover {
      background-color: #e03e00;
      transform: translateY(-2px);
    }

    .page-777king99-com__float-btn--login {
      background-color: var(--page-777king99-com-primary-color);
      color: var(--page-777king99-com-dark-bg);
    }

    .page-777king99-com__float-btn--login:hover {
      background-color: #e6c200;
      transform: translateY(-2px);
    }

    /* FAQ Section */
    .page-777king99-com__faq-container {
      margin-top: 30px;
    }

    .page-777king99-com__faq-item {
      background-color: #282828;
      border-radius: 10px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      border: 1px solid var(--page-777king99-com-border-color);
    }

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

    .page-777king99-com__faq-question:hover {
      background-color: #444;
    }

    .page-777king99-com__faq-question-title {
      margin: 0;
      font-size: 1.1em;
      color: var(--page-777king99-com-primary-color);
      pointer-events: none; /* Prevent text selection from interfering with click */
    }

    .page-777king99-com__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      pointer-events: none; /* Prevent icon from interfering with click */
      transition: transform 0.3s ease;
      color: var(--page-777king99-com-secondary-color);
    }

    .page-777king99-com__faq-item.active .page-777king99-com__faq-toggle {
      transform: rotate(45deg);
      color: var(--page-777king99-com-primary-color);
    }

    .page-777king99-com__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-777king99-com-gray-text);
    }

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

    .page-777king99-com__faq-answer p {
      margin: 0;
      font-size: 0.95em;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .page-777king99-com__main-title {
        font-size: 2em;
      }

      .page-777king99-com__hero-description {
        font-size: 1em;
      }

      .page-777king99-com__hero-buttons {
        flex-direction: column;
        gap: 10px;
      }

      .page-777king99-com__btn {
        width: 100%;
        max-width: 250px;
      }

      .page-777king99-com__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
        padding-top: 30px;
      }

      .page-777king99-com__game-categories,
      .page-777king99-com__promotions-section,
      .page-777king99-com__about-us,
      .page-777king99-com__payment-methods,
      .page-777king99-com__faq-section {
        padding: 20px 15px;
      }

      .page-777king99-com__category-grid,
      .page-777king99-com__promotion-grid,
      .page-777king99-com__payment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-777king99-com__category-item,
      .page-777king99-com__promotion-item,
      .page-777king99-com__payment-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-777king99-com__category-item img,
      .page-777king99-com__promotion-item img,
      .page-777king99-com__payment-item img,
      .page-777king99-com__hero-section img,
      .page-777king99-com__about-us img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-777king99-com__floating-buttons {
        width: calc(100% - 40px);
        left: 20px;
        transform: translateX(0);
        justify-content: space-around;
        gap: 10px;
      }

      .page-777king99-com__float-btn {
        flex: 1;
        padding: 10px 15px;
      }

      .page-777king99-com__faq-question-title {
        font-size: 1em;
      }

      .page-777king99-com__faq-toggle {
        font-size: 1.2em;
      }

      .page-777king99-com__faq-answer p {
        font-size: 0.9em;
      }
    }

    @media (max-width: 480px) {
      .page-777king99-com__main-title {
        font-size: 1.8em;
      }
      .page-777king99-com__hero-description {
        font-size: 0.95em;
      }
      .page-777king99-com__float-btn {
        font-size: 0.85em;
        padding: 8px 12px;
      }
    }
  