:root {
      --primary-color: #ffcc00; /* Gold/Yellow */
      --secondary-color: #007bff; /* Blue */
      --background-dark: #1a1a1a;
      --text-light: #ffffff;
      --text-dark: #333333;
      --border-color: #333333;
      --gradient-start: #2a2a2a;
      --gradient-end: #1a1a1a;
    }

    .page-game-ph-com {
      font-family: 'Arial', sans-serif;
      color: var(--text-light);
      background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
      line-height: 1.6;
      overflow-x: hidden;
      padding-top: 10px; /* Decorative top spacing, body has padding-top from shared.css */
    }

    .page-game-ph-com__section {
      padding: 40px 20px;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--border-color);
      text-align: center;
    }

    .page-game-ph-com__section:last-of-type {
      border-bottom: none;
      margin-bottom: 0;
    }

    .page-game-ph-com__container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .page-game-ph-com__heading-primary {
      font-size: 2.5em;
      color: var(--primary-color);
      margin-bottom: 15px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .page-game-ph-com__heading-secondary {
      font-size: 2em;
      color: var(--text-light);
      margin-bottom: 25px;
    }

    .page-game-ph-com__heading-tertiary {
      font-size: 1.5em;
      color: var(--primary-color);
      margin-bottom: 15px;
    }

    .page-game-ph-com__text-paragraph {
      font-size: 1.1em;
      color: #cccccc;
      margin-bottom: 20px;
    }

    .page-game-ph-com__button {
      display: inline-block;
      background-color: var(--primary-color);
      color: var(--background-dark);
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1em;
      transition: background-color 0.3s ease, transform 0.3s ease;
      margin: 10px;
      border: none;
      cursor: pointer;
    }

    .page-game-ph-com__button:hover {
      background-color: #ffd700;
      transform: translateY(-2px);
    }

    .page-game-ph-com__button--secondary {
      background-color: var(--secondary-color);
      color: var(--text-light);
    }

    .page-game-ph-com__button--secondary:hover {
      background-color: #0056b3;
    }

    /* Hero Section */
    .page-game-ph-com__hero-section {
      background-image: url('[GALLERY:hero:1920x1080:gaming,philippines,phjoy,online_casino,banner]');
      background-size: cover;
      background-position: center;
      padding: 100px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      min-height: 500px;
      position: relative;
    }

    .page-game-ph-com__hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1;
    }

    .page-game-ph-com__hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
    }

    .page-game-ph-com__hero-title {
      font-size: 3em;
      margin-bottom: 20px;
      color: var(--primary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-game-ph-com__hero-subtitle {
      font-size: 1.5em;
      color: #f0f0f0;
      margin-bottom: 30px;
    }

    /* Intro Section */
    .page-game-ph-com__introduction-section {
      background-color: #222222;
    }

    /* Quick Access Section */
    .page-game-ph-com__quick-access-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 30px;
      justify-items: center;
    }

    /* Game Types Section */
    .page-game-ph-com__game-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-game-ph-com__game-card {
      background-color: #2a2a2a;
      border-radius: 10px;
      overflow: hidden;
      text-align: left;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }

    .page-game-ph-com__game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

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

    .page-game-ph-com__game-card-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-game-ph-com__game-card-title {
      font-size: 1.3em;
      color: var(--primary-color);
      margin-bottom: 10px;
    }

    .page-game-ph-com__game-card-description {
      color: #cccccc;
      font-size: 0.95em;
      margin-bottom: 15px;
    }

    .page-game-ph-com__game-card-button {
      align-self: flex-start;
      margin: 0;
      padding: 8px 18px;
      font-size: 0.9em;
    }

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

    .page-game-ph-com__promotion-card {
      background-color: #2a2a2a;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      text-align: center;
      transition: transform 0.3s ease;
      box-sizing: border-box;
    }

    .page-game-ph-com__promotion-card:hover {
      transform: translateY(-5px);
    }

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

    .page-game-ph-com__promotion-card-content {
      padding: 20px;
    }

    .page-game-ph-com__promotion-card-title {
      font-size: 1.4em;
      color: var(--primary-color);
      margin-bottom: 10px;
    }

    .page-game-ph-com__promotion-card-description {
      color: #cccccc;
      font-size: 0.95em;
      margin-bottom: 20px;
    }

    /* Security & Support Section */
    .page-game-ph-com__security-support-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin-top: 30px;
      text-align: left;
    }

    .page-game-ph-com__security-support-item {
      background-color: #2a2a2a;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
    }

    .page-game-ph-com__security-support-item-title {
      font-size: 1.2em;
      color: var(--primary-color);
      margin-bottom: 10px;
      display: flex;
      align-items: center;
    }

    .page-game-ph-com__security-support-item-title img {
        margin-right: 10px;
        width: 32px; /* Example size, gamelogo doesn't have size */
        height: 32px;
        object-fit: contain;
    }

    .page-game-ph-com__security-support-item-description {
      color: #cccccc;
      font-size: 0.95em;
    }

    /* FAQ Section */
    .page-game-ph-com__faq-list {
      max-width: 800px;
      margin: 30px auto 0 auto;
      text-align: left;
    }

    .page-game-ph-com__faq-item {
      background-color: #2a2a2a;
      margin-bottom: 10px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .page-game-ph-com__faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background-color: #333333;
      cursor: pointer;
      user-select: none;
      font-size: 1.1em;
      color: var(--text-light);
      transition: background-color 0.3s ease;
    }

    .page-game-ph-com__faq-question:hover {
      background-color: #444444;
    }

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

    .page-game-ph-com__faq-toggle {
      font-size: 1.5em;
      font-weight: bold;
      color: var(--primary-color);
      transition: transform 0.3s ease;
      pointer-events: none; /* Prevent toggle from blocking click event */
    }

    .page-game-ph-com__faq-item.active .page-game-ph-com__faq-toggle {
      transform: rotate(45deg);
    }

    .page-game-ph-com__faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      color: #cccccc;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
      opacity: 0;
      font-size: 0.95em;
    }

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

    /* Blog Section */
    .page-game-ph-com__blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

    .page-game-ph-com__blog-card {
      background-color: #2a2a2a;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      text-align: left;
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }

    .page-game-ph-com__blog-card:hover {
      transform: translateY(-5px);
    }

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

    .page-game-ph-com__blog-card-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .page-game-ph-com__blog-card-title {
      font-size: 1.2em;
      color: var(--primary-color);
      margin-bottom: 10px;
    }

    .page-game-ph-com__blog-card-excerpt {
      color: #cccccc;
      font-size: 0.9em;
      margin-bottom: 15px;
    }

    .page-game-ph-com__blog-card-link {
      align-self: flex-start;
      color: var(--primary-color);
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }

    .page-game-ph-com__blog-card-link:hover {
      color: #ffd700;
      text-decoration: underline;
    }

    /* Floating buttons for Register/Login/Download */
    .page-game-ph-com__floating-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .page-game-ph-com__floating-button {
      background-color: var(--primary-color);
      color: var(--background-dark);
      padding: 10px 20px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      font-size: 0.95em;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .page-game-ph-com__floating-button:hover {
      background-color: #ffd700;
      transform: translateY(-2px);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .page-game-ph-com__section {
        padding: 30px 15px;
      }

      .page-game-ph-com__heading-primary {
        font-size: 2em;
      }

      .page-game-ph-com__heading-secondary {
        font-size: 1.6em;
      }

      .page-game-ph-com__hero-section {
        padding: 80px 15px;
        min-height: 400px;
      }

      .page-game-ph-com__hero-title {
        font-size: 2.2em;
      }

      .page-game-ph-com__hero-subtitle {
        font-size: 1.2em;
      }

      .page-game-ph-com__button {
        padding: 10px 20px;
        font-size: 0.9em;
        margin: 5px;
      }

      .page-game-ph-com__game-cards,
      .page-game-ph-com__promotion-grid,
      .page-game-ph-com__security-support-grid,
      .page-game-ph-com__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .page-game-ph-com__quick-access-grid {
        grid-template-columns: 1fr;
        gap: 15px;
      }

      .page-game-ph-com__game-card,
      .page-game-ph-com__promotion-card,
      .page-game-ph-com__security-support-item,
      .page-game-ph-com__blog-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
      
      .page-game-ph-com__game-card-image,
      .page-game-ph-com__promotion-card-image,
      .page-game-ph-com__blog-card-image {
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
      }

      .page-game-ph-com__faq-list {
        padding: 0 10px;
      }

      .page-game-ph-com__faq-question {
        padding: 12px 15px;
        font-size: 1em;
      }

      .page-game-ph-com__faq-answer {
        padding: 15px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
      }

      .page-game-ph-com__floating-buttons {
        bottom: 15px;
        right: 15px;
      }

      .page-game-ph-com__floating-button {
        padding: 8px 15px;
        font-size: 0.85em;
      }
    }

    @media (max-width: 480px) {
      .page-game-ph-com__hero-title {
        font-size: 1.8em;
      }
      .page-game-ph-com__hero-subtitle {
        font-size: 1em;
      }
      .page-game-ph-com__heading-primary {
        font-size: 1.8em;
      }
      .page-game-ph-com__heading-secondary {
        font-size: 1.4em;
      }
    }