
    /* Reset & Base Styles */
    .page-gem1 {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: #333;
      background-color: #f8f8f8;
      overflow-x: hidden;
    }

    .page-gem1__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
      box-sizing: border-box;
    }

    .page-gem1__section {
      padding: 60px 0;
      text-align: center;
    }

    .page-gem1__section--dark {
      background-color: #2c3e50;
      color: #ecf0f1;
    }

    .page-gem1__title {
      font-size: 2.8em;
      color: #2c3e50;
      margin-bottom: 20px;
      font-weight: bold;
      line-height: 1.2;
    }

    .page-gem1__section--dark .page-gem1__title {
      color: #ecf0f1;
    }

    .page-gem1__subtitle {
      font-size: 1.8em;
      color: #34495e;
      margin-bottom: 30px;
      font-weight: normal;
    }

    .page-gem1__section--dark .page-gem1__subtitle {
      color: #bdc3c7;
    }

    .page-gem1__text {
      font-size: 1.1em;
      margin-bottom: 20px;
      line-height: 1.8;
    }

    .page-gem1__button {
      display: inline-block;
      background-color: #e74c3c;
      color: #fff;
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-gem1__button:hover {
      background-color: #c0392b;
    }

    /* Hero Section */
    .page-gem1__hero-section {
      position: relative;
      background-size: cover;
      background-position: center;
      color: #fff;
      text-align: center;
      padding: 10px 0 80px 0; /* Adjusted padding-top for fixed header */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 450px; /* Minimum height for better visuals */
      overflow: hidden;
      box-sizing: border-box;
    }

    .page-gem1__hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1;
    }

    .page-gem1__hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 20px;
    }

    .page-gem1__hero-title {
      font-size: 3.2em;
      margin-bottom: 15px;
      font-weight: bold;
      line-height: 1.2;
      color: #fff;
    }

    .page-gem1__hero-description {
      font-size: 1.4em;
      margin-bottom: 30px;
      color: #f0f0f0;
    }

    .page-gem1__hero-button {
      background-color: #2ecc71;
      padding: 18px 35px;
      font-size: 1.2em;
      border-radius: 50px;
    }

    .page-gem1__hero-button:hover {
      background-color: #27ae60;
    }

    /* Floating Login Button */
    .page-gem1__floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #e74c3c;
      color: #fff;
      padding: 15px 25px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
      text-align: center;
      white-space: nowrap;
    }

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

    /* Game Categories Section */
    .page-gem1__game-categories {
      background-color: #ecf0f1;
    }

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

    .page-gem1__game-card {
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 15px 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;
      min-height: 350px; /* Ensure cards have a consistent minimum height */
    }

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

    .page-gem1__game-card-image-wrapper {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
    }

    .page-gem1__game-card-image {
      width: 100%;
      height: 200px; /* Fixed height for consistency */
      object-fit: cover;
      display: block;
      max-width: 100%;
    }

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

    .page-gem1__game-card-title {
      font-size: 1.5em;
      color: #2c3e50;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-gem1__game-card-description {
      font-size: 0.95em;
      color: #555;
      margin-bottom: 15px;
      flex-grow: 1;
    }

    .page-gem1__game-card-button {
      background-color: #3498db;
      padding: 10px 20px;
      font-size: 0.9em;
      border-radius: 30px;
    }

    .page-gem1__game-card-button:hover {
      background-color: #2980b9;
    }

    /* Features Section */
    .page-gem1__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-gem1__feature-item {
      background-color: #fff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      text-align: left;
      transition: transform 0.3s ease;
      min-height: 250px; /* Ensure consistent height */
    }

    .page-gem1__feature-item:hover {
      transform: translateY(-5px);
    }

    .page-gem1__feature-icon-wrapper {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
      margin-bottom: 20px;
    }

    .page-gem1__feature-icon {
      width: 100px; /* Example size */
      height: 100px;
      object-fit: contain;
      margin-bottom: 15px;
      display: block;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
    }

    .page-gem1__feature-title {
      font-size: 1.6em;
      color: #2c3e50;
      margin-bottom: 10px;
    }

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

    /* Call to Action Section */
    .page-gem1__cta-section {
      background-color: #34495e;
      color: #fff;
      padding: 80px 0;
    }

    .page-gem1__cta-title {
      font-size: 2.5em;
      margin-bottom: 20px;
      color: #fff;
    }

    .page-gem1__cta-description {
      font-size: 1.2em;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-gem1__cta-button {
      background-color: #e74c3c;
      padding: 18px 40px;
      font-size: 1.3em;
    }

    .page-gem1__cta-button:hover {
      background-color: #c0392b;
    }

    /* FAQ Section */
    .page-gem1__faq-section {
      background-color: #f8f8f8;
      padding-bottom: 80px;
    }

    .page-gem1__faq-list {
      margin-top: 40px;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
    }

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

    .page-gem1__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      background-color: #f0f0f0;
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-gem1__faq-question:hover {
      background-color: #e0e0e0;
    }

    .page-gem1__faq-question h3 {
      margin: 0;
      font-size: 1.3em;
      color: #2c3e50;
      pointer-events: none; /* Prevent h3 from blocking click on parent div */
    }

    .page-gem1__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: #3498db;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click on parent div */
    }

    .page-gem1__faq-item.active .page-gem1__faq-toggle {
      transform: rotate(45deg); /* Change + to X or similar */
      color: #e74c3c;
    }

    .page-gem1__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px; /* Initial padding matches question */
      background-color: #fff;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      color: #555;
    }

    .page-gem1__faq-item.active .page-gem1__faq-answer {
      max-height: 2000px !important; /* Sufficiently large for content */
      padding: 20px 25px !important; /* Adjusted padding for expanded state */
      opacity: 1;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .page-gem1__title {
        font-size: 2.2em;
      }
      .page-gem1__subtitle {
        font-size: 1.5em;
      }
      .page-gem1__hero-title {
        font-size: 2.8em;
      }
      .page-gem1__hero-description {
        font-size: 1.2em;
      }
      .page-gem1__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }
    }

    @media (max-width: 768px) {
      .page-gem1__section {
        padding: 40px 0;
      }
      .page-gem1__title {
        font-size: 2em;
      }
      .page-gem1__subtitle {
        font-size: 1.3em;
      }
      .page-gem1__hero-section {
        padding: 10px 0 60px 0; /* Mobile padding-top for fixed header */
        min-height: 350px;
      }
      .page-gem1__hero-title {
        font-size: 2.4em;
      }
      .page-gem1__hero-description {
        font-size: 1.1em;
      }
      .page-gem1__button,
      .page-gem1__hero-button,
      .page-gem1__cta-button {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-gem1__floating-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 0.95em;
      }
      .page-gem1__game-grid {
        grid-template-columns: 1fr;
      }
      .page-gem1__game-card-image {
        height: 180px;
      }
      .page-gem1__features-grid {
        grid-template-columns: 1fr;
      }
      .page-gem1__feature-item {
        padding: 25px;
      }
      .page-gem1__cta-title {
        font-size: 2em;
      }
      .page-gem1__cta-description {
        font-size: 1em;
      }
      .page-gem1__faq-question {
        padding: 15px 20px;
      }
      .page-gem1__faq-question h3 {
        font-size: 1.1em;
      }
      .page-gem1__faq-answer {
        padding: 0 20px;
      }
      .page-gem1__faq-item.active .page-gem1__faq-answer {
        padding: 15px 20px !important;
      }

      /* Image responsive optimization for mobile */
      .page-gem1 img {
        max-width: 100% !important;
        height: auto !important;
      }
      .page-gem1__game-card-image-wrapper,
      .page-gem1__feature-icon-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
      }
    }

    @media (max-width: 480px) {
      .page-gem1__hero-title {
        font-size: 2em;
      }
      .page-gem1__hero-description {
        font-size: 1em;
      }
      .page-gem1__floating-button {
        bottom: 10px;
        right: 10px;
        padding: 10px 18px;
        font-size: 0.9em;
      }
    }
  