
    /* Base styles for the page */
    .page-yy777-slot-login {
      font-family: Arial, sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f9f9f9;
      padding-bottom: 40px; /* Ensure space for footer */
      padding-top: 10px; /* Minimal padding, assuming body handles header offset */
    }

    .page-yy777-slot-login__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      box-sizing: border-box;
    }

    .page-yy777-slot-login__section {
      padding: 40px 0;
      margin-bottom: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .page-yy777-slot-login__section--dark {
      background-color: #2c3e50;
      color: #ecf0f1;
    }

    .page-yy777-slot-login__heading {
      font-size: 2.5em;
      color: #2c3e50;
      margin-bottom: 20px;
      text-align: center;
      word-wrap: break-word; /* Ensure long titles wrap */
    }

    .page-yy777-slot-login__section--dark .page-yy777-slot-login__heading {
      color: #ecf0f1;
    }

    .page-yy777-slot-login__subheading {
      font-size: 1.8em;
      color: #34495e;
      margin-bottom: 15px;
      text-align: center;
      word-wrap: break-word;
    }

    .page-yy777-slot-login__section--dark .page-yy777-slot-login__subheading {
      color: #bdc3c7;
    }

    .page-yy777-slot-login__paragraph {
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: center;
      word-wrap: break-word;
    }

    .page-yy777-slot-login__section--dark .page-yy777-slot-login__paragraph {
      color: #ccc;
    }

    /* Hero Section */
    .page-yy777-slot-login__hero-section {
      background-color: #3498db;
      color: #fff;
      padding: 60px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
      border-radius: 0;
      box-shadow: none;
      padding-top: 10px; /* Minimal padding, assuming body handles header offset */
    }

    .page-yy777-slot-login__hero-image-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      overflow: hidden;
    }

    .page-yy777-slot-login__hero-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.3;
      filter: brightness(0.7); /* Darken the image without changing color */
    }

    .page-yy777-slot-login__hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
    }

    .page-yy777-slot-login__hero-heading {
      font-size: 3.5em;
      margin-bottom: 20px;
      color: #fff;
      word-wrap: break-word;
    }

    .page-yy777-slot-login__hero-paragraph {
      font-size: 1.3em;
      margin-bottom: 30px;
      color: #ecf0f1;
      word-wrap: break-word;
    }

    .page-yy777-slot-login__cta-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    }

    .page-yy777-slot-login__button {
      background-color: #e67e22;
      color: #fff;
      padding: 15px 30px;
      border-radius: 5px;
      font-size: 1.1em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease;
      cursor: pointer;
      border: none;
      display: inline-block; /* Ensure padding works */
      box-sizing: border-box; /* Include padding in width */
      word-wrap: break-word;
      max-width: 100%; /* Ensure button doesn't overflow */
    }

    .page-yy777-slot-login__button:hover {
      background-color: #d35400;
    }

    /* Features Section */
    .page-yy777-slot-login__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 30px;
      text-align: left;
    }

    .page-yy777-slot-login__feature-item {
      background-color: #ecf0f1;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      box-sizing: border-box;
      max-width: 100%; /* Ensure item doesn't overflow */
    }

    .page-yy777-slot-login__feature-image-wrapper {
      width: 100%;
      max-width: 250px; /* Smaller image size for features */
      height: 180px;
      overflow: hidden;
      margin-bottom: 15px;
      border-radius: 5px;
      box-sizing: border-box;
    }

    .page-yy777-slot-login__feature-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .page-yy777-slot-login__feature-title {
      font-size: 1.4em;
      color: #2c3e50;
      margin-bottom: 10px;
      word-wrap: break-word;
    }

    .page-yy777-slot-login__feature-description {
      color: #666;
      font-size: 1em;
      word-wrap: break-word;
    }

    /* Game Showcase */
    .page-yy777-slot-login__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-yy777-slot-login__game-card {
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      text-align: center;
      padding-bottom: 15px;
      box-sizing: border-box;
      max-width: 100%;
    }

    .page-yy777-slot-login__game-image-wrapper {
      width: 100%;
      height: 200px;
      overflow: hidden;
      margin-bottom: 15px;
      box-sizing: border-box;
    }

    .page-yy777-slot-login__game-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .page-yy777-slot-login__game-title {
      font-size: 1.2em;
      color: #34495e;
      margin: 0 15px 10px;
      word-wrap: break-word;
    }

    /* How to Login Steps */
    .page-yy777-slot-login__steps-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-yy777-slot-login__step-item {
      background-color: #ecf0f1;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      text-align: center;
      box-sizing: border-box;
      max-width: 100%;
    }

    .page-yy777-slot-login__step-number {
      background-color: #3498db;
      color: #fff;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.5em;
      font-weight: bold;
      margin: 0 auto 15px;
    }

    .page-yy777-slot-login__step-image-wrapper {
      width: 100%;
      max-width: 300px;
      height: 200px;
      overflow: hidden;
      margin: 0 auto 15px;
      border-radius: 5px;
      box-sizing: border-box;
    }

    .page-yy777-slot-login__step-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .page-yy777-slot-login__step-title {
      font-size: 1.4em;
      color: #2c3e50;
      margin-bottom: 10px;
      word-wrap: break-word;
    }

    .page-yy777-slot-login__step-description {
      color: #666;
      font-size: 1em;
      word-wrap: break-word;
    }

    /* FAQ Section */
    .page-yy777-slot-login__faq-list {
      margin-top: 30px;
      text-align: left;
    }

    .page-yy777-slot-login__faq-item {
      background-color: #ecf0f1;
      margin-bottom: 10px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      box-sizing: border-box;
      max-width: 100%;
    }

    .page-yy777-slot-login__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      background-color: #3498db;
      color: #fff;
      font-size: 1.2em;
      font-weight: bold;
      user-select: none;
      transition: background-color 0.3s ease;
      box-sizing: border-box;
    }

    .page-yy777-slot-login__faq-question:hover {
      background-color: #2980b9;
    }

    .page-yy777-slot-login__faq-question h3 {
      margin: 0;
      flex-grow: 1;
      pointer-events: none; /* Prevent h3 from blocking click */
      word-wrap: break-word;
      font-size: 1.2em; /* Ensure font size consistency */
    }

    .page-yy777-slot-login__faq-toggle {
      font-size: 1.5em;
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-yy777-slot-login__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px;
      opacity: 0;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      background-color: #f0f8ff;
      color: #333;
      text-align: left;
      box-sizing: border-box;
    }

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

    .page-yy777-slot-login__faq-item.active .page-yy777-slot-login__faq-toggle {
      transform: rotate(45deg); /* Change '+' to 'x' visually, or '-' */
    }

    /* General image styles */
    .page-yy777-slot-login img {
      max-width: 100%;
      height: auto;
      display: block; /* Remove extra space below images */
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-yy777-slot-login__container {
        padding: 0 15px;
      }

      .page-yy777-slot-login__heading {
        font-size: 2em;
      }

      .page-yy777-slot-login__hero-heading {
        font-size: 2.5em;
      }

      .page-yy777-slot-login__hero-paragraph {
        font-size: 1.1em;
      }

      .page-yy777-slot-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
      }

      .page-yy777-slot-login__button {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
      }

      .page-yy777-slot-login__features-grid,
      .page-yy777-slot-login__game-grid,
      .page-yy777-slot-login__steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-yy777-slot-login__feature-item,
      .page-yy777-slot-login__game-card,
      .page-yy777-slot-login__step-item,
      .page-yy777-slot-login__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px; /* Adjust padding for smaller screens */
      }
      
      .page-yy777-slot-login__feature-image-wrapper,
      .page-yy777-slot-login__game-image-wrapper,
      .page-yy777-slot-login__step-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: auto; /* Allow height to adjust */
        overflow: hidden;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-yy777-slot-login__feature-image,
      .page-yy777-slot-login__game-image,
      .page-yy777-slot-login__step-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;
      }

      .page-yy777-slot-login__faq-question {
        padding: 12px 15px;
        font-size: 1.1em;
      }

      .page-yy777-slot-login__faq-question h3 {
        font-size: 1.1em;
      }

      .page-yy777-slot-login__faq-toggle {
        font-size: 1.3em;
      }

      .page-yy777-slot-login__faq-answer {
        padding: 15px 15px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
      
      .page-yy777-slot-login__section {
        padding: 30px 0;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-slot-login__hero-heading {
        font-size: 2em;
      }

      .page-yy777-slot-login__heading {
        font-size: 1.8em;
      }

      .page-yy777-slot-login__subheading {
        font-size: 1.5em;
      }
    }
  