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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero to contrast with text and images */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
}

.page-poker__hero-content {
  max-width: 900px;
  padding: 20px;
  color: #FFFFFF; /* Light text for dark hero background */
}

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

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

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

.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, color 0.3s ease;
  border: 2px solid transparent;
}

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

.page-poker__button--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

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

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 12px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-poker__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #000000;
}

.page-poker__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #333333;
}

.page-poker__about-section,
.page-poker__getting-started-section,
.page-poker__games-section,
.page-poker__strategy-section,
.page-poker__promotions-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section,
.page-poker__join-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.page-poker__features-grid,
.page-poker__steps-grid,
.page-poker__game-cards-grid,
.page-poker__strategy-cards-grid,
.page-poker__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__feature-card,
.page-poker__step-card,
.page-poker__game-card,
.page-poker__strategy-card,
.page-poker__promo-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover,
.page-poker__step-card:hover,
.page-poker__game-card:hover,
.page-poker__strategy-card:hover,
.page-poker__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__feature-title,
.page-poker__step-title,
.page-poker__game-title,
.page-poker__strategy-title,
.page-poker__promo-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-poker__feature-description,
.page-poker__step-description,
.page-poker__game-description,
.page-poker__strategy-description,
.page-poker__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-width: 1px;
}

.page-poker__all-promos-action {
  text-align: center;
  margin-top: 50px;
}

.page-poker__responsible-gaming-section {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 50px;
  text-align: center;
}

.page-poker__responsible-gaming-section .page-poker__section-title {
  color: #000000;
}

.page-poker__responsible-gaming-section .page-poker__section-intro {
  color: #333333;
  margin-bottom: 40px;
}

.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
}

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

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

.page-poker__join-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  border-radius: 12px;
}

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

.page-poker__join-section .page-poker__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__features-grid,
  .page-poker__steps-grid,
  .page-poker__game-cards-grid,
  .page-poker__strategy-cards-grid,
  .page-poker__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-section {
    padding-top: var(--header-offset, 80px);
    padding: 40px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }
  .page-poker__about-section,
  .page-poker__getting-started-section,
  .page-poker__games-section,
  .page-poker__strategy-section,
  .page-poker__promotions-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section,
  .page-poker__join-section {
    margin: 60px auto;
    padding: 0 15px;
  }
  .page-poker__features-grid,
  .page-poker__steps-grid,
  .page-poker__game-cards-grid,
  .page-poker__strategy-cards-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card,
  .page-poker__step-card,
  .page-poker__game-card,
  .page-poker__strategy-card,
  .page-poker__promo-card {
    padding: 25px;
  }
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__promo-image {
    height: 180px;
  }
  .page-poker__feature-title,
  .page-poker__step-title,
  .page-poker__game-title,
  .page-poker__strategy-title,
  .page-poker__promo-title {
    font-size: 1.5em;
  }
  .page-poker__faq-item {
    padding: 20px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  /* Ensure images within .page-poker do not overflow on mobile */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__promo-image {
    height: 150px;
  }
  .page-poker__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}