
    :root {
      --primary-color: #e44d26; /* A vibrant color for CTAs and highlights */
      --secondary-color: #333;
      --accent-color: #f7b32b; /* Gold/yellow for highlights */
      --text-color: #333;
      --light-text-color: #f0f0f0;
      --bg-color-light: #f9f9f9;
      --bg-color-dark: #222;
      --border-color: #ddd;
      --shadow-color: rgba(0, 0, 0, 0.1);
      --font-family: 'Arial', sans-serif;
    }

    .page-yy777-index-login-register {
      font-family: var(--font-family);
      color: var(--text-color);
      line-height: 1.6;
      background-color: var(--bg-color-light);
    }

    /* Important: The body { padding-top: var(--header-offset); } is assumed to be in shared.css.
       The hero section only adds a small decorative top padding. */
    .page-yy777-index-login-register__hero-section {
      background-color: var(--bg-color-dark);
      color: var(--light-text-color);
      text-align: center;
      padding: 80px 20px 60px; /* Top padding adjusted for header offset */
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 450px; /* Minimum height for hero */
    }

    .page-yy777-index-login-register__section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
      box-sizing: border-box;
    }

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

    .page-yy777-index-login-register__hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
    }

    .page-yy777-index-login-register__hero-title {
      font-size: 2.8em;
      margin-bottom: 15px;
      color: var(--accent-color);
      text-shadow: 2px 2px 4px var(--shadow-color);
    }

    .page-yy777-index-login-register__hero-subtitle {
      font-size: 1.3em;
      margin-bottom: 30px;
      color: var(--light-text-color);
    }

    .page-yy777-index-login-register__cta-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .page-yy777-index-login-register__button {
      background-color: var(--primary-color);
      color: white;
      padding: 15px 30px;
      border: none;
      border-radius: 8px;
      font-size: 1.1em;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: inline-block;
      text-align: center;
      box-shadow: 0 4px 8px var(--shadow-color);
    }

    .page-yy777-index-login-register__button:hover {
      background-color: #bf3d1c;
      transform: translateY(-2px);
    }

    .page-yy777-index-login-register__button--secondary {
      background-color: var(--accent-color);
      color: var(--text-color);
    }

    .page-yy777-index-login-register__button--secondary:hover {
      background-color: #d19a26;
    }

    /* Floating Login/Register Buttons */
    .page-yy777-index-login-register__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 1000;
      transition: opacity 0.3s ease-in-out;
    }

    .page-yy777-index-login-register__floating-button {
      background-color: var(--primary-color);
      color: white;
      padding: 12px 25px;
      border: none;
      border-radius: 50px;
      font-size: 1em;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 120px;
    }

    .page-yy777-index-login-register__floating-button:hover {
      background-color: #bf3d1c;
      transform: translateY(-3px);
    }

    .page-yy777-index-login-register__floating-button--login {
      background-color: var(--accent-color);
      color: var(--text-color);
    }

    .page-yy777-index-login-register__floating-button--login:hover {
      background-color: #d19a26;
    }

    .page-yy777-index-login-register__floating-buttons.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .page-yy777-index-login-register__features-section {
      background-color: white;
      text-align: center;
    }

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

    .page-yy777-index-login-register__feature-card {
      background-color: var(--bg-color-light);
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 2px 10px var(--shadow-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-yy777-index-login-register__feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    .page-yy777-index-login-register__feature-icon {
      width: 250px; /* Minimum 200x200 */
      height: 200px; /* Minimum 200x200 */
      margin-bottom: 20px;
      object-fit: contain;
      max-width: 100%;
      height: auto;
    }

    .page-yy777-index-login-register__feature-title {
      font-size: 1.5em;
      color: var(--primary-color);
      margin-bottom: 10px;
    }

    .page-yy777-index-login-register__game-showcase {
      background-color: var(--bg-color-dark);
      color: var(--light-text-color);
      text-align: center;
    }

    .page-yy777-index-login-register__game-showcase-title {
      color: var(--accent-color);
    }

    .page-yy777-index-login-register__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-top: 40px;
    }

    .page-yy777-index-login-register__game-card {
      background-color: #3a3a3a;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
    }

    .page-yy777-index-login-register__game-card:hover {
      transform: translateY(-5px);
    }

    .page-yy777-index-login-register__game-image {
      width: 100%;
      height: 200px; /* Minimum 200x200 */
      object-fit: cover;
      display: block;
      max-width: 100%;
      height: auto;
    }

    .page-yy777-index-login-register__game-info {
      padding: 20px;
    }

    .page-yy777-index-login-register__game-title {
      font-size: 1.3em;
      margin-bottom: 10px;
      color: var(--light-text-color);
    }

    .page-yy777-index-login-register__promo-section {
      background-color: var(--primary-color);
      color: white;
      text-align: center;
    }

    .page-yy777-index-login-register__promo-section-title {
      color: white;
    }

    .page-yy777-index-login-register__promo-details {
      font-size: 1.1em;
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .page-yy777-index-login-register__payment-providers-section {
      background-color: var(--bg-color-light);
      text-align: center;
    }

    .page-yy777-index-login-register__payment-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    .page-yy777-index-login-register__payment-logo {
      height: 100px; /* Minimum 200x200 for actual image, this is for visual presentation */
      width: 200px; /* Minimum 200x200 for actual image */
      object-fit: contain;
      border-radius: 8px;
      box-shadow: 0 2px 5px var(--shadow-color);
      padding: 10px;
      background-color: white;
      max-width: 100%;
      height: auto;
    }

    .page-yy777-index-login-register__faq-section {
      background-color: white;
    }

    .page-yy777-index-login-register__faq-item {
      border: 1px solid var(--border-color);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      box-shadow: 0 2px 5px var(--shadow-color);
    }

    .page-yy777-index-login-register__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: var(--bg-color-light);
      cursor: pointer;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    .page-yy777-index-login-register__faq-question:hover {
      background-color: #e0e0e0;
    }

    .page-yy777-index-login-register__faq-question h3 {
      margin: 0;
      font-size: 1.1em;
      color: var(--secondary-color);
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

    .page-yy777-index-login-register__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--primary-color);
      pointer-events: none; /* Prevent toggle from blocking click event */
      transition: transform 0.3s ease;
    }

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

    .page-yy777-index-login-register__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;
      color: var(--text-color);
      background-color: white;
    }

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

    .page-yy777-index-login-register__faq-answer p {
      margin: 0;
    }

    .page-yy777-index-login-register__final-cta-section {
      background-color: var(--primary-color);
      color: white;
      text-align: center;
    }

    .page-yy777-index-login-register__final-cta-title {
      color: white;
      margin-bottom: 20px;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-yy777-index-login-register__hero-title {
        font-size: 2em;
      }

      .page-yy777-index-login-register__hero-subtitle {
        font-size: 1em;
      }

      .page-yy777-index-login-register__button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-yy777-index-login-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
      }

      .page-yy777-index-login-register__section {
        padding: 30px 15px;
      }

      .page-yy777-index-login-register__features-grid,
      .page-yy777-index-login-register__game-grid {
        grid-template-columns: 1fr;
      }

      .page-yy777-index-login-register__floating-buttons {
        flex-direction: row;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 15px;
        justify-content: center;
        gap: 10px;
      }

      .page-yy777-index-login-register__floating-button {
        flex: 1;
        min-width: unset;
        font-size: 0.9em;
        padding: 10px 15px;
      }

      .page-yy777-index-login-register__faq-question {
        padding: 12px 15px;
      }

      .page-yy777-index-login-register__faq-question h3 {
        font-size: 1em;
      }

      .page-yy777-index-login-register__faq-answer {
        padding: 15px 15px;
      }

      /* List item mobile responsiveness */
      .page-yy777-index-login-register__game-grid .page-yy777-index-login-register__game-card {
          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-index-login-register__features-grid .page-yy777-index-login-register__feature-card {
          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-index-login-register__payment-grid {
          padding: 0 !important;
          margin-left: 0 !important;
          margin-right: 0 !important;
      }
      .page-yy777-index-login-register__payment-grid .page-yy777-index-login-register__payment-logo {
          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;
      }

      /* Image responsive optimization */
      .page-yy777-index-login-register img {
          max-width: 100% !important;
          height: auto !important;
      }
      .page-yy777-index-login-register__game-image,
      .page-yy777-index-login-register__feature-icon,
      .page-yy777-index-login-register__payment-logo,
      .page-yy777-index-login-register__hero-image {
          max-width: 100% !important;
          height: auto !important;
          box-sizing: border-box !important;
          overflow: hidden !important;
      }
    }
  