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

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

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero has a decent height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000; /* Fallback background */
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image to make text pop */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  padding: 40px;
  max-width: 900px;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-buttons {
  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;
  border: none;
  cursor: pointer;
}

.page-poker__button--register {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

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

.page-poker__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
}

.page-poker__about-section, .page-poker__game-variety-section, .page-poker__how-to-play-section, .page-poker__promotions-section, .page-poker__features-section, .page-poker__responsible-gaming-section {
  padding: 80px 0;
}

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

.page-poker__image-item, .page-poker__game-card, .page-poker__step-card, .page-poker__promo-card, .page-poker__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-poker__image-item img, .page-poker__game-card img, .page-poker__step-card img, .page-poker__promo-card img, .page-poker__feature-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-poker__image-title, .page-poker__game-card-title, .page-poker__step-title, .page-poker__promo-card-title, .page-poker__feature-card-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #000000;
}

.page-poker__game-card-description, .page-poker__step-description, .page-poker__promo-card-description, .page-poker__feature-card-description {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 15px;
  flex-grow: 1;
}

.page-poker__button--play, .page-poker__button--register-small, .page-poker__button--deposit-small, .page-poker__button--play-small, .page-poker__button--view-promo, .page-poker__button--download-app, .page-poker__button--contact-support, .page-poker__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  margin: 20px 15px;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-poker__button--play:hover, .page-poker__button--register-small:hover, .page-poker__button--deposit-small:hover, .page-poker__button--play-small:hover, .page-poker__button--view-promo:hover, .page-poker__button--download-app:hover, .page-poker__button--contact-support:hover, .page-poker__button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

.page-poker__call-to-action {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__call-to-action-text {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #000000;
}

.page-poker__button--large-cta {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--large-cta:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .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__button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-poker__text-content {
    font-size: 0.95em;
  }

  .page-poker__image-grid, .page-poker__game-cards-grid, .page-poker__steps-grid, .page-poker__promo-cards-grid, .page-poker__features-grid {
    grid-template-columns: 1fr;
  }

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

  .page-poker__call-to-action-text {
    font-size: 1.2em;
  }

  /* Mobile content area images must use max-width: 100%; height: auto; */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no content causes horizontal scrolling */
  .page-poker {
    overflow-x: hidden;
  }
}

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

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

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

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