
    /* Base styles for the specific page */
    .page-777pub-ph {
      font-family: 'Arial', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f9f9f9;
      padding-top: 10px; /* Decorative top padding, relying on body padding-top for header offset */
    }

    .page-777pub-ph__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    /* Hero Section */
    .page-777pub-ph__hero-section {
      text-align: center;
      padding: 60px 0;
      background: linear-gradient(135deg, #0a1128, #122a57); /* Dark blue gradient */
      color: #fff;
      position: relative;
      overflow: hidden;
      margin-bottom: 30px;
      border-radius: 8px;
    }

    .page-777pub-ph__hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
        animation: page-777pub-ph__hero-animate-light 15s infinite linear;
    }

    @keyframes page-777pub-ph__hero-animate-light {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .page-777pub-ph__hero-content {
      position: relative;
      z-index: 2;
    }

    .page-777pub-ph__hero-title {
      font-size: 3.2em;
      margin-bottom: 15px;
      font-weight: 700;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .page-777pub-ph__hero-subtitle {
      font-size: 1.4em;
      margin-bottom: 30px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      font-weight: 300;
    }

    .page-777pub-ph__promo-button {
      display: inline-block;
      background-color: #ffc107; /* Gold/Yellow */
      color: #0a1128;
      padding: 15px 35px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-777pub-ph__promo-button:hover {
      background-color: #e0a800;
      transform: translateY(-3px);
    }

    /* Floating Buttons */
    .page-777pub-ph__floating-buttons {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 15px;
      z-index: 1000;
      width: 100%;
      justify-content: center;
      padding: 0 15px;
      box-sizing: border-box;
    }

    .page-777pub-ph__floating-button {
      flex: 1;
      max-width: 180px;
      padding: 12px 20px;
      border: none;
      border-radius: 50px;
      font-size: 1.0em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .page-777pub-ph__floating-button--register {
      background-color: #ffc107; /* Gold/Yellow */
      color: #0a1128;
    }

    .page-777pub-ph__floating-button--register:hover {
      background-color: #e0a800;
      transform: translateY(-3px);
    }

    .page-777pub-ph__floating-button--login {
      background-color: #007bff; /* Blue */
      color: #fff;
    }

    .page-777pub-ph__floating-button--login:hover {
      background-color: #0056b3;
      transform: translateY(-3px);
    }

    /* Section Styling */
    .page-777pub-ph__section {
      padding: 40px 0;
      margin-bottom: 30px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .page-777pub-ph__section-title {
      font-size: 2.5em;
      color: #0a1128;
      text-align: center;
      margin-bottom: 30px;
      font-weight: 700;
    }

    .page-777pub-ph__section-subtitle {
      font-size: 1.2em;
      color: #555;
      text-align: center;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Games Grid */
    .page-777pub-ph__games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-777pub-ph__game-card {
      background-color: #f0f4f8;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
    }

    .page-777pub-ph__game-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .page-777pub-ph__game-card-image-wrapper {
      width: 100%;
      padding-top: 56.25%; /* 16:9 Aspect Ratio */
      position: relative;
      overflow: hidden;
    }

    .page-777pub-ph__game-card-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-bottom: 3px solid #0a1128;
    }

    .page-777pub-ph__game-card-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-777pub-ph__game-card-title {
      font-size: 1.5em;
      color: #0a1128;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .page-777pub-ph__game-card-description {
      font-size: 0.95em;
      color: #555;
      margin-bottom: 15px;
      flex-grow: 1;
    }

    .page-777pub-ph__game-card-button {
      display: inline-block;
      background-color: #007bff;
      color: #fff;
      padding: 10px 25px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-777pub-ph__game-card-button:hover {
      background-color: #0056b3;
    }

    /* Payment Methods */
    .page-777pub-ph__payment-methods-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      gap: 20px;
      margin-top: 30px;
      justify-items: center;
      align-items: center;
    }

    .page-777pub-ph__payment-method-item {
      text-align: center;
      padding: 15px;
      background-color: #f0f4f8;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      height: 100px; /* Fixed height for consistency */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
      width: 100%;
      max-width: 150px; /* Max width for individual items */
    }

    .page-777pub-ph__payment-method-item:hover {
      transform: translateY(-5px);
    }

    .page-777pub-ph__payment-method-image {
      max-width: 80%;
      max-height: 60px;
      height: auto;
      object-fit: contain;
      margin-bottom: 5px;
    }

    .page-777pub-ph__payment-method-name {
      font-size: 0.9em;
      font-weight: 600;
      color: #0a1128;
    }

    /* Why Choose Us */
    .page-777pub-ph__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }

    .page-777pub-ph__feature-item {
      background-color: #f0f4f8;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-777pub-ph__feature-item:hover {
      transform: translateY(-5px);
    }

    .page-777pub-ph__feature-icon {
      margin-bottom: 15px;
      width: 100px; /* Larger icons for features */
      height: 100px;
      object-fit: contain;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .page-777pub-ph__feature-title {
      font-size: 1.8em;
      color: #0a1128;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .page-777pub-ph__feature-description {
      font-size: 1em;
      color: #555;
    }

    /* FAQ Section */
    .page-777pub-ph__faq-section {
      padding: 40px 0;
      margin-bottom: 30px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .page-777pub-ph__faq-item {
      border-bottom: 1px solid #eee;
      margin-bottom: 15px;
      padding-bottom: 15px;
    }

    .page-777pub-ph__faq-item:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .page-777pub-ph__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      padding: 15px 0;
      font-size: 1.2em;
      color: #0a1128;
      font-weight: 600;
      user-select: none;
      transition: color 0.3s ease;
    }

    .page-777pub-ph__faq-question:hover {
      color: #007bff;
    }

    .page-777pub-ph__faq-question h3 {
      margin: 0;
      flex-grow: 1;
      pointer-events: none; /* Prevent h3 from capturing click */
    }

    .page-777pub-ph__faq-toggle {
      font-size: 1.5em;
      margin-left: 15px;
      color: #007bff;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle icon from capturing click */
    }

    .page-777pub-ph__faq-item.active .page-777pub-ph__faq-toggle {
      transform: rotate(45deg); /* Rotate '+' to 'x' or '−' */
    }

    .page-777pub-ph__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: #555;
      font-size: 1em;
      line-height: 1.8;
    }

    .page-777pub-ph__faq-item.active .page-777pub-ph__faq-answer {
      max-height: 2000px !important; /* Sufficiently large to contain content */
      padding: 20px 15px !important;
      opacity: 1;
    }

    /* Promotions Section */
    .page-777pub-ph__promotions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 30px;
    }

    .page-777pub-ph__promo-card {
        background-color: #f0f4f8;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        display: flex;
        flex-direction: column;
        height: 100%;
        box-sizing: border-box;
    }

    .page-777pub-ph__promo-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .page-777pub-ph__promo-card-image-wrapper {
        width: 100%;
        padding-top: 56.25%; /* 16:9 Aspect Ratio */
        position: relative;
        overflow: hidden;
    }

    .page-777pub-ph__promo-card-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-bottom: 3px solid #ffc107;
    }

    .page-777pub-ph__promo-card-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .page-777pub-ph__promo-card-title {
        font-size: 1.5em;
        color: #0a1128;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .page-777pub-ph__promo-card-description {
        font-size: 0.95em;
        color: #555;
        margin-bottom: 15px;
        flex-grow: 1;
    }

    .page-777pub-ph__promo-card-button {
        display: inline-block;
        background-color: #ffc107;
        color: #0a1128;
        padding: 10px 25px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .page-777pub-ph__promo-card-button:hover {
        background-color: #e0a800;
    }

    /* Social Media Section */
    .page-777pub-ph__social-media-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    .page-777pub-ph__social-item {
      text-align: center;
      padding: 15px;
      background-color: #f0f4f8;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      width: 120px;
      box-sizing: border-box;
    }

    .page-777pub-ph__social-item:hover {
      transform: translateY(-5px);
    }

    .page-777pub-ph__social-icon {
      width: 60px; /* Social icons are content images, not small icons */
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .page-777pub-ph__social-name {
      font-size: 0.9em;
      font-weight: 600;
      color: #0a1128;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .page-777pub-ph__hero-title {
        font-size: 2.8em;
      }
      .page-777pub-ph__hero-subtitle {
        font-size: 1.3em;
      }
      .page-777pub-ph__section-title {
        font-size: 2.2em;
      }
    }

    @media (max-width: 768px) {
      .page-777pub-ph__hero-section {
        padding: 40px 0;
      }
      .page-777pub-ph__hero-title {
        font-size: 2.2em;
      }
      .page-777pub-ph__hero-subtitle {
        font-size: 1.1em;
      }
      .page-777pub-ph__promo-button {
        padding: 12px 25px;
        font-size: 1em;
      }

      .page-777pub-ph__section {
        padding: 30px 0;
        margin-bottom: 20px;
      }
      .page-777pub-ph__section-title {
        font-size: 1.8em;
      }
      .page-777pub-ph__section-subtitle {
        font-size: 1em;
      }

      .page-777pub-ph__games-grid,
      .page-777pub-ph__promotions-grid,
      .page-777pub-ph__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-777pub-ph__payment-methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 15px;
      }

      .page-777pub-ph__payment-method-item {
        max-width: 100%; /* Ensure full width on mobile */
        height: 90px;
        padding: 10px;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
      }
      .page-777pub-ph__payment-methods-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-777pub-ph__payment-method-image {
        max-height: 50px;
      }

      .page-777pub-ph__floating-buttons {
        bottom: 15px;
        gap: 10px;
      }
      .page-777pub-ph__floating-button {
        padding: 10px 15px;
        font-size: 0.9em;
        max-width: 150px;
      }

      .page-777pub-ph__faq-question {
        font-size: 1.1em;
        padding: 10px 0;
      }

      .page-777pub-ph__faq-answer {
        padding: 15px 15px !important;
      }

      .page-777pub-ph__social-item {
        width: 100px;
        padding: 10px;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
      }
      .page-777pub-ph__social-media-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
    }

    @media (max-width: 480px) {
      .page-777pub-ph__hero-title {
        font-size: 1.8em;
      }
      .page-777pub-ph__hero-subtitle {
        font-size: 0.9em;
      }
      .page-777pub-ph__section-title {
        font-size: 1.5em;
      }
      .page-777pub-ph__promo-button {
        padding: 10px 20px;
        font-size: 0.9em;
      }
      .page-777pub-ph__floating-buttons {
        flex-direction: row; /* Keep row for small screens */
        gap: 8px;
        bottom: 10px;
      }
      .page-777pub-ph__floating-button {
        font-size: 0.85em;
        padding: 8px 10px;
        max-width: 120px;
      }
    }
  