
    /* Base styles for the page-yy777 container */
    .page-yy777 {
      font-family: Arial, sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f8f8;
      padding-top: var(--header-offset, 122px); /* Fallback for header offset */
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      box-sizing: border-box;
    }

    /* General Section Styling */
    .page-yy777__section {
      width: 100%;
      max-width: 1200px;
      padding: 40px 20px;
      margin-bottom: 20px;
      box-sizing: border-box;
      background-color: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      border-radius: 8px;
    }
    
    .page-yy777__section--dark {
        background-color: #1a1a1a;
        color: #f0f0f0;
    }

    .page-yy777__section-title {
      font-size: 2.5em;
      color: #c00; /* Red for emphasis, good contrast */
      text-align: center;
      margin-bottom: 30px;
      font-weight: bold;
    }

    .page-yy777__section-subtitle {
        font-size: 1.8em;
        color: #555;
        text-align: center;
        margin-bottom: 25px;
        font-weight: normal;
    }
    .page-yy777__section--dark .page-yy777__section-subtitle {
        color: #ccc;
    }

    /* Hero Section */
    .page-yy777__hero-section {
      background: linear-gradient(135deg, #FF6B6B, #FFD166); /* Vibrant gradient */
      color: #fff;
      text-align: center;
      padding: 100px 20px;
      padding-top: 10px; /* Small decorative top padding, body handles main offset */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 400px;
      position: relative;
      overflow: hidden;
      border-radius: 0; /* No border-radius for hero */
      box-shadow: none;
      margin-bottom: 0;
    }

    .page-yy777__hero-title {
      font-size: 3.5em;
      margin-bottom: 20px;
      font-weight: 900;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
      line-height: 1.1;
    }

    .page-yy777__hero-description {
      font-size: 1.4em;
      margin-bottom: 40px;
      max-width: 800px;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    }

    .page-yy777__promo-button {
      background-color: #007bff; /* Blue for call to action */
      color: #fff;
      padding: 15px 30px;
      border-radius: 50px;
      font-size: 1.2em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.3s ease;
      display: inline-block;
      border: none; /* Ensure it looks like a button */
      cursor: pointer;
    }

    .page-yy777__promo-button:hover {
      background-color: #0056b3;
      transform: translateY(-3px);
    }
    
    /* Floating Buttons for Register/Login */
    .page-yy777__floating-buttons {
      position: fixed;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 1000;
    }

    .page-yy777__floating-button {
      background-color: #c00; /* Red for action */
      color: #fff;
      padding: 12px 25px;
      border-radius: 30px;
      font-size: 1.1em;
      font-weight: bold;
      text-decoration: none;
      text-align: center;
      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;
    }

    .page-yy777__floating-button:hover {
      background-color: #a00;
      transform: scale(1.05);
    }

    /* Product Display (Games Section) */
    .page-yy777__product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      justify-content: center;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-yy777__product-card {
      background-color: #fefefe;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-bottom: 20px;
    }

    .page-yy777__product-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .page-yy777__product-image {
      width: 100%;
      height: 220px; /* Fixed height for consistency */
      object-fit: cover;
      display: block;
      border-bottom: 3px solid #c00;
      max-width: 100%; /* Ensure responsiveness */
      height: auto; /* Ensure aspect ratio */
      box-sizing: border-box;
    }

    .page-yy777__product-title {
      font-size: 1.5em;
      color: #333;
      margin: 20px 15px 10px;
      font-weight: bold;
    }
    
    .page-yy777__product-description {
        font-size: 0.95em;
        color: #666;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    /* Providers & Payments Section */
    .page-yy777__logo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 25px;
      justify-content: center;
      align-items: center;
      padding: 20px 0;
    }

    .page-yy777__logo-item {
      text-align: center;
      padding: 15px;
      background-color: #f5f5f5;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 120px;
    }
    
    .page-yy777__logo-item:hover {
        transform: translateY(-5px);
    }

    .page-yy777__logo-image {
      max-width: 100%;
      height: 80px; /* Consistent height for logos */
      object-fit: contain;
      display: block;
      margin: 0 auto;
      max-width: 100%; /* Ensure responsiveness */
      height: auto; /* Ensure aspect ratio */
      box-sizing: border-box;
    }

    .page-yy777__logo-name {
        margin-top: 10px;
        font-size: 0.9em;
        font-weight: bold;
        color: #555;
    }

    /* Why Choose Section */
    .page-yy777__features-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .page-yy777__feature-item {
      background-color: #fefefe;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 3px 8px rgba(0,0,0,0.08);
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box; /* Crucial for responsive lists */
    }

    .page-yy777__feature-icon {
      width: 100px;
      height: 100px;
      margin-bottom: 20px;
      object-fit: contain;
      max-width: 100%; /* Ensure responsiveness */
      height: auto; /* Ensure aspect ratio */
      box-sizing: border-box;
    }

    .page-yy777__feature-title {
      font-size: 1.4em;
      color: #c00;
      margin-bottom: 15px;
      font-weight: bold;
    }

    .page-yy777__feature-description {
      font-size: 1em;
      color: #555;
    }

    /* FAQ Section */
    .page-yy777__faq-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .page-yy777__faq-item {
      background-color: #fefefe;
      margin-bottom: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.08);
      overflow: hidden;
    }

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

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

    .page-yy777__faq-question h3 {
      margin: 0;
      font-size: 1.2em;
      color: #333;
      pointer-events: none; /* Prevent h3 from blocking click */
      flex-grow: 1;
    }

    .page-yy777__faq-toggle {
      font-size: 1.8em;
      font-weight: bold;
      color: #c00;
      margin-left: 15px;
      pointer-events: none; /* Prevent toggle icon from blocking click */
      transition: transform 0.3s ease;
    }

    .page-yy777__faq-item.active .page-yy777__faq-toggle {
      transform: rotate(45deg); /* Visually change + to x or - */
    }

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

    .page-yy777__faq-item.active .page-yy777__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px 25px !important; /* Expanded padding */
      opacity: 1;
    }
    
    .page-yy777__faq-answer p {
        margin-bottom: 1em;
    }
    .page-yy777__faq-answer p:last-child {
        margin-bottom: 0;
    }


    /* Mobile responsiveness */
    @media (max-width: 768px) {
      .page-yy777__hero-title {
        font-size: 2.5em;
      }

      .page-yy777__hero-description {
        font-size: 1.1em;
      }

      .page-yy777__promo-button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-yy777__section-title {
        font-size: 2em;
      }
      
      .page-yy777__section-subtitle {
        font-size: 1.4em;
      }

      .page-yy777__product-grid,
      .page-yy777__logo-grid,
      .page-yy777__features-list {
        grid-template-columns: 1fr; /* Single column layout for grids */
      }

      .page-yy777__section {
        padding: 30px 15px;
      }
      
      .page-yy777__product-card,
      .page-yy777__logo-item,
      .page-yy777__feature-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-yy777__product-image,
      .page-yy777__feature-icon,
      .page-yy777__logo-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      
      /* Ensure text in lists wraps */
      .page-yy777__product-title,
      .page-yy777__product-description,
      .page-yy777__feature-title,
      .page-yy777__feature-description,
      .page-yy777__logo-name {
          word-wrap: break-word !important;
          overflow-wrap: break-word !important;
          word-break: break-word !important;
      }

      .page-yy777__floating-buttons {
        right: 10px;
        gap: 10px;
      }

      .page-yy777__floating-button {
        padding: 10px 20px;
        font-size: 1em;
      }
      
      .page-yy777__faq-question {
        padding: 15px 20px;
      }

      .page-yy777__faq-question h3 {
        font-size: 1.1em;
      }

      .page-yy777__faq-toggle {
        font-size: 1.5em;
      }

      .page-yy777__faq-answer {
        padding: 0 20px;
      }

      .page-yy777__faq-item.active .page-yy777__faq-answer {
        padding: 15px 20px !important;
      }
    }

    @media (max-width: 480px) {
        .page-yy777__hero-section {
            padding: 80px 15px;
            padding-top: 10px; /* Small decorative top padding */
        }
        .page-yy777__hero-title {
            font-size: 2em;
        }
        .page-yy777__hero-description {
            font-size: 1em;
        }
        .page-yy777__promo-button {
            padding: 10px 20px;
            font-size: 0.9em;
        }
        .page-yy777__floating-buttons {
            right: 5px;
            gap: 8px;
        }
        .page-yy777__floating-button {
            padding: 8px 15px;
            font-size: 0.9em;
        }
    }
  