.page-poker {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content clears 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; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image to make text more readable */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-poker__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight title with login button color */
}

.page-poker__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-poker__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

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

.page-poker__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-poker__about-section,
.page-poker__game-variants-section,
.page-poker__why-s5-section,
.page-poker__strategy-guide-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section,
.page-poker__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

.page-poker__button--learn-more,
.page-poker__button--play-now,
.page-poker__button--check-promos,
.page-poker__button--support {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__button--learn-more:hover,
.page-poker__button--play-now:hover,
.page-poker__button--check-promos:hover,
.page-poker__button--support:hover {
  background-color: #000000;
  color: #FCBC45;
  transform: translateY(-3px);
}

.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: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

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

.page-poker__card-description {
  font-size: 1em;
  margin: 0 20px 25px;
  color: #555555;
}

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

.page-poker__feature-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-poker__feature-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px; /* Minimum size requirement */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

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

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

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

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

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

.page-poker__cta-section .page-poker__text-content {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2em;
}

.page-poker__cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.page-poker__button--register-large {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-poker__button--register-large:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-poker__button--login-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-poker__button--login-large:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-poker__floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-poker__floating-button {
  display: block;
  width: 120px;
  padding: 12px 0;
  text-align: center;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-poker__floating-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__floating-button--register:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-poker__floating-button--login:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
  .page-poker__main-title {
    font-size: 2.8em;
  }
  .page-poker__intro-text {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-section {
    min-height: 400px;
  }
  .page-poker__main-title {
    font-size: 2em;
  }
  .page-poker__intro-text {
    font-size: 1em;
  }
  .page-poker__hero-buttons,
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button,
  .page-poker__button--register-large,
  .page-poker__button--login-large {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-content {
    font-size: 0.95em;
  }
  .page-poker__game-grid,
  .page-poker__features-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-image,
  .page-poker__feature-icon {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 150px;
  }
  .page-poker__game-card,
  .page-poker__feature-item {
    padding: 20px;
  }
  .page-poker__floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .page-poker__floating-button {
    width: 100px;
    padding: 10px 0;
    font-size: 0.9em;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min- /* Enforce minimum size */
    object-fit: cover; /* Maintain aspect ratio and fill space */
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__hero-content {
    padding: 20px 10px;
  }
  .page-poker__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    justify-content: space-around;
    bottom: 15px;
    right: 20px;
    left: 20px;
  }
  .page-poker__floating-button {
    flex: 1;
    max-width: 150px;
  }
}