.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__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  text-align: center;
  background-color: #000;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability, not changing color */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  font-size: 1.1em;
}

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

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

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

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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
}

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

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

.page-poker__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #007bff;
}

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

.page-poker__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  max-height: 267px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-poker__feature-text {
  color: #666666;
  margin-bottom: 20px;
}

.page-poker__feature-link {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__feature-link:hover {
  text-decoration: underline;
}

.page-poker__games-overview-section {
  background-color: #f9f9f9;
  padding: 60px 0;
  margin-top: 60px;
}

.page-poker__game-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-poker__game-card--reverse {
  flex-direction: row-reverse;
}

.page-poker__game-image-wrapper {
  flex: 1;
  min-width: 400px; /* Ensure images are not too small */
}

.page-poker__game-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-poker__game-details {
  flex: 1.2;
  padding: 30px;
}

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

.page-poker__game-description {
  color: #555555;
  margin-bottom: 25px;
}

.page-poker__strategy-section {
  padding: 60px 0;
}

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

.page-poker__strategy-item {
  background-color: #ffffff;
  border-left: 5px solid #28a745;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}

.page-poker__strategy-subtitle {
  font-size: 1.6em;
  color: #28a745;
  margin-bottom: 15px;
}

.page-poker__strategy-text {
  color: #666666;
  margin-bottom: 20px;
}

.page-poker__strategy-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__strategy-link:hover {
  text-decoration: underline;
}

.page-poker__promotions-section {
  background-color: #f9f9f9;
  padding: 60px 0;
  margin-top: 60px;
}

.page-poker__promo-cards {
  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 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
}

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

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

.page-poker__promo-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-poker__promo-text {
  color: #666666;
  margin-bottom: 25px;
  padding: 0 20px;
}

.page-poker__cta-section {
  background: linear-gradient(135deg, #007bff, #28a745);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
}

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

.page-poker__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-poker__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-poker__cta-buttons .page-poker__button--primary {
  background-color: #ffffff;
  color: #007bff;
  border-color: #ffffff;
}

.page-poker__cta-buttons .page-poker__button--primary:hover {
  background-color: #e0e0e0;
  color: #0056b3;
}

.page-poker__cta-buttons .page-poker__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-poker__cta-buttons .page-poker__button--secondary:hover {
  background-color: #ffffff;
  color: #28a745;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__game-card {
    flex-direction: column;
  }
  .page-poker__game-card--reverse {
    flex-direction: column;
  }
  .page-poker__game-image-wrapper {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__game-details {
    padding: 20px;
  }
  .page-poker__game-title {
    font-size: 1.8em;
  }
  .page-poker__cta-title {
    font-size: 2.5em;
  }
  .page-poker__cta-description {
    font-size: 1.1em;
  }
  /* Ensure all content area images are responsive and do not cause horizontal scroll */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon,
  .page-poker__promo-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
}

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