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

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

.page-poker__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 0;
  overflow: hidden;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text contrast */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
  z-index: 10;
}

.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.7);
}

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

.page-poker__hero-actions {
  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;
  white-space: nowrap; /* Prevent button text from wrapping */
}

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

.page-poker__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  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__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #F0F0F0;
}

.page-poker__introduction-section, .page-poker__features-section, .page-poker__strategy-guide-section, .page-poker__cta-section, .page-poker__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-poker__game-card, .page-poker__feature-item, .page-poker__strategy-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on black */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 350px; /* Ensure cards have a minimum height */
}

.page-poker__game-image, .page-poker__strategy-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Ensure images are not too small */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-poker__button--play, .page-poker__button--download, .page-poker__button--cta, .page-poker__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 20px;
  font-size: 1em;
}

.page-poker__button--play:hover, .page-poker__button--download:hover, .page-poker__button--cta:hover, .page-poker__button--learn-more:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-poker__cta-section {
  background-color: rgba(252, 188, 69, 0.1); /* Light golden background for CTA */
  padding: 80px 20px;
  border-radius: 10px;
  margin: 60px auto;
}

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

.page-poker__responsible-gaming-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 60px 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__game-grid, .page-poker__features-grid, .page-poker__strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 40px 10px;
  }
  .page-poker__hero-image {
    max-height: 400px; /* Constrain hero image height on mobile */
  }
  .page-poker__hero-content {
    width: 95%;
    padding: 15px;
  }
  .page-poker__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
    margin-bottom: 20px;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-poker__introduction-section, .page-poker__features-section, .page-poker__strategy-guide-section, .page-poker__cta-section, .page-poker__responsible-gaming-section {
    padding: 40px 0;
  }
  .page-poker__container {
    padding: 10px;
  }
  .page-poker__game-grid, .page-poker__features-grid, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-card, .page-poker__feature-item, .page-poker__strategy-card {
    min-height: unset;
  }
  /* Mobile content area image overflow prevention */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-poker {
    overflow-x: hidden;
  }
}