
    /* Tổng quan */
    .page-gem4 {
      font-family: 'Arial', sans-serif;
      color: #333;
      background-color: #f8f8f8;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* Đảm bảo hình ảnh responsive */
    .page-gem4 img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: 8px;
    }

    .page-gem4__image-container {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
    }

    /* Phần Hero Banner */
    .page-gem4__hero-section {
      position: relative;
      background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
      color: #fff;
      text-align: center;
      padding: 10px 20px 60px; /* Padding top để tránh header cố định */
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .page-gem4__hero-image {
      width: 100%;
      max-width: 1200px;
      height: auto;
      margin-bottom: 20px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .page-gem4__hero-title {
      font-size: 2.8em;
      margin-bottom: 15px;
      font-weight: bold;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
      color: #fff;
    }

    .page-gem4__hero-subtitle {
      font-size: 1.3em;
      margin-bottom: 30px;
      max-width: 800px;
      color: #eee;
    }

    .page-gem4__cta-button {
      display: inline-block;
      background-color: #f0c200;
      color: #1a2a6c;
      padding: 15px 30px;
      border-radius: 50px;
      font-size: 1.2em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
      border: none;
      cursor: pointer;
    }

    .page-gem4__cta-button:hover {
      background-color: #e0b000;
      transform: translateY(-3px);
    }

    /* Nút Đăng nhập nổi */
    .page-gem4__floating-login-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #ff4500;
      color: #fff;
      padding: 15px 25px;
      border-radius: 50px;
      font-size: 1.1em;
      font-weight: bold;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      animation: page-gem4__pulse 1.5s infinite;
      cursor: pointer;
      border: none;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .page-gem4__floating-login-button:hover {
      background-color: #e63900;
    }

    @keyframes page-gem4__pulse {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.05);
      }
      100% {
        transform: scale(1);
      }
    }

    /* Các phần nội dung chung */
    .page-gem4__section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      margin-bottom: 30px;
    }
    
    .page-gem4__section:first-of-type { /* Nếu không có hero, section đầu tiên cần padding-top */
        padding-top: 50px; /* Adjust if hero is not present */
    }

    .page-gem4__section-title {
      font-size: 2.2em;
      color: #1a2a6c;
      text-align: center;
      margin-bottom: 30px;
      position: relative;
    }

    .page-gem4__section-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background-color: #f0c200;
      margin: 10px auto 0;
      border-radius: 2px;
    }

    .page-gem4__text-content {
      font-size: 1.1em;
      color: #555;
      margin-bottom: 20px;
      text-align: justify;
    }

    /* Lưới trò chơi */
    .page-gem4__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-gem4__game-card {
      background-color: #fefefe;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-gem4__game-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .page-gem4__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-bottom: 1px solid #eee;
    }

    .page-gem4__game-card-content {
      padding: 20px;
      flex-grow: 1;
    }

    .page-gem4__game-card-title {
      font-size: 1.6em;
      color: #1a2a6c;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-gem4__game-card-description {
      font-size: 0.95em;
      color: #666;
      margin-bottom: 20px;
    }

    .page-gem4__game-card-button {
      background-color: #f0c200;
      color: #1a2a6c;
      padding: 10px 20px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-gem4__game-card-button:hover {
      background-color: #e0b000;
    }

    /* Phần Ưu Đãi */
    .page-gem4__promotion-card {
      background: linear-gradient(45deg, #1a2a6c, #3f51b5);
      color: #fff;
      padding: 30px;
      border-radius: 15px;
      text-align: center;
      margin-top: 30px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .page-gem4__promotion-title {
      font-size: 2em;
      margin-bottom: 15px;
      font-weight: bold;
      color: #f0c200;
    }

    .page-gem4__promotion-description {
      font-size: 1.1em;
      margin-bottom: 25px;
    }

    /* Phần Tại sao chọn GEM4 Win */
    .page-gem4__advantage-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-gem4__advantage-item {
      background-color: #eef7ff;
      border-left: 5px solid #1a2a6c;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
      text-align: left;
    }

    .page-gem4__advantage-item-title {
      font-size: 1.4em;
      color: #1a2a6c;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-gem4__advantage-item-text {
      font-size: 1em;
      color: #444;
    }

    /* Phần Câu hỏi thường gặp (FAQ) */
    .page-gem4__faq-section {
      background-color: #f0f8ff;
      padding: 40px 20px;
      max-width: 1000px;
      margin: 30px auto;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .page-gem4__faq-item {
      background-color: #fff;
      margin-bottom: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      overflow: hidden;
    }

    .page-gem4__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      background-color: #e9f5ff;
      cursor: pointer;
      user-select: none;
      border-bottom: 1px solid #dcebf7;
      transition: background-color 0.3s ease;
    }

    .page-gem4__faq-question:hover {
      background-color: #dcebf7;
    }

    .page-gem4__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #1a2a6c;
      pointer-events: none; /* Ngăn chặn việc click vào H3 làm gián đoạn sự kiện cha */
      flex-grow: 1;
    }

    .page-gem4__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: #1a2a6c;
      margin-left: 15px;
      pointer-events: none; /* Ngăn chặn việc click vào icon làm gián đoạn sự kiện cha */
      transition: transform 0.3s ease;
    }

    .page-gem4__faq-item.active .page-gem4__faq-toggle {
      transform: rotate(45deg); /* Chuyển dấu '+' thành 'x' hoặc '-' */
    }

    .page-gem4__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
      color: #444;
      font-size: 1em;
      background-color: #fefefe;
    }

    .page-gem4__faq-item.active .page-gem4__faq-answer {
      max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
      padding: 20px !important;
      opacity: 1;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .page-gem4__hero-section {
        padding: 10px 15px 40px;
      }
      .page-gem4__hero-title {
        font-size: 2em;
      }
      .page-gem4__hero-subtitle {
        font-size: 1em;
      }
      .page-gem4__cta-button {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-gem4__floating-login-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 0.95em;
      }

      .page-gem4__section {
        padding: 30px 15px;
        margin-bottom: 20px;
      }
      .page-gem4__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
      }
      .page-gem4__text-content {
        font-size: 1em;
      }
      .page-gem4__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .page-gem4__game-card-image {
        height: 180px;
      }
      .page-gem4__game-card-title {
        font-size: 1.4em;
      }
      .page-gem4__promotion-card {
        padding: 25px;
      }
      .page-gem4__promotion-title {
        font-size: 1.8em;
      }
      .page-gem4__promotion-description {
        font-size: 1em;
      }
      .page-gem4__advantage-list {
        grid-template-columns: 1fr;
        gap: 15px;
      }
      .page-gem4__advantage-item-title {
        font-size: 1.2em;
      }
      .page-gem4__faq-section {
        padding: 30px 15px;
      }
      .page-gem4__faq-question h3 {
        font-size: 1.1em;
      }
      .page-gem4__faq-answer {
        padding: 0 15px;
      }
      .page-gem4__faq-item.active .page-gem4__faq-answer {
        padding: 15px !important;
      }

      /* Responsive image optimization with !important */
      .page-gem4 img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-gem4__image-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-gem4__hero-title {
        font-size: 1.8em;
      }
      .page-gem4__floating-login-button {
        font-size: 0.9em;
        padding: 10px 18px;
      }
      .page-gem4__section-title {
        font-size: 1.6em;
      }
    }
  