.page-poker {
  color: #333333; /* Default text color 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;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Minimum height for hero section */
  overflow: hidden;
  background-color: #003366; /* Dark blue background for hero */
  color: #ffffff;
}

.page-poker__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Slightly dim the background image */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

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

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

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

.page-poker__button--primary {
  background-color: #FFCC00; /* Gold button */
  color: #003366; /* Dark blue text */
}

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

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

.page-poker__button--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

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

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #003366; /* Dark blue for section titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-poker__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__game-card-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.5;
  padding: 0 15px 20px;
}

.page-poker__why-choose-us-section--dark-bg,
.page-poker__how-to-play-section--dark-bg,
.page-poker__faq-section--dark-bg {
  background-color: #003366; /* Dark blue background */
  color: #ffffff;
}

.page-poker__why-choose-us-section--dark-bg .page-poker__section-title,
.page-poker__how-to-play-section--dark-bg .page-poker__section-title,
.page-poker__faq-section--dark-bg .page-poker__section-title {
  color: #FFCC00; /* Gold titles on dark background */
}

.page-poker__why-choose-us-section--dark-bg .page-poker__section-description,
.page-poker__how-to-play-section--dark-bg .page-poker__section-description,
.page-poker__faq-section--dark-bg .page-poker__section-description {
  color: #e0e0e0;
}

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

.page-poker__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark blue */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-poker__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-poker__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

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

.page-poker__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__promo-card-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__promo-card-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.5;
  padding: 0 15px 20px;
}

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

.page-poker__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

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

.page-poker__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-poker__mobile-app-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.page-poker__mobile-app-content {
  flex: 1;
}

.page-poker__mobile-app-image-container {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-poker__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-poker__app-feature-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #555555;
}

.page-poker__app-feature-item::before {
  content: '✔';
  color: #FFCC00;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #FFCC00;
  padding: 20px 30px;
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 30px;
}

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

.page-poker__faq-answer p {
  margin: 0;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-poker__final-cta-section {
  background-color: #FFCC00; /* Gold background */
  padding: 60px 20px;
  text-align: center;
  color: #003366;
}

.page-poker__final-cta-section .page-poker__section-title {
  color: #003366;
}

.page-poker__final-cta-section .page-poker__section-description {
  color: #003366;
  margin-bottom: 30px;
}

.page-poker__final-cta-section .page-poker__button--primary {
  background-color: #003366;
  color: #FFCC00;
}

.page-poker__final-cta-section .page-poker__button--primary:hover {
  background-color: #002244;
  color: #FFCC00;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__mobile-app-flex {
    flex-direction: column;
  }
  .page-poker__mobile-app-image-container {
    order: -1; /* Image appears above content on mobile */
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 1em;
  }
  /* Mobile content area image rules */
  .page-poker img {
    max-width: 100%;
    height: auto;
    /* Ensure minimum size is still met, but allow scaling down */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-poker__game-card-image, .page-poker__promo-card-image {
    height: 200px; /* Adjust card image height for smaller screens */
  }
  .page-poker__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  .page-poker__faq-question::after {
    right: 20px;
  }
  .page-poker__faq-answer {
    padding: 0 20px;
  }
  .page-poker__faq-item.active .page-poker__faq-answer {
    padding: 0 20px 15px;
  }
}

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