.page-poker {
  color: #333333; /* Dark text for light body background */
}

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000; /* Main dark background for hero */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-bottom: 60px;
}

.page-poker__hero-content {
  max-width: 900px;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for highlight */
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color for text */
  border: 2px solid #FCBC45;
}

.page-poker__button--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-poker__button--secondary:hover {
  background-color: #ffffff;
  color: #000000;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 40px;
  color: #555555;
}

.page-poker__about-section,
.page-poker__gcash-integration-section,
.page-poker__responsible-gaming-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-poker__game-types-section,
.page-poker__promotions-section,
.page-poker__why-choose-section {
  padding: 60px 0;
}

.page-poker__game-grid,
.page-poker__promo-cards,
.page-poker__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__game-card,
.page-poker__promo-card,
.page-poker__feature-item,
.page-poker__advantage-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover,
.page-poker__promo-card:hover,
.page-poker__feature-item:hover,
.page-poker__advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__game-card-image,
.page-poker__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__game-card-title,
.page-poker__promo-card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__game-card-description,
.page-poker__promo-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-poker__feature-icon,
.page-poker__advantage-icon {
  width: 200px; /* Min size 200x200px */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-poker__feature-title,
.page-poker__advantage-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__feature-description,
.page-poker__advantage-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-poker__cta-description {
  font-size: 1.3em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }

  .page-poker__section-title {
    font-size: 2.2em;
  }

  .page-poker__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 40px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    width: 100%;
  }

  .page-poker__content-wrapper {
    padding: 30px 15px;
  }

  .page-poker__section-title {
    font-size: 2em;
  }

  .page-poker__section-text {
    font-size: 0.95em;
  }

  .page-poker__game-grid,
  .page-poker__promo-cards,
  .page-poker__advantages-grid,
  .page-poker__gcash-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__game-card-image,
  .page-poker__promo-card-image {
    height: 180px;
  }

  .page-poker__feature-icon,
  .page-poker__advantage-icon {
    width: 200px; /* Ensure min size */
    height: 200px;
  }

  .page-poker__cta-title {
    font-size: 2em;
  }

  .page-poker__cta-description {
    font-size: 1.1em;
  }

  /* Ensure all images within .page-poker content area are responsive and not smaller than 200px */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }

  .page-poker__game-card-image,
  .page-poker__promo-card-image {
    min-width: 200px; /* Specific override to ensure card images are not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__cta-title {
    font-size: 1.8em;
  }

  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}