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

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
  text-align: center;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.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;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  padding: 20px;
  box-sizing: border-box;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-poker__hero-buttons {
  display: flex;
  gap: 20px;
}

.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;
}

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--login:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-poker__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-poker__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__introduction-section, .page-poker__game-types-section, .page-poker__how-to-play-section, .page-poker__strategies-section, .page-poker__promotions-section, .page-poker__mobile-section, .page-poker__responsible-gaming-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 60px 0;
}

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

.page-poker__game-card, .page-poker__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-image, .page-poker__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-poker__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Pushes button to the bottom */
}

.page-poker__card-button:hover {
  background-color: #e0a53a;
}

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

.page-poker__step-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__step-title {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__step-description {
  font-size: 0.95em;
  color: #555555;
}

.page-poker__step-description a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__step-description a:hover {
  text-decoration: underline;
}

.page-poker__button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-poker__button--cta, .page-poker__button--final-cta {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 15px 40px;
  font-size: 1.2em;
}

.page-poker__button--cta:hover, .page-poker__button--final-cta:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-poker__strategy-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__strategy-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__strategy-description {
  font-size: 1em;
  color: #555555;
}

.page-poker__image-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-poker__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__text-content--note {
  font-size: 0.9em;
  color: #777777;
  margin-top: 40px;
}

.page-poker__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-poker__mobile-text {
  flex: 1;
  text-align: left;
}

.page-poker__mobile-text .page-poker__text-content {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-poker__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-poker__button--download:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__button--info {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--info:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-poker__faq-item {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__faq-answer {
  font-size: 0.95em;
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px);
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-content {
    font-size: 1em;
  }
  .page-poker__game-grid, .page-poker__promo-grid, .page-poker__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-content {
    flex-direction: column;
  }
  .page-poker__mobile-text, .page-poker__mobile-image-wrapper {
    flex: none;
    width: 100%;
  }
  /* Enforce max-width for images in mobile */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__strategy-image, .page-poker__mobile-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__game-image, .page-poker__promo-image {
    min-width: 200px;
    min-height: 200px;
    height: auto; /* Allow height to adjust for responsiveness */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button--cta, .page-poker__button--final-cta {
    font-size: 1em;
    padding: 12px 30px;
  }
}

/* Ensure all content images meet minimum size requirements */
.page-poker img:not(.page-poker__hero-image) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}