
    :root {
      --page-gme777-primary-color: #e44d26; /* A vibrant, energetic color */
      --page-gme777-secondary-color: #333;
      --page-gme777-accent-color: #f7b731; /* Golden accent */
      --page-gme777-background-light: #f9f9f9;
      --page-gme777-background-dark: #222;
      --page-gme777-text-light: #fff;
      --page-gme777-text-dark: #333;
      --page-gme777-border-color: #ddd;
    }

    .page-gme777 {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--page-gme777-text-dark);
      background-color: var(--page-gme777-background-light);
    }

    .page-gme777__hero-section {
      position: relative;
      padding: 10px 0 60px 0; /* Small decorative padding-top, assuming body handles header offset */
      background-color: var(--page-gme777-background-dark);
      color: var(--page-gme777-text-light);
      text-align: center;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 500px;
    }

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

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

    .page-gme777__hero-title {
      font-size: 2.8em;
      margin-bottom: 15px;
      color: var(--page-gme777-accent-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-gme777__hero-subtitle {
      font-size: 1.2em;
      margin-bottom: 30px;
      color: var(--page-gme777-text-light);
    }

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

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

    .page-gme777__button--primary {
      background-color: var(--page-gme777-primary-color);
    }

    .page-gme777__button--primary:hover {
      background-color: #c0392b;
      transform: translateY(-2px);
    }

    .page-gme777__button--secondary {
      background-color: var(--page-gme777-accent-color);
      color: var(--page-gme777-secondary-color);
    }

    .page-gme777__button--secondary:hover {
      background-color: #e6a220;
      transform: translateY(-2px);
    }

    .page-gme777__section {
      padding: 60px 20px;
      text-align: center;
      background-color: var(--page-gme777-background-light);
    }

    .page-gme777__section--dark {
      background-color: var(--page-gme777-background-dark);
      color: var(--page-gme777-text-light);
    }

    .page-gme777__section-title {
      font-size: 2.2em;
      margin-bottom: 40px;
      color: var(--page-gme777-primary-color);
      text-transform: uppercase;
    }

    .page-gme777__section--dark .page-gme777__section-title {
      color: var(--page-gme777-accent-color);
    }

    .page-gme777__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-gme777__feature-item {
      background-color: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      text-align: left;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .page-gme777__section--dark .page-gme777__feature-item {
      background-color: #333;
      color: var(--page-gme777-text-light);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

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

    .page-gme777__feature-icon {
      width: 250px;
      height: 180px;
      object-fit: cover;
      margin-bottom: 20px;
      border-radius: 8px;
    }

    .page-gme777__feature-title {
      font-size: 1.5em;
      margin-bottom: 15px;
      color: var(--page-gme777-primary-color);
    }

    .page-gme777__section--dark .page-gme777__feature-title {
      color: var(--page-gme777-accent-color);
    }

    .page-gme777__feature-description {
      font-size: 1em;
      color: var(--page-gme777-secondary-color);
    }

    .page-gme777__section--dark .page-gme777__feature-description {
      color: var(--page-gme777-text-light);
    }

    .page-gme777__game-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-gme777__category-card {
      background-color: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      text-align: center;
      padding-bottom: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .page-gme777__category-card:hover {
      transform: translateY(-5px);
    }

    .page-gme777__category-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      margin-bottom: 15px;
    }

    .page-gme777__category-title {
      font-size: 1.3em;
      color: var(--page-gme777-primary-color);
      margin-bottom: 10px;
    }

    .page-gme777__category-description {
      padding: 0 15px;
      font-size: 0.9em;
      color: var(--page-gme777-secondary-color);
    }

    .page-gme777__promotions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-gme777__promo-card {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: left;
      display: flex;
      flex-direction: column;
    }

    .page-gme777__promo-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .page-gme777__promo-content {
      padding: 25px;
      flex-grow: 1;
    }

    .page-gme777__promo-title {
      font-size: 1.6em;
      color: var(--page-gme777-primary-color);
      margin-bottom: 10px;
    }

    .page-gme777__promo-description {
      font-size: 0.95em;
      color: var(--page-gme777-secondary-color);
      margin-bottom: 20px;
    }

    .page-gme777__promo-button {
      background-color: var(--page-gme777-accent-color);
      color: var(--page-gme777-secondary-color);
      padding: 10px 20px;
      border-radius: 5px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
      text-decoration: none;
      display: inline-block;
      border: none;
    }

    .page-gme777__promo-button:hover {
      background-color: #e6a220;
    }

    .page-gme777__payment-providers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .page-gme777__payment-item,
    .page-gme777__provider-item {
      background-color: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .page-gme777__section--dark .page-gme777__payment-item,
    .page-gme777__section--dark .page-gme777__provider-item {
      background-color: #333;
      color: var(--page-gme777-text-light);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .page-gme777__payment-logo,
    .page-gme777__provider-logo {
      max-width: 180px;
      height: 100px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .page-gme777__payment-name,
    .page-gme777__provider-name {
      font-size: 1.1em;
      font-weight: bold;
      color: var(--page-gme777-secondary-color);
    }

    .page-gme777__section--dark .page-gme777__payment-name,
    .page-gme777__section--dark .page-gme777__provider-name {
      color: var(--page-gme777-text-light);
    }

    .page-gme777__faq-container {
      max-width: 800px;
      margin: 0 auto;
      text-align: left;
    }

    .page-gme777__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-gme777__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: var(--page-gme777-primary-color);
      color: var(--page-gme777-text-light);
      cursor: pointer;
      font-weight: bold;
      font-size: 1.1em;
      border-radius: 8px;
      transition: background-color 0.3s ease;
      user-select: none;
    }

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

    .page-gme777__faq-question h3 {
      margin: 0;
      color: inherit;
      pointer-events: none; /* Prevents text selection from interfering with click */
    }

    .page-gme777__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      pointer-events: none; /* Prevents icon from interfering with click */
      transition: transform 0.3s ease;
    }

    .page-gme777__faq-item.active .page-gme777__faq-toggle {
      transform: rotate(45deg);
    }

    .page-gme777__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px;
      opacity: 0;
      background-color: #f0f0f0;
      color: var(--page-gme777-secondary-color);
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
    }

    .page-gme777__faq-item.active .page-gme777__faq-answer {
      max-height: 2000px !important; /* Sufficiently large to contain content */
      padding: 20px 15px !important;
      opacity: 1;
    }

    /* Floating Register/Login Buttons */
    .page-gme777__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .page-gme777__floating-button {
      background-color: var(--page-gme777-primary-color);
      color: var(--page-gme777-text-light);
      padding: 12px 25px;
      border-radius: 30px;
      font-weight: bold;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
    }

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

    .page-gme777__floating-button--login {
      background-color: var(--page-gme777-accent-color);
      color: var(--page-gme777-secondary-color);
    }

    .page-gme777__floating-button--login:hover {
      background-color: #e6a220;
    }


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

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

      .page-gme777__section {
        padding: 40px 15px;
      }

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

      .page-gme777__features-grid,
      .page-gme777__game-categories,
      .page-gme777__promotions-grid,
      .page-gme777__payment-providers-grid {
        grid-template-columns: 1fr;
      }

      .page-gme777__feature-item,
      .page-gme777__category-card,
      .page-gme777__promo-card,
      .page-gme777__payment-item,
      .page-gme777__provider-item {
        margin-bottom: 20px; /* Add space between stacked items */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-gme777__feature-description,
      .page-gme777__category-description,
      .page-gme777__promo-description {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-gme777__faq-question {
        font-size: 1em;
        padding: 12px 15px;
      }

      .page-gme777__faq-answer {
        padding: 15px 15px !important;
      }

      .page-gme777__floating-buttons {
        flex-direction: row;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        justify-content: space-around;
        gap: 10px;
      }

      .page-gme777__floating-button {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9em;
      }

      /* Ensure all images are responsive */
      .page-gme777 img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      .page-gme777__hero-background,
      .page-gme777__feature-icon,
      .page-gme777__category-image,
      .page-gme777__promo-image,
      .page-gme777__payment-logo,
      .page-gme777__provider-logo {
        max-width: 100% !important;
        height: auto !important; /* Ensure height scales proportionally */
        box-sizing: border-box !important;
      }
    }

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

      .page-gme777__button {
        padding: 12px 20px;
        font-size: 1em;
      }

      .page-gme777__floating-buttons {
        bottom: 15px;
        left: 15px;
        right: 15px;
        width: calc(100% - 30px);
      }
    }
  