
    /* CSS Styles for Gem Play Page */
    :root {
      --page-gemplay-primary-color: #f39c12; /* Orange for highlights */
      --page-gemplay-secondary-color: #e67e22; /* Darker orange */
      --page-gemplay-text-color: #ecf0f1; /* Light grey for text */
      --page-gemplay-bg-dark: #2c3e50; /* Dark blue for background */
      --page-gemplay-bg-medium: #34495e; /* Medium blue for sections */
      --page-gemplay-bg-light: #4a6572; /* Lighter blue for cards */
      --page-gemplay-border-color: #7f8c8d; /* Grey for borders */
      --page-gemplay-shadow: rgba(0, 0, 0, 0.3);
      --page-gemplay-font-family: 'Arial', sans-serif;
    }

    .page-gemplay {
      font-family: var(--page-gemplay-font-family);
      color: var(--page-gemplay-text-color);
      background-color: var(--page-gemplay-bg-dark);
      line-height: 1.6;
      overflow-x: hidden;
    }

    .page-gemplay__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: var(--page-gemplay-bg-medium);
      border-radius: 8px;
      box-shadow: 0 4px 10px var(--page-gemplay-shadow);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-gemplay__section--dark {
      background-color: var(--page-gemplay-bg-dark);
      border-radius: 0;
    }

    .page-gemplay__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .page-gemplay__hero-section {
      position: relative;
      width: 100%;
      height: 60vh; /* Adjust height as needed */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #fff;
      overflow: hidden;
      padding-top: 100px; /* Space for fixed header */
      box-sizing: border-box;
    }

    .page-gemplay__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

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

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

    .page-gemplay__hero-title {
      font-size: 3.5em;
      margin-bottom: 15px;
      color: var(--page-gemplay-primary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      color: #e0e0e0;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__button {
      display: inline-block;
      background-color: var(--page-gemplay-primary-color);
      color: #fff;
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1.1em;
    }

    .page-gemplay__button:hover {
      background-color: var(--page-gemplay-secondary-color);
      transform: translateY(-2px);
    }

    .page-gemplay__floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: var(--page-gemplay-primary-color);
      color: #fff;
      padding: 15px 25px;
      border-radius: 50px;
      font-weight: bold;
      text-align: center;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
      z-index: 1000;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1em;
      animation: page-gemplay__pulse 2s infinite;
      text-decoration: none; /* Ensure it looks like a button */
    }

    .page-gemplay__floating-button:hover {
      background-color: var(--page-gemplay-secondary-color);
      transform: scale(1.05);
    }

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

    .page-gemplay__heading {
      font-size: 2.5em;
      color: var(--page-gemplay-primary-color);
      text-align: center;
      margin-bottom: 40px;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__sub-heading {
      font-size: 1.8em;
      color: #e0e0e0;
      margin-top: 30px;
      margin-bottom: 20px;
      text-align: center;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__text-content {
      font-size: 1.1em;
      color: var(--page-gemplay-text-color);
      margin-bottom: 20px;
      text-align: justify;
    }

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

    .page-gemplay__game-card {
      background-color: var(--page-gemplay-bg-light);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%; /* Ensure cards are same height */
    }

    .page-gemplay__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .page-gemplay__game-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .page-gemplay__game-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .page-gemplay__game-title {
      font-size: 1.5em;
      color: var(--page-gemplay-primary-color);
      margin-bottom: 10px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__game-description {
      font-size: 0.95em;
      color: #c0c0c0;
      margin-bottom: 15px;
      flex-grow: 1;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__game-button {
      background-color: var(--page-gemplay-primary-color);
      color: #fff;
      padding: 10px 15px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      text-align: center;
      transition: background-color 0.3s ease;
      margin-top: auto; /* Push button to bottom */
      border: none;
      cursor: pointer;
    }

    .page-gemplay__game-button:hover {
      background-color: var(--page-gemplay-secondary-color);
    }

    .page-gemplay__feature-list {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 30px;
      justify-content: center;
    }

    .page-gemplay__feature-item {
      background-color: var(--page-gemplay-bg-light);
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      text-align: center;
      flex: 1 1 calc(33% - 40px); /* 3 items per row on desktop */
      min-width: 280px;
      box-sizing: border-box;
      transition: transform 0.3s ease;
    }

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

    .page-gemplay__feature-title {
      font-size: 1.3em;
      color: var(--page-gemplay-primary-color);
      margin-bottom: 10px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__feature-description {
      font-size: 0.95em;
      color: #c0c0c0;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__how-to-steps {
      display: flex;
      flex-direction: column;
      gap: 25px;
      margin-top: 30px;
    }

    .page-gemplay__step-item {
      background-color: var(--page-gemplay-bg-light);
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      display: flex;
      align-items: flex-start;
      gap: 20px;
      box-sizing: border-box;
    }

    .page-gemplay__step-number {
      font-size: 2.5em;
      font-weight: bold;
      color: var(--page-gemplay-primary-color);
      flex-shrink: 0;
      line-height: 1;
    }

    .page-gemplay__step-content {
      flex-grow: 1;
    }

    .page-gemplay__step-title {
      font-size: 1.4em;
      color: var(--page-gemplay-primary-color);
      margin-bottom: 10px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__step-description {
      font-size: 1em;
      color: #c0c0c0;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    /* FAQ Section */
    .page-gemplay__faq-section {
      background-color: var(--page-gemplay-bg-medium);
      padding: 40px 20px;
      max-width: 1200px;
      margin: 20px auto;
      border-radius: 8px;
      box-shadow: 0 4px 10px var(--page-gemplay-shadow);
    }

    .page-gemplay__faq-heading {
      font-size: 2.5em;
      color: var(--page-gemplay-primary-color);
      text-align: center;
      margin-bottom: 40px;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .page-gemplay__faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .page-gemplay__faq-item {
      background-color: var(--page-gemplay-bg-light);
      border-radius: 8px;
      margin-bottom: 15px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      overflow: hidden; /* Important for max-height transition */
    }

    .page-gemplay__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      background-color: var(--page-gemplay-bg-light);
      color: var(--page-gemplay-text-color);
      border-bottom: 1px solid var(--page-gemplay-border-color);
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-gemplay__faq-question:hover {
      background-color: #55717c;
    }

    .page-gemplay__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: var(--page-gemplay-primary-color);
      pointer-events: none; /* Prevent h3 from blocking click event */
      word-wrap: break-word;
      overflow-wrap: break-word;
      flex-grow: 1;
    }

    .page-gemplay__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--page-gemplay-primary-color);
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click event */
      line-height: 1;
    }

    .page-gemplay__faq-item.active .page-gemplay__faq-toggle {
      transform: rotate(45deg); /* Change + to X or - visual */
    }

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

    .page-gemplay__faq-item.active .page-gemplay__faq-answer {
      max-height: 2000px !important; /* Sufficiently large value */
      padding: 20px 25px !important; /* Expanded padding */
      opacity: 1;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-gemplay__hero-section {
        height: 50vh;
        padding-top: 80px; /* Adjust for mobile fixed header */
      }

      .page-gemplay__hero-title {
        font-size: 2.2em;
      }

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

      .page-gemplay__heading {
        font-size: 2em;
      }

      .page-gemplay__sub-heading {
        font-size: 1.5em;
      }

      .page-gemplay__floating-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 1em;
      }

      .page-gemplay__game-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
      }

      .page-gemplay__feature-item {
        flex: 1 1 100%; /* Full width on mobile */
        width: 100% !important; /* Ensure full width */
        box-sizing: border-box !important;
        padding: 20px;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-gemplay__feature-list {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }

      .page-gemplay__how-to-steps {
        gap: 15px;
      }

      .page-gemplay__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
      }

      .page-gemplay__step-number {
        margin-bottom: 10px;
      }

      .page-gemplay__step-content {
        width: 100%;
      }

      .page-gemplay__faq-heading {
        font-size: 2em;
      }

      .page-gemplay__faq-question {
        padding: 15px 20px;
      }

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

      .page-gemplay__faq-answer {
        padding: 0 20px; /* Adjust padding for mobile */
      }
      .page-gemplay__faq-item.active .page-gemplay__faq-answer {
        padding: 15px 20px !important;
      }

      /* Ensure all images are responsive */
      .page-gemplay img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-gemplay__game-image {
        height: 180px; /* Adjust image height for smaller screens */
      }
    }
  