/* General styling for the page content */
    .page-kuya-j-ceo {
      font-family: 'Arial', sans-serif;
      color: #e0e0e0;
      background-color: #1a1a2e;
      line-height: 1.6;
      overflow-x: hidden; /* Prevent horizontal scroll from layout issues */
    }

    /* Base section styling */
    .page-kuya-j-ceo section {
      padding: 40px 20px;
      max-width: 1200px;
      margin: 0 auto;
      box-sizing: border-box;
    }

    .page-kuya-j-ceo__section-title {
      font-size: 2.5em;
      color: #e94560;
      text-align: center;
      margin-bottom: 20px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .page-kuya-j-ceo__section-subtitle {
      font-size: 1.2em;
      color: #c0c0c0;
      text-align: center;
      margin-bottom: 40px;
    }

    /* Buttons */
    .page-kuya-j-ceo__button {
      display: inline-block;
      padding: 12px 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, transform 0.2s ease;
      text-align: center;
      white-space: nowrap;
    }

    .page-kuya-j-ceo__button--primary {
      background-color: #e94560;
      color: #ffffff;
      border: 2px solid #e94560;
    }

    .page-kuya-j-ceo__button--primary:hover {
      background-color: #ff6a80;
      transform: translateY(-2px);
    }

    .page-kuya-j-ceo__button--secondary {
      background-color: #0f3460;
      color: #ffffff;
      border: 2px solid #0f3460;
    }

    .page-kuya-j-ceo__button--secondary:hover {
      background-color: #164a8c;
      transform: translateY(-2px);
    }

    .page-kuya-j-ceo__button--inline {
      padding: 8px 15px;
      font-size: 0.9em;
      background-color: #e94560;
      color: #ffffff;
      border: 1px solid #e94560;
    }
    .page-kuya-j-ceo__button--inline:hover {
      background-color: #ff6a80;
      transform: translateY(-1px);
    }

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

    .page-kuya-j-ceo__button--register,
    .page-kuya-j-ceo__button--login {
      width: 120px;
      background-color: #e94560;
      color: #ffffff;
      border: none;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .page-kuya-j-ceo__button--register:hover,
    .page-kuya-j-ceo__button--login:hover {
      background-color: #ff6a80;
      transform: translateY(-3px);
    }

    /* Hero Section */
    .page-kuya-j-ceo__hero-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      background-color: #0f3460;
      padding: calc(var(--header-offset, 0px) + 20px) 20px 40px; /* Add minimal top padding, assuming body handles main offset */
      max-width: none; /* Hero section can be full width */
      margin: 0; /* Remove auto margin for full width */
      position: relative;
      overflow: hidden;
    }

    .page-kuya-j-ceo__hero-content {
      max-width: 800px;
      margin-bottom: 30px;
      z-index: 1;
    }

    .page-kuya-j-ceo__hero-title {
      font-size: 3.5em;
      color: #e94560;
      margin-bottom: 15px;
      text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
      line-height: 1.1;
    }

    .page-kuya-j-ceo__hero-description {
      font-size: 1.3em;
      color: #c0c0c0;
      margin-bottom: 30px;
    }

    .page-kuya-j-ceo__hero-image-wrapper {
      width: 100%;
      max-width: 1000px; /* Max width for image within hero */
      margin-top: 30px;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
      z-index: 1;
    }

    .page-kuya-j-ceo__hero-image {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }

    /* Features Section */
    .page-kuya-j-ceo__features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      text-align: center;
    }

    .page-kuya-j-ceo__feature-item {
      background-color: #0f3460;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-sizing: border-box;
    }

    .page-kuya-j-ceo__feature-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

    .page-kuya-j-ceo__feature-icon {
      width: 100%;
      max-width: 250px; /* Ensure images are not too small */
      height: auto;
      margin-bottom: 20px;
      display: block;
      margin-left: auto;
      margin-right: auto;
      border-radius: 8px;
      object-fit: cover;
    }

    .page-kuya-j-ceo__feature-title {
      font-size: 1.5em;
      color: #e94560;
      margin-bottom: 10px;
    }

    .page-kuya-j-ceo__feature-description {
      font-size: 1em;
      color: #c0c0c0;
    }

    /* Game Categories Section */
    .page-kuya-j-ceo__categories-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
    }

    .page-kuya-j-ceo__category-card {
      background-color: #0f3460;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
    }

    .page-kuya-j-ceo__category-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

    .page-kuya-j-ceo__category-image {
      width: 100%;
      height: 200px; /* Fixed height for consistency */
      object-fit: cover;
      display: block;
    }

    .page-kuya-j-ceo__category-title {
      font-size: 1.8em;
      color: #e94560;
      margin: 20px 15px 10px;
    }

    .page-kuya-j-ceo__category-description {
      font-size: 1em;
      color: #c0c0c0;
      padding: 0 15px 20px;
      flex-grow: 1; /* Push button to bottom */
    }

    .page-kuya-j-ceo__category-card .page-kuya-j-ceo__button {
      margin: 0 15px 20px;
      width: calc(100% - 30px);
    }

    .page-kuya-j-ceo__call-to-action {
      text-align: center;
      margin-top: 60px;
      padding: 40px;
      background-color: #0f3460;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .page-kuya-j-ceo__cta-text {
      font-size: 1.8em;
      color: #e94560;
      margin-bottom: 30px;
    }

    /* FAQ Section */
    .page-kuya-j-ceo__faq-container {
      max-width: 800px;
      margin: 0 auto;
      border-radius: 10px;
      overflow: hidden;
    }

    .page-kuya-j-ceo__faq-item {
      background-color: #0f3460;
      margin-bottom: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .page-kuya-j-ceo__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      background-color: #1a1a2e;
      cursor: pointer;
      user-select: none;
      transition: background-color 0.3s ease;
    }

    .page-kuya-j-ceo__faq-question:hover {
      background-color: #2c2c4a;
    }

    .page-kuya-j-ceo__faq-question-text {
      font-size: 1.2em;
      color: #e94560;
      margin: 0;
      pointer-events: none; /* Prevents text from blocking click event */
      flex-grow: 1;
    }

    .page-kuya-j-ceo__faq-toggle {
      font-size: 1.5em;
      color: #e0e0e0;
      margin-left: 15px;
      pointer-events: none; /* Prevents toggle from blocking click event */
      transition: transform 0.3s ease;
    }

    .page-kuya-j-ceo__faq-item.active .page-kuya-j-ceo__faq-toggle {
      transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
    }

    .page-kuya-j-ceo__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: #c0c0c0;
    }

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

    .page-kuya-j-ceo__faq-answer p {
      margin-bottom: 10px;
    }

    .page-kuya-j-ceo__faq-answer p:last-child {
      margin-bottom: 0;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-kuya-j-ceo section {
        padding: 30px 15px;
      }

      .page-kuya-j-ceo__hero-title {
        font-size: 2.5em;
      }

      .page-kuya-j-ceo__hero-description {
        font-size: 1.1em;
      }

      .page-kuya-j-ceo__section-title {
        font-size: 2em;
      }

      .page-kuya-j-ceo__section-subtitle {
        font-size: 1em;
        margin-bottom: 20px;
      }

      /* List item responsive */
      .page-kuya-j-ceo__features-grid,
      .page-kuya-j-ceo__categories-grid {
        grid-template-columns: 1fr; /* Stack items */
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      .page-kuya-j-ceo__feature-item,
      .page-kuya-j-ceo__category-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;
        word-break: break-word !important;
      }

      .page-kuya-j-ceo__feature-icon {
        max-width: 200px; /* Adjust max-width for mobile */
      }

      .page-kuya-j-ceo__category-image {
        height: 180px; /* Adjust height for mobile */
      }

      .page-kuya-j-ceo__call-to-action {
        padding: 30px 20px;
      }

      .page-kuya-j-ceo__cta-text {
        font-size: 1.4em;
      }

      .page-kuya-j-ceo__faq-question,
      .page-kuya-j-ceo__faq-answer {
        padding: 15px 20px;
      }

      .page-kuya-j-ceo__faq-item.active .page-kuya-j-ceo__faq-answer {
        padding: 15px 20px !important;
      }

      .page-kuya-j-ceo__button--register,
      .page-kuya-j-ceo__button--login {
        width: 100px; /* Smaller buttons for mobile */
        padding: 10px 15px;
      }

      .page-kuya-j-ceo__floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
      }
    }

    @media (max-width: 480px) {
      .page-kuya-j-ceo__hero-title {
        font-size: 2em;
      }
      .page-kuya-j-ceo__hero-description {
        font-size: 1em;
      }
      .page-kuya-j-ceo__button {
        padding: 10px 20px;
        font-size: 0.9em;
      }
      .page-kuya-j-ceo__section-title {
        font-size: 1.8em;
      }
      .page-kuya-j-ceo__cta-text {
        font-size: 1.2em;
      }
    }