
    :root {
      --primary-color: #e44d26; /* A vibrant orange-red for action */
      --secondary-color: #333; /* Dark gray for text */
      --accent-color: #f7b731; /* Golden yellow for highlights */
      --background-light: #f9f9f9; /* Light background */
      --background-dark: #222; /* Dark background for contrast */
      --text-light: #fff; /* White text for dark backgrounds */
      --text-dark: #333; /* Dark text for light backgrounds */
      --border-color: #ddd; /* Light border */
      --shadow-color: rgba(0, 0, 0, 0.1);
    }

    /* Base styles for the page-yy777-games container */
    .page-yy777-games {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--text-dark);
      background-color: var(--background-light);
      padding: 0;
      margin: 0;
    }

    /* General section styling */
    .page-yy777-games__section {
      padding: 60px 20px;
      margin: 0 auto;
      max-width: 1200px;
      text-align: center;
      box-sizing: border-box;
    }

    .page-yy777-games__section--dark {
      background-color: var(--background-dark);
      color: var(--text-light);
    }

    .page-yy777-games__section-title {
      font-size: 2.8em;
      margin-bottom: 20px;
      color: var(--primary-color);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .page-yy777-games__section--dark .page-yy777-games__section-title {
      color: var(--accent-color);
    }

    .page-yy777-games__section-subtitle {
      font-size: 1.4em;
      margin-bottom: 40px;
      color: var(--secondary-color);
    }

    .page-yy777-games__section--dark .page-yy777-games__section-subtitle {
      color: var(--text-light);
    }

    /* Hero Section */
    .page-yy777-games__hero-section {
      position: relative;
      padding: 10px 20px 80px 20px; /* Small padding-top, assuming body handles main offset */
      background-color: var(--background-dark);
      color: var(--text-light);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 500px; /* Ensure a decent height */
      box-sizing: border-box;
    }

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

    .page-yy777-games__hero-content {
      position: relative;
      z-index: 1;
      max-width: 900px;
      text-align: center;
    }

    .page-yy777-games__hero-title {
      font-size: 3.8em;
      margin-bottom: 20px;
      line-height: 1.1;
      color: var(--accent-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .page-yy777-games__hero-description {
      font-size: 1.5em;
      margin-bottom: 40px;
      color: var(--text-light);
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-games__hero-button {
      display: inline-block;
      background-color: var(--primary-color);
      color: var(--text-light);
      padding: 15px 35px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.2em;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-yy777-games__hero-button:hover {
      background-color: #ff6a00; /* Slightly darker orange */
      transform: translateY(-3px);
    }

    /* Game Categories */
    .page-yy777-games__game-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-yy777-games__category-card {
      background-color: var(--text-light);
      border-radius: 12px;
      box-shadow: var(--shadow-color);
      overflow: hidden;
      text-align: left;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-yy777-games__category-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .page-yy777-games__category-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-games__category-content {
      padding: 25px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-yy777-games__category-title {
      font-size: 1.8em;
      margin-top: 0;
      margin-bottom: 10px;
      color: var(--primary-color);
    }

    .page-yy777-games__category-description {
      font-size: 1em;
      color: var(--secondary-color);
      margin-bottom: 20px;
      flex-grow: 1;
    }

    .page-yy777-games__category-link {
      display: inline-block;
      color: var(--primary-color);
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
      font-size: 1em;
    }

    .page-yy777-games__category-link:hover {
      color: var(--accent-color);
    }

    /* Promotions Section */
    .page-yy777-games__promotion-card {
      background-color: var(--text-light);
      border-radius: 12px;
      box-shadow: var(--shadow-color);
      padding: 30px;
      text-align: center;
      margin-top: 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
    }

    .page-yy777-games__promotion-image {
      width: 100%;
      max-width: 600px;
      height: auto;
      border-radius: 8px;
      margin-bottom: 25px;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-games__promotion-title {
      font-size: 2.2em;
      color: var(--primary-color);
      margin-bottom: 15px;
    }

    .page-yy777-games__promotion-description {
      font-size: 1.1em;
      color: var(--secondary-color);
      margin-bottom: 30px;
      max-width: 800px;
    }

    .page-yy777-games__promotion-button {
      display: inline-block;
      background-color: var(--accent-color);
      color: var(--text-dark);
      padding: 12px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.1em;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-yy777-games__promotion-button:hover {
      background-color: #fdd835; /* Slightly lighter yellow */
      transform: translateY(-3px);
    }

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

    .page-yy777-games__feature-item {
      background-color: var(--text-light);
      border-radius: 12px;
      box-shadow: var(--shadow-color);
      padding: 30px;
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

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

    .page-yy777-games__feature-icon {
      width: 80px; /* Min size 200x200px, so this should be an image with these dimensions, not an icon. */
      height: 80px; /* This is an example, actual image placeholder will be 200x200 or larger. */
      object-fit: contain;
      margin-bottom: 20px;
      max-width: 100%;
      box-sizing: border-box;
    }

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

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

    /* Payment and Providers Section */
    .page-yy777-games__partners-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      margin-top: 40px;
      align-items: center;
      justify-items: center;
    }

    .page-yy777-games__partner-logo {
      width: 100%;
      max-width: 200px; /* Example size, actual will be 200x200 or larger */
      height: auto;
      object-fit: contain;
      filter: grayscale(100%);
      opacity: 0.7;
      transition: filter 0.3s ease, opacity 0.3s ease;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-games__partner-logo:hover {
      filter: grayscale(0%);
      opacity: 1;
    }

    /* FAQ Section */
    .page-yy777-games__faq-container {
      margin-top: 40px;
      text-align: left;
    }

    .page-yy777-games__faq-item {
      background-color: var(--text-light);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: var(--shadow-color);
      box-sizing: border-box;
    }

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

    .page-yy777-games__faq-question:hover {
      background-color: #e8e8e8;
    }

    .page-yy777-games__faq-question h3 {
      margin: 0;
      font-size: 1.3em;
      color: var(--secondary-color);
      pointer-events: none; /* Prevent text selection from interfering with click */
    }

    .page-yy777-games__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: var(--primary-color);
      margin-left: 15px;
      pointer-events: none; /* Prevent icon from interfering with click */
      transition: transform 0.3s ease;
    }

    .page-yy777-games__faq-item.active .page-yy777-games__faq-toggle {
      transform: rotate(45deg); /* Rotates the '+' to an 'x' or '-' */
    }

    .page-yy777-games__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      color: var(--secondary-color);
      font-size: 1em;
    }

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

    /* Call to Action */
    .page-yy777-games__cta-section {
      background-color: var(--primary-color);
      color: var(--text-light);
      padding: 80px 20px;
      text-align: center;
      box-sizing: border-box;
    }

    .page-yy777-games__cta-title {
      font-size: 3em;
      margin-bottom: 20px;
      color: var(--text-light);
    }

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

    .page-yy777-games__cta-button {
      display: inline-block;
      background-color: var(--accent-color);
      color: var(--text-dark);
      padding: 18px 45px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.4em;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-yy777-games__cta-button:hover {
      background-color: #fdd835;
      transform: translateY(-5px);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .page-yy777-games__hero-title {
        font-size: 3em;
      }
      .page-yy777-games__hero-description {
        font-size: 1.3em;
      }
      .page-yy777-games__section-title {
        font-size: 2.4em;
      }
      .page-yy777-games__section-subtitle {
        font-size: 1.2em;
      }
      .page-yy777-games__cta-title {
        font-size: 2.5em;
      }
      .page-yy777-games__cta-description {
        font-size: 1.2em;
      }
    }

    @media (max-width: 768px) {
      .page-yy777-games__hero-section {
        min-height: 400px;
        padding-bottom: 60px;
      }
      .page-yy777-games__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-games__hero-description {
        font-size: 1.1em;
      }
      .page-yy777-games__hero-button {
        padding: 12px 30px;
        font-size: 1.1em;
      }

      .page-yy777-games__section {
        padding: 40px 15px;
      }
      .page-yy777-games__section-title {
        font-size: 2em;
      }
      .page-yy777-games__section-subtitle {
        font-size: 1em;
      }

      .page-yy777-games__game-categories,
      .page-yy777-games__features-grid,
      .page-yy777-games__partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-yy777-games__category-card,
      .page-yy777-games__feature-item {
        margin: 0 auto;
        max-width: 400px;
      }

      .page-yy777-games__promotion-card {
        padding: 20px;
      }
      .page-yy777-games__promotion-title {
        font-size: 1.8em;
      }
      .page-yy777-games__promotion-description {
        font-size: 0.95em;
      }
      .page-yy777-games__promotion-button {
        padding: 10px 25px;
        font-size: 1em;
      }

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

      .page-yy777-games__cta-section {
        padding: 60px 15px;
      }
      .page-yy777-games__cta-title {
        font-size: 2em;
      }
      .page-yy777-games__cta-description {
        font-size: 1.1em;
      }
      .page-yy777-games__cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
      }

      /* List item mobile responsive (general for any lists or grid items behaving as lists) */
      .page-yy777-games__game-categories > *,
      .page-yy777-games__features-grid > *,
      .page-yy777-games__partners-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }

      /* Image responsive for mobile */
      .page-yy777-games__hero-background,
      .page-yy777-games__category-image,
      .page-yy777-games__promotion-image,
      .page-yy777-games__feature-icon,
      .page-yy777-games__partner-logo {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure image containers handle overflow */
      }
    }

    @media (max-width: 480px) {
      .page-yy777-games__hero-title {
        font-size: 2em;
      }
      .page-yy777-games__hero-description {
        font-size: 0.95em;
      }
      .page-yy777-games__section-title {
        font-size: 1.8em;
      }
      .page-yy777-games__category-title {
        font-size: 1.5em;
      }
      .page-yy777-games__feature-title {
        font-size: 1.4em;
      }
      .page-yy777-games__cta-title {
        font-size: 1.8em;
      }
      .page-yy777-games__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
      }
    }
  