
    /* Base styles for the page */
    .page-yy777-ph-m-home {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f4f7f6; /* Light background for good contrast */
      overflow-x: hidden;
    }

    /* Section styling */
    .page-yy777-ph-m-home__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }
    .page-yy777-ph-m-home__section:first-of-type {
        padding-top: 50px; /* Small top padding for hero, assuming body padding is handled by shared CSS */
    }

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

    .page-yy777-ph-m-home__heading-primary {
      font-size: 2.8em;
      color: #1a1a1a;
      text-align: center;
      margin-bottom: 20px;
      font-weight: bold;
    }

    .page-yy777-ph-m-home__heading-secondary {
      font-size: 2em;
      color: #2c3e50;
      text-align: center;
      margin-bottom: 30px;
      position: relative;
    }
    .page-yy777-ph-m-home__heading-secondary::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background-color: #e74c3c; /* A vibrant red for accent */
      margin: 10px auto 0;
      border-radius: 2px;
    }

    .page-yy777-ph-m-home__paragraph {
      font-size: 1.1em;
      text-align: center;
      margin-bottom: 25px;
      color: #555;
    }

    /* Hero Section */
    .page-yy777-ph-m-home__hero-section {
      background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); /* Deep blue gradient */
      color: #ffffff;
      padding: 80px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
      border-radius: 0 0 15px 15px;
      margin-bottom: 30px;
      padding-top: 100px; /* Adjusted for hero to have some top padding */
    }
    .page-yy777-ph-m-home__hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.3;
      z-index: 0;
    }
    .page-yy777-ph-m-home__hero-content {
      position: relative;
      z-index: 1;
    }
    .page-yy777-ph-m-home__hero-title {
      font-size: 3.5em;
      margin-bottom: 15px;
      font-weight: 700;
      line-height: 1.2;
      color: #fff;
    }
    .page-yy777-ph-m-home__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      color: #f0f0f0;
    }
    .page-yy777-ph-m-home__hero-cta {
      display: inline-block;
      background-color: #e74c3c; /* Vibrant red */
      color: #ffffff;
      padding: 15px 30px;
      border-radius: 50px;
      font-size: 1.2em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
    }
    .page-yy777-ph-m-home__hero-cta:hover {
      background-color: #c0392b; /* Darker red on hover */
      transform: translateY(-2px);
    }

    /* Floating Register/Login Buttons */
    .page-yy777-ph-m-home__fixed-buttons {
      position: fixed;
      top: 10px; /* Adjust based on header height, initially above content */
      right: 15px;
      z-index: 1000;
      display: flex;
      gap: 10px;
    }
    .page-yy777-ph-m-home__fixed-button {
      background-color: #27ae60; /* Green for register */
      color: #ffffff;
      padding: 8px 15px;
      border-radius: 25px;
      font-size: 0.9em;
      font-weight: bold;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s ease;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .page-yy777-ph-m-home__fixed-button--login {
      background-color: #3498db; /* Blue for login */
    }
    .page-yy777-ph-m-home__fixed-button:hover {
      opacity: 0.9;
    }

    /* Game Showcase */
    .page-yy777-ph-m-home__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      padding-top: 20px;
    }
    .page-yy777-ph-m-home__game-card {
      background-color: #f9f9f9;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
    }
    .page-yy777-ph-m-home__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    .page-yy777-ph-m-home__game-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      max-width: 100%; /* Responsive image */
    }
    .page-yy777-ph-m-home__game-title {
      font-size: 1.4em;
      color: #2c3e50;
      margin: 15px 10px 10px;
      font-weight: 600;
    }
    .page-yy777-ph-m-home__game-provider {
      font-size: 0.9em;
      color: #7f8c8d;
      margin-bottom: 15px;
    }

    /* Promotions Section */
    .page-yy777-ph-m-home__promo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
      padding-top: 20px;
    }
    .page-yy777-ph-m-home__promo-card {
      background-color: #ecf0f1;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
    }
    .page-yy777-ph-m-home__promo-card:hover {
      transform: translateY(-3px);
    }
    .page-yy777-ph-m-home__promo-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
      max-width: 100%; /* Responsive image */
    }
    .page-yy777-ph-m-home__promo-content {
      padding: 20px;
    }
    .page-yy777-ph-m-home__promo-title {
      font-size: 1.5em;
      color: #e74c3c;
      margin-bottom: 10px;
      font-weight: 700;
    }
    .page-yy777-ph-m-home__promo-description {
      font-size: 1em;
      color: #555;
      margin-bottom: 15px;
    }
    .page-yy777-ph-m-home__promo-button {
      background-color: #e74c3c;
      color: #ffffff;
      padding: 10px 20px;
      border-radius: 25px;
      font-size: 0.95em;
      font-weight: bold;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s ease;
      display: block; /* Make it block to span full width */
      width: fit-content;
      margin: 0 auto; /* Center the button */
    }
    .page-yy777-ph-m-home__promo-button:hover {
      background-color: #c0392b;
    }

    /* Payment Methods */
    .page-yy777-ph-m-home__payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      padding-top: 20px;
      justify-content: center;
    }
    .page-yy777-ph-m-home__payment-item {
      text-align: center;
      padding: 15px;
      background-color: #f0f3f6;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease;
    }
    .page-yy777-ph-m-home__payment-item:hover {
      transform: translateY(-3px);
    }
    .page-yy777-ph-m-home__payment-image {
      max-width: 100%;
      height: 60px; /* Fixed height for payment logos */
      object-fit: contain;
      margin-bottom: 10px;
      max-width: 100%; /* Responsive image */
    }
    .page-yy777-ph-m-home__payment-name {
      font-size: 1em;
      color: #333;
      font-weight: 600;
      text-transform: capitalize;
    }

    /* Why Choose Section */
    .page-yy777-ph-m-home__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      padding-top: 20px;
    }
    .page-yy777-ph-m-home__feature-card {
      text-align: center;
      padding: 30px 20px;
      background-color: #fefefe;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
      transition: background-color 0.3s ease;
    }
    .page-yy777-ph-m-home__feature-card:hover {
      background-color: #eaf2f8;
    }
    .page-yy777-ph-m-home__feature-icon {
      width: 80px;
      height: 80px;
      object-fit: contain;
      margin: 0 auto 20px;
      display: block;
      max-width: 100%; /* Responsive image */
    }
    .page-yy777-ph-m-home__feature-title {
      font-size: 1.6em;
      color: #2c3e50;
      margin-bottom: 15px;
      font-weight: 600;
    }
    .page-yy777-ph-m-home__feature-description {
      font-size: 1em;
      color: #666;
    }

    /* FAQ Section */
    .page-yy777-ph-m-home__faq-section {
      padding: 40px 20px;
      background-color: #f9f9f9;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }
    .page-yy777-ph-m-home__faq-item {
      background-color: #ffffff;
      margin-bottom: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      overflow: hidden;
    }
    .page-yy777-ph-m-home__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #eaf2f8;
      border-bottom: 1px solid #dcdcdc;
      transition: background-color 0.3s ease;
    }
    .page-yy777-ph-m-home__faq-question:hover {
      background-color: #e0e8f0;
    }
    .page-yy777-ph-m-home__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #2c3e50;
      font-weight: 600;
      pointer-events: none; /* Prevent h3 from blocking click on parent */
    }
    .page-yy777-ph-m-home__faq-toggle {
      font-size: 1.8em;
      color: #e74c3c;
      font-weight: bold;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click on parent */
    }
    .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-toggle {
      transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
      color: #3498db;
    }
    .page-yy777-ph-m-home__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px; /* Initial padding */
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      background-color: #fcfcfc;
      color: #555;
    }
    .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-answer {
      max-height: 2000px !important; /* Sufficiently large value */
      padding: 20px 20px !important; /* Expanded padding */
      opacity: 1;
    }
    .page-yy777-ph-m-home__faq-answer p {
        margin-bottom: 1em;
    }
    .page-yy777-ph-m-home__faq-answer p:last-child {
        margin-bottom: 0;
    }

    /* Social Links */
    .page-yy777-ph-m-home__social-links img:hover {
        transform: scale(1.1);
    }


    /* Responsive Design */
    @media (max-width: 768px) {
      .page-yy777-ph-m-home__section {
        padding: 30px 15px;
        margin-bottom: 15px;
      }
      .page-yy777-ph-m-home__section:first-of-type {
          padding-top: 80px; /* Adjust for mobile hero */
      }
      .page-yy777-ph-m-home__hero-section {
        padding: 60px 15px;
        padding-top: 80px; /* Ensure hero content is not under fixed elements */
      }
      .page-yy777-ph-m-home__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-ph-m-home__hero-subtitle {
        font-size: 1.2em;
      }
      .page-yy777-ph-m-home__hero-cta {
        padding: 12px 25px;
        font-size: 1.1em;
      }
      .page-yy777-ph-m-home__heading-primary {
        font-size: 2em;
      }
      .page-yy777-ph-m-home__heading-secondary {
        font-size: 1.6em;
      }
      .page-yy777-ph-m-home__paragraph {
        font-size: 1em;
      }

      /* Fixed buttons for mobile */
      .page-yy777-ph-m-home__fixed-buttons {
        top: 10px; /* Adjust as needed for smaller screens */
        right: 10px;
        gap: 8px;
      }
      .page-yy777-ph-m-home__fixed-button {
        padding: 6px 12px;
        font-size: 0.8em;
      }

      /* Game Grid */
      .page-yy777-ph-m-home__game-grid,
      .page-yy777-ph-m-home__promo-grid,
      .page-yy777-ph-m-home__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      /* Payment Grid */
      .page-yy777-ph-m-home__payment-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for payments on mobile */
        gap: 15px;
      }
      .page-yy777-ph-m-home__payment-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px;
      }
      .page-yy777-ph-m-home__payment-image {
        height: 50px;
      }

      /* List item responsive requirements (General application) */
      .page-yy777-ph-m-home__game-card,
      .page-yy777-ph-m-home__promo-card,
      .page-yy777-ph-m-home__feature-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px 15px; /* Adjust padding for mobile */
      }
      .page-yy777-ph-m-home__game-card .page-yy777-ph-m-home__game-title,
      .page-yy777-ph-m-home__promo-card .page-yy777-ph-m-home__promo-title,
      .page-yy777-ph-m-home__feature-card .page-yy777-ph-m-home__feature-title {
          word-wrap: break-word !important;
          overflow-wrap: break-word !important;
          word-break: break-word !important;
      }
      .page-yy777-ph-m-home__faq-question h3 {
        font-size: 1.1em;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      .page-yy777-ph-m-home__faq-answer {
        font-size: 0.95em;
        padding: 15px 15px !important;
      }
    }

    @media (max-width: 480px) {
        .page-yy777-ph-m-home__hero-title {
            font-size: 2em;
        }
        .page-yy777-ph-m-home__hero-subtitle {
            font-size: 1em;
        }
        .page-yy777-ph-m-home__heading-primary {
            font-size: 1.8em;
        }
        .page-yy777-ph-m-home__heading-secondary {
            font-size: 1.4em;
        }
    }
  