
    :root {
      --page-n18bet-primary-color: #e44d26; /* Cam đỏ */
      --page-n18bet-secondary-color: #f7b731; /* Vàng cam */
      --page-n18bet-dark-bg: #1a1a1a; /* Nền tối */
      --page-n18bet-light-text: #ffffff; /* Chữ trắng */
      --page-n18bet-gray-text: #cccccc; /* Chữ xám nhạt */
      --page-n18bet-border-color: #333333; /* Màu viền */
      --page-n18bet-button-hover-bg: #ff6f42; /* Màu hover nút */
    }

    .page-n18bet {
      font-family: 'Arial', sans-serif;
      color: var(--page-n18bet-light-text);
      background-color: var(--page-n18bet-dark-bg);
      line-height: 1.6;
      padding-top: var(--header-offset, 122px); /* Fallback for header offset */
    }

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

    .page-n18bet__section--dark {
      background-color: #222222;
    }

    .page-n18bet__section-title {
      font-size: 2.8em;
      color: var(--page-n18bet-secondary-color);
      margin-bottom: 25px;
      position: relative;
      padding-bottom: 15px;
      text-transform: uppercase;
    }

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

    .page-n18bet__text {
      font-size: 1.1em;
      color: var(--page-n18bet-gray-text);
      margin-bottom: 20px;
    }

    .page-n18bet__hero-section {
      background-color: #111111;
      position: relative;
      overflow: hidden;
      padding: 10px 0 60px 0; /* Adjust top padding to avoid double offset */
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 450px;
    }

    .page-n18bet__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      filter: brightness(0.5); /* Darken the image */
    }

    .page-n18bet__hero-content {
      position: relative;
      z-index: 1;
      max-width: 900px;
      padding: 20px;
      color: var(--page-n18bet-light-text);
      text-align: center;
    }

    .page-n18bet__hero-title {
      font-size: 3.5em;
      margin-bottom: 15px;
      color: var(--page-n18bet-secondary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-n18bet__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      color: var(--page-n18bet-gray-text);
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    .page-n18bet__button-group {
      display: flex;
      gap: 20px;
      justify-content: center;
    }

    .page-n18bet__button {
      background-color: var(--page-n18bet-primary-color);
      color: var(--page-n18bet-light-text);
      padding: 15px 30px;
      border: none;
      border-radius: 8px;
      font-size: 1.1em;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: inline-block;
      text-align: center;
      font-weight: bold;
    }

    .page-n18bet__button:hover {
      background-color: var(--page-n18bet-button-hover-bg);
      transform: translateY(-2px);
    }

    .page-n18bet__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-n18bet__game-card {
      background-color: #2a2a2a;
      border-radius: 12px;
      overflow: hidden;
      text-align: center;
      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-n18bet-border-color);
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
    }

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

    .page-n18bet__game-image-wrapper {
      width: 100%;
      height: 200px;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #333;
    }

    .page-n18bet__game-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .page-n18bet__game-card:hover .page-n18bet__game-image {
      transform: scale(1.05);
    }

    .page-n18bet__game-info {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-n18bet__game-title {
      font-size: 1.5em;
      color: var(--page-n18bet-secondary-color);
      margin-bottom: 10px;
    }

    .page-n18bet__game-description {
      font-size: 0.95em;
      color: var(--page-n18bet-gray-text);
      margin-bottom: 15px;
    }
    
    .page-n18bet__promotion-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-n18bet__promotion-card {
      background-color: #2a2a2a;
      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;
      border: 1px solid var(--page-n18bet-border-color);
      text-align: left;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
    }

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

    .page-n18bet__promotion-image-wrapper {
      width: 100%;
      height: 220px;
      overflow: hidden;
      background-color: #333;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .page-n18bet__promotion-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .page-n18bet__promotion-card:hover .page-n18bet__promotion-image {
      transform: scale(1.05);
    }

    .page-n18bet__promotion-info {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-n18bet__promotion-title {
      font-size: 1.6em;
      color: var(--page-n18bet-primary-color);
      margin-bottom: 10px;
      line-height: 1.3;
    }

    .page-n18bet__promotion-description {
      font-size: 0.95em;
      color: var(--page-n18bet-gray-text);
      margin-bottom: 15px;
      flex-grow: 1;
    }

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

    .page-n18bet__feature-item {
      background-color: #2a2a2a;
      border-radius: 10px;
      padding: 25px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      text-align: left;
      border-left: 5px solid var(--page-n18bet-primary-color);
      box-sizing: border-box;
    }

    .page-n18bet__feature-title {
      font-size: 1.4em;
      color: var(--page-n18bet-light-text);
      margin-bottom: 10px;
    }

    .page-n18bet__feature-description {
      font-size: 1em;
      color: var(--page-n18bet-gray-text);
    }

    .page-n18bet__payment-providers,
    .page-n18bet__game-providers,
    .page-n18bet__social-media {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    .page-n18bet__provider-item,
    .page-n18bet__social-item {
      display: flex;
      align-items: center;
      background-color: #2a2a2a;
      padding: 10px 20px;
      border-radius: 8px;
      border: 1px solid var(--page-n18bet-border-color);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      color: var(--page-n18bet-light-text);
      font-weight: bold;
      font-size: 1.1em;
      box-sizing: border-box;
      min-width: 120px; /* Ensure items don't get too small */
      justify-content: center;
    }

    .page-n18bet__provider-item:hover,
    .page-n18bet__social-item:hover {
      background-color: #3a3a3a;
      transform: translateY(-2px);
    }

    .page-n18bet__provider-logo,
    .page-n18bet__social-icon {
      width: 40px; /* Adjust size as needed, but remember minimum 200x200 for actual images */
      height: 40px;
      margin-right: 10px;
      object-fit: contain;
      max-width: 100%;
      height: auto;
    }

    .page-n18bet__faq-container {
      margin-top: 30px;
      text-align: left;
    }

    .page-n18bet__faq-item {
      background-color: #2a2a2a;
      border: 1px solid var(--page-n18bet-border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

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

    .page-n18bet__faq-question:hover {
      background-color: #444444;
    }

    .page-n18bet__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: var(--page-n18bet-light-text);
      pointer-events: none; /* Prevent h3 from interfering with click */
    }

    .page-n18bet__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--page-n18bet-primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from interfering with click */
    }

    .page-n18bet__faq-item.active .page-n18bet__faq-toggle {
      transform: rotate(45deg); /* Change '+' to 'x' visually */
      color: var(--page-n18bet-secondary-color);
    }

    .page-n18bet__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      color: var(--page-n18bet-gray-text);
      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-n18bet__faq-item.active .page-n18bet__faq-answer {
      max-height: 2000px !important; /* Sufficiently large value */
      padding: 20px !important;
      opacity: 1;
    }

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

    .page-n18bet__floating-button {
      background-color: var(--page-n18bet-primary-color);
      color: var(--page-n18bet-light-text);
      padding: 12px 25px;
      border: none;
      border-radius: 25px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 120px;
    }

    .page-n18bet__floating-button:hover {
      background-color: var(--page-n18bet-button-hover-bg);
      transform: translateY(-2px);
    }

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

      .page-n18bet__hero-subtitle {
        font-size: 1.2em;
      }

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

      .page-n18bet__button-group {
        flex-direction: column;
        gap: 15px;
      }

      .page-n18bet__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
      }

      .page-n18bet__game-grid,
      .page-n18bet__promotion-grid,
      .page-n18bet__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      
      .page-n18bet__game-card,
      .page-n18bet__promotion-card,
      .page-n18bet__feature-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px !important; /* Adjust padding for smaller screens */
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }

      .page-n18bet__game-image-wrapper,
      .page-n18bet__promotion-image-wrapper {
        height: 180px;
      }

      .page-n18bet__faq-question {
        font-size: 1.1em;
        padding: 12px 15px;
      }

      .page-n18bet__faq-question h3 {
        font-size: 1.1em;
      }

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

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

      .page-n18bet__floating-buttons {
        bottom: 15px;
        right: 15px;
        flex-direction: row;
        gap: 8px;
      }
      
      .page-n18bet__floating-button {
        padding: 10px 20px;
        font-size: 1em;
        min-width: unset;
        width: auto;
      }

      .page-n18bet__payment-providers,
      .page-n18bet__game-providers,
      .page-n18bet__social-media {
        gap: 15px;
      }

      .page-n18bet__provider-item,
      .page-n18bet__social-item {
        padding: 8px 15px;
        font-size: 1em;
      }
    }

    @media (max-width: 480px) {
      .page-n18bet__hero-title {
        font-size: 2em;
      }

      .page-n18bet__hero-subtitle {
        font-size: 1em;
      }

      .page-n18bet__section {
        padding: 30px 15px;
      }

      .page-n18bet__section-title {
        font-size: 1.8em;
      }

      .page-n18bet__floating-buttons {
        flex-direction: column; /* Stack buttons vertically on very small screens */
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        max-width: 200px;
      }
      .page-n18bet__floating-button {
        width: 100%;
        max-width: 200px;
      }
    }
  