.page-poker {
  color: #333333; /* Dark text for light background */
}

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Main color for hero background */
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #FFFFFF; /* White text for dark background */
  text-align: center;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
  z-index: 0;
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Golden yellow for emphasis */
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

.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,
.page-poker__button--promo,
.page-poker__button--signup,
.page-poker__button--deposit,
.page-poker__button--play,
.page-poker__button--download,
.page-poker__button--join {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--login:hover,
.page-poker__button--promo:hover,
.page-poker__button--signup:hover,
.page-poker__button--deposit:hover,
.page-poker__button--play:hover,
.page-poker__button--download:hover,
.page-poker__button--join:hover {
  background-color: #FFD700; /* Slightly brighter gold */
  transform: translateY(-3px);
}

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

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

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

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

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-poker__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.page-poker__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-poker__game-grid,
.page-poker__steps-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__step-card,
.page-poker__strategy-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-card-image,
.page-poker__step-image,
.page-poker__strategy-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-card-title,
.page-poker__step-title,
.page-poker__strategy-card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 0 20px 15px;
}

.page-poker__game-card-description,
.page-poker__step-description,
.page-poker__strategy-card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

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

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

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

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 30px 15px;
  }

  .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%;
    padding: 12px 20px;
  }

  .page-poker__container {
    padding: 30px 15px;
  }

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

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

  .page-poker__game-grid,
  .page-poker__steps-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-poker__game-card-image,
  .page-poker__step-image,
  .page-poker__strategy-image {
    height: 200px;
  }

  .page-poker__game-card-title,
  .page-poker__step-title,
  .page-poker__strategy-card-title {
    font-size: 1.5em;
  }

  /* Ensure content images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}