.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  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-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

.page-poker__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  color: #555555;
  margin-bottom: 50px;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.page-poker__button--primary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  border: 2px solid #007bff;
}

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #007bff; /* Primary color for text */
  border: 2px solid #007bff;
}

.page-poker__button--secondary:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-poker__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

/* Hero Section */
.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #f8f9fa; /* Light background for hero */
  gap: 40px;
  text-align: center;
}

.page-poker__hero-content {
  max-width: 800px;
}

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

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

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

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Constrain hero image width */
  margin-top: 40px;
}

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

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__about-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-poker__about-text {
  flex: 1;
}

.page-poker__about-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

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

.page-poker__about-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
  background-color: #f0f8ff;
}

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

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

.page-poker__game-card:hover {
  transform: translateY(-5px);
}

.page-poker__game-card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

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

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-poker__promo-card {
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  overflow: hidden;
}

.page-poker__promo-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-poker__promo-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-poker__promo-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

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

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 80px 0;
  background-color: #f0f8ff;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

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

.page-poker__mobile-app-cta {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  gap: 40px;
}

.page-poker__mobile-app-image {
  width: 40%;
  height: auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

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

.page-poker__mobile-app-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-poker__mobile-app-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

/* Getting Started Section */
.page-poker__getting-started-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-poker__steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.page-poker__step-item {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 30px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__step-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

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

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #f0f8ff;
}

.page-poker__faq-items {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-poker__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #ffc107;
  transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-top: 10px;
  border-top: 1px solid #eeeeee;
  display: none; /* Hidden by default */
}

.page-poker__faq-answer.active {
  display: block;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  text-align: center;
}

.page-poker__cta-content {
  max-width: 900px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #ffc107; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
}

.page-poker__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

.page-poker__cta-actions .page-poker__button--primary {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #333333; /* Dark text for light button */
}

.page-poker__cta-actions .page-poker__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-poker__cta-actions .page-poker__button--secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.page-poker__cta-actions .page-poker__button--secondary:hover {
  background-color: #ffffff;
  color: #007bff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__about-grid,
  .page-poker__mobile-app-cta {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__about-image-wrapper,
  .page-poker__mobile-app-image {
    order: -1;
  }
  .page-poker__promo-card {
    flex-direction: column;
  }
  .page-poker__promo-image {
    width: 100%;
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section,
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__promotions-section,
  .page-poker__why-choose-section,
  .page-poker__getting-started-section,
  .page-poker__faq-section,
  .page-poker__cta-section {
    padding: 50px 0;
  }
  .page-poker__section-title {
    font-size: 2em;
    margin-top: 40px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions,
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__game-cards-grid,
  .page-poker__promo-grid,
  .page-poker__features-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__promo-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__about-image,
  .page-poker__game-card-image,
  .page-poker__mobile-app-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  /* Mobile image constraint for all content images */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__mobile-app-image {
    width: 100%;
  }
  .page-poker__steps-list {
    flex-direction: column;
    align-items: center;
  }
  .page-poker__step-item {
    max-width: 100%;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
}

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