.page-poker {
  color: #333333; /* Default text color for light background */
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure visibility on smaller screens */
  padding-top: var(--header-offset, 120px); /* For desktop */
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

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

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

.page-poker__hero-button {
  display: inline-block;
  background-color: #E0B342;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-poker__hero-button:hover {
  background-color: #f5cb68;
}

.page-poker__features-section,
.page-poker__getting-started-section,
.page-poker__strategy-section,
.page-poker__community-section,
.page-poker__cta-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.page-poker__features-section:nth-of-type(even),
.page-poker__getting-started-section:nth-of-type(even),
.page-poker__community-section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E0B342;
  border-radius: 2px;
}

.page-poker__features-container,
.page-poker__getting-started-container,
.page-poker__strategy-container,
.page-poker__community-container,
.page-poker__cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

.page-poker__feature-image,
.page-poker__community-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-poker__feature-heading,
.page-poker__step-heading,
.page-poker__community-heading {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-poker__feature-text,
.page-poker__step-text,
.page-poker__community-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__feature-link,
.page-poker__step-button,
.page-poker__community-link {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-poker__feature-link:hover,
.page-poker__step-button:hover,
.page-poker__community-link:hover {
  background-color: #E0B342;
  color: #0A2463;
}

.page-poker__strategy-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-poker__strategy-image {
  flex: 0 0 500px; /* Fixed width for larger screens */
  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; /* Enforce minimum size */
}

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

.page-poker__strategy-text-content h3 {
  font-size: 1.6em;
  color: #0A2463;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-poker__strategy-text-content p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444444;
}

.page-poker__strategy-button {
  display: inline-block;
  background-color: #E0B342;
  color: #0A2463;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-poker__strategy-button:hover {
  background-color: #0A2463;
  color: #E0B342;
}

.page-poker__cta-section {
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

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

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

.page-poker__cta-button {
  display: inline-block;
  background-color: #E0B342;
  color: #0A2463;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.4em;
  }
  .page-poker__strategy-content {
    flex-direction: column;
    align-items: center;
  }
  .page-poker__strategy-image {
    flex: none;
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px);
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px); /* For mobile */
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-poker__features-section,
  .page-poker__getting-started-section,
  .page-poker__strategy-section,
  .page-poker__community-section,
  .page-poker__cta-section {
    padding: 60px 15px;
  }
  .page-poker__feature-grid,
  .page-poker__steps-grid,
  .page-poker__community-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-image,
  .page-poker__community-image {
    height: 200px;
  }
  .page-poker__cta-title {
    font-size: 2.2em;
  }
  .page-poker__cta-description {
    font-size: 1.1em;
  }
  .page-poker__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__feature-heading,
  .page-poker__step-heading,
  .page-poker__community-heading {
    font-size: 1.5em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
}