
    /* Reset và Box Sizing cơ bản cho trang */
    .page-gemcode {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: #333;
      background-color: #f8f9fa;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .page-gemcode * {
      box-sizing: border-box;
    }

    /* Tiêu đề chung và văn bản */
    .page-gemcode__section-title {
      text-align: center;
      color: #0056b3;
      margin-bottom: 30px;
      font-size: 2.2em;
      font-weight: 700;
      padding: 0 15px;
    }

    .page-gemcode__text-content {
      max-width: 900px;
      margin: 0 auto 40px auto;
      padding: 0 15px;
      font-size: 1.1em;
      text-align: justify;
    }

    /* Các phần section */
    .page-gemcode section {
      padding: 60px 0;
      margin-bottom: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .page-gemcode section:nth-of-type(odd) {
      background-color: #fefefe;
    }

    /* Hero Section */
    .page-gemcode__hero-section {
      position: relative;
      width: 100%;
      min-height: 450px; /* Chiều cao tối thiểu */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #fff;
      overflow: hidden;
      padding-top: 10px; /* Đảm bảo không bị che bởi header */
      margin-bottom: 20px;
      background-color: #007bff; /* Fallback background */
    }

    .page-gemcode__hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      max-width: 100%;
    }

    .page-gemcode__hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 10px;
      margin: 20px;
    }

    .page-gemcode__hero-title {
      font-size: 3em;
      margin-bottom: 15px;
      font-weight: 800;
      line-height: 1.2;
      color: #ffda44;
    }

    .page-gemcode__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      font-weight: 400;
      color: #e0e0e0;
    }

    .page-gemcode__hero-button {
      display: inline-block;
      background-color: #ff4500;
      color: #fff;
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.2em;
      font-weight: 700;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .page-gemcode__hero-button:hover {
      background-color: #e63900;
      transform: translateY(-2px);
    }

    /* Floating Button */
    .page-gemcode__floating-button {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
      background-color: #ff4500;
      padding: 12px 25px;
      border-radius: 50px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      animation: page-gemcode__pulse 1.5s infinite;
      white-space: nowrap; /* Ngăn nút bị xuống dòng */
    }

    .page-gemcode__floating-button a {
      color: #fff;
      text-decoration: none;
      font-size: 1.1em;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .page-gemcode__floating-button a:hover {
      text-decoration: underline;
    }

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

    /* Feature Grid */
    .page-gemcode__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 40px auto 0 auto;
      padding: 0 20px;
    }

    .page-gemcode__feature-item {
      background-color: #f0f8ff;
      padding: 30px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-gemcode__feature-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }

    .page-gemcode__feature-icon {
      width: 100px; /* Kích thước hiển thị, ảnh gốc lớn hơn */
      height: 100px; /* Kích thước hiển thị, ảnh gốc lớn hơn */
      max-width: 100%;
      height: auto;
      margin-bottom: 20px;
      object-fit: contain;
    }

    .page-gemcode__feature-title {
      font-size: 1.5em;
      color: #0056b3;
      margin-bottom: 10px;
    }

    .page-gemcode__feature-description {
      font-size: 1em;
      color: #555;
    }

    /* Game Grid */
    .page-gemcode__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      max-width: 1200px;
      margin: 40px auto 0 auto;
      padding: 0 20px;
    }

    .page-gemcode__game-card {
      background-color: #fefefe;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
    }

    .page-gemcode__game-card:hover {
      transform: translateY(-7px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .page-gemcode__game-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      max-width: 100%;
    }

    .page-gemcode__game-title {
      font-size: 1.4em;
      color: #0056b3;
      margin: 20px 15px 10px 15px;
    }

    .page-gemcode__game-description {
      font-size: 0.95em;
      color: #666;
      padding: 0 15px 20px 15px;
    }

    /* Promo Section */
    .page-gemcode__promo-section {
      background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
      color: #fff;
      padding: 80px 0;
    }

    .page-gemcode__promo-section .page-gemcode__section-title {
      color: #fff;
      margin-bottom: 50px;
    }

    .page-gemcode__promo-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 20px;
      gap: 30px;
    }

    .page-gemcode__promo-image {
      width: 100%;
      max-width: 400px;
      height: auto;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      max-width: 100%;
    }

    .page-gemcode__promo-text {
      text-align: center;
      font-size: 1.15em;
      line-height: 1.8;
    }

    .page-gemcode__promo-text strong {
      color: #ffda44;
    }

    .page-gemcode__promo-button {
      display: inline-block;
      background-color: #ffda44;
      color: #0056b3;
      padding: 15px 35px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.3em;
      font-weight: 700;
      margin-top: 30px;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

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

    /* Guide Section */
    .page-gemcode__guide-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 40px auto 0 auto;
      padding: 0 20px;
    }

    .page-gemcode__guide-item {
      background-color: #e6f7ff;
      padding: 30px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-gemcode__guide-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }

    .page-gemcode__guide-image {
      width: 120px; /* Kích thước hiển thị, ảnh gốc lớn hơn */
      height: 120px; /* Kích thước hiển thị, ảnh gốc lớn hơn */
      max-width: 100%;
      height: auto;
      margin-bottom: 20px;
      object-fit: contain;
    }

    .page-gemcode__guide-title {
      font-size: 1.4em;
      color: #0056b3;
      margin-bottom: 10px;
    }

    .page-gemcode__guide-description {
      font-size: 0.95em;
      color: #555;
    }

    /* FAQ Section */
    .page-gemcode__faq-section {
      background-color: #fff;
    }

    .page-gemcode__faq-list {
      max-width: 900px;
      margin: 40px auto 0 auto;
      padding: 0 20px;
    }

    .page-gemcode__faq-item {
      margin-bottom: 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      background-color: #f9f9f9;
      transition: all 0.3s ease;
    }

    .page-gemcode__faq-item.active {
      background-color: #e0f2f7;
      border-color: #007bff;
    }

    .page-gemcode__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 25px;
      background-color: #007bff;
      color: #fff;
      cursor: pointer;
      font-size: 1.2em;
      font-weight: 600;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    .page-gemcode__faq-question:hover {
      background-color: #0056b3;
    }

    .page-gemcode__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #fff;
      pointer-events: none; /* Ngăn chặn sự kiện click trên h3 */
    }

    .page-gemcode__faq-toggle {
      font-size: 1.8em;
      line-height: 1;
      transition: transform 0.3s ease;
      pointer-events: none; /* Ngăn chặn sự kiện click trên toggle */
    }

    .page-gemcode__faq-item.active .page-gemcode__faq-toggle {
      transform: rotate(45deg); /* Để '+' thành 'x' hoặc '-' */
    }

    .page-gemcode__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px; /* Giảm padding ngang để khớp với question */
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      color: #444;
      background-color: #fff;
    }

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

    .page-gemcode__faq-answer p {
      margin: 0;
      padding-bottom: 10px;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .page-gemcode__hero-title {
        font-size: 2.5em;
      }
      .page-gemcode__hero-subtitle {
        font-size: 1.2em;
      }
      .page-gemcode__section-title {
        font-size: 2em;
      }
      .page-gemcode__promo-content {
        flex-direction: column;
      }
      .page-gemcode__promo-image {
        max-width: 350px;
      }
    }

    @media (max-width: 768px) {
      .page-gemcode__hero-section {
        min-height: 350px;
        padding-top: 10px !important; /* Đảm bảo khoảng cách trên di động */
      }
      .page-gemcode__hero-title {
        font-size: 2em;
      }
      .page-gemcode__hero-subtitle {
        font-size: 1em;
      }
      .page-gemcode__hero-button {
        padding: 12px 25px;
        font-size: 1.1em;
      }

      .page-gemcode__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
      }
      .page-gemcode__text-content {
        font-size: 1em;
        margin-bottom: 30px;
      }

      .page-gemcode__floating-button {
        bottom: 15px;
        padding: 10px 20px;
      }
      .page-gemcode__floating-button a {
        font-size: 0.95em;
      }

      .page-gemcode__features-grid,
      .page-gemcode__game-grid,
      .page-gemcode__guide-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
      }

      .page-gemcode__feature-item,
      .page-gemcode__game-card,
      .page-gemcode__guide-item {
        padding: 25px;
      }

      .page-gemcode__game-image {
        height: 180px;
      }

      .page-gemcode__promo-section {
        padding: 50px 0;
      }
      .page-gemcode__promo-image {
        max-width: 300px;
      }
      .page-gemcode__promo-button {
        padding: 12px 25px;
        font-size: 1.1em;
      }

      .page-gemcode__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
      }
      .page-gemcode__faq-question h3 {
        font-size: 1.1em;
      }
      .page-gemcode__faq-toggle {
        font-size: 1.5em;
      }
      .page-gemcode__faq-answer {
        padding: 0 20px;
      }
      .page-gemcode__faq-item.active .page-gemcode__faq-answer {
        padding: 15px 20px !important;
      }

      /* Ensure all images are responsive and within container */
      .page-gemcode img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-gemcode__hero-image {
        max-width: 100% !important;
        height: auto !important; /* Ensure height scales */
      }
      .page-gemcode__feature-icon,
      .page-gemcode__game-image,
      .page-gemcode__promo-image,
      .page-gemcode__guide-image {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-gemcode__game-card, .page-gemcode__feature-item, .page-gemcode__guide-item {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-gemcode__hero-title {
        font-size: 1.8em;
      }
      .page-gemcode__hero-subtitle {
        font-size: 0.9em;
      }
      .page-gemcode__section-title {
        font-size: 1.6em;
      }
      .page-gemcode__floating-button a {
        font-size: 0.85em;
      }
    }
  