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

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  text-align: center;
  background-color: #000000; /* Dark background for hero for contrast */
  color: #ffffff;
  overflow: hidden;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly transparent to let text stand out */
  z-index: 0;
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
}

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

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

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

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

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

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

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

.page-poker__about-section, 
.page-poker__games-section, 
.page-poker__tournaments-section, 
.page-poker__strategy-section, 
.page-poker__promo-cta-section, 
.page-poker__responsible-gaming-section, 
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for content sections */
}

.page-poker__about-section {
  background-color: #f5f5f5;
}

.page-poker__section-title {
  font-size: 2.8em;
  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-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
  text-align: justify;
  margin-bottom: 30px;
}

.page-poker__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__image-centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.page-poker__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__button--play, .page-poker__button--read-more, .page-poker__button--view-tournaments, .page-poker__button--claim-bonus, .page-poker__button--learn-more, .page-poker__button--register-final {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__button--play:hover, .page-poker__button--read-more:hover, .page-poker__button--view-tournaments:hover, .page-poker__button--claim-bonus:hover, .page-poker__button--learn-more:hover, .page-poker__button--register-final:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

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

.page-poker__promo-cta-section .page-poker__section-title, 
.page-poker__cta-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__promo-cta-section .page-poker__section-title::after, 
.page-poker__cta-section .page-poker__section-title::after {
  background-color: #ffffff;
}

.page-poker__promo-cta-section .page-poker__text-content, 
.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__button--claim-bonus, .page-poker__button--register-final {
  margin-top: 30px;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-poker__responsible-gaming-section {
  background-color: #f5f5f5;
  text-align: center;
}

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-bottom: 40px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    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: 0.95em;
  }
  .page-poker__about-section, 
  .page-poker__games-section, 
  .page-poker__tournaments-section, 
  .page-poker__strategy-section, 
  .page-poker__promo-cta-section, 
  .page-poker__responsible-gaming-section, 
  .page-poker__cta-section {
    padding: 60px 0;
  }
  .page-poker__game-cards, .page-poker__strategy-cards {
    grid-template-columns: 1fr;
  }
  .page-poker__card-image {
    height: 180px;
  }
  /* Mobile content images must not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__promo-cta-section, .page-poker__cta-section {
    padding: 80px 0;
  }
  .page-poker__button--claim-bonus, .page-poker__button--register-final {
    padding: 15px 30px;
    font-size: 1.1em;
    width: 90%;
  }
}

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