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

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
  background-color: #000000; /* Dark background for hero text */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  min-height: 500px; /* Minimum height for hero section */
}

.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 for text readability */
}

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

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-actions {
  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;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-poker__button--register {
  background-color: #FFFFFF; /* Specified for register */
  color: #000000; /* Dark text for white button */
}

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

.page-poker__button--login {
  background-color: #FCBC45; /* Specified for login */
  color: #000000; /* Dark text for FCBC45 button */
}

.page-poker__button--login:hover {
  background-color: #e6a738;
  transform: translateY(-2px);
}

.page-poker__heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000; /* Main color for headings */
}

.page-poker__sub-heading {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 60px;
  color: #666666;
}

.page-poker__why-choose-section,
.page-poker__game-types-section,
.page-poker__promotions-section,
.page-poker__get-started-section,
.page-poker__responsible-gaming-section,
.page-poker__call-to-action-section {
  padding: 80px 0;
}

.page-poker__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-poker__feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__feature-icon {
  width: 200px; /* Min size for content images */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-poker__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-poker__game-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-image {
  width: 100%;
  max-width: 400px; /* Max width for game card images */
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-poker__game-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  font-size: 1em;
  min-width: unset;
}

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

.page-poker__promotions-section {
  background-color: #f2f2f2;
}

.page-poker__promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.page-poker__promo-image {
  flex: 1 1 450px; /* Base width for image */
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__promo-details {
  flex: 1 1 400px; /* Base width for details */
}

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

.page-poker__promo-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-poker__promo-item::before {
  content: '★';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-poker__button--view-promos {
  background-color: #FCBC45;
  color: #000000;
  min-width: unset;
  padding: 12px 25px;
}

.page-poker__button--view-promos:hover {
  background-color: #e6a738;
  transform: translateY(-2px);
}

.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-poker__step-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.page-poker__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #000000;
  color: #FCBC45;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-poker__step-text {
  font-size: 1em;
  color: #666666;
}

.page-poker__get-started-cta {
  text-align: center;
  margin-top: 60px;
}

.page-poker__button--register-bottom {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 40px;
  font-size: 1.2em;
}

.page-poker__button--register-bottom:hover {
  background-color: #e6a738;
  transform: translateY(-2px);
}

.page-poker__responsible-gaming-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-poker__responsible-gaming-section .page-poker__heading {
  color: #FFFFFF;
}

.page-poker__text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-poker__button--learn-more {
  background-color: #FFFFFF;
  color: #000000;
  min-width: unset;
  padding: 12px 30px;
}

.page-poker__button--learn-more:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-poker__call-to-action-section {
  text-align: center;
  background-color: #f8f8f8;
}

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

.page-poker__button--join {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 40px;
  font-size: 1.2em;
}

.page-poker__button--join:hover {
  background-color: #e6a738;
  transform: translateY(-2px);
}

.page-poker__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
  padding: 15px 40px;
  font-size: 1.2em;
}

.page-poker__button--download:hover {
  background-color: #333333;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }

  .page-poker__heading {
    font-size: 2em;
  }

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

  .page-poker__promo-image, .page-poker__promo-details {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px);
  }

  .page-poker__hero-container {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-poker__button {
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
    margin: 0 auto;
  }

  .page-poker__heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-poker__sub-heading {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-poker__why-choose-section,
  .page-poker__game-types-section,
  .page-poker__promotions-section,
  .page-poker__get-started-section,
  .page-poker__responsible-gaming-section,
  .page-poker__call-to-action-section {
    padding: 60px 0;
  }

  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__feature-icon, .page-poker__game-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min-size for content images */
    min-height: 200px;
  }

  .page-poker__feature-card, .page-poker__game-card, .page-poker__step-card {
    padding: 25px;
  }

  .page-poker__promo-image {
    width: 100%;
    height: auto;
  }

  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button--join, .page-poker__button--download {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

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

  .page-poker__heading {
    font-size: 1.5em;
  }
}