
    :root {
      --pk8-primary-color: #ffd700; /* Gold */
      --pk8-secondary-color: #ff4500; /* OrangeRed */
      --pk8-dark-bg: #1a1a1a;
      --pk8-light-text: #f0f0f0;
      --pk8-gray-text: #cccccc;
      --pk8-border-color: #333333;
      --pk8-accent-blue: #1e90ff; /* DodgerBlue */
      --pk8-green: #32cd32; /* LimeGreen */
      --pk8-red: #dc143c; /* Crimson */
    }

    .page-pk8 {
      font-family: 'Arial', sans-serif;
      background-color: var(--pk8-dark-bg);
      color: var(--pk8-light-text);
      line-height: 1.6;
      padding-top: var(--header-offset, 122px); /* Fallback for header offset */
    }

    .page-pk8__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
      box-sizing: border-box;
    }

    .page-pk8__section {
      padding: 60px 0;
      text-align: center;
    }

    .page-pk8__section--dark {
      background-color: #222222;
    }

    .page-pk8__section-title {
      font-size: 2.8em;
      color: var(--pk8-primary-color);
      margin-bottom: 20px;
      text-transform: uppercase;
      font-weight: bold;
    }

    .page-pk8__section-subtitle {
      font-size: 1.2em;
      color: var(--pk8-gray-text);
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Hero Section */
    .page-pk8__hero-section {
      position: relative;
      overflow: hidden;
      padding: 10px 0 80px 0; /* Minimal top padding, assuming body has offset */
      background-color: #000;
    }

    .page-pk8__hero-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.4;
      z-index: 1;
    }

    .page-pk8__hero-content {
      position: relative;
      z-index: 2;
      padding: 40px 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 400px;
      text-align: center;
    }

    .page-pk8__hero-title {
      font-size: 3.5em;
      color: var(--pk8-primary-color);
      margin-bottom: 20px;
      font-weight: 900;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-pk8__hero-description {
      font-size: 1.3em;
      color: var(--pk8-light-text);
      max-width: 800px;
      margin-bottom: 40px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .page-pk8__hero-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .page-pk8__btn {
      display: inline-block;
      padding: 15px 30px;
      background-color: var(--pk8-secondary-color);
      color: var(--pk8-light-text);
      text-decoration: none;
      border-radius: 8px;
      font-weight: bold;
      font-size: 1.1em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .page-pk8__btn:hover {
      background-color: #e03c00;
      transform: translateY(-3px);
    }

    .page-pk8__btn--primary {
      background-color: var(--pk8-primary-color);
      color: var(--pk8-dark-bg);
    }

    .page-pk8__btn--primary:hover {
      background-color: #e6b800;
    }

    /* Floating Buttons */
    .page-pk8__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .page-pk8__floating-btn {
      padding: 12px 20px;
      border-radius: 50px;
      font-weight: bold;
      font-size: 1em;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      text-decoration: none;
      transition: transform 0.3s ease, background-color 0.3s ease;
      text-align: center;
      min-width: 120px;
    }

    .page-pk8__floating-btn:hover {
      transform: translateY(-3px);
    }

    .page-pk8__floating-btn--register {
      background-color: var(--pk8-primary-color);
      color: var(--pk8-dark-bg);
    }

    .page-pk8__floating-btn--login {
      background-color: var(--pk8-accent-blue);
      color: var(--pk8-light-text);
    }

    /* Game Categories */
    .page-pk8__game-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .page-pk8__game-card {
      background-color: #2a2a2a;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: left;
    }

    .page-pk8__game-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    }

    .page-pk8__game-card-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .page-pk8__game-card-content {
      padding: 20px;
    }

    .page-pk8__game-card-title {
      font-size: 1.6em;
      color: var(--pk8-primary-color);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-pk8__game-card-description {
      font-size: 0.95em;
      color: var(--pk8-gray-text);
      line-height: 1.5;
    }

    /* Promotions */
    .page-pk8__promo-list {
      list-style: none;
      padding: 0;
      margin: 40px 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
      box-sizing: border-box;
    }

    .page-pk8__promo-item {
      background-color: #2a2a2a;
      border-radius: 12px;
      padding: 25px;
      text-align: left;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-pk8__promo-item:hover {
      transform: translateY(-5px);
    }

    .page-pk8__promo-title {
      font-size: 1.5em;
      color: var(--pk8-secondary-color);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-pk8__promo-description {
      font-size: 1em;
      color: var(--pk8-light-text);
    }

    /* Payment & Providers */
    .page-pk8__logo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 30px;
      margin-top: 40px;
      align-items: center;
      justify-items: center;
    }

    .page-pk8__logo-item {
      background-color: #2a2a2a;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      max-width: 200px;
      width: 100%;
    }

    .page-pk8__logo-item:hover {
      transform: scale(1.05);
    }

    .page-pk8__logo-image {
      max-width: 100%;
      max-height: 60px;
      object-fit: contain;
      display: block;
    }
    
    .page-pk8__logo-text {
      font-size: 1.2em;
      font-weight: bold;
      color: var(--pk8-light-text);
      text-align: center;
    }

    /* Why Choose PK8 */
    .page-pk8__feature-list {
      list-style: none;
      padding: 0;
      margin: 40px 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      box-sizing: border-box;
    }

    .page-pk8__feature-item {
      background-color: #2a2a2a;
      border-left: 5px solid var(--pk8-primary-color);
      border-radius: 8px;
      padding: 25px;
      text-align: left;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
    }

    .page-pk8__feature-title {
      font-size: 1.4em;
      color: var(--pk8-primary-color);
      margin-bottom: 10px;
      font-weight: bold;
    }

    .page-pk8__feature-description {
      font-size: 0.95em;
      color: var(--pk8-gray-text);
    }

    /* FAQ Section */
    .page-pk8__faq-section {
      background-color: #222222;
    }

    .page-pk8__faq-list {
      margin-top: 40px;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
      list-style: none;
      padding: 0;
    }

    .page-pk8__faq-item {
      background-color: #2a2a2a;
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

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

    .page-pk8__faq-question:hover {
      background-color: #444444;
    }

    .page-pk8__faq-question h3 {
      font-size: 1.3em;
      color: var(--pk8-light-text);
      margin: 0;
      pointer-events: none; /* Prevent h3 from blocking click event */
    }

    .page-pk8__faq-toggle {
      font-size: 1.8em;
      color: var(--pk8-primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent span from blocking click event */
      font-weight: bold;
      line-height: 1;
      margin-left: 15px;
    }

    .page-pk8__faq-item.active .page-pk8__faq-toggle {
      transform: rotate(45deg); /* Change + to X or similar */
    }

    .page-pk8__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 25px;
      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(--pk8-gray-text);
      font-size: 1em;
      line-height: 1.6;
    }

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

    /* Call to Action */
    .page-pk8__cta-section {
      background-color: var(--pk8-secondary-color);
      padding: 80px 0;
    }

    .page-pk8__cta-title {
      color: var(--pk8-light-text);
      font-size: 3em;
      margin-bottom: 20px;
    }

    .page-pk8__cta-description {
      color: var(--pk8-light-text);
      font-size: 1.2em;
      margin-bottom: 40px;
    }

    .page-pk8__cta-image {
      width: 100%;
      max-width: 600px;
      height: auto;
      object-fit: cover;
      border-radius: 12px;
      margin-top: 30px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    /* General Image Styling */
    .page-pk8 img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      box-sizing: border-box;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .page-pk8__hero-title {
        font-size: 3em;
      }
      .page-pk8__section-title {
        font-size: 2.4em;
      }
    }

    @media (max-width: 768px) {
      .page-pk8__hero-title {
        font-size: 2.5em;
      }
      .page-pk8__hero-description {
        font-size: 1.1em;
      }
      .page-pk8__section {
        padding: 40px 0;
      }
      .page-pk8__section-title {
        font-size: 2em;
      }
      .page-pk8__section-subtitle {
        font-size: 1em;
      }
      .page-pk8__btn {
        padding: 12px 25px;
        font-size: 1em;
      }
      .page-pk8__hero-buttons {
        flex-direction: column;
        gap: 15px;
      }

      /* Floating buttons for mobile */
      .page-pk8__floating-buttons {
        flex-direction: row;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(26, 26, 26, 0.95);
        padding: 10px 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
        justify-content: space-around;
        gap: 5px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
      }
      .page-pk8__floating-btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9em;
        min-width: unset;
      }

      .page-pk8__game-grid,
      .page-pk8__promo-list,
      .page-pk8__logo-grid,
      .page-pk8__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      /* List item mobile responsiveness */
      .page-pk8__promo-item,
      .page-pk8__feature-item,
      .page-pk8__logo-item {
        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-pk8__promo-list,
      .page-pk8__feature-list,
      .page-pk8__logo-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important; /* Adjust padding to match container */
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      
      .page-pk8__faq-question {
        padding: 15px 20px;
      }
      .page-pk8__faq-question h3 {
        font-size: 1.1em;
      }
      .page-pk8__faq-answer {
        padding: 15px 20px;
      }
      .page-pk8__faq-item.active .page-pk8__faq-answer {
        padding: 15px 20px !important;
      }

      .page-pk8__cta-title {
        font-size: 2.2em;
      }
      .page-pk8__cta-description {
        font-size: 1em;
      }
    }

    @media (max-width: 480px) {
      .page-pk8__hero-title {
        font-size: 2em;
      }
      .page-pk8__section-title {
        font-size: 1.8em;
      }
      .page-pk8__floating-buttons {
        border-radius: 0;
        padding: 10px 5px;
      }
      .page-pk8__floating-btn {
        font-size: 0.85em;
        padding: 8px 10px;
      }
    }
  