.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 is below fixed header */
}

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* 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;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay */
  border-radius: 10px;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

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

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

.page-poker__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #FCBC45;
}

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

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

.page-poker__section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-poker__section-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  text-align: left;
}

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

.page-poker__grid--small {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-poker__card, .page-poker__game-card, .page-poker__promo-card, .page-poker__step-card {
  background-color: #F8F8F8;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-poker__card:hover, .page-poker__game-card:hover, .page-poker__promo-card:hover, .page-poker__step-card:hover {
  transform: translateY(-5px);
}

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

.page-poker__card-title, .page-poker__game-title, .page-poker__promo-title, .page-poker__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__card-text, .page-poker__game-description, .page-poker__promo-text, .page-poker__step-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-poker__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.page-poker__step-card {
  text-align: left;
}

.page-poker__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  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;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 450px;
  }
  .page-poker__hero-content {
    padding: 20px;
  }
  .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%;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__grid, .page-poker__grid--small, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure images in content area are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__card-image, .page-poker__game-image, .page-poker__promo-image, .page-poker__mobile-image {
    height: auto; /* Allow height to adjust */
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__card-title, .page-poker__game-title, .page-poker__promo-title, .page-poker__step-title {
    font-size: 1.4em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
}