.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  font-family: Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
}

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

/* Hero Section */
.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #f0f8ff; /* Light background for contrast */
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-poker__hero-title {
  font-size: 3.2em;
  color: #007BFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-poker__button--primary {
  background-color: #007BFF;
  color: #ffffff;
  border: 2px solid #007BFF;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #007BFF;
  color: #ffffff;
  transform: translateY(-3px);
}

.page-poker__hero-image {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-poker__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* General Section Styles */
.page-poker__about-section, .page-poker__games-section, .page-poker__strategy-section, .page-poker__tournaments-section, .page-poker__promotions-section, .page-poker__getting-started-section, .page-poker__responsible-gaming-section, .page-poker__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-poker__about-section:nth-of-type(even), .page-poker__tournaments-section:nth-of-type(odd), .page-poker__getting-started-section:nth-of-type(odd) {
  background-color: #f8f8f8;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #007BFF;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-poker__section-text {
  font-size: 1.1em;
  color: #666666;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Feature Cards */
.page-poker__about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-poker__card-text {
  color: #777777;
  font-size: 1em;
}

/* Game List */
.page-poker__game-list, .page-poker__promo-grid, .page-poker__tournament-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__game-card, .page-poker__promo-card, .page-poker__tournament-card, .page-poker__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-card:hover, .page-poker__promo-card:hover, .page-poker__tournament-card:hover, .page-poker__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-poker__game-card .page-poker__button, .page-poker__promo-card .page-poker__button, .page-poker__tournament-card .page-poker__button {
  margin-top: auto; /* Pushes button to bottom */
  background-color: #FFC107;
  color: #333333;
  border: 2px solid #FFC107;
}

.page-poker__game-card .page-poker__button:hover, .page-poker__promo-card .page-poker__button:hover, .page-poker__tournament-card .page-poker__button:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

/* Strategy Section */
.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-poker__strategy-item {
  text-align: left;
  background-color: #f0f8ff;
  border-left: 5px solid #007BFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-poker__strategy-item img {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin-bottom: 20px;
  border-radius: 6px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-poker__item-text {
  color: #666666;
  font-size: 1.05em;
}

.page-poker__cta-wrapper {
  margin-top: 60px;
  padding: 40px;
  background-color: #007BFF;
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  font-weight: bold;
}

/* Getting Started Steps */
.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-poker__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FFC107;
  margin-bottom: 20px;
  background-color: #007BFF;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-poker__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-poker__faq-item {
  background-color: #f0f8ff;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #007BFF;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  display: block;
}

.page-poker__faq-answer a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

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

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

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

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

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

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

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

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

  .page-poker__section-text {
    font-size: 1em;
  }

  .page-poker__about-features, .page-poker__game-list, .page-poker__promo-grid, .page-poker__tournament-cards, .page-poker__strategy-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__hero-image img, .page-poker__feature-card img, .page-poker__game-card img, .page-poker__promo-card img, .page-poker__tournament-card img, .page-poker__strategy-item img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }

  /* Ensure all images within .page-poker are responsive and don't cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }

  .page-poker__cta-wrapper {
    padding: 30px;
  }

  .page-poker__cta-text {
    font-size: 1.2em;
  }
}

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

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

  .page-poker__hero-section, .page-poker__about-section, .page-poker__games-section, .page-poker__strategy-section, .page-poker__tournaments-section, .page-poker__promotions-section, .page-poker__getting-started-section, .page-poker__responsible-gaming-section, .page-poker__faq-section {
    padding: 40px 0;
  }

  .page-poker__feature-card, .page-poker__game-card, .page-poker__promo-card, .page-poker__tournament-card, .page-poker__step-card {
    padding: 20px;
  }

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