.page-poker {
  color: #ffffff; /* Light text on dark 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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Primary brand color */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1A1A1A, #333333);
  text-align: center;
}

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

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

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

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

.page-poker__button {
  display: inline-block;
  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;
  border: none;
  cursor: pointer;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-3px);
}

.page-poker__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-poker__features-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

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

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

.page-poker__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__feature-card img {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-poker__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-poker__card-description {
  font-size: 1em;
  color: #cccccc;
}

.page-poker__games-section {
  padding: 80px 0;
  background-color: #222222;
}

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-poker__button--play {
  background-color: #DC143C;
  color: #ffffff;
  margin-top: 20px;
}

.page-poker__button--play:hover {
  background-color: #b30f30;
  transform: translateY(-3px);
}

.page-poker__strategy-guide-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

.page-poker__strategy-content {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: justify;
  color: #cccccc;
}

.page-poker__strategy-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-poker__strategy-image {
  text-align: center;
  margin-top: 40px;
}

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

.page-poker__button--learn {
  background-color: #FFD700;
  color: #1A1A1A;
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__button--learn:hover {
  background-color: #e6c200;
}

.page-poker__cta-section {
  padding: 80px 20px;
  background-color: #DC143C;
  text-align: center;
  color: #ffffff;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-poker__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__hero-actions {
    flex-direction: column;
  }

  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-poker__section-title {
    font-size: 2em;
  }

  .page-poker__features-grid,
  .page-poker__games-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__cta-title {
    font-size: 2em;
  }

  .page-poker__cta-actions {
    flex-direction: column;
  }

  /* Ensure all images within .page-poker are responsive and do not cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  /* Specific overrides to ensure no image is smaller than 200px in content area */
  .page-poker__feature-card img,
  .page-poker__game-card img,
  .page-poker__strategy-image img {
    min-width: 200px;
    min-height: 200px;
  }
}

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

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__cta-title {
    font-size: 1.8em;
  }
}