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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f8f9fa; /* Light background for hero */
  padding-bottom: 60px;
}

.page-poker__hero-content {
  max-width: 900px;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  color: #007BFF; /* Primary brand color */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-poker__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-poker__btn {
  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.2s ease;
  white-space: nowrap;
}

.page-poker__btn--primary {
  background-color: #007BFF; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #007BFF;
}

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

.page-poker__btn--secondary {
  background-color: #FFC107; /* Secondary brand color */
  color: #333333;
  border: 2px solid #FFC107;
}

.page-poker__btn--secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-poker__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-poker__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #007BFF; /* Primary brand color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-poker__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
}

.page-poker__about-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.page-poker__game-types-section {
  background-color: #f0f8ff; /* Light blue background */
  padding: 60px 0;
}

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

.page-poker__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__card img {
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-poker__card-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-poker__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__text-content--more-games {
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  color: #777777;
}

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

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

.page-poker__strategy-item {
  background-color: #f8f9fa;
  border-left: 5px solid #007BFF;
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__strategy-heading {
  font-size: 1.5em;
  color: #007BFF;
  margin-bottom: 10px;
}

.page-poker__strategy-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-poker__tournaments-section {
  background-color: #f0f8ff;
  padding: 60px 0;
  text-align: center;
}

.page-poker__tournament-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  display: block;
  object-fit: cover;
}

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

.page-poker__why-choose-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.page-poker__features-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-poker__feature-item {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-poker__feature-heading {
  font-size: 1.6em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-poker__why-choose-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  display: block;
  object-fit: cover;
}

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

.page-poker__cta-bottom-section {
  background-color: #007BFF; /* Primary brand color background */
  color: #ffffff;
  padding: 60px 0;
}

.page-poker__content-area--flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.page-poker__cta-text-block {
  flex: 2;
  min-width: 300px;
}

.page-poker__cta-text-block .page-poker__section-title {
  color: #ffffff;
  text-align: left;
  margin-bottom: 15px;
}

.page-poker__cta-text-block .page-poker__text-content {
  color: #e0f2ff;
  text-align: left;
  margin-bottom: 0;
}

.page-poker__cta-buttons-block {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.page-poker__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
  width: 100%;
  text-align: center;
}

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__btn {
    width: 100%;
  }

  .page-poker__content-area {
    padding: 30px 15px;
  }

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

  .page-poker__game-cards,
  .page-poker__strategy-grid,
  .page-poker__features-list {
    grid-template-columns: 1fr;
  }

  .page-poker__card img,
  .page-poker__tournament-image,
  .page-poker__why-choose-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for mobile */
    min-height: 200px; /* Enforce minimum size for mobile */
  }

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

  .page-poker__content-area--flex {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__cta-text-block .page-poker__section-title,
  .page-poker__cta-text-block .page-poker__text-content {
    text-align: center;
  }

  .page-poker__cta-buttons-block {
    align-items: center;
  }

  .page-poker__btn--large {
    width: auto; /* Allow buttons to size based on content */
    min-width: 250px;
  }
}

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

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

  .page-poker__btn--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}