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

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  color: #FFFFFF;
  padding-bottom: 60px; /* Add some padding at the bottom for content */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%; /* Ensure it doesn't cause overflow */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
}

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

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #FFFFFF;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure button minimum width is not too small */
}

.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__games-section,
.page-poker__strategy-section,
.page-poker__cta-section,
.page-poker__security-section,
.page-poker__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-poker__games-section {
  background-color: #FFFFFF;
}

.page-poker__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-poker__section-description {
  font-size: 1.1em;
  margin-bottom: 60px;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__game-card {
  background-color: #000000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  min-height: 450px; /* Ensure cards are not too small */
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-poker__game-title {
  font-size: 1.8em;
  padding: 20px 25px 10px;
  color: #FCBC45;
}

.page-poker__game-title a {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-poker__game-title a:hover {
  color: #FFFFFF;
}

.page-poker__game-text {
  padding: 0 25px 20px;
  font-size: 1em;
  flex-grow: 1;
}

.page-poker__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin: 0 25px 25px;
  text-align: center;
  width: calc(100% - 50px);
  box-sizing: border-box;
}

.page-poker__button--play:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-poker__strategy-section {
  background-color: #F8F8F8;
}

.page-poker__strategy-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-poker__strategy-image {
  flex: 1;
  min-width: 400px; /* Minimum width for the image */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__strategy-text {
  flex: 2;
  min-width: 400px; /* Minimum width for the text content */
}

.page-poker__strategy-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-poker__strategy-text p {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-poker__strategy-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-poker__strategy-list li a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__strategy-list li a:hover {
  text-decoration: underline;
}

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

.page-poker__button--learn:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__cta-section .page-poker__section-description {
  color: #F0F0F0;
}

.page-poker__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-poker__button--register-lg {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.3em;
  padding: 18px 35px;
}

.page-poker__button--register-lg:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-poker__button--promo {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  font-size: 1.3em;
  padding: 18px 35px;
}

.page-poker__button--promo:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-poker__security-section {
  background-color: #FFFFFF;
}

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

.page-poker__feature-item {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 350px; /* Ensure consistent height for feature items */
}

.page-poker__feature-icon {
  width: 200px; /* Ensure icon is not too small */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__feature-text {
  font-size: 1em;
  color: #555555;
}

.page-poker__button--support {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 60px;
}

.page-poker__button--support:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-poker__faq-section {
  background-color: #F0F0F0;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #444444;
}

.page-poker__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

.page-poker__button--faq {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 40px;
}

.page-poker__button--faq:hover {
  background-color: #000000;
  border-color: #000000;
  color: #FFFFFF;
}

/* 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: 2.2em;
  }

  .page-poker__strategy-image,
  .page-poker__strategy-text {
    min-width: unset; /* Allow flex items to shrink */
    flex: 1 1 100%; /* Stack on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .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: 100%;
    min-width: unset;
  }

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

  .page-poker__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-poker__game-grid,
  .page-poker__security-features {
    grid-template-columns: 1fr;
  }

  .page-poker__game-card,
  .page-poker__feature-item {
    min-height: unset; /* Allow cards to adjust height */
  }

  .page-poker__strategy-content {
    flex-direction: column;
  }

  .page-poker__strategy-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure images are responsive */
  }

  .page-poker__cta-actions {
    flex-direction: column;
  }

  /* Ensure all content images in .page-poker are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
    /* Ensure minimum display size for content images, not icons */
    min-width: 200px; 
    min-height: 200px;
    object-fit: cover; /* Maintain aspect ratio without distorting */
  }

  /* Override specific image styles that might be smaller if they are content images */
  .page-poker__feature-icon {
    width: 200px; /* Explicitly set to minimum allowed size */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; 
    min-height: 200px;
  }

  .page-poker__strategy-image {
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__game-image {
    width: 100%;
    height: 200px; /* Adjust height for mobile card images */
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__hero-image {
    min-width: 200px;
    min-height: 200px;
  }

}

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

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

  .page-poker__game-title {
    font-size: 1.5em;
  }

  .page-poker__strategy-subtitle {
    font-size: 1.5em;
  }
}