
    /* CSS for page-yy777-net-2 */
    .page-yy777-net-2 {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f9f9f9;
      padding-top: var(--header-offset, 122px); /* Fallback if shared.css doesn't define it */
    }

    /* Hero Section */
    .page-yy777-net-2__hero-section {
      position: relative;
      background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
      color: #fff;
      padding: 100px 20px;
      text-align: center;
      overflow: hidden;
      padding-top: 10px; /* Small decorative padding, as body handles main offset */
    }

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

    .page-yy777-net-2__hero-content {
      position: relative;
      z-index: 1;
      max-width: 900px;
      margin: 0 auto;
    }

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

    .page-yy777-net-2__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      color: #eee;
    }

    .page-yy777-net-2__hero-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 40px;
    }

    .page-yy777-net-2__hero-button {
      background-color: #ffcc00;
      color: #333;
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .page-yy777-net-2__hero-button:hover {
      background-color: #e6b800;
      transform: translateY(-3px);
    }

    /* Floating Buttons */
    .page-yy777-net-2__floating-buttons {
      position: fixed;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 1000;
    }

    .page-yy777-net-2__floating-button {
      background-color: #007bff;
      color: #fff;
      padding: 12px 20px;
      border-radius: 50px;
      text-align: center;
      font-weight: bold;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1em;
    }
    .page-yy777-net-2__floating-button--register {
      background-color: #28a745;
    }
    .page-yy777-net-2__floating-button--login {
      background-color: #007bff;
    }
    .page-yy777-net-2__floating-button:hover {
      transform: scale(1.05);
    }
    .page-yy777-net-2__floating-button--register:hover {
      background-color: #218838;
    }
    .page-yy777-net-2__floating-button--login:hover {
      background-color: #0056b3;
    }


    /* Section General Styling */
    .page-yy777-net-2__section {
      padding: 60px 20px;
      max-width: 1200px;
      margin: 0 auto;
      background-color: #fff;
      border-bottom: 1px solid #eee;
    }

    .page-yy777-net-2__section-title {
      font-size: 2.5em;
      color: #1a2a6c;
      text-align: center;
      margin-bottom: 40px;
      position: relative;
    }

    .page-yy777-net-2__section-title::after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background-color: #fdbb2d;
      margin: 10px auto 0;
      border-radius: 2px;
    }

    /* About Section */
    .page-yy777-net-2__about-content {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 40px;
    }

    .page-yy777-net-2__about-text {
      flex: 1;
      min-width: 300px;
    }

    .page-yy777-net-2__about-text h3 {
      font-size: 1.8em;
      color: #b21f1f;
      margin-bottom: 15px;
    }

    .page-yy777-net-2__about-image {
      flex: 1;
      min-width: 300px;
      text-align: center;
    }

    .page-yy777-net-2__about-image img {
      max-width: 100%;
      height: auto;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      object-fit: cover;
    }

    /* Game Showcase */
    .page-yy777-net-2__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      justify-items: center; /* Center items within the grid cells */
    }

    .page-yy777-net-2__game-card {
      background-color: #fefefe;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      width: 100%;
      max-width: 350px; /* Ensure cards don't get too wide on larger screens */
      box-sizing: border-box;
      padding-bottom: 20px; /* Ensure text is not cut off */
    }

    .page-yy777-net-2__game-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .page-yy777-net-2__game-card-image-wrapper {
      width: 100%;
      height: 200px; /* Fixed height for consistent image display */
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .page-yy777-net-2__game-card-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .page-yy777-net-2__game-card:hover .page-yy777-net-2__game-card-image {
      transform: scale(1.05);
    }

    .page-yy777-net-2__game-card-title {
      font-size: 1.4em;
      color: #1a2a6c;
      margin: 20px 15px 10px;
      min-height: 40px; /* Ensure consistent height for titles */
    }

    .page-yy777-net-2__game-card-description {
      font-size: 0.95em;
      color: #555;
      padding: 0 15px;
      margin-bottom: 20px;
    }

    .page-yy777-net-2__game-card-button {
      background-color: #b21f1f;
      color: #fff;
      padding: 10px 20px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-yy777-net-2__game-card-button:hover {
      background-color: #8c1a1a;
    }

    /* Promotions Section */
    .page-yy777-net-2__promo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .page-yy777-net-2__promo-card {
      background-color: #fefefe;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-sizing: border-box;
    }

    .page-yy777-net-2__promo-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .page-yy777-net-2__promo-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-bottom: 1px solid #eee;
    }

    .page-yy777-net-2__promo-content {
      padding: 25px;
    }

    .page-yy777-net-2__promo-title {
      font-size: 1.5em;
      color: #1a2a6c;
      margin-bottom: 10px;
    }

    .page-yy777-net-2__promo-description {
      font-size: 0.95em;
      color: #555;
      margin-bottom: 20px;
    }

    .page-yy777-net-2__promo-link {
      color: #b21f1f;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }

    .page-yy777-net-2__promo-link:hover {
      color: #8c1a1a;
    }

    /* Payment Methods */
    .page-yy777-net-2__payment-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
    }

    .page-yy777-net-2__payment-item {
      background-color: #f0f0f0;
      border-radius: 10px;
      padding: 20px 30px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      min-width: 120px;
      flex: 1 1 auto; /* Allow items to grow and shrink */
      max-width: 180px; /* Max width for individual items */
      box-sizing: border-box;
    }

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

    .page-yy777-net-2__payment-icon {
      width: 80px;
      height: 80px;
      margin-bottom: 10px;
      object-fit: contain;
      max-width: 100%; /* Ensure responsiveness */
      height: auto;
    }

    .page-yy777-net-2__payment-name {
      font-weight: bold;
      color: #333;
      font-size: 1.1em;
    }

    /* FAQ Section */
    .page-yy777-net-2__faq-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .page-yy777-net-2__faq-item {
      background-color: #fefefe;
      border: 1px solid #ddd;
      border-radius: 10px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

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

    .page-yy777-net-2__faq-question:hover {
      background-color: #e0e0f0;
    }

    .page-yy777-net-2__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #1a2a6c;
      pointer-events: none; /* Crucial for click event on parent */
    }

    .page-yy777-net-2__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: #b21f1f;
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Crucial for click event on parent */
    }

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

    .page-yy777-net-2__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;
      background-color: #f9f9f9;
    }

    .page-yy777-net-2__faq-item.active .page-yy777-net-2__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px 25px !important; /* Final padding */
      opacity: 1;
    }
    .page-yy777-net-2__faq-answer p {
        margin-bottom: 10px;
    }
    .page-yy777-net-2__faq-answer p:last-child {
        margin-bottom: 0;
    }

    /* Call to Action Section */
    .page-yy777-net-2__cta-section {
      background: linear-gradient(90deg, #1a2a6c, #fdbb2d);
      color: #fff;
      text-align: center;
      padding: 80px 20px;
      margin-top: 50px;
    }

    .page-yy777-net-2__cta-title {
      font-size: 2.8em;
      margin-bottom: 20px;
      color: #ffcc00;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }

    .page-yy777-net-2__cta-description {
      font-size: 1.3em;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      color: #eee;
    }

    .page-yy777-net-2__cta-button {
      background-color: #b21f1f;
      color: #fff;
      padding: 18px 40px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.2em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }

    .page-yy777-net-2__cta-button:hover {
      background-color: #8c1a1a;
      transform: translateY(-5px);
    }

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

      .page-yy777-net-2__hero-subtitle {
        font-size: 1.2em;
      }

      .page-yy777-net-2__hero-buttons {
        flex-direction: column;
        gap: 15px;
      }

      .page-yy777-net-2__hero-button {
        width: 80%;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1em;
      }

      .page-yy777-net-2__floating-buttons {
        right: 10px;
        gap: 10px;
      }

      .page-yy777-net-2__floating-button {
        padding: 10px 15px;
        font-size: 0.9em;
      }

      .page-yy777-net-2__section {
        padding: 40px 15px;
      }

      .page-yy777-net-2__section-title {
        font-size: 2em;
        margin-bottom: 30px;
      }

      .page-yy777-net-2__about-content {
        flex-direction: column;
        gap: 30px;
      }

      .page-yy777-net-2__about-text h3 {
        font-size: 1.5em;
      }

      .page-yy777-net-2__game-grid,
      .page-yy777-net-2__promo-grid {
        grid-template-columns: 1fr;
      }

      .page-yy777-net-2__game-card,
      .page-yy777-net-2__promo-card {
        max-width: 100%;
      }

      .page-yy777-net-2__game-card-image-wrapper {
        height: 180px;
      }

      .page-yy777-net-2__promo-image {
        height: 180px;
      }

      .page-yy777-net-2__payment-grid {
        gap: 15px;
      }

      .page-yy777-net-2__payment-item {
        min-width: 100px;
        padding: 15px 20px;
        max-width: 150px;
      }

      .page-yy777-net-2__payment-icon {
        width: 60px;
        height: 60px;
      }

      .page-yy777-net-2__payment-name {
        font-size: 1em;
      }

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

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

      .page-yy777-net-2__faq-toggle {
        font-size: 1.5em;
      }

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

      .page-yy777-net-2__cta-section {
        padding: 60px 15px;
      }

      .page-yy777-net-2__cta-title {
        font-size: 2em;
      }

      .page-yy777-net-2__cta-description {
        font-size: 1.1em;
      }

      .page-yy777-net-2__cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
      }
    }

    /* Additional mobile specific for list items, ensuring no overflow */
    @media (max-width: 768px) {
      .page-yy777-net-2__game-grid,
      .page-yy777-net-2__promo-grid,
      .page-yy777-net-2__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-yy777-net-2__game-card,
      .page-yy777-net-2__promo-card,
      .page-yy777-net-2__payment-item,
      .page-yy777-net-2__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important; /* Adjust padding to fit screen */
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-yy777-net-2__game-card-title,
      .page-yy777-net-2__promo-title,
      .page-yy777-net-2__payment-name,
      .page-yy777-net-2__faq-question h3 {
        word-break: break-word !important;
      }

      .page-yy777-net-2__game-card-image,
      .page-yy777-net-2__promo-image,
      .page-yy777-net-2__about-image img,
      .page-yy777-net-2__payment-icon {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
    }
  