
    :root {
      --primary-color: #ffcc00; /* Gold/Yellow for yy777 branding */
      --secondary-color: #333333; /* Dark grey for text */
      --background-dark: #1a1a1a; /* Very dark background */
      --text-light: #ffffff; /* Light text */
      --text-medium: #cccccc; /* Medium light text */
      --accent-red: #ff4444; /* For alerts or highlights */
      --border-color: #444444;
      --button-hover-color: #e6b800;
    }

    /* Base styles for the specific page */
    .page-https-www-yy777-net-m-login {
      font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      color: var(--text-light);
      background-color: var(--background-dark);
      line-height: 1.6;
      overflow-x: hidden;
      padding-top: var(--header-offset, 122px); /* Fallback for header offset */
    }

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

    .page-https-www-yy777-net-m-login__hero-section {
      text-align: center;
      padding: 60px 20px;
      background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('[GALLERY:hero:1920x1080:yy777,login,casino,philippines,mobile]') no-repeat center center / cover;
      padding-top: 10px; /* Small decorative padding after body padding-top */
    }

    .page-https-www-yy777-net-m-login__hero-title {
      font-size: 2.8em;
      color: var(--primary-color);
      margin-bottom: 15px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-https-www-yy777-net-m-login__hero-subtitle {
      font-size: 1.3em;
      color: var(--text-medium);
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-https-www-yy777-net-m-login__login-form-wrapper {
      background-color: rgba(0, 0, 0, 0.85);
      padding: 40px;
      border-radius: 10px;
      max-width: 450px;
      margin: 30px auto 0;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
      border: 1px solid var(--primary-color);
    }

    .page-https-www-yy777-net-m-login__form-group {
      margin-bottom: 20px;
      text-align: left;
    }

    .page-https-www-yy777-net-m-login__form-label {
      display: block;
      margin-bottom: 8px;
      color: var(--text-light);
      font-weight: bold;
    }

    .page-https-www-yy777-net-m-login__form-input {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid var(--border-color);
      border-radius: 5px;
      background-color: #2a2a2a;
      color: var(--text-light);
      font-size: 1em;
      box-sizing: border-box;
    }

    .page-https-www-yy777-net-m-login__form-input::placeholder {
      color: var(--text-medium);
    }

    .page-https-www-yy777-net-m-login__login-button {
      width: 100%;
      padding: 15px;
      background-color: var(--primary-color);
      color: var(--secondary-color);
      border: none;
      border-radius: 5px;
      font-size: 1.2em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
      margin-top: 10px;
    }

    .page-https-www-yy777-net-m-login__login-button:hover {
      background-color: var(--button-hover-color);
    }

    .page-https-www-yy777-net-m-login__link-text {
      color: var(--primary-color);
      text-decoration: none;
      font-weight: bold;
      display: block;
      margin-top: 15px;
      font-size: 0.95em;
      text-align: center;
    }

    .page-https-www-yy777-net-m-login__link-text:hover {
      text-decoration: underline;
    }

    .page-https-www-yy777-net-m-login__section {
      padding: 60px 20px;
      text-align: center;
    }

    .page-https-www-yy777-net-m-login__section:nth-of-type(odd) {
      background-color: #222222;
    }

    .page-https-www-yy777-net-m-login__section-title {
      font-size: 2.2em;
      color: var(--primary-color);
      margin-bottom: 25px;
      text-align: center;
    }

    .page-https-www-yy777-net-m-login__section-description {
      font-size: 1.1em;
      color: var(--text-medium);
      max-width: 900px;
      margin: 0 auto 40px;
      text-align: center;
    }

    .page-https-www-yy777-net-m-login__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .page-https-www-yy777-net-m-login__feature-card {
      background-color: #2a2a2a;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      text-align: left;
      border: 1px solid var(--border-color);
      transition: transform 0.3s ease;
    }

    .page-https-www-yy777-net-m-login__feature-card:hover {
      transform: translateY(-5px);
    }

    .page-https-www-yy777-net-m-login__feature-icon img {
        width: 200px; /* Minimum width */
        height: 200px; /* Minimum height */
        object-fit: contain;
        max-width: 100%;
        margin: 0 auto 20px; /* Center the image */
        display: block;
    }

    .page-https-www-yy777-net-m-login__feature-title {
      font-size: 1.4em;
      color: var(--primary-color);
      margin-bottom: 15px;
      text-align: center;
    }

    .page-https-www-yy777-net-m-login__feature-description {
      font-size: 1em;
      color: var(--text-medium);
      text-align: center;
    }

    .page-https-www-yy777-net-m-login__promo-section {
      padding: 60px 20px;
      text-align: center;
      background-color: var(--background-dark);
    }

    .page-https-www-yy777-net-m-login__promo-image {
      max-width: 800px;
      width: 100%;
      height: auto;
      border-radius: 10px;
      margin-bottom: 30px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
      object-fit: cover;
    }

    .page-https-www-yy777-net-m-login__promo-button {
      padding: 15px 30px;
      background-color: var(--primary-color);
      color: var(--secondary-color);
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
      display: inline-block; /* For the external link button */
      text-decoration: none; /* For the external link button */
    }

    .page-https-www-yy777-net-m-login__promo-button:hover {
      background-color: var(--button-hover-color);
    }

    .page-https-www-yy777-net-m-login__faq-section {
      padding: 60px 20px;
      background-color: #222222;
      text-align: center;
    }

    .page-https-www-yy777-net-m-login__faq-list {
      max-width: 800px;
      margin: 0 auto;
      list-style: none;
      padding: 0;
    }

    .page-https-www-yy777-net-m-login__faq-item {
      background-color: #2a2a2a;
      margin-bottom: 15px;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      overflow: hidden;
      box-sizing: border-box; /* Required for list items */
    }

    .page-https-www-yy777-net-m-login__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      background-color: #3a3a3a;
      color: var(--primary-color);
      font-size: 1.15em;
      font-weight: bold;
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-https-www-yy777-net-m-login__faq-question:hover {
      background-color: #4a4a4a;
    }

    .page-https-www-yy777-net-m-login__faq-question h3 {
      margin: 0;
      color: var(--primary-color);
      font-size: 1.15em;
      pointer-events: none; /* Prevent h3 from blocking click */
      flex-grow: 1;
      text-align: left;
    }

    .page-https-www-yy777-net-m-login__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--primary-color);
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-https-www-yy777-net-m-login__faq-item.active .page-https-www-yy777-net-m-login__faq-toggle {
      transform: rotate(45deg); /* Visually change + to X or similar */
    }

    .page-https-www-yy777-net-m-login__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      opacity: 0;
      color: var(--text-medium);
      font-size: 1em;
      text-align: left;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      box-sizing: border-box; /* Required for list items */
    }

    .page-https-www-yy777-net-m-login__faq-item.active .page-https-www-yy777-net-m-login__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px 25px !important;
      opacity: 1;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .page-https-www-yy777-net-m-login__hero-title {
        font-size: 2.2em;
      }

      .page-https-www-yy777-net-m-login__hero-subtitle {
        font-size: 1.1em;
      }

      .page-https-www-yy777-net-m-login__login-form-wrapper {
        padding: 30px 20px;
        max-width: 100%;
        margin-left: 10px;
        margin-right: 10px;
      }

      .page-https-www-yy777-net-m-login__section-title {
        font-size: 1.8em;
      }

      .page-https-www-yy777-net-m-login__section-description {
        font-size: 0.95em;
      }

      .page-https-www-yy777-net-m-login__features-grid {
        grid-template-columns: 1fr;
      }

      .page-https-www-yy777-net-m-login__feature-card {
        margin-left: 10px;
        margin-right: 10px;
      }

      /* List item responsive requirements */
      .page-https-www-yy777-net-m-login__faq-list {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important; /* Adjust padding for mobile */
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
      }
      .page-https-www-yy777-net-m-login__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important; /* Ensure no extra padding */
      }
      .page-https-www-yy777-net-m-login__faq-question {
        padding: 15px 20px;
        font-size: 1em;
      }
      .page-https-www-yy777-net-m-login__faq-question h3 {
        font-size: 1em;
      }
      .page-https-www-yy777-net-m-login__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-https-www-yy777-net-m-login__feature-description,
      .page-https-www-yy777-net-m-login__promo-text {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }
    }

    @media (max-width: 480px) {
        .page-https-www-yy777-net-m-login__hero-title {
            font-size: 1.8em;
        }
        .page-https-www-yy777-net-m-login__hero-subtitle {
            font-size: 0.9em;
        }
        .page-https-www-yy777-net-m-login__section-title {
            font-size: 1.6em;
        }
        .page-https-www-yy777-net-m-login__faq-question {
            padding: 12px 15px;
            font-size: 0.95em;
        }
        .page-https-www-yy777-net-m-login__faq-question h3 {
            font-size: 0.95em;
        }
        .page-https-www-yy777-net-m-login__faq-answer {
            padding: 12px 15px;
            font-size: 0.85em;
        }
        .page-https-www-yy777-net-m-login__promo-button {
            padding: 12px 20px;
            font-size: 1em;
        }
    }
  