:root {
      --page-ss777-web-primary-color: #ffcc00; /* Gold/Yellow */
      --page-ss777-web-secondary-color: #007bff; /* Blue */
      --page-ss777-web-dark-bg: #1a1a1a;
      --page-ss777-web-light-bg: #2a2a2a;
      --page-ss777-web-text-color: #f0f0f0;
      --page-ss777-web-heading-color: #ffffff;
      --page-ss777-web-border-color: #3a3a3a;
      --page-ss777-web-button-bg: var(--page-ss777-web-primary-color);
      --page-ss777-web-button-text: #1a1a1a;
      --page-ss777-web-button-hover-bg: #e6b800;
      --page-ss777-web-font-family: 'Arial', sans-serif;
    }

    .page-ss777-web {
      font-family: var(--page-ss777-web-font-family);
      color: var(--page-ss777-web-text-color);
      background-color: var(--page-ss777-web-dark-bg);
      line-height: 1.6;
      padding-top: 10px; /* Small decorative padding, assuming body has header offset */
    }

    .page-ss777-web__section-title {
      color: var(--page-ss777-web-heading-color);
      text-align: center;
      margin-bottom: 40px;
      font-size: 2.5em;
      padding: 0 15px;
    }

    .page-ss777-web__hero-section {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      min-height: 600px;
      background-color: var(--page-ss777-web-dark-bg);
      overflow: hidden;
      padding: 20px 0;
    }

    .page-ss777-web__hero-image-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .page-ss777-web__hero-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.5); /* Darken image for text readability */
      max-width: 100%;
    }

    .page-ss777-web__hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.6);
      border-radius: 10px;
      margin: 0 15px;
    }

    .page-ss777-web__hero-title {
      color: var(--page-ss777-web-primary-color);
      font-size: 3.5em;
      margin-bottom: 20px;
      line-height: 1.2;
    }

    .page-ss777-web__hero-description {
      font-size: 1.2em;
      margin-bottom: 30px;
      color: var(--page-ss777-web-text-color);
    }

    .page-ss777-web__hero-cta,
    .page-ss777-web__access-btn,
    .page-ss777-web__game-card-cta,
    .page-ss777-web__promotion-cta,
    .page-ss777-web__blog-cta {
      display: inline-block;
      background-color: var(--page-ss777-web-button-bg);
      color: var(--page-ss777-web-button-text);
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
    }

    .page-ss777-web__hero-cta:hover,
    .page-ss777-web__access-btn:hover,
    .page-ss777-web__game-card-cta:hover,
    .page-ss777-web__promotion-cta:hover,
    .page-ss777-web__blog-cta:hover {
      background-color: var(--page-ss777-web-button-hover-bg);
      transform: translateY(-2px);
    }

    .page-ss777-web__payment-providers {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 30px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      padding: 60px 20px;
      background-color: var(--page-ss777-web-light-bg);
    }

    .page-ss777-web__provider-logos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 30px;
      width: 100%;
      max-width: 1200px;
    }

    .page-ss777-web__payment-logo {
      flex: 0 0 auto;
      width: 80px;
      height: 80px;
      max-width: 80px;
      max-height: 80px;
      box-sizing: border-box;
      object-fit: contain;
    }

    /* Ensure the image within the logo container also respects the size */
    .page-ss777-web__payment-logo img {
      display: block;
      width: 80px !important;
      height: 80px !important;
      max-width: 80px !important;
      max-height: 80px !important;
      object-fit: contain;
    }

    .page-ss777-web__intro-section,
    .page-ss777-web__security-support-section {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 80px 40px;
      background-color: var(--page-ss777-web-dark-bg);
      gap: 40px;
    }

    .page-ss777-web__intro-section:nth-of-type(odd) {
      background-color: var(--page-ss777-web-dark-bg);
    }

    .page-ss777-web__intro-section:nth-of-type(even) {
      background-color: var(--page-ss777-web-light-bg);
    }

    .page-ss777-web__intro-content,
    .page-ss777-web__security-content {
      flex: 1;
      max-width: 600px;
    }

    .page-ss777-web__intro-text,
    .page-ss777-web__security-text p {
      font-size: 1.1em;
      margin-bottom: 20px;
      color: var(--page-ss777-web-text-color);
    }

    .page-ss777-web__intro-image-wrapper,
    .page-ss777-web__security-image-wrapper {
      flex: 1;
      max-width: 500px;
      text-align: center;
    }

    .page-ss777-web__intro-image,
    .page-ss777-web__security-image {
      width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      max-width: 100%;
      object-fit: cover;
    }

    .page-ss777-web__quick-access {
      padding: 80px 20px;
      text-align: center;
      background-color: var(--page-ss777-web-light-bg);
    }

    .page-ss777-web__access-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }

    .page-ss777-web__access-btn {
      min-width: 180px;
    }

    .page-ss777-web__games-section {
      padding: 80px 20px;
      background-color: var(--page-ss777-web-dark-bg);
    }

    .page-ss777-web__game-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-ss777-web__game-card {
      background-color: var(--page-ss777-web-light-bg);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      text-align: center;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-ss777-web__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      max-width: 100%;
    }

    .page-ss777-web__game-card-title {
      color: var(--page-ss777-web-primary-color);
      font-size: 1.5em;
      margin: 20px 15px 10px;
    }

    .page-ss777-web__game-card-description {
      font-size: 1em;
      color: var(--page-ss777-web-text-color);
      padding: 0 15px 20px;
      flex-grow: 1;
    }

    .page-ss777-web__game-card-cta {
      margin: 0 15px 20px;
    }

    .page-ss777-web__promotions-section {
      padding: 80px 20px;
      background-color: var(--page-ss777-web-light-bg);
    }

    .page-ss777-web__promotion-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-ss777-web__promotion-card {
      background-color: var(--page-ss777-web-dark-bg);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      text-align: center;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-ss777-web__promotion-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      max-width: 100%;
    }

    .page-ss777-web__promotion-title {
      color: var(--page-ss777-web-primary-color);
      font-size: 1.6em;
      margin: 20px 15px 10px;
    }

    .page-ss777-web__promotion-description {
      font-size: 1em;
      color: var(--page-ss777-web-text-color);
      padding: 0 15px 20px;
      flex-grow: 1;
    }

    .page-ss777-web__promotion-cta {
      margin: 0 15px 20px;
    }

    .page-ss777-web__faq-section {
      padding: 80px 20px;
      background-color: var(--page-ss777-web-dark-bg);
      max-width: 900px;
      margin: 0 auto;
    }

    .page-ss777-web__faq-list {
      margin-top: 40px;
    }

    .page-ss777-web__faq-item {
      background-color: var(--page-ss777-web-light-bg);
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .page-ss777-web__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      cursor: pointer;
      user-select: none;
      background-color: var(--page-ss777-web-border-color);
      border-bottom: 1px solid var(--page-ss777-web-dark-bg);
      transition: background-color 0.3s ease;
    }

    .page-ss777-web__faq-question:hover {
      background-color: #444;
    }

    .page-ss777-web__faq-q-text {
      color: var(--page-ss777-web-heading-color);
      font-size: 1.2em;
      margin: 0;
      pointer-events: none; /* Prevent text selection from interfering with click */
    }

    .page-ss777-web__faq-toggle {
      color: var(--page-ss777-web-primary-color);
      font-size: 1.8em;
      font-weight: bold;
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent icon from interfering with click */
    }

    .page-ss777-web__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      color: var(--page-ss777-web-text-color);
    }

    .page-ss777-web__faq-answer p {
      margin: 0 0 15px 0;
      padding-top: 10px;
    }

    .page-ss777-web__faq-item.active .page-ss777-web__faq-question {
      background-color: #444;
    }

    .page-ss777-web__faq-item.active .page-ss777-web__faq-toggle {
      transform: rotate(45deg);
      content: "\2212"; /* Minus sign */
    }

    .page-ss777-web__faq-item.active .page-ss777-web__faq-answer {
      max-height: 2000px !important; /* Sufficiently large to show content */
      padding: 20px 25px !important;
      opacity: 1;
    }

    .page-ss777-web__blog-section {
      padding: 80px 20px;
      background-color: var(--page-ss777-web-light-bg);
    }

    .page-ss777-web__blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .page-ss777-web__blog-card {
      background-color: var(--page-ss777-web-dark-bg);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .page-ss777-web__blog-image {
      width: 100%;
      height: 180px;
      object-fit: cover;
      max-width: 100%;
    }

    .page-ss777-web__blog-title {
      color: var(--page-ss777-web-heading-color);
      font-size: 1.4em;
      margin: 15px 15px 10px;
    }

    .page-ss777-web__blog-title a {
      color: inherit;
      text-decoration: none;
    }

    .page-ss777-web__blog-title a:hover {
      color: var(--page-ss777-web-primary-color);
    }

    .page-ss777-web__blog-excerpt {
      font-size: 0.95em;
      color: var(--page-ss777-web-text-color);
      padding: 0 15px 15px;
      flex-grow: 1;
    }

    .page-ss777-web__blog-cta {
      margin: 0 15px 15px;
      align-self: flex-start;
      padding: 10px 20px;
      font-size: 0.9em;
    }

    /* Responsive Styles */
    @media (max-width: 1024px) {
      .page-ss777-web__hero-title {
        font-size: 2.8em;
      }
      .page-ss777-web__section-title {
        font-size: 2em;
      }
      .page-ss777-web__intro-section,
      .page-ss777-web__security-support-section {
        flex-direction: column;
        text-align: center;
      }
      .page-ss777-web__intro-content,
      .page-ss777-web__security-content {
        max-width: 100%;
      }
      .page-ss777-web__intro-image-wrapper,
      .page-ss777-web__security-image-wrapper {
        margin-top: 30px;
        max-width: 100%;
      }
    }

    @media (max-width: 768px) {
      .page-ss777-web__hero-section {
        min-height: 450px;
      }
      .page-ss777-web__hero-title {
        font-size: 2em;
      }
      .page-ss777-web__hero-description {
        font-size: 1em;
      }
      .page-ss777-web__hero-cta {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-ss777-web__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
      }
      .page-ss777-web__payment-providers {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding: 40px 15px;
      }
      .page-ss777-web__payment-logo,
      .page-ss777-web__payment-logo img {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
      }
      .page-ss777-web__intro-section,
      .page-ss777-web__security-support-section {
        padding: 50px 15px;
        gap: 20px;
      }
      .page-ss777-web__intro-text,
      .page-ss777-web__security-text p {
        font-size: 0.95em;
      }
      .page-ss777-web__access-buttons {
        flex-direction: column;
        align-items: center;
      }
      .page-ss777-web__access-btn {
        width: 100% !important;
        max-width: 300px !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .page-ss777-web__games-section,
      .page-ss777-web__promotions-section,
      .page-ss777-web__faq-section,
      .page-ss777-web__blog-section {
        padding: 50px 15px;
      }
      .page-ss777-web__game-categories,
      .page-ss777-web__promotion-grid,
      .page-ss777-web__blog-grid {
        grid-template-columns: 1fr;
      }
      .page-ss777-web__game-card-image,
      .page-ss777-web__promotion-image,
      .page-ss777-web__blog-image {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }
      .page-ss777-web__faq-question {
        padding: 15px 20px;
      }
      .page-ss777-web__faq-q-text {
        font-size: 1.1em;
      }
      .page-ss777-web__faq-toggle {
        font-size: 1.5em;
      }
      .page-ss777-web__faq-answer {
        padding: 0 20px;
      }
      .page-ss777-web__faq-item.active .page-ss777-web__faq-answer {
        padding: 15px 20px !important;
      }

      /* General image responsive rule for content images */
      .page-ss777-web img:not(.page-ss777-web__payment-logo) {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
      }

      /* List item specific rules */
      .page-ss777-web__faq-list, .page-ss777-web__blog-grid, .page-ss777-web__game-categories, .page-ss777-web__promotion-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-ss777-web__faq-item, .page-ss777-web__game-card, .page-ss777-web__promotion-card, .page-ss777-web__blog-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;
      }
    }

    @media (max-width: 480px) {
      .page-ss777-web__hero-title {
        font-size: 1.8em;
      }
      .page-ss777-web__section-title {
        font-size: 1.6em;
      }
      .page-ss777-web__hero-cta {
        padding: 10px 20px;
        font-size: 0.9em;
      }
      .page-ss777-web__faq-q-text {
        font-size: 1em;
      }
      .page-ss777-web__faq-toggle {
        font-size: 1.5em;
      }
    }