.page-poker {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-poker__section-heading {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background: #000000; /* Fallback background, image should cover */
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Minimum height for hero section */
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #F0F0F0;
}

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

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

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-3px);
}

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--login:hover {
  background-color: #E8A832;
  transform: translateY(-3px);
}

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__gcash-guide-section, .page-poker__strategy-section, .page-poker__faq-section, .page-poker__cta-bottom-section {
  padding: 80px 0;
}

.page-poker__about-section {
  background-color: #f8f8f8;
}

.page-poker__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__feature-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-poker__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #666666;
}

.page-poker__games-section {
  background-color: #FFFFFF;
}

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

.page-poker__game-card {
  background: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__game-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-poker__game-title {
  font-size: 1.4em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-poker__game-description {
  font-size: 0.95em;
  color: #666666;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-poker__button--play {
  background-color: #FCBC45;
  color: #000000;
  width: calc(100% - 40px); /* Adjust for padding */
  margin: 0 20px 20px 20px;
  text-align: center;
}

.page-poker__button--play:hover {
  background-color: #E8A832;
  transform: translateY(-3px);
}

.page-poker__tournaments-section {
  background-color: #f8f8f8;
}

.page-poker__tournament-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: center;
}

.page-poker__highlight-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.page-poker__highlight-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__highlight-description {
  font-size: 1em;
  color: #666666;
}

.page-poker__cta-buttons {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-poker__button--view-schedule, .page-poker__button--register-tournament, .page-poker__button--join-now, .page-poker__button--login-bottom {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__button--view-schedule:hover, .page-poker__button--register-tournament:hover, .page-poker__button--join-now:hover, .page-poker__button--login-bottom:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

.page-poker__gcash-guide-section {
  background-color: #FFFFFF;
}

.page-poker__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__step-card {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-poker__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__button--register-guide, .page-poker__button--login-guide, .page-poker__button--deposit-guide, .page-poker__button--withdraw-guide {
  background-color: #FCBC45;
  color: #000000;
  width: 100%;
  box-sizing: border-box;
}

.page-poker__button--register-guide:hover, .page-poker__button--login-guide:hover, .page-poker__button--deposit-guide:hover, .page-poker__button--withdraw-guide:hover {
  background-color: #E8A832;
  transform: translateY(-3px);
}

.page-poker__additional-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-poker__link {
  color: #000000;
  text-decoration: underline;
}

.page-poker__link:hover {
  color: #FCBC45;
}

.page-poker__strategy-section {
  background-color: #f8f8f8;
}

.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__strategy-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__strategy-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__strategy-description {
  font-size: 1em;
  color: #666666;
}

.page-poker__faq-section {
  background-color: #FFFFFF;
}

.page-poker__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.2em;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: block;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.page-poker__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
}

.page-poker__cta-bottom-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 0;
}

.page-poker__cta-bottom-section .page-poker__section-heading {
  color: #FFFFFF;
}

.page-poker__cta-bottom-section .page-poker__section-intro {
  color: #F0F0F0;
}

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-poker__hero-container {
    min-height: 450px;
  }
  .page-poker__hero-content {
    padding: 30px;
  }
  .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__section-heading {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__gcash-guide-section, .page-poker__strategy-section, .page-poker__faq-section, .page-poker__cta-bottom-section {
    padding: 60px 0;
  }
  .page-poker__feature-icon, .page-poker__game-image {
    max-width: 100%; /* Ensure images do not overflow */
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-poker__feature-card, .page-poker__game-card, .page-poker__step-card, .page-poker__highlight-item, .page-poker__strategy-item {
    padding: 20px;
  }
  .page-poker__button--play {
    width: calc(100% - 40px);
  }
  .page-poker__cta-buttons {
    flex-direction: column;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__faq-answer {
    font-size: 0.95em;
  }
  .page-poker__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__section-heading {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}

/* Ensure all content images within .page-poker are at least 200px wide and tall */
.page-poker img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__gcash-guide-section img,
.page-poker__strategy-section img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* or contain, depending on desired effect */
}

/* No filter properties to change image color */
.page-poker img {
  filter: none;
}