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

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Constrain max width for desktop */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-poker__hero-content {
  position: absolute;
  text-align: center;
  color: #FFFFFF;
  max-width: 800px;
  padding: 20px;
  z-index: 1;
}

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

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

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

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

.page-poker__button--register {
  background-color: #000000; /* Main color for register button background */
  color: #FFFFFF; /* White text for register button */
  border: 2px solid #FFFFFF;
}

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

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

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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__intro-section, .page-poker__why-choose-us-section, .page-poker__games-offered-section, .page-poker__gcash-integration-section, .page-poker__promotions-section, .page-poker__strategy-guide-section, .page-poker__mobile-app-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-poker__why-choose-us-section {
  background-color: #f8f8f8;
}

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

.page-poker__feature-card, .page-poker__game-card, .page-poker__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover, .page-poker__game-card:hover, .page-poker__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon, .page-poker__game-image, .page-poker__promo-image {
  width: 100%;
  height: 200px; /* Ensure images are not too small */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__feature-icon {
  width: 200px; /* Specific size for feature icons */
  height: 200px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
}

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

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

.page-poker__game-card .page-poker__button--play-now, .page-poker__game-card .page-poker__button--explore {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-poker__game-card .page-poker__button--play-now:hover, .page-poker__game-card .page-poker__button--explore:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-poker__gcash-steps {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-poker__step-card {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

.page-poker__step-icon {
  width: 150px; /* Adjusted icon size */
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-poker__step-title {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

.page-poker__gcash-integration-section .page-poker__button--deposit {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 40px;
  margin-right: 15px;
}

.page-poker__gcash-integration-section .page-poker__button--deposit:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-poker__gcash-integration-section .page-poker__button--learn-more {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
  margin-top: 40px;
}

.page-poker__gcash-integration-section .page-poker__button--learn-more:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__promo-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-poker__promo-card .page-poker__button--claim, .page-poker__promo-card .page-poker__button--view, .page-poker__promo-card .page-poker__button--learn {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-poker__promo-card .page-poker__button--claim:hover, .page-poker__promo-card .page-poker__button--view:hover, .page-poker__promo-card .page-poker__button--learn:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-poker__promotions-section .page-poker__button--all-promos {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 40px;
}

.page-poker__promotions-section .page-poker__button--all-promos:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-poker__strategy-grid {
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  text-align: left;
}

.page-poker__strategy-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-poker__strategy-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-poker__strategy-list li {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #555555;
  position: relative;
  padding-left: 25px;
}

.page-poker__strategy-list li::before {
  content: '◆';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-size: 0.8em;
  top: 5px;
}

.page-poker__strategy-guide-section .page-poker__button--read-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 40px;
}

.page-poker__strategy-guide-section .page-poker__button--read-more:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

.page-poker__mobile-content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-poker__mobile-text-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-poker__mobile-image {
  flex-shrink: 0;
  width: 400px; /* Fixed width for desktop display */
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-poker__mobile-app-section .page-poker__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
}

.page-poker__mobile-app-section .page-poker__button--download:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.2em;
  color: #000000;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  background-color: #fefefe;
}

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

.page-poker__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  padding: 0 25px 20px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 0 25px 20px;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-poker__cta-section .page-poker__section-title, .page-poker__cta-section .page-poker__section-text {
  color: #FFFFFF;
}

.page-poker__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-poker__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-poker__button--register-large:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-poker__button--contact {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

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

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

  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__mobile-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__mobile-text-content {
    max-width: 100%;
    text-align: center;
  }

  .page-poker__mobile-image {
    width: 80%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

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

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

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

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

  .page-poker__container {
    padding: 30px 15px;
  }

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

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

  .page-poker__features-grid, .page-poker__game-card-grid, .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-icon, .page-poker__game-image, .page-poker__promo-image {
    height: auto; /* Allow image height to adjust */
    max-width: 100%;
  }

  .page-poker__feature-icon {
    width: 150px;
    height: 150px;
  }

  .page-poker__gcash-steps {
    flex-direction: column;
    align-items: center;
  }

  .page-poker__step-card {
    max-width: 100%;
  }

  .page-poker__gcash-integration-section .page-poker__button--deposit, .page-poker__gcash-integration-section .page-poker__button--learn-more {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
  }

  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button--register-large, .page-poker__button--contact {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure all content images within .page-poker are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  .page-poker__feature-card img, .page-poker__game-card img, .page-poker__promo-card img, .page-poker__step-card img, .page-poker__mobile-image {
    min-width: 200px;
    min-height: 200px;
    object-fit: contain; /* Use contain for smaller images to prevent cropping */
  }

  .page-poker__hero-image {
    min-width: unset;
    min-height: unset;
    object-fit: cover;
  }
}

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

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

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

  .page-poker__feature-title, .page-poker__game-title, .page-poker__promo-title {
    font-size: 1.3em;
  }

  .page-poker__step-title {
    font-size: 1.1em;
  }
}