.page-poker {
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero text overlay */
}

.page-poker__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  z-index: 10;
  max-width: 90%;
  padding: 20px;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  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: #FCBC45;
  color: #FFFFFF;
  border-color: #FCBC45;
}

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

.page-poker__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  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: #FCBC45;
  border-radius: 2px;
}

.page-poker__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__introduction-section,
.page-poker__tournaments-section,
.page-poker__getting-started-section,
.page-poker__responsible-gaming-section,
.page-poker__cta-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-poker__games-section,
.page-poker__features-section,
.page-poker__testimonials-section {
  background-color: #f8f8f8;
  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__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

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

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

.page-poker__button--play-now,
.page-poker__button--view-promos,
.page-poker__button--contact-support,
.page-poker__button--download-app,
.page-poker__button--register-now,
.page-poker__button--final-cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1em;
  margin-top: auto; /* Push button to bottom of card */
  margin-left: 20px;
  margin-right: 20px;
}

.page-poker__button--play-now:hover,
.page-poker__button--view-promos:hover,
.page-poker__button--contact-support:hover,
.page-poker__button--download-app:hover,
.page-poker__button--register-now:hover,
.page-poker__button--final-cta:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

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

.page-poker__feature-item {
  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__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__feature-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

.page-poker__step-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-poker__list-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
}

.page-poker__list-item strong {
  color: #000000;
}

.page-poker__list-item:last-child {
  margin-bottom: 0;
}

.page-poker__testimonials-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__testimonials-section .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__testimonials-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

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

.page-poker__testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__testimonial-text {
  font-style: italic;
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-poker__testimonial-author {
  font-weight: bold;
  color: #FCBC45;
}

.page-poker__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-poker__cta-section .page-poker__section-title {
  margin-bottom: 20px;
}

.page-poker__cta-section .page-poker__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 100px); /* Adjust for mobile header */
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    min-width: unset;
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__content-wrapper {
    padding: 30px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-block {
    font-size: 1em;
  }
  .page-poker__game-cards,
  .page-poker__feature-grid,
  .page-poker__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__card-image,
  .page-poker__feature-icon,
  .page-poker__hero-image,
  .page-poker__game-card img,
  .page-poker__feature-item img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }
  /* Specific rule to ensure content images are not too small */
  .page-poker img {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
    width: 100%; /* Make sure they scale down */
    height: auto;
    object-fit: cover;
  }
  .page-poker__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }
  .page-poker__feature-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.5em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    padding: 12px 20px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__card-title {
    font-size: 1.3em;
  }
  .page-poker__feature-title {
    font-size: 1.4em;
  }
  .page-poker__testimonial-text {
    font-size: 1em;
  }
}