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

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

.page-poker__hero-container {
  position: relative;
  width: 100%;
  max-width: 100%; /* Prevent overflow on mobile */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

.page-poker__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
}

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

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

.page-poker__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark blue text */
  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: #e0b800;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #0A192F; /* Main brand color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
}

.page-poker__features-grid, .page-poker__games-grid, .page-poker__steps-grid, .page-poker__tournament-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-poker__feature-card, .page-poker__game-card, .page-poker__step-card, .page-poker__tournament-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 200px; /* Ensure cards are not too small */
}

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

.page-poker__feature-icon, .page-poker__game-image, .page-poker__tournament-image {
  width: 100%; /* Ensure images fill card width */
  max-width: 100%;
  height: auto;
  min-height: 200px; /* Minimum image size for content */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-poker__feature-heading, .page-poker__game-heading, .page-poker__step-heading, .page-poker__tournament-heading {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-poker__feature-text, .page-poker__game-text, .page-poker__step-text, .page-poker__tournaments-intro, .page-poker__tournament-text, .page-poker__responsible-gaming-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-poker__game-button, .page-poker__step-button, .page-poker__cta-button {
  display: inline-block;
  background-color: #0A192F; /* Dark blue button */
  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__game-button:hover, .page-poker__step-button:hover, .page-poker__cta-button:hover {
  background-color: #1a2a47;
}

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

.page-poker__strategy-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-poker__strategy-image {
  flex: 1 1 45%;
  min-width: 300px; /* Minimum width for image in flex layout */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__strategy-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-poker__strategy-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333333;
}

.page-poker__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

.page-poker__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__responsible-gaming-link {
  color: #0A192F;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__responsible-gaming-link:hover {
  color: #FFD700;
}

.page-poker__cta-section {
  background-color: #0A192F; /* Dark blue background */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

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

.page-poker__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .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;
  }
  .page-poker__features-grid, .page-poker__games-grid, .page-poker__steps-grid, .page-poker__tournament-cards {
    grid-template-columns: 1fr;
  }
  .page-poker__strategy-container {
    flex-direction: column;
  }
  .page-poker__strategy-image {
    flex: 1 1 100%;
    min-width: 200px; /* Ensure minimum image size on mobile */
    max-width: 100%;
    height: auto;
  }
  .page-poker__strategy-content {
    flex: 1 1 100%;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  /* Ensure all images within .page-poker are responsive and do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides to ensure content images meet min size requirements */
  .page-poker__feature-icon, .page-poker__game-image, .page-poker__tournament-image, .page-poker__strategy-image {
    min-width: 200px;
    min-height: 200px;
  }
}

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