.page-poker {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

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

.page-poker__section-spacing {
  padding: 80px 0;
}

.page-poker__bg--light {
  background-color: #f8f8f8;
}

.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
  overflow: hidden;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

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

.page-poker__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

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

.page-poker__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-poker__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
}

.page-poker__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-poker__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-poker__content-grid--reverse .page-poker__text-content {
  order: 2;
}

.page-poker__content-grid--reverse .page-poker__image-container {
  order: 1;
}

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

.page-poker__image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px; /* Enforce minimum size for content images */
}

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

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

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

.page-poker__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size for card images */
  min-height: 200px; /* Enforce minimum size for card images */
}

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

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

.page-poker__button--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
}

.page-poker__button--cta:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #FCBC45;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.page-poker__feature-image {
  margin-top: 20px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size for feature images */
  min-height: 200px; /* Enforce minimum size for feature images */
}

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

.page-poker__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__step-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--small:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__centered-image {
  margin-top: 50px;
}

.page-poker__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-poker__more-faq {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: #555555;
}

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

.page-poker__more-faq a:hover {
  text-decoration: underline;
}

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

.page-poker__cta-section .page-poker__section-title {
  color: #FCBC45;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-poker__cta-section .page-poker__section-subtitle {
  color: #ffffff;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__content-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__content-grid--reverse .page-poker__text-content {
    order: unset;
  }
  .page-poker__content-grid--reverse .page-poker__image-container {
    order: unset;
  }
}

@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: 1.1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-spacing {
    padding: 60px 0;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-subtitle {
    font-size: 1em;
  }
  .page-poker__card-grid, .page-poker__feature-list, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__image, .page-poker__card-image, .page-poker__feature-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
  }
}