.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly setting background to match body */
}

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

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  color: #FFFFFF; /* Light text for hero content */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay for readability */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-poker__btn {
  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;
  font-size: 1.1em;
}

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

.page-poker__btn--register:hover {
  background-color: #F0F0F0;
  color: #000000;
}

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

.page-poker__btn--login:hover {
  background-color: #E0A53A;
  color: #000000;
}

.page-poker__btn--play, .page-poker__btn--view-schedule, .page-poker__btn--read-more, .page-poker__btn--join-now, .page-poker__btn--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__btn--play:hover, .page-poker__btn--view-schedule:hover, .page-poker__btn--read-more:hover, .page-poker__btn--join-now:hover, .page-poker__btn--learn-more:hover {
  background-color: #E0A53A;
  color: #000000;
}

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

.page-poker__intro-section, .page-poker__game-variants, .page-poker__tournaments-section, .page-poker__strategy-guide, .page-poker__why-phlove, .page-poker__cta-section, .page-poker__responsible-gaming {
  padding: 60px 0;
  border-bottom: 1px solid #EEEEEE;
}

.page-poker__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

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

.page-poker__game-card, .page-poker__strategy-card, .page-poker__feature-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-image, .page-poker__strategy-image, .page-poker__tournament-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Ensure images within content area are not too small */
.page-poker__game-image, .page-poker__strategy-image, .page-poker__tournament-image, .page-poker__feature-icon {
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__game-description, .page-poker__strategy-description, .page-poker__feature-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__tournament-image {
  display: block;
  margin: 0 auto 40px auto;
  max-width: 100%;
  height: auto;
}

.page-poker__tournament-features {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

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

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-poker__cta-section {
  text-align: center;
  background-color: #FDFDFD;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__btn {
    width: 100%;
    max-width: 300px;
  }

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

  .page-poker__game-grid, .page-poker__strategy-grid, .page-poker__feature-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure images within content area are responsive and don't cause overflow */
  .page-poker__hero-image, .page-poker__game-image, .page-poker__strategy-image, .page-poker__tournament-image, .page-poker__feature-icon {
    max-width: 100%;
    height: auto;
  }

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

  .page-poker__tournament-features {
    padding: 0 10px;
  }
  
  .page-poker__text-content {
    padding: 0 15px;
  }
}