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

.page-poker__hero-section {
  background-color: #1A202C; /* Main brand color for hero background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-poker__hero-content {
  max-width: 900px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-poker__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for button */
  color: #1A202C; /* Dark text on accent button */
  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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-poker__hero-image {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-poker__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-poker__section-subtitle {
  font-size: 1.3em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-poker__description-text {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-poker__featured-games-section,
.page-poker__tournaments-promo-section,
.page-poker__mobile-experience-section,
.page-poker__security-section,
.page-poker__get-started-section,
.page-poker__faq-section,
.page-poker__cta-final-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-poker__game-card, .page-poker__promo-card, .page-poker__step-card {
  background-color: #1A202C;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-card:hover, .page-poker__promo-card:hover, .page-poker__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__game-card img, .page-poker__promo-card img, .page-poker__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-poker__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-poker__card-button:hover {
  background-color: #e6c200;
}

.page-poker__cta-banner {
  background: linear-gradient(90deg, #1A202C, #3A404C);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-poker__cta-text {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-poker__mobile-experience-section {
  background-color: #1A202C;
  padding-bottom: 80px;
}

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

.page-poker__mobile-text {
  flex: 1;
}

.page-poker__mobile-image {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-poker__security-section {
  text-align: center;
}

.page-poker__security-link {
  display: block;
  color: #FFD700;
  text-decoration: none;
  margin-top: 10px;
  font-size: 1em;
  transition: color 0.3s ease;
}

.page-poker__security-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-poker__step-card {
  background-color: #1A202C;
  border: 1px solid #FFD700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__faq-item {
  background-color: #1A202C;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__faq-question {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

.page-poker__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-poker__cta-final-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 20px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__cta-final-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-image {
    order: -1; /* Image above text on mobile */
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-subtitle {
    font-size: 1.1em;
  }
  .page-poker__game-grid, .page-poker__promo-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__cta-text {
    font-size: 1.2em;
  }
  .page-poker__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-poker__faq-question {
    font-size: 1.3em;
  }
  .page-poker__cta-final-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure content images are responsive and do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override to ensure no small images in content area */
  .page-poker__hero-image img, 
  .page-poker__game-card img, 
  .page-poker__promo-card img, 
  .page-poker__mobile-image img {
    min-width: 200px; /* Enforce minimum size even on mobile for content images */
    width: 100%; /* Make them fill available space up to max-width */
    height: auto;
  }
}