
    /* Base styles for the page */
    .page-yy777-com-2 {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f8f8;
      padding-top: 10px; /* Small top padding, assuming body padding handles header offset */
    }

    .page-yy777-com-2__section {
      padding: 40px 20px;
      margin: 0 auto;
      max-width: 1200px;
      text-align: center;
    }

    .page-yy777-com-2__heading {
      color: #2c3e50;
      margin-bottom: 20px;
      font-size: 2.5em;
      font-weight: bold;
    }

    .page-yy777-com-2__subheading {
      color: #34495e;
      margin-bottom: 30px;
      font-size: 1.8em;
    }

    .page-yy777-com-2__text {
      font-size: 1.1em;
      margin-bottom: 20px;
      color: #555;
    }

    .page-yy777-com-2__button {
      display: inline-block;
      background-color: #e74c3c;
      color: #ffffff;
      padding: 12px 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1.1em;
    }

    .page-yy777-com-2__button:hover {
      background-color: #c0392b;
    }

    /* Hero Section */
    .page-yy777-com-2__hero-section {
      position: relative;
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:1920x1080:casino,slots,yy777,philippines]');
      background-size: cover;
      background-position: center;
      color: #ffffff;
      padding: 80px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 500px;
      text-align: center;
    }

    .page-yy777-com-2__hero-content {
      max-width: 800px;
      z-index: 1;
    }

    .page-yy777-com-2__hero-title {
      font-size: 3.5em;
      margin-bottom: 20px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      color: #f1c40f; /* Gold-like color for emphasis */
    }

    .page-yy777-com-2__hero-description {
      font-size: 1.3em;
      margin-bottom: 30px;
      line-height: 1.5;
    }

    /* Promotions Section */
    .page-yy777-com-2__promotions-section {
      background-color: #ecf0f1;
    }

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

    .page-yy777-com-2__promo-card {
      background-color: #ffffff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      padding: 30px;
      text-align: left;
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .page-yy777-com-2__promo-card:hover {
      transform: translateY(-5px);
    }

    .page-yy777-com-2__promo-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 20px;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-com-2__promo-title {
      font-size: 1.5em;
      color: #e74c3c;
      margin-bottom: 15px;
    }

    .page-yy777-com-2__promo-description {
      font-size: 1em;
      color: #555;
      margin-bottom: 20px;
      flex-grow: 1;
    }

    /* Games Showcase Section */
    .page-yy777-com-2__games-showcase {
      background-color: #f8f8f8;
    }

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

    .page-yy777-com-2__game-card {
      background-color: #ffffff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.3s ease;
      text-align: center;
    }

    .page-yy777-com-2__game-card:hover {
      transform: translateY(-5px);
    }

    .page-yy777-com-2__game-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      max-width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-com-2__game-info {
      padding: 25px;
    }

    .page-yy777-com-2__game-title {
      font-size: 1.4em;
      color: #2c3e50;
      margin-bottom: 10px;
    }

    .page-yy777-com-2__game-description {
      font-size: 0.95em;
      color: #777;
    }

    /* Providers Section */
    .page-yy777-com-2__providers-section {
      background-color: #ecf0f1;
    }

    .page-yy777-com-2__providers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      margin-top: 40px;
      justify-items: center;
    }

    .page-yy777-com-2__provider-logo {
      width: 180px;
      height: 100px;
      object-fit: contain;
      background-color: #ffffff;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      max-width: 100%;
      box-sizing: border-box;
    }

    /* Payment Methods Section */
    .page-yy777-com-2__payment-methods {
      background-color: #f8f8f8;
    }

    .page-yy777-com-2__payment-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 20px;
      margin-top: 40px;
      justify-items: center;
    }

    .page-yy777-com-2__payment-logo {
      width: 150px;
      height: 80px;
      object-fit: contain;
      background-color: #ffffff;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      max-width: 100%;
      box-sizing: border-box;
    }

    /* FAQ Section */
    .page-yy777-com-2__faq-section {
      background-color: #ecf0f1;
    }

    .page-yy777-com-2__faq-container {
      margin-top: 40px;
      text-align: left;
    }

    .page-yy777-com-2__faq-item {
      background-color: #ffffff;
      margin-bottom: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

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

    .page-yy777-com-2__faq-question:hover {
      background-color: #f0f0f0;
    }

    .page-yy777-com-2__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #34495e;
      pointer-events: none; /* Prevent h3 from blocking click on parent */
    }

    .page-yy777-com-2__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: #e74c3c;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click on parent */
    }

    .page-yy777-com-2__faq-item.active .page-yy777-com-2__faq-toggle {
      transform: rotate(45deg); /* Visually change + to X or - */
    }

    .page-yy777-com-2__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: #555;
      font-size: 1em;
    }

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

    /* Floating Buttons */
    .page-yy777-com-2__floating-buttons {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 15px;
      z-index: 1000;
      width: calc(100% - 40px);
      max-width: 400px;
      justify-content: center;
    }

    .page-yy777-com-2__floating-button {
      flex: 1;
      padding: 15px 20px;
      border-radius: 30px;
      font-weight: bold;
      font-size: 1.1em;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
      color: #ffffff;
      text-decoration: none; /* Ensure no underline for a-like buttons */
    }

    .page-yy777-com-2__floating-button--register {
      background-color: #27ae60; /* Green */
    }

    .page-yy777-com-2__floating-button--register:hover {
      background-color: #229a54;
      transform: translateY(-2px);
    }

    .page-yy777-com-2__floating-button--login {
      background-color: #3498db; /* Blue */
    }

    .page-yy777-com-2__floating-button--login:hover {
      background-color: #2a8cd2;
      transform: translateY(-2px);
    }

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

      .page-yy777-com-2__hero-description {
        font-size: 1.1em;
      }

      .page-yy777-com-2__heading {
        font-size: 2em;
      }

      .page-yy777-com-2__subheading {
        font-size: 1.5em;
      }

      .page-yy777-com-2__section {
        padding: 30px 15px;
      }

      .page-yy777-com-2__promotions-grid,
      .page-yy777-com-2__games-grid,
      .page-yy777-com-2__providers-grid,
      .page-yy777-com-2__payment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-yy777-com-2__promo-card,
      .page-yy777-com-2__game-card {
        padding: 20px;
      }

      .page-yy777-com-2__promo-image,
      .page-yy777-com-2__game-image {
        height: 180px;
      }

      .page-yy777-com-2__provider-logo,
      .page-yy777-com-2__payment-logo {
        width: 100%; /* Ensure full width on mobile for better visibility */
        max-width: 200px; /* Cap max width */
        height: auto;
        padding: 15px;
        box-sizing: border-box !important;
      }

      .page-yy777-com-2__faq-question {
        padding: 15px 20px;
      }

      .page-yy777-com-2__faq-question h3 {
        font-size: 1.1em;
      }

      .page-yy777-com-2__faq-answer {
        padding: 0 20px;
      }

      .page-yy777-com-2__faq-item.active .page-yy777-com-2__faq-answer {
        padding: 15px 20px !important;
      }

      .page-yy777-com-2__floating-buttons {
        bottom: 15px;
        gap: 10px;
        width: calc(100% - 30px);
      }

      .page-yy777-com-2__floating-button {
        padding: 12px 15px;
        font-size: 1em;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-com-2__hero-title {
        font-size: 2em;
      }

      .page-yy777-com-2__hero-description {
        font-size: 1em;
      }

      .page-yy777-com-2__heading {
        font-size: 1.8em;
      }

      .page-yy777-com-2__subheading {
        font-size: 1.3em;
      }

      .page-yy777-com-2__promo-image,
      .page-yy777-com-2__game-image {
        height: 150px;
      }
    }
  