
    /* Base styles for the page */
    .page-8k8-777-com-login {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f5f5f5;
      padding-top: 10px; /* Small decorative top padding, assuming body already has padding-top from shared.css */
      max-width: 100%;
      overflow-x: hidden;
    }

    .page-8k8-777-com-login__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

    .page-8k8-777-com-login__section--dark {
      background-color: #2c3e50;
      color: #ecf0f1;
    }

    .page-8k8-777-com-login__hero-section {
      text-align: center;
      padding: 80px 20px;
      background-image: url('[GALLERY:hero:1920x1080:casino,login,philippines,gaming]');
      background-size: cover;
      background-position: center;
      color: #fff;
      position: relative;
      border-radius: 0;
      box-shadow: none;
      margin-bottom: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 400px;
    }

    .page-8k8-777-com-login__hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      border-radius: 0;
    }

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

    .page-8k8-777-com-login__hero-title {
      font-size: 3em;
      margin-bottom: 15px;
      color: #f39c12; /* A vibrant gold/orange for emphasis */
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-8k8-777-com-login__hero-subtitle {
      font-size: 1.5em;
      margin-bottom: 30px;
      color: #ecf0f1;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .page-8k8-777-com-login__cta-button {
      display: inline-block;
      background-color: #e74c3c; /* Red for action */
      color: #fff;
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease;
      cursor: pointer;
      border: none;
    }

    .page-8k8-777-com-login__cta-button:hover {
      background-color: #c0392b;
    }

    .page-8k8-777-com-login__title {
      font-size: 2.2em;
      color: #2c3e50;
      text-align: center;
      margin-bottom: 30px;
    }

    .page-8k8-777-com-login__title--light {
      color: #ecf0f1;
    }

    .page-8k8-777-com-login__text {
      font-size: 1.1em;
      margin-bottom: 20px;
      text-align: justify;
    }

    .page-8k8-777-com-login__text--center {
        text-align: center;
    }

    .page-8k8-777-com-login__text--light {
      color: #ecf0f1;
    }

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

    .page-8k8-777-com-login__feature-item {
      background-color: #fdfdfd;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-8k8-777-com-login__feature-item:hover {
      transform: translateY(-5px);
    }

    .page-8k8-777-com-login__feature-icon {
      width: 200px;
      height: 200px;
      margin-bottom: 15px;
      display: block;
      margin-left: auto;
      margin-right: auto;
      object-fit: cover;
      border-radius: 8px;
    }


    .page-8k8-777-com-login__feature-title {
      font-size: 1.3em;
      color: #34495e;
      margin-bottom: 10px;
    }

    .page-8k8-777-com-login__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 30px;
    }

    .page-8k8-777-com-login__game-card {
      background-color: #fdfdfd;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-8k8-777-com-login__game-card:hover {
      transform: translateY(-5px);
    }

    .page-8k8-777-com-login__game-image {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
    }

    .page-8k8-777-com-login__game-info {
      padding: 15px;
    }

    .page-8k8-777-com-login__game-title {
      font-size: 1.2em;
      color: #2c3e50;
      margin-bottom: 10px;
    }

    .page-8k8-777-com-login__game-provider {
      font-size: 0.9em;
      color: #7f8c8d;
    }

    .page-8k8-777-com-login__steps-list {
      list-style: none;
      padding: 0;
      counter-reset: step-counter;
    }

    .page-8k8-777-com-login__step-item {
      background-color: #fdfdfd;
      margin-bottom: 15px;
      padding: 20px 25px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      display: flex;
      align-items: flex-start;
      box-sizing: border-box;
    }

    .page-8k8-777-com-login__step-item::before {
      counter-increment: step-counter;
      content: counter(step-counter);
      background-color: #f39c12;
      color: #fff;
      border-radius: 50%;
      width: 35px;
      height: 35px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: bold;
      font-size: 1.1em;
      margin-right: 15px;
      flex-shrink: 0;
    }

    .page-8k8-777-com-login__step-content h3 {
      margin-top: 0;
      font-size: 1.2em;
      color: #34495e;
      margin-bottom: 5px;
    }

    .page-8k8-777-com-login__step-content p {
      margin-bottom: 0;
      color: #555;
    }

    .page-8k8-777-com-login__payment-methods-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      margin-top: 30px;
      justify-content: center;
    }
    .page-8k8-777-com-login__payment-method-item {
      background-color: #fdfdfd;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      text-align: center;
      box-sizing: border-box;
    }

    .page-8k8-777-com-login__payment-method-logo {
        width: 200px;
        height: 200px;
        object-fit: contain;
        display: block;
        margin: 0 auto 10px auto;
        max-width: 100%;
    }


    .page-8k8-777-com-login__faq-section {
      background-color: #fdfdfd;
      padding: 40px 20px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

    .page-8k8-777-com-login__faq-item {
      margin-bottom: 10px;
      border: 1px solid #eee;
      border-radius: 5px;
      overflow: hidden;
      box-sizing: border-box;
    }

    .page-8k8-777-com-login__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #f9f9f9;
      cursor: pointer;
      user-select: none;
      font-weight: bold;
      color: #34495e;
      transition: background-color 0.3s ease;
      box-sizing: border-box;
    }

    .page-8k8-777-com-login__faq-question:hover {
      background-color: #f0f0f0;
    }

    .page-8k8-777-com-login__faq-question h3 {
        margin: 0;
        font-size: 1.1em;
        pointer-events: none; /* Prevent h3 from blocking click event */
        flex-grow: 1;
    }

    .page-8k8-777-com-login__faq-toggle {
      font-size: 1.5em;
      margin-left: 15px;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click event */
      color: #e74c3c;
    }

    .page-8k8-777-com-login__faq-item.active .page-8k8-777-com-login__faq-toggle {
      transform: rotate(45deg); /* Visually change + to X or - */
    }

    .page-8k8-777-com-login__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 15px;
      background-color: #fff;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      color: #555;
      font-size: 0.95em;
      box-sizing: border-box;
    }

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

    /* Floating Register/Login Buttons */
    .page-8k8-777-com-login__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .page-8k8-777-com-login__floating-btn {
      background-color: #f39c12; /* Gold color */
      color: #fff;
      padding: 12px 20px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1em;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-align: center;
      border: none;
      cursor: pointer;
    }

    .page-8k8-777-com-login__floating-btn--login {
      background-color: #27ae60; /* Green for login */
    }

    .page-8k8-777-com-login__floating-btn:hover {
      background-color: #e67e22;
      transform: translateY(-2px);
    }

    .page-8k8-777-com-login__floating-btn--login:hover {
      background-color: #2ecc71;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-8k8-777-com-login__hero-title {
        font-size: 2.2em;
      }

      .page-8k8-777-com-login__hero-subtitle {
        font-size: 1.2em;
      }

      .page-8k8-777-com-login__cta-button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-8k8-777-com-login__title {
        font-size: 1.8em;
      }

      .page-8k8-777-com-login__section {
        padding: 30px 15px;
      }

      .page-8k8-777-com-login__features-grid,
      .page-8k8-777-com-login__game-grid,
      .page-8k8-777-com-login__payment-methods-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
      }

      .page-8k8-777-com-login__feature-item,
      .page-8k8-777-com-login__game-card,
      .page-8k8-777-com-login__step-item,
      .page-8k8-777-com-login__payment-method-item {
        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 for smaller screens */
        padding-right: 15px !important;
      }

      .page-8k8-777-com-login__feature-icon,
      .page-8k8-777-com-login__payment-method-logo {
        width: 200px; /* Maintain minimum placeholder size */
        height: 200px; /* Maintain minimum placeholder size */
        margin-left: auto;
        margin-right: auto;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }

      .page-8k8-777-com-login__faq-question {
        padding: 12px 15px;
        font-size: 1em;
      }

      .page-8k8-777-com-login__faq-question h3 {
        font-size: 1em;
      }

      .page-8k8-777-com-login__faq-answer {
        padding: 0 15px;
        font-size: 0.9em;
      }

      .page-8k8-777-com-login__faq-item.active .page-8k8-777-com-login__faq-answer {
        padding: 15px 15px !important;
      }

      .page-8k8-777-com-login__floating-buttons {
        bottom: 15px;
        right: 15px;
        flex-direction: row; /* Buttons side-by-side on mobile */
        width: calc(100% - 30px);
        justify-content: space-around;
      }

      .page-8k8-777-com-login__floating-btn {
        flex: 1;
        margin: 0 5px;
        padding: 10px 15px;
        font-size: 0.9em;
      }
    }

    @media (max-width: 480px) {
        .page-8k8-777-com-login__hero-title {
            font-size: 1.8em;
        }
        .page-8k8-777-com-login__hero-subtitle {
            font-size: 1em;
        }
        .page-8k8-777-com-login__title {
            font-size: 1.5em;
        }
        .page-8k8-777-com-login__text {
            font-size: 1em;
        }
        .page-8k8-777-com-login__floating-buttons {
            flex-direction: column; /* Stack buttons on very small screens */
            width: auto;
            right: 10px;
            bottom: 10px;
        }
        .page-8k8-777-com-login__floating-btn {
            width: 100%;
            margin: 0;
            margin-bottom: 10px; /* Space between stacked buttons */
        }
        .page-8k8-777-com-login__floating-btn:last-child {
            margin-bottom: 0;
        }
    }

    /* General responsive image/container rules */
    .page-8k8-777-com-login img {
      max-width: 100% !important;
      height: auto !important;
      box-sizing: border-box !important;
    }
    .page-8k8-777-com-login__image-container {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      box-sizing: border-box !important;
    }

    /* Word wrap for list items and general text */
    .page-8k8-777-com-login__step-content p,
    .page-8k8-777-com-login__feature-item p,
    .page-8k8-777-com-login__game-info p,
    .page-8k8-777-com-login__faq-answer p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
  