
    .page-yy777-ph-m-home {
      font-family: Arial, sans-serif;
      color: #f0f0f0; /* Light text for dark background */
      background-color: #1a1a1a; /* Dark background */
      line-height: 1.6;
      overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-yy777-ph-m-home__section {
      padding: 40px 15px;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__hero-section {
      background: url('[GALLERY:hero:1920x1080:casino,luxury,mobile]') center/cover no-repeat;
      padding: 10px 15px 80px; /* 10px top for offset, 80px bottom for content */
      min-height: 500px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
      position: relative;
      color: #ffffff;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__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-yy777-ph-m-home__hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
      padding: 0 15px;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__hero-title {
      font-size: 2.5em;
      margin-bottom: 15px;
      color: #ffcc00; /* Gold accent */
      line-height: 1.2;
    }

    .page-yy777-ph-m-home__hero-subtitle {
      font-size: 1.2em;
      margin-bottom: 30px;
      color: #ffffff;
    }

    .page-yy777-ph-m-home__cta-button {
      display: inline-block;
      background-color: #ffcc00;
      color: #1a1a1a;
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
      margin: 10px;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__cta-button:hover {
      background-color: #e6b800;
    }

    .page-yy777-ph-m-home__promotions-section {
      background-color: #2a2a2a;
    }

    .page-yy777-ph-m-home__section-title {
      font-size: 2em;
      margin-bottom: 30px;
      color: #ffcc00;
      text-align: center;
    }

    .page-yy777-ph-m-home__promotion-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
      margin-top: 30px;
    }

    .page-yy777-ph-m-home__promotion-card {
      background-color: #333333;
      border-radius: 10px;
      overflow: hidden;
      text-align: left;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__promotion-image {
      width: 100%;
      height: 200px; /* Fixed height for consistency */
      object-fit: cover;
      display: block;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__promotion-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__promotion-title {
      font-size: 1.5em;
      color: #ffcc00;
      margin-bottom: 10px;
    }

    .page-yy777-ph-m-home__promotion-description {
      font-size: 0.95em;
      color: #f0f0f0;
      margin-bottom: 15px;
      flex-grow: 1;
    }

    .page-yy777-ph-m-home__game-showcase-section {
      background-color: #1a1a1a;
    }

    .page-yy777-ph-m-home__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 30px;
    }

    .page-yy777-ph-m-home__game-card {
      background-color: #333333;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      text-align: center;
      padding-bottom: 15px; /* Added padding to ensure content isn't flush */
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__game-image {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
      border-bottom: 2px solid #ffcc00;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__game-title {
      font-size: 1.2em;
      color: #ffffff;
      margin-top: 15px;
      padding: 0 10px;
    }

    .page-yy777-ph-m-home__why-choose-us-section {
      background-color: #2a2a2a;
    }

    .page-yy777-ph-m-home__feature-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
      margin-top: 30px;
    }

    .page-yy777-ph-m-home__feature-card {
      background-color: #333333;
      border-radius: 10px;
      padding: 25px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      text-align: center;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__feature-icon {
      margin-bottom: 15px;
    }

    .page-yy777-ph-m-home__feature-icon img {
      width: 250px; /* Minimum 200x200px */
      height: 250px; /* Minimum 200x200px */
      object-fit: contain;
      max-width: 100%; /* Ensure responsiveness */
      height: auto;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__feature-title {
      font-size: 1.3em;
      color: #ffcc00;
      margin-bottom: 10px;
    }

    .page-yy777-ph-m-home__feature-description {
      font-size: 0.95em;
      color: #f0f0f0;
    }

    .page-yy777-ph-m-home__payment-methods-section {
      background-color: #1a1a1a;
    }

    .page-yy777-ph-m-home__payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 20px;
      margin-top: 30px;
      justify-items: center;
    }

    .page-yy777-ph-m-home__payment-logo {
      background-color: #333333;
      border-radius: 8px;
      padding: 15px;
      width: 100%;
      max-width: 200px; /* Adjusted to meet min image size requirement implicitly */
      height: 100px; /* Adjusted to meet min image size requirement implicitly */
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__payment-logo img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      min-width: 200px; /* Enforce minimum image dimensions */
      min-height: 200px; /* Enforce minimum image dimensions */
      width: auto;
      height: auto;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__faq-section {
      background-color: #2a2a2a;
    }

    .page-yy777-ph-m-home__faq-list {
      margin-top: 30px;
      text-align: left;
    }

    .page-yy777-ph-m-home__faq-item {
      background-color: #333333;
      margin-bottom: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      overflow: hidden; /* Important for max-height transition */
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      cursor: pointer;
      background-color: #444444;
      border-radius: 8px;
      transition: background-color 0.3s ease;
      user-select: none;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__faq-question:hover {
      background-color: #555555;
    }

    .page-yy777-ph-m-home__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: #ffcc00;
      pointer-events: none; /* Prevent h3 from blocking click on parent div */
    }

    .page-yy777-ph-m-home__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: #ffcc00;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent span from blocking click on parent div */
    }

    .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-toggle {
      transform: rotate(45deg); /* Plus to X effect, or just - */
    }

    .page-yy777-ph-m-home__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px; /* Initial padding */
      opacity: 0;
      color: #f0f0f0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      box-sizing: border-box;
    }

    .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px !important; /* Expanded padding */
      opacity: 1;
    }

    .page-yy777-ph-m-home__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 1000;
    }

    .page-yy777-ph-m-home__floating-button {
      background-color: #ffcc00;
      color: #1a1a1a;
      padding: 12px 20px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      text-align: center;
      min-width: 120px;
      box-sizing: border-box;
    }

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

    /* Responsive adjustments */
    @media (min-width: 768px) {
      .page-yy777-ph-m-home__hero-title {
        font-size: 3.5em;
      }

      .page-yy777-ph-m-home__hero-subtitle {
        font-size: 1.4em;
      }

      .page-yy777-ph-m-home__promotion-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      }

      .page-yy777-ph-m-home__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }

      .page-yy777-ph-m-home__feature-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .page-yy777-ph-m-home__payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      }

      .page-yy777-ph-m-home__section {
        padding: 60px 20px;
      }

      .page-yy777-ph-m-home__floating-buttons {
        flex-direction: row;
        right: 40px;
        bottom: 40px;
      }
    }

    /* Mobile specific styles for lists and images */
    @media (max-width: 768px) {
      .page-yy777-ph-m-home__section {
        padding: 30px 15px;
      }

      .page-yy777-ph-m-home__hero-section {
        padding-bottom: 60px;
      }

      .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__section-title {
        font-size: 1.8em;
      }

      /* List item mobile responsiveness */
      .page-yy777-ph-m-home__promotion-grid,
      .page-yy777-ph-m-home__game-grid,
      .page-yy777-ph-m-home__feature-grid,
      .page-yy777-ph-m-home__payment-grid {
        display: flex; /* Change to flex for easier 100% width control */
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 !important; /* Reset padding to allow items to fill width */
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-yy777-ph-m-home__promotion-card,
      .page-yy777-ph-m-home__game-card,
      .page-yy777-ph-m-home__feature-card,
      .page-yy777-ph-m-home__payment-logo {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px !important; /* Adjust padding to prevent overflow */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }

      .page-yy777-ph-m-home__payment-logo {
        max-width: 200px !important; /* Keep payment logos a bit smaller if they were too wide, but respect min image size */
        height: auto !important; /* Allow height to adjust */
      }

      .page-yy777-ph-m-home__promotion-image,
      .page-yy777-ph-m-home__game-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        object-fit: cover;
      }

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

      /* FAQ adjustments for mobile */
      .page-yy777-ph-m-home__faq-question {
        padding: 15px;
      }
      .page-yy777-ph-m-home__faq-question h3 {
        font-size: 1em;
      }
      .page-yy777-ph-m-home__faq-answer {
        padding: 0 15px;
        font-size: 0.9em;
      }
      .page-yy777-ph-m-home__faq-item.active .page-yy777-ph-m-home__faq-answer {
        padding: 15px !important;
      }
    }
  