.page-poker {
  color: #f0f0f0; /* Light text for general content, assuming a dark background or dark sections */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #1A1A1A; /* Auxiliary color for the page background */
}

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px; /* Minimum height for hero section */
  text-align: center;
  /* Removed background linear-gradient as main image is now an <img> */
}

.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: 1;
  max-width: 900px;
  color: #FFD700; /* Gold for hero text */
  padding: 40px;
  background-color: rgba(26, 26, 26, 0.6); /* Slightly darker background for text block */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.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.3s ease;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-3px);
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-poker__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.page-poker__why-999pub, .page-poker__game-showcase, .page-poker__bonuses-promotions, .page-poker__get-started, .page-poker__mobile-experience, .page-poker__strategy-tips, .page-poker__cta-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

.page-poker__why-999pub {
  background-color: #0d0d0d;
}

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

.page-poker__feature-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-icon {
  width: 200px; /* Enforce min size */
  height: 200px; /* Enforce min size */
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px #FFD700); /* Gold glow for icons */
}

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

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

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

.page-poker__game-card, .page-poker__promo-card, .page-poker__step-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__game-image, .page-poker__promo-image {
  width: 100%;
  height: 250px; /* Consistent height for card images */
  object-fit: cover;
  display: block;
}

.page-poker__game-title, .page-poker__promo-title, .page-poker__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-poker__game-description, .page-poker__promo-description, .page-poker__step-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

.page-poker__game-card .page-poker__button, .page-poker__promo-card .page-poker__button, .page-poker__step-card .page-poker__button {
  margin-bottom: 20px;
  font-size: 1em;
  padding: 12px 25px;
  min-width: unset; /* Override min-width for smaller card buttons */
}

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

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

.page-poker__step-icon {
  width: 200px; /* Enforce min size */
  height: 200px; /* Enforce min size */
  margin-top: 20px;
  filter: drop-shadow(0 0 10px #FFD700);
}

.page-poker__mobile-experience {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.page-poker__container--reverse {
  display: flex;
  flex-direction: row-reverse; /* Image on right, text on left for desktop */
  align-items: center;
  gap: 50px;
}

.page-poker__content-block {
  flex: 1;
  padding-right: 30px;
}

.page-poker__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__mobile-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-poker__mobile-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-poker__mobile-features li::before {
  content: '✔️'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: #FFD700;
}

.page-poker__cta-section {
  background-color: #FFD700;
  color: #1A1A1A;
  text-align: center;
  padding: 100px 20px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #1A1A1A;
  margin-bottom: 20px;
}

.page-poker__cta-description {
  font-size: 1.2em;
  color: #333;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-poker__cta-section .page-poker__button--primary {
  background-color: #1A1A1A;
  color: #FFD700;
  border-color: #1A1A1A;
}

.page-poker__cta-section .page-poker__button--primary:hover {
  background-color: #333;
  color: #FFD700;
  border-color: #333;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding: 40px 20px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    min-width: unset;
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__why-999pub, .page-poker__game-showcase, .page-poker__bonuses-promotions, .page-poker__get-started, .page-poker__mobile-experience, .page-poker__strategy-tips, .page-poker__cta-section {
    padding: 60px 0;
  }
  .page-poker__features-grid, .page-poker__game-grid, .page-poker__promo-cards, .page-poker__step-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__container--reverse {
    flex-direction: column;
  }
  .page-poker__content-block {
    padding-right: 0;
  }
  .page-poker__image-block {
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 30px;
  }
  /* Mobile image scaling for all content images */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon, .page-poker__step-icon {
    width: 200px;
    height: 200px;
  }
  .page-poker__game-image, .page-poker__promo-image {
    height: 200px;
  }
}

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