.page-poker {
  color: #333333; /* Dark text for light body background #f4f4f4 */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

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

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #1A202C;
  overflow: hidden;
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

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

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

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

.page-poker__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-poker__secondary-button {
  display: inline-block;
  background-color: #1A202C;
  color: #FFD700;
  padding: 12px 25px;
  border: 2px solid #FFD700;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker__secondary-button:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-poker__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-poker__about-section,
.page-poker__game-types-section,
.page-poker__tournaments-section,
.page-poker__why-gopub-section,
.page-poker__getting-started-section,
.page-poker__related-pages-section,
.page-poker__download-app-section {
  padding: 80px 0;
}

.page-poker__about-section {
  background-color: #f9f9f9;
}

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

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

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

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

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

.page-poker__game-card-description {
  padding: 0 25px;
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-poker__game-card-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #FFD700;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker__game-card-link:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-poker__tournaments-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-poker__tournaments-section .page-poker__section-title {
  color: #FFD700;
}

.page-poker__tournaments-section .page-poker__section-text {
  color: #f0f0f0;
}

.page-poker__tournament-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-poker__tournament-content {
  flex: 1;
}

.page-poker__tournament-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

.page-poker__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-poker__list-item::before {
  content: '&#x2713;'; /* Checkmark icon */
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-poker__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-poker__feature-card:hover {
  background-color: #f0f0f0;
}

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

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

.page-poker__getting-started-section {
  background-color: #f9f9f9;
  text-align: center;
}

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

.page-poker__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
}

.page-poker__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #1A202C;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-poker__step-title {
  font-size: 1.6em;
  color: #1A202C;
  margin-bottom: 15px;
}

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

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

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

.page-poker__related-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-poker__related-card-title {
  font-size: 1.6em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-poker__related-card-link {
  color: #1A202C;
  text-decoration: none;
}

.page-poker__related-card-link:hover {
  color: #FFD700;
}

.page-poker__related-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__read-more-button {
  display: inline-block;
  background-color: #1A202C;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker__read-more-button:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-poker__download-app-section {
  background-color: #FFD700;
  text-align: center;
  color: #1A202C;
}

.page-poker__download-app-section .page-poker__section-title {
  color: #1A202C;
}

.page-poker__download-app-section .page-poker__section-text {
  color: #333333;
  margin-bottom: 40px;
}

.page-poker__download-app-section .page-poker__cta-button {
  background-color: #1A202C;
  color: #FFD700;
}

.page-poker__download-app-section .page-poker__cta-button:hover {
  background-color: #333333;
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title {
    font-size: 2.4em;
  }
  .page-poker__tournament-flex {
    flex-direction: column;
  }
  .page-poker__tournament-image {
    max-width: 80%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-content {
    padding: 40px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-poker__section-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-poker__about-section,
  .page-poker__game-types-section,
  .page-poker__tournaments-section,
  .page-poker__why-gopub-section,
  .page-poker__getting-started-section,
  .page-poker__related-pages-section,
  .page-poker__download-app-section {
    padding: 60px 0;
  }
  .page-poker__game-card-image,
  .page-poker__tournament-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
  }
  /* Specific rule to prevent image overflow in content sections */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__steps-list {
    flex-direction: column;
    align-items: center;
  }
  .page-poker__step-item {
    max-width: 100%;
    min-width: unset;
  }
  .page-poker__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__game-card-title {
    font-size: 1.5em;
  }
  .page-poker__feature-title {
    font-size: 1.3em;
  }
  .page-poker__step-title {
    font-size: 1.4em;
  }
  .page-poker__related-card-title {
    font-size: 1.4em;
  }
}