
    /* CSS Styles for page-39bet-com */
    :root {
      --page-39bet-com__primary-color: #e0b04a; /* Golden/Yellow */
      --page-39bet-com__secondary-color: #f0f0f0; /* Light Gray */
      --page-39bet-com__dark-bg: #1a1a1a; /* Dark Background */
      --page-39bet-com__dark-bg-light: #2c2c2c; /* Slightly Lighter Dark Background */
      --page-39bet-com__text-color: #f0f0f0; /* Light Text */
      --page-39bet-com__accent-color: #ff4d4d; /* Red Accent */
      --page-39bet-com__border-color: #3a3a3a; /* Darker Border */
    }

    .page-39bet-com {
      font-family: 'Arial', sans-serif;
      color: var(--page-39bet-com__text-color);
      background-color: var(--page-39bet-com__dark-bg);
      line-height: 1.6;
      overflow-x: hidden;
      padding-top: var(--header-offset, 122px); /* Fallback to 122px if --header-offset not set */
    }

    .page-39bet-com__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      box-sizing: border-box;
    }

    .page-39bet-com__section {
      padding: 40px 0;
      text-align: center;
    }

    .page-39bet-com__section:nth-of-type(even) {
      background-color: var(--page-39bet-com__dark-bg-light);
    }

    .page-39bet-com__heading {
      color: var(--page-39bet-com__primary-color);
      margin-bottom: 20px;
      font-size: 2.5em;
      text-transform: uppercase;
    }

    .page-39bet-com__subheading {
      color: var(--page-39bet-com__secondary-color);
      margin-bottom: 30px;
      font-size: 1.5em;
    }

    /* Hero Section */
    .page-39bet-com__hero-section {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:casino,gaming,vietnam,39bet]') no-repeat center center / cover;
      padding: 80px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 400px;
      position: relative;
      overflow: hidden;
      padding-top: 10px; /* Small top padding as body already handles header offset */
    }

    .page-39bet-com__hero-title {
      font-size: 3em;
      color: var(--page-39bet-com__primary-color);
      margin-bottom: 10px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      text-align: center;
    }

    .page-39bet-com__hero-description {
      font-size: 1.2em;
      color: var(--page-39bet-com__text-color);
      max-width: 800px;
      text-align: center;
      margin-bottom: 30px;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    .page-39bet-com__promo-link {
      display: inline-block;
      background-color: var(--page-39bet-com__accent-color);
      color: #ffffff;
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease;
      border: none; /* Ensure it looks like a button */
      cursor: pointer;
    }

    .page-39bet-com__promo-link:hover {
      background-color: #cc3333;
    }

    /* Floating Buttons */
    .page-39bet-com__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 1000;
    }

    .page-39bet-com__floating-button {
      background-color: var(--page-39bet-com__primary-color);
      color: var(--page-39bet-com__dark-bg);
      padding: 12px 25px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1em;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.2s ease;
      white-space: nowrap;
      border: none;
      cursor: pointer;
    }

    .page-39bet-com__floating-button:hover {
      background-color: #d4a036;
      transform: translateY(-2px);
    }

    /* Game Categories */
    .page-39bet-com__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      padding: 20px;
    }

    .page-39bet-com__game-card {
      background-color: var(--page-39bet-com__dark-bg-light);
      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;
      border: 1px solid var(--page-39bet-com__border-color);
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%; /* Ensure cards are same height */
      box-sizing: border-box;
    }

    .page-39bet-com__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    .page-39bet-com__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      max-width: 100%; /* Ensure responsive */
    }

    .page-39bet-com__game-card-content {
      padding: 20px;
      flex-grow: 1; /* Allow content to grow */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-39bet-com__game-card-title {
      font-size: 1.4em;
      color: var(--page-39bet-com__primary-color);
      margin-bottom: 10px;
      word-wrap: break-word; /* Ensure title wraps */
      overflow-wrap: break-word;
    }

    .page-39bet-com__game-card-description {
      font-size: 0.9em;
      color: var(--page-39bet-com__secondary-color);
      margin-bottom: 15px;
      flex-grow: 1;
      word-wrap: break-word; /* Ensure description wraps */
      overflow-wrap: break-word;
    }

    .page-39bet-com__game-card-button {
      display: inline-block;
      background-color: var(--page-39bet-com__accent-color);
      color: #ffffff;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
      width: fit-content;
      margin: 0 auto;
    }

    .page-39bet-com__game-card-button:hover {
      background-color: #cc3333;
    }

    /* Promotions Section */
    .page-39bet-com__promotions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
      padding: 20px;
    }

    .page-39bet-com__promo-card {
      background-color: var(--page-39bet-com__dark-bg-light);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      border: 1px solid var(--page-39bet-com__border-color);
      text-align: left;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-39bet-com__promo-card:hover {
      transform: translateY(-5px);
    }

    .page-39bet-com__promo-card-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
      max-width: 100%; /* Ensure responsive */
    }

    .page-39bet-com__promo-card-content {
      padding: 20px;
    }

    .page-39bet-com__promo-card-title {
      font-size: 1.3em;
      color: var(--page-39bet-com__primary-color);
      margin-bottom: 10px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-39bet-com__promo-card-description {
      font-size: 0.9em;
      color: var(--page-39bet-com__secondary-color);
      margin-bottom: 15px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    /* Payment and Providers */
    .page-39bet-com__partners-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      padding: 20px;
    }

    .page-39bet-com__partner-logo-wrapper {
      background-color: #ffffff;
      padding: 10px 15px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 80px; /* Fixed height for logos */
      max-width: 180px; /* Max width for logos */
      width: 100%; /* Ensure responsiveness */
      box-sizing: border-box;
    }

    .page-39bet-com__partner-logo-wrapper:hover {
      transform: translateY(-3px);
    }

    .page-39bet-com__partner-logo {
      max-width: 100%;
      max-height: 60px;
      object-fit: contain;
      display: block;
      height: auto;
    }
    
    /* Social Media */
    .page-39bet-com__social-links {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 20px;
      padding: 0 20px;
    }

    .page-39bet-com__social-link {
      display: inline-flex;
      align-items: center;
      background-color: var(--page-39bet-com__dark-bg-light);
      color: var(--page-39bet-com__text-color);
      padding: 10px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, color 0.3s ease;
      border: 1px solid var(--page-39bet-com__border-color);
      box-sizing: border-box;
      max-width: 100%; /* Ensure responsiveness */
    }

    .page-39bet-com__social-link:hover {
      background-color: var(--page-39bet-com__primary-color);
      color: var(--page-39bet-com__dark-bg);
    }

    .page-39bet-com__social-icon {
      margin-right: 8px;
      width: 30px; /* Standard icon size */
      height: 30px;
      object-fit: contain;
      max-width: 100%;
      height: auto;
    }

    /* FAQ Section */
    .page-39bet-com__faq-section {
      text-align: left;
    }

    .page-39bet-com__faq-list {
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
    }

    .page-39bet-com__faq-item {
      background-color: var(--page-39bet-com__dark-bg-light);
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid var(--page-39bet-com__border-color);
    }

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

    .page-39bet-com__faq-question:hover {
      background-color: #3a3a3a;
    }

    .page-39bet-com__faq-question h3 {
      margin: 0;
      color: var(--page-39bet-com__primary-color);
      font-size: 1.1em; /* Adjust font size for questions */
      pointer-events: none; /* Prevent h3 from blocking click event */
      word-wrap: break-word;
      overflow-wrap: break-word;
      flex-grow: 1;
      text-align: left;
    }

    .page-39bet-com__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--page-39bet-com__primary-color);
      margin-left: 15px;
      pointer-events: none; /* Prevent toggle icon from blocking click event */
      transition: transform 0.3s ease;
    }

    .page-39bet-com__faq-item.active .page-39bet-com__faq-toggle {
      transform: rotate(45deg); /* Rotate to form an 'x' or '-' */
    }

    .page-39bet-com__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px; /* Initial padding */
      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-39bet-com__secondary-color);
      font-size: 0.95em;
      text-align: left;
    }

    .page-39bet-com__faq-item.active .page-39bet-com__faq-answer {
      max-height: 2000px !important; /* Sufficiently large to show content */
      padding: 20px 20px !important; /* Adjusted padding for active state */
      opacity: 1;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-39bet-com__container {
        padding: 15px;
      }

      .page-39bet-com__heading {
        font-size: 2em;
      }

      .page-39bet-com__hero-title {
        font-size: 2.2em;
      }

      .page-39bet-com__hero-description {
        font-size: 1em;
      }

      .page-39bet-com__promo-link {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-39bet-com__floating-buttons {
        bottom: 10px;
        right: 10px;
        flex-direction: row; /* Buttons side by side on mobile */
        width: calc(100% - 20px);
        justify-content: center;
        gap: 8px;
      }

      .page-39bet-com__floating-button {
        flex: 1; /* Distribute space evenly */
        padding: 10px 15px;
        font-size: 0.9em;
      }

      .page-39bet-com__game-grid,
      .page-39bet-com__promotions-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        padding: 15px;
      }

      .page-39bet-com__game-card,
      .page-39bet-com__promo-card {
        width: 100%;
        box-sizing: border-box !important;
      }

      .page-39bet-com__game-card-image,
      .page-39bet-com__promo-card-image {
        max-width: 100%;
        height: auto;
      }

      .page-39bet-com__partners-grid {
        padding: 15px;
        gap: 10px;
      }

      .page-39bet-com__partner-logo-wrapper {
        height: 60px;
        max-width: 150px;
        width: 48%; /* Two columns */
      }

      .page-39bet-com__partner-logo {
        max-height: 40px;
      }

      .page-39bet-com__social-link {
        padding: 8px 15px;
        font-size: 0.9em;
      }

      .page-39bet-com__social-icon {
        width: 25px;
        height: 25px;
      }

      .page-39bet-com__faq-list {
        padding: 15px;
      }

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

      .page-39bet-com__faq-question h3 {
        font-size: 1em;
      }

      .page-39bet-com__faq-answer {
        padding: 15px 15px !important; /* Adjusted padding for active state on mobile */
      }
    }
  