.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF; /* Light background for the page */
  color: #333333; /* Dark text for contrast on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* Image itself will provide visual height */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF; /* Light text on potentially dark image areas */
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  max-width: 90%;
}

.page-poker__main-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF; /* Ensure high contrast */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for description */
}

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

.page-poker__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
  font-size: 1.1em;
}

.page-poker__btn--register {
  background-color: #FFFFFF; /* Custom color for register */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FFFFFF;
}

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

.page-poker__btn--play {
  background-color: #FCBC45; /* Custom color for login/play */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-poker__btn--play:hover {
  background-color: #e0a530;
  transform: translateY(-2px);
}

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

.page-poker__section-title {
  font-size: 2.2em;
  color: #000000; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-poker__about-section, .page-poker__game-types-section, .page-poker__tournaments-section, .page-poker__strategy-section, .page-poker__mobile-app-section, .page-poker__cta-section {
  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: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  min-height: 200px; /* Enforce min image size */
}

.page-poker__game-card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__game-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-poker__btn--details {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  margin-top: 15px;
  font-size: 0.9em;
}

.page-poker__btn--details:hover {
  background-color: #333333;
}

.page-poker__tournament-image, .page-poker__strategy-image, .page-poker__mobile-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 200px; /* Enforce min image size */
}

.page-poker__tournament-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  text-align: center;
}

.page-poker__feature-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-poker__feature-description {
  font-size: 0.95em;
  color: #666666;
}

.page-poker__btn--view-tournaments, .page-poker__btn--read-more, .page-poker__btn--download, .page-poker__btn--large-register {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-poker__btn--view-tournaments:hover, .page-poker__btn--read-more:hover, .page-poker__btn--download:hover, .page-poker__btn--large-register:hover {
  background-color: #e0a530;
  transform: translateY(-2px);
}

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

.page-poker__resource-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

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

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-poker__btn--large-register {
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.3em;
  padding: 18px 45px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-poker__hero-content {
    width: 95%;
    padding: 15px;
  }

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

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

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-poker__btn {
    width: 100%;
    min-width: unset;
  }

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

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

  .page-poker__game-cards, .page-poker__tournament-features, .page-poker__strategy-resources {
    grid-template-columns: 1fr;
  }

  .page-poker__game-card-image, .page-poker__tournament-image, .page-poker__strategy-image, .page-poker__mobile-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
    min-height: 200px; /* Maintain minimum height for content images */
  }
}

/* Ensure all content area images are responsive and don't overflow */
.page-poker img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Override any potential smaller image sizes in content area to meet minimum requirement */
.page-poker__hero-image, .page-poker__game-card-image, .page-poker__tournament-image, .page-poker__strategy-image, .page-poker__mobile-image {
  min-width: 200px;
  min-height: 200px;
}

/* Specific mobile media query for content images */
@media (max-width: 768px) {
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}