.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content clears the fixed header */
  background-color: #f5f5f5; /* Light background for contrast */
  color: #333333; /* Dark text for readability */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

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

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

.page-poker__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary color */
  color: #2C3E50; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #2C3E50;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-poker__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-poker__about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-poker__text-content {
  flex: 1;
}

.page-poker__text-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-poker__image-content {
  flex: 1;
  text-align: center;
}

.page-poker__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #E74C3C; /* Accent red */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-poker__cta-button:hover {
  background-color: #c0392b;
}

.page-poker__game-varieties-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #2C3E50;
  margin: 20px 0 10px;
}

.page-poker__game-card-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-poker__game-card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #2C3E50;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-poker__how-to-play-section {
  padding: 80px 0;
  background-color: #2C3E50;
  color: #ffffff;
}

.page-poker__how-to-play-section .page-poker__section-title {
  color: #FFD700;
}

.page-poker__how-to-play-section .page-poker__section-subtitle {
  color: #f0f0f0;
}

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

.page-poker__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-poker__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-poker__step-button {
  display: inline-block;
  background-color: #E74C3C;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__step-button:hover {
  background-color: #c0392b;
}

.page-poker__features-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

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

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__feature-title {
  font-size: 1.6em;
  color: #2C3E50;
  margin-bottom: 10px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 15px;
}

.page-poker__feature-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-poker__strategy-guides-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

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

.page-poker__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-poker__guide-card:hover {
  transform: translateY(-5px);
}

.page-poker__guide-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-poker__guide-card-title {
  font-size: 1.4em;
  color: #2C3E50;
  margin: 15px 20px 10px;
}

.page-poker__guide-card-title a {
  text-decoration: none;
  color: inherit;
}

.page-poker__guide-card-title a:hover {
  color: #FFD700;
}

.page-poker__guide-card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
}

.page-poker__testimonials-section {
  padding: 80px 0;
  background-color: #2C3E50;
  color: #ffffff;
}

.page-poker__testimonials-section .page-poker__section-title {
  color: #FFD700;
}

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

.page-poker__testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  font-style: italic;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-poker__testimonial-quote {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-poker__testimonial-author {
  font-weight: bold;
  color: #FFD700;
  text-align: right;
}

.page-poker__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #FFD700, #e6c200);
  color: #2C3E50;
}

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

.page-poker__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #555555;
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #2C3E50;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-poker__cta-button:hover {
  background-color: #1a2a3a;
  transform: translateY(-2px);
}

.page-poker__cta-button--secondary {
  background-color: #E74C3C;
}

.page-poker__cta-button--secondary:hover {
  background-color: #c0392b;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__about-section .page-poker__content-wrapper {
    flex-direction: column;
  }
  .page-poker__image-content {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-content {
    max-width: 90%;
    padding: 15px;
  }
  .page-poker__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-poker__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-poker__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-poker__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__game-grid, .page-poker__steps-grid, .page-poker__feature-grid, .page-poker__guides-grid, .page-poker__testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1.1em;
  }
  .page-poker__cta-button {
    display: block;
    margin: 15px auto;
  }
  /* Ensure all content images within .page-poker are responsive and don't overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__hero-image {
    height: 400px; /* Adjust height for mobile hero */
  }
  .page-poker__game-card-image, .page-poker__guide-card-image {
    height: 180px;
  }
  .page-poker__feature-icon {
    width: 80px;
    height: 80px;
  }
  /* Specific rule to prevent content images from being too small */
  .page-poker .page-poker__about-image,
  .page-poker .page-poker__game-card-image,
  .page-poker .page-poker__feature-icon,
  .page-poker .page-poker__guide-card-image {
    min-width: 200px;
    min-height: 200px;
    width: auto;
    height: auto;
  }
  .page-poker .page-poker__feature-icon {
    width: 100px;
    height: 100px;
    min-width: unset;
    min-height: unset;
  }
}