
    /* Base styles for the page */
    .page-m-yy777 {
      font-family: Arial, sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f8f8;
      padding-bottom: 50px; /* Space for footer */
      padding-top: var(--header-offset, 122px); /* Fallback if shared.css doesn't define it on body */
    }
    @media (max-width: 768px) {
      .page-m-yy777 {
        padding-top: var(--header-offset-mobile, 60px); /* Adjust for mobile header offset */
      }
    }

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

    .page-m-yy777__section {
      padding: 40px 0;
      text-align: center;
    }

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

    .page-m-yy777__section-title {
      font-size: 2.5em;
      margin-bottom: 20px;
      color: #2c3e50;
    }
    .page-m-yy777__section--dark .page-m-yy777__section-title {
      color: #ecf0f1;
    }

    .page-m-yy777__section-subtitle {
      font-size: 1.2em;
      margin-bottom: 40px;
      color: #555;
    }
    .page-m-yy777__section--dark .page-m-yy777__section-subtitle {
      color: #bdc3c7;
    }

    /* Hero Section */
    .page-m-yy777__hero-section {
      position: relative;
      background-color: #1a1a1a; /* Dark background for casino feel */
      color: #fff;
      padding: 10px 0 80px; /* Small padding-top, rest relies on body padding */
      text-align: center;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 500px; /* Ensure sufficient height */
      background-image: url('[GALLERY:hero:1920x1080:casino,mobile,gaming,background]');
      background-size: cover;
      background-position: center;
    }

    .page-m-yy777__hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
      z-index: 1;
    }

    .page-m-yy777__hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      margin: 0 auto;
      padding: 20px;
    }

    .page-m-yy777__hero-title {
      font-size: 3.5em;
      margin-bottom: 20px;
      color: #ffcc00; /* Gold accent */
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-m-yy777__hero-description {
      font-size: 1.3em;
      margin-bottom: 30px;
      color: #eee;
    }

    .page-m-yy777__cta-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .page-m-yy777__button {
      display: inline-block;
      padding: 15px 30px;
      background-color: #ffcc00;
      color: #1a1a1a;
      text-decoration: none;
      border-radius: 8px;
      font-size: 1.1em;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
    }

    .page-m-yy777__button:hover {
      background-color: #e6b800;
      transform: translateY(-2px);
    }

    .page-m-yy777__button--secondary {
      background-color: #007bff;
      color: #fff;
    }

    .page-m-yy777__button--secondary:hover {
      background-color: #0056b3;
    }

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

    .page-m-yy777__floating-button {
      background-color: #ffcc00;
      color: #1a1a1a;
      border: none;
      border-radius: 50px;
      padding: 12px 25px;
      font-size: 1em;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none; /* Ensure it looks like a button */
      text-align: center;
    }

    .page-m-yy777__floating-button:hover {
      background-color: #e6b800;
      transform: translateY(-2px);
    }

    .page-m-yy777__floating-button--login {
      background-color: #007bff;
      color: #fff;
    }

    .page-m-yy777__floating-button--login:hover {
      background-color: #0056b3;
    }

    /* Game Showcase Section */
    .page-m-yy777__game-showcase {
      padding: 60px 0;
      background-color: #fff;
    }

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

    .page-m-yy777__game-card {
      background-color: #fefefe;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: left;
      border: 1px solid #eee;
    }

    .page-m-yy777__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .page-m-yy777__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      border-bottom: 1px solid #eee;
    }

    .page-m-yy777__game-card-content {
      padding: 20px;
    }

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

    .page-m-yy777__game-card-description {
      font-size: 0.95em;
      color: #666;
      margin-bottom: 15px;
    }

    /* Promotions Section */
    .page-m-yy777__promotions-section {
      background-color: #e6f7ff; /* Light blue background */
      padding: 60px 0;
    }

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

    .page-m-yy777__promo-card {
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: center;
      padding: 30px;
      transition: transform 0.3s ease;
    }

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

    .page-m-yy777__promo-icon {
      width: 100%; /* Ensure responsiveness */
      max-width: 250px; /* Max size for promo image */
      height: auto;
      margin-bottom: 20px;
      display: block;
      margin-left: auto;
      margin-right: auto;
      border-radius: 8px;
    }

    .page-m-yy777__promo-title {
      font-size: 1.8em;
      color: #2c3e50;
      margin-bottom: 15px;
    }

    .page-m-yy777__promo-description {
      color: #555;
      margin-bottom: 20px;
    }

    /* Payment Methods Section */
    .page-m-yy777__payments-section {
      padding: 60px 0;
      background-color: #fcfcfc;
    }

    .page-m-yy777__payment-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      margin-top: 40px;
    }

    .page-m-yy777__payment-item {
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 20px 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease;
      width: 180px; /* Fixed width for payment logos */
      height: 100px; /* Fixed height */
      box-sizing: border-box;
    }

    .page-m-yy777__payment-item:hover {
      transform: translateY(-3px);
    }

    .page-m-yy777__payment-logo {
      max-width: 100%;
      max-height: 60px; /* Adjust height for logos */
      width: auto;
      height: auto;
      display: block;
    }

    /* About Section */
    .page-m-yy777__about-section {
      padding: 60px 0;
      background-color: #f8f8f8;
      text-align: left;
    }

    .page-m-yy777__about-content {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .page-m-yy777__about-text {
      flex: 1;
      padding-right: 20px;
    }

    .page-m-yy777__about-image-wrapper {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .page-m-yy777__about-image {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      display: block;
    }

    .page-m-yy777__about-text p {
      margin-bottom: 15px;
      color: #444;
    }

    .page-m-yy777__about-text ul {
      list-style: none;
      padding: 0;
      margin-bottom: 20px;
    }

    .page-m-yy777__about-text ul li {
      margin-bottom: 10px;
      padding-left: 25px;
      position: relative;
      color: #444;
    }

    .page-m-yy777__about-text ul li::before {
      content: '✓';
      color: #ffcc00;
      position: absolute;
      left: 0;
      font-weight: bold;
    }

    /* FAQ Section */
    .page-m-yy777__faq-section {
      padding: 60px 0;
      background-color: #f8f8f8;
    }

    .page-m-yy777__faq-list {
      max-width: 800px;
      margin: 40px auto 0;
      text-align: left;
    }

    .page-m-yy777__faq-item {
      background-color: #fff;
      border-radius: 8px;
      margin-bottom: 15px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      border: 1px solid #eee;
    }

    .page-m-yy777__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      background-color: #fcfcfc;
      border-bottom: 1px solid #eee;
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-m-yy777__faq-question:hover {
      background-color: #f0f0f0;
    }

    .page-m-yy777__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #2c3e50;
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

    .page-m-yy777__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: #ffcc00;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click event */
    }

    .page-m-yy777__faq-item.active .page-m-yy777__faq-toggle {
      transform: rotate(45deg); /* Plus sign becomes an X or minus */
    }

    .page-m-yy777__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px; /* Initial padding matches 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: #555;
    }

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

    .page-m-yy777__faq-answer p {
      margin-top: 0;
      margin-bottom: 15px;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .page-m-yy777__hero-title {
        font-size: 3em;
      }
      .page-m-yy777__hero-description {
        font-size: 1.1em;
      }
      .page-m-yy777__section-title {
        font-size: 2em;
      }
      .page-m-yy777__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }
      .page-m-yy777__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      }
      .page-m-yy777__about-content {
        flex-direction: column;
      }
      .page-m-yy777__about-text {
        padding-right: 0;
      }
    }

    @media (max-width: 768px) {
      .page-m-yy777__hero-section {
        min-height: 400px;
        padding-bottom: 60px;
      }
      .page-m-yy777__hero-title {
        font-size: 2.5em;
      }
      .page-m-yy777__hero-description {
        font-size: 1em;
      }
      .page-m-yy777__cta-buttons {
        flex-direction: column;
        gap: 15px;
      }
      .page-m-yy777__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
      }
      .page-m-yy777__section {
        padding: 30px 0;
      }
      .page-m-yy777__section-title {
        font-size: 1.8em;
      }
      .page-m-yy777__section-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
      }
      .page-m-yy777__game-grid,
      .page-m-yy777__promo-grid {
        gap: 20px;
      }
      .page-m-yy777__game-card-title {
        font-size: 1.2em;
      }
      .page-m-yy777__promo-title {
        font-size: 1.5em;
      }
      .page-m-yy777__payment-item {
        width: calc(50% - 15px); /* Two items per row */
        max-width: 200px;
        height: 80px;
        padding: 15px 20px;
        box-sizing: border-box !important; /* Ensure box-sizing for responsive lists */
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important; /* Ensure content wraps */
        overflow-wrap: break-word !important;
      }
      .page-m-yy777__payment-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
      }
      .page-m-yy777__faq-question {
        padding: 15px 20px;
      }
      .page-m-yy777__faq-question h3 {
        font-size: 1.1em;
      }
      .page-m-yy777__faq-answer {
        padding: 0 20px;
      }
      .page-m-yy777__faq-item.active .page-m-yy777__faq-answer {
        padding: 15px 20px !important;
      }
      .page-m-yy777__floating-buttons {
        bottom: 15px;
        right: 15px;
      }
      .page-m-yy777__floating-button {
        padding: 10px 20px;
        font-size: 0.9em;
      }
      .page-m-yy777__about-text ul li {
        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;
      }
      .page-m-yy777__about-text ul {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
      }
      .page-m-yy777__game-card, .page-m-yy777__promo-card {
        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;
      }
    }

    @media (max-width: 480px) {
      .page-m-yy777__hero-title {
        font-size: 2em;
      }
      .page-m-yy777__hero-description {
        font-size: 0.9em;
      }
      .page-m-yy777__section-title {
        font-size: 1.5em;
      }
      .page-m-yy777__payment-item {
        width: 100%; /* One item per row */
        max-width: 250px;
      }
    }
  