
    /* Base styles for the page, ensuring it's contained and responsive */
    .page-yy777-com-login {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f8f8f8;
      padding-top: var(--header-offset, 122px); /* Fallback for header offset */
    }

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

    /* Hero Section */
    .page-yy777-com-login__hero-section {
      position: relative;
      background-color: #0d47a1; /* Dark blue, matching betting platform theme */
      color: #fff;
      text-align: center;
      padding: 60px 20px;
      overflow: hidden;
      border-radius: 8px;
      margin-bottom: 40px;
      padding-top: 70px; /* Decorative top padding, not for header offset */
    }

    .page-yy777-com-login__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.3;
      z-index: 0;
    }

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

    .page-yy777-com-login__hero-title {
      font-size: 3em;
      margin-bottom: 15px;
      font-weight: bold;
      color: #ffd700; /* Gold for emphasis */
      text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .page-yy777-com-login__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      color: #eee;
    }

    /* Login Form Section */
    .page-yy777-com-login__login-section {
      background-color: #fff;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      margin-bottom: 40px;
      text-align: center;
    }

    .page-yy777-com-login__login-form {
      max-width: 400px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .page-yy777-com-login__form-group {
      text-align: left;
    }

    .page-yy777-com-login__form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: bold;
      color: #555;
    }

    .page-yy777-com-login__form-group input {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 1em;
      box-sizing: border-box;
      background-color: #f0f0f0;
      color: #333;
    }

    .page-yy777-com-login__form-group input:focus {
      border-color: #0d47a1;
      outline: none;
      box-shadow: 0 0 0 2px rgba(13, 71, 161, 0.2);
    }

    .page-yy777-com-login__submit-button {
      background-color: #0d47a1; /* Dark blue */
      color: #fff;
      padding: 15px 25px;
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
      width: 100%;
      box-sizing: border-box;
    }

    .page-yy777-com-login__submit-button:hover {
      background-color: #0a3a80; /* Slightly darker blue */
    }

    .page-yy777-com-login__forgot-password {
      font-size: 0.9em;
      color: #0d47a1;
      text-decoration: none;
      margin-top: 10px;
      display: inline-block;
      cursor: pointer; /* Indicate it's clickable, even without actual link */
    }

    .page-yy777-com-login__forgot-password:hover {
      text-decoration: underline;
    }

    .page-yy777-com-login__register-prompt {
      margin-top: 20px;
      font-size: 1em;
      color: #555;
    }

    .page-yy777-com-login__register-link {
      color: #0d47a1;
      font-weight: bold;
      text-decoration: none;
      cursor: pointer; /* Indicate it's clickable, even without actual link */
    }

    .page-yy777-com-login__register-link:hover {
      text-decoration: underline;
    }

    /* Features Section */
    .page-yy777-com-login__features-section {
      background-color: #e0f2f7; /* Light blue */
      padding: 40px 20px;
      border-radius: 8px;
      margin-bottom: 40px;
      text-align: center;
    }

    .page-yy777-com-login__section-title {
      font-size: 2.5em;
      color: #0d47a1;
      margin-bottom: 30px;
      text-align: center;
      font-weight: bold;
    }

    .page-yy777-com-login__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-yy777-com-login__feature-card {
      background-color: #fff;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.08);
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box; /* Required for list items */
    }

    .page-yy777-com-login__feature-card:hover {
      transform: translateY(-5px);
    }

    .page-yy777-com-login__feature-icon {
      width: 250px; /* Ensures minimum 200px */
      height: 250px; /* Ensures minimum 200px */
      margin-bottom: 15px;
      object-fit: contain;
      max-width: 100%;
      height: auto;
    }

    .page-yy777-com-login__feature-title {
      font-size: 1.4em;
      color: #0d47a1;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-yy777-com-login__feature-description {
      font-size: 1em;
      color: #666;
    }

    /* Promotions Section */
    .page-yy777-com-login__promotions-section {
      background-color: #fff;
      padding: 40px 20px;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      margin-bottom: 40px;
      text-align: center;
    }

    .page-yy777-com-login__promotions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-yy777-com-login__promotion-card {
      background-color: #fefefe;
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      text-align: left;
      transition: transform 0.3s ease;
      box-sizing: border-box; /* Required for list items */
    }

    .page-yy777-com-login__promotion-card:hover {
      transform: translateY(-5px);
    }

    .page-yy777-com-login__promotion-image {
      width: 100%;
      height: 200px; /* Minimum 200px height */
      object-fit: cover;
      max-width: 100%;
      height: auto;
    }

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

    .page-yy777-com-login__promotion-title {
      font-size: 1.3em;
      color: #0d47a1;
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-yy777-com-login__promotion-description {
      font-size: 0.95em;
      color: #666;
      margin-bottom: 15px;
    }

    .page-yy777-com-login__promotion-button {
      background-color: #ffd700; /* Gold */
      color: #0d47a1;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      font-size: 0.9em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
      display: inline-block;
      text-decoration: none;
    }

    .page-yy777-com-login__promotion-button:hover {
      background-color: #e6c200; /* Darker gold */
    }

    /* FAQ Section */
    .page-yy777-com-login__faq-section {
      background-color: #e0f2f7; /* Light blue */
      padding: 40px 20px;
      border-radius: 8px;
      margin-bottom: 40px;
    }

    .page-yy777-com-login__faq-list {
      max-width: 800px;
      margin: 30px auto 0 auto;
      box-sizing: border-box; /* Required for list containers */
    }

    .page-yy777-com-login__faq-item {
      background-color: #fff;
      border-radius: 8px;
      margin-bottom: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      overflow: hidden;
      box-sizing: border-box; /* Required for list items */
    }

    .page-yy777-com-login__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #0d47a1; /* Dark blue */
      color: #fff;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .page-yy777-com-login__faq-question:hover {
      background-color: #0a3a80;
    }

    .page-yy777-com-login__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      pointer-events: none; /* Prevent h3 from blocking click */
      color: inherit; /* Inherit color from parent */
    }

    .page-yy777-com-login__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      pointer-events: none; /* Prevent toggle from blocking click */
      transition: transform 0.3s ease;
    }

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

    .page-yy777-com-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: #f9f9f9;
      color: #333;
    }

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

    /* Call to Action Section */
    .page-yy777-com-login__cta-section {
      background-color: #0d47a1;
      color: #fff;
      padding: 50px 20px;
      text-align: center;
      border-radius: 8px;
    }

    .page-yy777-com-login__cta-title {
      font-size: 2.5em;
      margin-bottom: 15px;
      color: #ffd700;
      font-weight: bold;
    }

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

    .page-yy777-com-login__cta-button {
      background-color: #ffd700; /* Gold */
      color: #0d47a1;
      padding: 15px 30px;
      border: none;
      border-radius: 5px;
      font-size: 1.2em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      display: inline-block;
      text-decoration: none;
    }

    .page-yy777-com-login__cta-button:hover {
      background-color: #e6c200; /* Darker gold */
      transform: translateY(-2px);
    }

    /* General text styles */
    .page-yy777-com-login p {
      margin-bottom: 15px;
      color: #444;
    }
    .page-yy777-com-login strong {
      color: #0d47a1;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .page-yy777-com-login__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-com-login__hero-subtitle {
        font-size: 1.3em;
      }
      .page-yy777-com-login__section-title,
      .page-yy777-com-login__cta-title {
        font-size: 2em;
      }
    }

    @media (max-width: 768px) {
      .page-yy777-com-login__hero-section {
        padding: 40px 15px;
        padding-top: 50px; /* Decorative top padding */
      }
      .page-yy777-com-login__hero-title {
        font-size: 2em;
      }
      .page-yy777-com-login__hero-subtitle {
        font-size: 1.1em;
      }
      .page-yy777-com-login__login-section,
      .page-yy777-com-login__features-section,
      .page-yy777-com-login__promotions-section,
      .page-yy777-com-login__faq-section,
      .page-yy777-com-login__cta-section {
        padding: 30px 15px;
      }
      .page-yy777-com-login__section-title,
      .page-yy777-com-login__cta-title {
        font-size: 1.8em;
      }
      .page-yy777-com-login__cta-description {
        font-size: 1em;
      }
      .page-yy777-com-login__cta-button {
        font-size: 1.1em;
        padding: 12px 25px;
      }
      .page-yy777-com-login__features-grid,
      .page-yy777-com-login__promotions-grid {
        grid-template-columns: 1fr;
      }

      /* List item responsiveness */
      .page-yy777-com-login__features-grid > *,
      .page-yy777-com-login__promotions-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important; /* Adjust padding to avoid excessive inner padding */
        padding-right: 15px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
      }

      .page-yy777-com-login__faq-list {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-yy777-com-login__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !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-com-login__faq-question {
        padding: 12px 15px;
      }
      .page-yy777-com-login__faq-question h3 {
        font-size: 1em;
      }
      .page-yy777-com-login__faq-answer {
        padding: 15px 15px !important;
      }

      /* Image responsiveness */
      .page-yy777-com-login img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-yy777-com-login__promotion-image {
        height: 180px; /* Adjust height for smaller screens */
      }
      .page-yy777-com-login__hero-background {
        height: 100%;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-com-login__hero-title {
        font-size: 1.8em;
      }
      .page-yy777-com-login__hero-subtitle {
        font-size: 1em;
      }
      .page-yy777-com-login__login-section,
      .page-yy777-com-login__features-section,
      .page-yy777-com-login__promotions-section,
      .page-yy777-com-login__faq-section,
      .page-yy777-com-login__cta-section {
        padding: 25px 10px;
      }
      .page-yy777-com-login__section-title,
      .page-yy777-com-login__cta-title {
        font-size: 1.6em;
      }
      .page-yy777-com-login__feature-card {
        padding: 20px;
      }
      .page-yy777-com-login__promotion-image {
        height: 150px;
      }
      .page-yy777-com-login__faq-question {
        padding: 10px 10px;
      }
      .page-yy777-com-login__faq-question h3 {
        font-size: 0.9em;
      }
      .page-yy777-com-login__faq-answer {
        padding: 15px 10px !important;
      }
    }
  