
    /* Base styles for the page */
    .page-yy777-com-3 {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #e0e0e0; /* Light grey text */
      background-color: #1a1a2e; /* Dark blue-purple background */
      line-height: 1.6;
      padding-top: 10px; /* Small padding for hero, assuming body has header offset */
      overflow-x: hidden; /* Prevent horizontal scroll */
    }

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

    .page-yy777-com-3__section-title {
      font-size: 2.8em;
      color: #ffcc00; /* Gold/Yellow for titles */
      margin-bottom: 30px;
      position: relative;
      padding-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .page-yy777-com-3__section-title::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background-color: #ffcc00;
      border-radius: 2px;
    }

    .page-yy777-com-3__text-content {
      font-size: 1.1em;
      margin-bottom: 25px;
      color: #cccccc;
    }

    /* Hero Section */
    .page-yy777-com-3__hero-section {
      background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('[GALLERY:hero:1920x1080:casino,slots,jackpot]') no-repeat center center/cover;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #ffffff;
      height: 600px; /* Adjusted height for better mobile view */
      position: relative;
      overflow: hidden;
      padding: 20px; /* Ensure content is not too close to edges */
      box-sizing: border-box;
    }

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

    .page-yy777-com-3__hero-title {
      font-size: 3.8em;
      margin-bottom: 15px;
      color: #ffcc00;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      line-height: 1.2;
    }

    .page-yy777-com-3__hero-description {
      font-size: 1.3em;
      margin-bottom: 30px;
      color: #f0f0f0;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .page-yy777-com-3__hero-button-group {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    }

    .page-yy777-com-3__hero-button {
      background-color: #e60073; /* Pink button */
      color: #ffffff;
      padding: 15px 30px;
      border: none;
      border-radius: 8px;
      font-size: 1.2em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
      text-decoration: none; /* For button-like divs */
      display: inline-block;
    }

    .page-yy777-com-3__hero-button:hover {
      background-color: #ff3399; /* Lighter pink on hover */
      transform: translateY(-3px);
    }

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

    .page-yy777-com-3__game-card {
      background-color: #2c2c4d; /* Slightly lighter dark background */
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      padding-bottom: 20px;
    }

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

    .page-yy777-com-3__game-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      border-bottom: 4px solid #ffcc00;
    }

    .page-yy777-com-3__game-title {
      font-size: 1.6em;
      color: #ffcc00;
      margin: 20px 10px 10px;
      text-transform: capitalize;
    }

    .page-yy777-com-3__game-description {
      font-size: 0.95em;
      color: #bbbbbb;
      padding: 0 15px;
    }

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

    .page-yy777-com-3__promo-card {
      background-color: #2c2c4d;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
      padding: 25px;
      transition: background-color 0.3s ease;
    }

    .page-yy777-com-3__promo-card:hover {
      background-color: #3a3a5e;
    }

    .page-yy777-com-3__promo-title {
      font-size: 1.8em;
      color: #ffcc00;
      margin-bottom: 15px;
    }

    .page-yy777-com-3__promo-description {
      font-size: 1.05em;
      color: #cccccc;
      margin-bottom: 25px;
    }

    .page-yy777-com-3__promo-button {
      background-color: #e60073;
      color: #ffffff;
      padding: 12px 25px;
      border: none;
      border-radius: 6px;
      font-size: 1em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
      text-decoration: none; /* For external link */
      display: inline-block;
    }

    .page-yy777-com-3__promo-button:hover {
      background-color: #ff3399;
    }

    /* Payment Methods Section */
    .page-yy777-com-3__payment-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      list-style: none;
      padding: 0;
      margin-top: 40px;
    }

    .page-yy777-com-3__payment-item {
      background-color: #2c2c4d;
      border-radius: 10px;
      padding: 15px 25px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      font-size: 1.1em;
      color: #ffffff;
      font-weight: bold;
      min-width: 120px;
      text-align: center;
      transition: background-color 0.3s ease;
      box-sizing: border-box; /* Crucial for mobile responsiveness */
    }

    .page-yy777-com-3__payment-item:hover {
      background-color: #3a3a5e;
    }

    /* Features Section */
    .page-yy777-com-3__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-yy777-com-3__feature-item {
      background-color: #2c2c4d;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
      padding: 30px;
      text-align: left;
      transition: transform 0.3s ease;
    }

    .page-yy777-com-3__feature-item:hover {
      transform: translateY(-5px);
    }

    .page-yy777-com-3__feature-icon {
      width: 80px;
      height: 80px;
      object-fit: contain;
      margin-bottom: 20px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-com-3__feature-title {
      font-size: 1.8em;
      color: #ffcc00;
      margin-bottom: 15px;
      text-align: center;
    }

    .page-yy777-com-3__feature-description {
      font-size: 1em;
      color: #cccccc;
      text-align: center;
    }

    /* Call to Action Section */
    .page-yy777-com-3__cta-section {
      background-color: #e60073; /* Pink background */
      padding: 50px 20px;
    }

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

    .page-yy777-com-3__cta-description {
      font-size: 1.2em;
      color: #ffe0f0;
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-com-3__cta-button {
      background-color: #ffcc00; /* Gold button */
      color: #1a1a2e;
      padding: 18px 40px;
      border: none;
      border-radius: 8px;
      font-size: 1.4em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
      display: inline-block;
    }

    .page-yy777-com-3__cta-button:hover {
      background-color: #ffd740; /* Lighter gold */
      transform: translateY(-3px);
    }

    /* FAQ Section */
    .page-yy777-com-3__faq-section {
      text-align: left;
    }

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

    .page-yy777-com-3__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      background-color: #3a3a5e; /* Slightly different background for question */
      cursor: pointer;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    .page-yy777-com-3__faq-question:hover {
      background-color: #4a4a7a;
    }

    .page-yy777-com-3__faq-question h3 {
      margin: 0;
      font-size: 1.3em;
      color: #ffcc00;
      pointer-events: none; /* Prevent text selection from interfering with click */
    }

    .page-yy777-com-3__faq-toggle {
      font-size: 2em;
      font-weight: bold;
      color: #ffcc00;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from interfering with click */
    }

    .page-yy777-com-3__faq-item.active .page-yy777-com-3__faq-toggle {
      transform: rotate(45deg); /* Rotates '+' to 'X' for active state */
    }

    .page-yy777-com-3__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: #cccccc;
      font-size: 1.05em;
      text-align: left;
    }

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

    /* Responsive Styles */
    @media (max-width: 1024px) {
      .page-yy777-com-3__hero-title {
        font-size: 3.2em;
      }
      .page-yy777-com-3__hero-description {
        font-size: 1.1em;
      }
      .page-yy777-com-3__section-title {
        font-size: 2.4em;
      }
      .page-yy777-com-3__game-image {
        height: 180px;
      }
    }

    @media (max-width: 768px) {
      .page-yy777-com-3__hero-section {
        height: 500px;
      }
      .page-yy777-com-3__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-com-3__hero-description {
        font-size: 1em;
      }
      .page-yy777-com-3__hero-button-group {
        flex-direction: column;
        gap: 15px;
      }
      .page-yy777-com-3__hero-button {
        width: 80%;
        margin: 0 auto;
        padding: 12px 25px;
        font-size: 1.1em;
      }

      .page-yy777-com-3__section {
        padding: 30px 15px;
      }
      .page-yy777-com-3__section-title {
        font-size: 2em;
        margin-bottom: 25px;
      }
      .page-yy777-com-3__text-content {
        font-size: 1em;
      }

      .page-yy777-com-3__games-grid,
      .page-yy777-com-3__promotions-grid,
      .page-yy777-com-3__features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
      }

      .page-yy777-com-3__game-card,
      .page-yy777-com-3__promo-card,
      .page-yy777-com-3__feature-item {
        margin-left: auto;
        margin-right: auto;
        max-width: 400px; /* Constrain width for single column */
        width: 100% !important; /* Ensure full width within max-width */
        box-sizing: border-box !important;
      }

      .page-yy777-com-3__game-image {
        height: 160px;
      }

      .page-yy777-com-3__payment-list {
        flex-direction: column;
        align-items: center;
        padding: 0 !important; /* Override any default padding */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-com-3__payment-item {
        width: 90% !important; /* Adjust width to allow some side padding */
        max-width: 300px !important;
        box-sizing: border-box !important;
        margin-bottom: 15px;
        padding: 12px 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }

      .page-yy777-com-3__cta-title {
        font-size: 2.2em;
      }
      .page-yy777-com-3__cta-description {
        font-size: 1em;
      }
      .page-yy777-com-3__cta-button {
        padding: 15px 30px;
        font-size: 1.2em;
      }

      .page-yy777-com-3__faq-question {
        padding: 15px 20px;
      }
      .page-yy777-com-3__faq-question h3 {
        font-size: 1.1em;
      }
      .page-yy777-com-3__faq-toggle {
        font-size: 1.8em;
      }
      .page-yy777-com-3__faq-answer {
        padding: 0 20px;
        font-size: 0.95em;
      }
      .page-yy777-com-3__faq-item.active .page-yy777-com-3__faq-answer {
        padding: 15px 20px !important;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-com-3__hero-section {
        height: 450px;
      }
      .page-yy777-com-3__hero-title {
        font-size: 2em;
      }
      .page-yy777-com-3__hero-description {
        font-size: 0.9em;
      }
      .page-yy777-com-3__hero-button {
        width: 95%;
        padding: 10px 20px;
        font-size: 1em;
      }
      .page-yy777-com-3__section-title {
        font-size: 1.8em;
      }
      .page-yy777-com-3__cta-title {
        font-size: 1.8em;
      }
      .page-yy777-com-3__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
      }
    }
  