
    :root {
      --page-yy777-com-ph-login-register-online__primary-color: #f1c40f; /* Gold/Yellow */
      --page-yy777-com-ph-login-register-online__secondary-color: #e67e22; /* Orange */
      --page-yy777-com-ph-login-register-online__dark-bg: #2c3e50; /* Dark Blue */
      --page-yy777-com-ph-login-register-online__light-bg: #ecf0f1; /* Light Gray */
      --page-yy777-com-ph-login-register-online__text-color: #ffffff;
      --page-yy777-com-ph-login-register-online__dark-text: #34495e;
      --page-yy777-com-ph-login-register-online__button-hover: #d35400; /* Darker Orange */
      --page-yy777-com-ph-login-register-online__border-color: #34495e;
    }

    .page-yy777-com-ph-login-register-online {
      font-family: 'Arial', sans-serif;
      line-height: 1.6;
      color: var(--page-yy777-com-ph-login-register-online__text-color);
      background-color: var(--page-yy777-com-ph-login-register-online__dark-bg);
      padding-bottom: 50px; /* Ensure space above footer */
    }

    .page-yy777-com-ph-login-register-online__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }

    /* Hero Section */
    .page-yy777-com-ph-login-register-online__hero-section {
      position: relative;
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:casino,login,register,online_gaming]') no-repeat center center/cover;
      color: var(--page-yy777-com-ph-login-register-online__text-color);
      text-align: center;
      padding: 100px 20px; /* Reduced padding-top to avoid double offset */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 60vh;
      box-sizing: border-box;
    }

    .page-yy777-com-ph-login-register-online__hero-title {
      font-size: 3.5em;
      margin-bottom: 20px;
      color: var(--page-yy777-com-ph-login-register-online__primary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-yy777-com-ph-login-register-online__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 40px;
      max-width: 800px;
    }

    .page-yy777-com-ph-login-register-online__hero-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .page-yy777-com-ph-login-register-online__button {
      background-color: var(--page-yy777-com-ph-login-register-online__secondary-color);
      color: var(--page-yy777-com-ph-login-register-online__text-color);
      padding: 15px 30px;
      border-radius: 8px;
      font-size: 1.1em;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      cursor: pointer;
      border: none;
      display: inline-block; /* Ensure padding works correctly */
    }

    .page-yy777-com-ph-login-register-online__button:hover {
      background-color: var(--page-yy777-com-ph-login-register-online__button-hover);
      transform: translateY(-2px);
    }

    /* Section Styling */
    .page-yy777-com-ph-login-register-online__section {
      padding: 60px 0;
      text-align: center;
      background-color: var(--page-yy777-com-ph-login-register-online__dark-bg);
    }

    .page-yy777-com-ph-login-register-online__section:nth-of-type(even) {
      background-color: #22303e; /* Slightly lighter dark background */
    }

    .page-yy777-com-ph-login-register-online__section-title {
      font-size: 2.5em;
      margin-bottom: 40px;
      color: var(--page-yy777-com-ph-login-register-online__primary-color);
    }

    .page-yy777-com-ph-login-register-online__section-text {
      font-size: 1.1em;
      max-width: 900px;
      margin: 0 auto 30px auto;
      color: #ccc;
    }

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

    .page-yy777-com-ph-login-register-online__step-card {
      background-color: #34495e;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      text-align: left;
      transition: transform 0.3s ease;
      border-top: 5px solid var(--page-yy777-com-ph-login-register-online__primary-color);
    }

    .page-yy777-com-ph-login-register-online__step-card:hover {
      transform: translateY(-5px);
    }

    .page-yy777-com-ph-login-register-online__step-number {
      font-size: 2em;
      color: var(--page-yy777-com-ph-login-register-online__primary-color);
      margin-bottom: 15px;
      font-weight: bold;
    }

    .page-yy777-com-ph-login-register-online__step-title {
      font-size: 1.5em;
      margin-bottom: 10px;
      color: var(--page-yy777-com-ph-login-register-online__secondary-color);
    }

    .page-yy777-com-ph-login-register-online__step-description {
      color: #ddd;
    }

    /* Game Providers / Payment Methods */
    .page-yy777-com-ph-login-register-online__logo-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-top: 40px;
    }

    .page-yy777-com-ph-login-register-online__logo-item {
      background-color: #34495e;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      width: 180px; /* Fixed width for consistency */
      height: 120px; /* Fixed height for consistency */
      box-sizing: border-box;
      text-align: center;
      border: 1px solid var(--page-yy777-com-ph-login-register-online__border-color);
    }

    .page-yy777-com-ph-login-register-online__logo-item:hover {
      transform: translateY(-5px);
      border-color: var(--page-yy777-com-ph-login-register-online__primary-color);
    }

    .page-yy777-com-ph-login-register-online__logo-image {
      max-width: 100%;
      max-height: 80px;
      height: auto;
      display: block;
      margin-bottom: 10px;
    }

    .page-yy777-com-ph-login-register-online__logo-name {
      color: var(--page-yy777-com-ph-login-register-online__text-color);
      font-size: 0.9em;
      font-weight: bold;
    }

    /* Promotions */
    .page-yy777-com-ph-login-register-online__promo-card {
      background-color: #34495e;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
      margin-bottom: 30px;
      text-align: left;
      display: flex;
      flex-direction: column;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
      transition: transform 0.3s ease;
    }
    .page-yy777-com-ph-login-register-online__promo-card:hover {
      transform: translateY(-5px);
    }

    .page-yy777-com-ph-login-register-online__promo-image {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
    }

    .page-yy777-com-ph-login-register-online__promo-content {
      padding: 25px;
    }

    .page-yy777-com-ph-login-register-online__promo-title {
      font-size: 1.8em;
      color: var(--page-yy777-com-ph-login-register-online__primary-color);
      margin-bottom: 15px;
    }

    .page-yy777-com-ph-login-register-online__promo-description {
      color: #ddd;
      margin-bottom: 20px;
    }

    /* FAQ Section */
    .page-yy777-com-ph-login-register-online__faq-section {
      background-color: #22303e;
    }

    .page-yy777-com-ph-login-register-online__faq-container {
      max-width: 900px;
      margin: 0 auto;
      text-align: left;
    }

    .page-yy777-com-ph-login-register-online__faq-item {
      background-color: #34495e;
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .page-yy777-com-ph-login-register-online__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      background-color: var(--page-yy777-com-ph-login-register-online__dark-bg);
      color: var(--page-yy777-com-ph-login-register-online__primary-color);
      cursor: pointer;
      font-size: 1.2em;
      font-weight: bold;
      transition: background-color 0.3s ease;
      user-select: none;
    }

    .page-yy777-com-ph-login-register-online__faq-question:hover {
      background-color: #3e536b;
    }

    .page-yy777-com-ph-login-register-online__faq-question h3 {
      margin: 0;
      color: inherit;
      pointer-events: none; /* Prevent h3 from blocking click */
      flex-grow: 1;
    }

    .page-yy777-com-ph-login-register-online__faq-toggle {
      font-size: 1.5em;
      line-height: 1;
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-yy777-com-ph-login-register-online__faq-item.active .page-yy777-com-ph-login-register-online__faq-toggle {
      transform: rotate(45deg); /* Changes + to x or - visually */
    }

    .page-yy777-com-ph-login-register-online__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      color: #ddd;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      box-sizing: border-box;
    }

    .page-yy777-com-ph-login-register-online__faq-item.active .page-yy777-com-ph-login-register-online__faq-answer {
      max-height: 2000px !important; /* Sufficiently large */
      padding: 20px 25px !important;
      opacity: 1;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .page-yy777-com-ph-login-register-online__hero-title {
        font-size: 3em;
      }
      .page-yy777-com-ph-login-register-online__hero-subtitle {
        font-size: 1.3em;
      }
      .page-yy777-com-ph-login-register-online__section-title {
        font-size: 2em;
      }
      .page-yy777-com-ph-login-register-online__step-card,
      .page-yy777-com-ph-login-register-online__promo-card {
        max-width: 100%;
      }
    }

    @media (max-width: 768px) {
      .page-yy777-com-ph-login-register-online__hero-section {
        padding: 80px 15px;
        min-height: 50vh;
      }
      .page-yy777-com-ph-login-register-online__hero-title {
        font-size: 2.5em;
      }
      .page-yy777-com-ph-login-register-online__hero-subtitle {
        font-size: 1.1em;
      }
      .page-yy777-com-ph-login-register-online__hero-buttons {
        flex-direction: column;
        gap: 15px;
      }
      .page-yy777-com-ph-login-register-online__button {
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
      }

      .page-yy777-com-ph-login-register-online__section {
        padding: 40px 0;
      }
      .page-yy777-com-ph-login-register-online__section-title {
        font-size: 1.8em;
      }
      .page-yy777-com-ph-login-register-online__section-text {
        font-size: 1em;
      }

      .page-yy777-com-ph-login-register-online__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .page-yy777-com-ph-login-register-online__step-card {
        padding: 25px;
      }
      .page-yy777-com-ph-login-register-online__step-title {
        font-size: 1.3em;
      }

      .page-yy777-com-ph-login-register-online__logo-grid {
        gap: 15px;
      }
      .page-yy777-com-ph-login-register-online__logo-item {
        width: calc(50% - 15px); /* Two items per row with gap */
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-yy777-com-ph-login-register-online__logo-image {
        max-width: 100% !important;
        height: auto !important;
      }

      .page-yy777-com-ph-login-register-online__promo-card {
        margin-left: 15px;
        margin-right: 15px;
      }
      .page-yy777-com-ph-login-register-online__promo-title {
        font-size: 1.5em;
      }
      .page-yy777-com-ph-login-register-online__promo-image {
        max-width: 100% !important;
        height: auto !important;
      }

      .page-yy777-com-ph-login-register-online__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
      }
      .page-yy777-com-ph-login-register-online__faq-answer {
        padding: 0 20px;
      }
      .page-yy777-com-ph-login-register-online__faq-item.active .page-yy777-com-ph-login-register-online__faq-answer {
        padding: 15px 20px !important;
      }
    }

    @media (max-width: 480px) {
      .page-yy777-com-ph-login-register-online__hero-title {
        font-size: 2em;
      }
      .page-yy777-com-ph-login-register-online__hero-subtitle {
        font-size: 1em;
      }
      .page-yy777-com-ph-login-register-online__button {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-yy777-com-ph-login-register-online__logo-item {
        width: 100%; /* One item per row */
      }
    }
  