
    /* Base styles for the page */
    .page-yy777-index {
      font-family: 'Arial', sans-serif;
      color: #e0e0e0;
      background-color: #1a1a1a;
      line-height: 1.6;
      padding-bottom: 80px; /* Space for floating buttons */
      padding-top: 10px; /* Small top padding, assuming body handles header offset */
    }

    /* Responsive typography */
    .page-yy777-index h1 {
      font-size: 2.8em;
      color: #ffd700; /* Gold */
      text-align: center;
      margin-bottom: 20px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .page-yy777-index h2 {
      font-size: 2.2em;
      color: #ffd700;
      text-align: center;
      margin-top: 40px;
      margin-bottom: 20px;
    }

    .page-yy777-index h3 {
      font-size: 1.8em;
      color: #f0f0f0;
      margin-top: 30px;
      margin-bottom: 15px;
    }

    .page-yy777-index p {
      font-size: 1.1em;
      margin-bottom: 15px;
    }

    .page-yy777-index__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }

    /* Hero Section */
    .page-yy777-index__hero-section {
      position: relative;
      width: 100%;
      height: 60vh; /* Responsive height */
      min-height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
      background-color: #000;
      margin-bottom: 40px;
    }

    .page-yy777-index__hero-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.6); /* Darken background image for text readability */
      z-index: 1;
    }

    .page-yy777-index__hero-content {
      position: relative;
      z-index: 2;
      color: #fff;
      padding: 20px;
      max-width: 900px;
    }

    .page-yy777-index__hero-title {
      font-size: 3.5em;
      margin-bottom: 15px;
      color: #ffd700;
      text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
      line-height: 1.2;
    }

    .page-yy777-index__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      color: #e0e0e0;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .page-yy777-index__cta-button {
      display: inline-block;
      background-color: #e60000; /* Red */
      color: #fff;
      padding: 15px 30px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.2em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-yy777-index__cta-button:hover {
      background-color: #cc0000;
      transform: translateY(-3px);
    }

    /* Floating Buttons */
    .page-yy777-index__floating-buttons {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-around;
      padding: 10px 0;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    }

    .page-yy777-index__floating-button {
      flex: 1;
      margin: 0 5px;
      background-color: #ffd700; /* Gold */
      color: #1a1a1a;
      padding: 12px 0;
      border-radius: 5px;
      font-weight: bold;
      font-size: 1.1em;
      text-align: center;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .page-yy777-index__floating-button:hover {
      background-color: #e6c200;
      transform: translateY(-2px);
    }

    /* Game Categories Section */
    .page-yy777-index__game-categories {
      padding: 40px 0;
      background-color: #222;
      text-align: center;
    }

    .page-yy777-index__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
      justify-items: center;
    }

    .page-yy777-index__game-card {
      background-color: #333;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      width: 100%;
      max-width: 350px;
      box-sizing: border-box;
    }

    .page-yy777-index__game-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-index__game-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .page-yy777-index__game-info {
      padding: 15px;
    }

    .page-yy777-index__game-title {
      font-size: 1.4em;
      color: #ffd700;
      margin-bottom: 10px;
    }

    .page-yy777-index__game-description {
      font-size: 0.95em;
      color: #ccc;
      margin-bottom: 15px;
    }

    /* Promotions Section */
    .page-yy777-index__promotions-section {
      background-color: #1a1a1a;
      padding: 40px 0;
      text-align: center;
    }

    .page-yy777-index__promo-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 30px;
      justify-items: center;
    }

    .page-yy777-index__promo-card {
      background-color: #333;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      width: 100%;
      max-width: 400px;
      box-sizing: border-box;
    }

    .page-yy777-index__promo-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-index__promo-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
    }

    .page-yy777-index__promo-content {
      padding: 20px;
    }

    .page-yy777-index__promo-title {
      font-size: 1.5em;
      color: #ffd700;
      margin-bottom: 10px;
    }

    .page-yy777-index__promo-description {
      font-size: 1em;
      color: #ccc;
      margin-bottom: 20px;
    }

    /* About Section */
    .page-yy777-index__about-section {
      background-color: #222;
      padding: 40px 0;
    }

    .page-yy777-index__about-content {
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }

    .page-yy777-index__about-text {
      flex: 1;
      padding-right: 20px;
    }

    .page-yy777-index__about-image-wrapper {
      flex: 1;
      max-width: 500px;
      width: 100%;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    .page-yy777-index__about-image {
      width: 100%;
      height: auto;
      display: block;
    }

    /* Payment Methods Section */
    .page-yy777-index__payment-section {
      background-color: #1a1a1a;
      padding: 40px 0;
      text-align: center;
    }

    .page-yy777-index__payment-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      margin-top: 30px;
      list-style: none;
      padding: 0;
    }

    .page-yy777-index__payment-item {
      background-color: #333;
      border-radius: 8px;
      padding: 15px 25px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      font-size: 1.1em;
      font-weight: bold;
      color: #ffd700;
      transition: transform 0.3s ease, background-color 0.3s ease;
      box-sizing: border-box; /* Crucial for list item responsiveness */
      width: auto; /* Allow natural width */
      max-width: 180px; /* Limit max width for larger screens */
      text-align: center;
    }

    .page-yy777-index__payment-item:hover {
      transform: translateY(-5px);
      background-color: #444;
    }

    /* Game Providers Section */
    .page-yy777-index__providers-section {
      background-color: #222;
      padding: 40px 0;
      text-align: center;
    }

    .page-yy777-index__provider-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      margin-top: 30px;
      list-style: none;
      padding: 0;
    }

    .page-yy777-index__provider-item {
      background-color: #333;
      border-radius: 8px;
      padding: 15px 25px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      font-size: 1.1em;
      font-weight: bold;
      color: #f0f0f0;
      transition: transform 0.3s ease, background-color 0.3s ease;
      box-sizing: border-box; /* Crucial for list item responsiveness */
      width: auto; /* Allow natural width */
      max-width: 220px; /* Limit max width for larger screens */
      text-align: center;
    }

    .page-yy777-index__provider-item:hover {
      transform: translateY(-5px);
      background-color: #444;
    }

    /* FAQ Section */
    .page-yy777-index__faq-section {
      padding: 40px 0;
      background-color: #1a1a1a;
    }

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

    .page-yy777-index__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      cursor: pointer;
      user-select: none;
      background-color: #333;
      color: #ffd700;
      font-size: 1.2em;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .page-yy777-index__faq-question h3 {
      margin: 0;
      font-size: 1.2em; /* Match parent font size */
      color: #ffd700;
      pointer-events: none; /* Crucial for click handling */
    }

    .page-yy777-index__faq-question:hover {
      background-color: #444;
    }

    .page-yy777-index__faq-toggle {
      font-size: 1.8em;
      line-height: 1;
      transition: transform 0.3s ease;
      pointer-events: none; /* Crucial for click handling */
    }

    .page-yy777-index__faq-item.active .page-yy777-index__faq-toggle {
      transform: rotate(45deg); /* Change + to X or - */
    }

    .page-yy777-index__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px; /* Adjusted padding for initial state */
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      color: #e0e0e0;
      background-color: #222;
    }

    .page-yy777-index__faq-item.active .page-yy777-index__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px !important; /* Ensure padding is applied on active */
      opacity: 1;
    }

    .page-yy777-index__faq-answer p {
      margin-bottom: 10px;
      font-size: 1em;
    }

    /* Social Media Section */
    .page-yy777-index__social-section {
      padding: 40px 0;
      background-color: #222;
      text-align: center;
    }

    .page-yy777-index__social-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      margin-top: 30px;
      list-style: none;
      padding: 0;
    }

    .page-yy777-index__social-item {
      background-color: #333;
      border-radius: 8px;
      padding: 15px 25px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      font-size: 1.1em;
      font-weight: bold;
      color: #fff;
      transition: transform 0.3s ease, background-color 0.3s ease;
      box-sizing: border-box;
      min-width: 120px;
      text-align: center;
    }

    .page-yy777-index__social-item:hover {
      transform: translateY(-5px);
      background-color: #444;
    }

    .page-yy777-index__social-link {
      color: inherit;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    /* General image styles */
    .page-yy777-index img {
      max-width: 100%;
      height: auto;
      display: block; /* Remove extra space below images */
      border-radius: 8px; /* Consistent styling */
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
      .page-yy777-index h1 {
        font-size: 2.5em;
      }
      .page-yy777-index h2 {
        font-size: 2em;
      }
      .page-yy777-index__hero-title {
        font-size: 3em;
      }
      .page-yy777-index__hero-subtitle {
        font-size: 1.3em;
      }
      .page-yy777-index__about-content {
        flex-direction: column;
      }
      .page-yy777-index__about-text {
        padding-right: 0;
      }
    }

    @media (max-width: 768px) {
      .page-yy777-index {
        padding-bottom: 70px; /* Adjust for smaller floating buttons */
      }
      .page-yy777-index h1 {
        font-size: 2em;
      }
      .page-yy777-index h2 {
        font-size: 1.8em;
      }
      .page-yy777-index h3 {
        font-size: 1.5em;
      }
      .page-yy777-index p {
        font-size: 1em;
      }

      .page-yy777-index__hero-section {
        height: 50vh;
        min-height: 300px;
      }
      .page-yy777-index__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-index__hero-subtitle {
        font-size: 1.2em;
      }
      .page-yy777-index__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
      }

      .page-yy777-index__floating-buttons {
        padding: 8px 0;
      }
      .page-yy777-index__floating-button {
        font-size: 1em;
        padding: 10px 0;
      }

      .page-yy777-index__game-grid,
      .page-yy777-index__promo-list {
        grid-template-columns: 1fr; /* Single column on mobile */
      }
      .page-yy777-index__game-card,
      .page-yy777-index__promo-card {
        max-width: 90%; /* Constrain width */
        margin: 0 auto;
      }

      /* List item mobile responsiveness */
      .page-yy777-index__payment-list,
      .page-yy777-index__provider-list,
      .page-yy777-index__social-list {
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-index__payment-item,
      .page-yy777-index__provider-item,
      .page-yy777-index__social-item {
        width: 90% !important; /* Take full width minus padding */
        max-width: 90% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
        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-index__faq-question {
        font-size: 1.1em;
        padding: 15px;
      }
      .page-yy777-index__faq-question h3 {
        font-size: 1.1em;
      }
      .page-yy777-index__faq-answer {
        padding: 0 15px;
      }
      .page-yy777-index__faq-item.active .page-yy777-index__faq-answer {
        padding: 15px !important;
      }

      /* Image responsiveness */
      .page-yy777-index img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-yy777-index__about-image-wrapper {
        width: 90% !important;
        max-width: 90% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-index h1 {
        font-size: 1.8em;
      }
      .page-yy777-index h2 {
        font-size: 1.6em;
      }
      .page-yy777-index__hero-title {
        font-size: 2em;
      }
      .page-yy777-index__hero-subtitle {
        font-size: 1em;
      }
      .page-yy777-index__floating-button {
        font-size: 0.9em;
      }
    }
  