.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 below fixed header */
}

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

.page-poker__section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #0056B3; /* Primary brand color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-poker__hero-section {
  background-color: #0056B3; /* Primary brand color for hero background */
  padding: 0;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

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

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  z-index: 1;
}

.page-poker__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary brand color */
  line-height: 1.2;
  font-weight: bold;
}

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

.page-poker__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary brand color */
  color: #0056B3; /* Primary brand color for text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker__cta-button:hover {
  background-color: #e6c200;
  color: #003e80;
}

/* Why Play Section */
.page-poker__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-image {
  width: 100%; /* Ensure image fills card width */
  max-width: 400px; /* Limit max width to maintain aspect ratio */
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}

.page-poker__feature-title {
  font-size: 1.6em;
  color: #0056B3;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__feature-text {
  font-size: 1em;
  color: #555555;
}

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

.page-poker__step-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

.page-poker__step-text {
  font-size: 0.95em;
  color: #555555;
}

.page-poker__step-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__step-text a:hover {
  text-decoration: underline;
}

/* Strategies Section */
.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

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

.page-poker__strategy-heading {
  font-size: 1.8em;
  color: #0056B3;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__strategy-text {
  font-size: 1em;
  color: #555555;
}

/* Mobile App Section */
.page-poker__mobile-app .page-poker__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.page-poker__app-text-content {
  flex: 1;
}

.page-poker__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-poker__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce min-width for content images */
  min-height: 200px;
}

.page-poker__app-description {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555555;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming {
  background-color: #f0f8ff; /* Light blue background */
}

.page-poker__learn-more-link {
  display: inline-block;
  color: #0056B3;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
}

.page-poker__learn-more-link:hover {
  text-decoration: underline;
  color: #003e80;
}

/* FAQ Section */
.page-poker__faq-items {
  margin-top: 40px;
  text-align: left;
}

.page-poker__faq-item {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #0056B3;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__faq-answer {
  font-size: 0.95em;
  color: #555555;
}

/* Final CTA Section */
.page-poker__cta-final {
  background-color: #0056B3; /* Primary brand color */
  color: #ffffff;
}

.page-poker__cta-final .page-poker__section-title {
  color: #FFD700; /* Auxiliary brand color */
}

.page-poker__cta-final .page-poker__section-intro {
  color: #f0f0f0;
}

.page-poker__cta-button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__main-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__feature-card {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-poker__main-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-content {
    padding: 15px;
  }
  .page-poker__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-poker__features-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-app .page-poker__container {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__app-text-content,
  .page-poker__app-image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-poker__app-image {
    margin-top: 30px;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker {
    overflow-x: hidden;
  }
  /* Content area image size check for mobile */
  .page-poker__feature-image, .page-poker__app-image {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure it scales down */
    height: auto; /* Maintain aspect ratio */
  }
  .page-poker__feature-card {
    min-height: auto; /* Allow height to adjust on mobile */
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}