.page-poker {
  color: #333333; /* Dark text for light 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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0A192F; /* Fallback background */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Adjust as needed */
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  max-width: 900px;
  margin: 20px;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #0A192F;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-poker__hero-button--secondary {
  background-color: #0A192F;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__hero-button--secondary:hover {
  background-color: #1a2c42;
  border-color: #e6c200;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-poker__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-poker__about-section,
.page-poker__game-variants-section,
.page-poker__strategy-guide-section,
.page-poker__tournaments-section,
.page-poker__promotions-section,
.page-poker__responsible-gaming-section,
.page-poker__detail-pages-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-poker__game-variants-section {
  background-color: #ffffff;
}

.page-poker__strategy-guide-section {
  background-color: #f0f0f0;
}

.page-poker__promotions-section {
  background-color: #f0f0f0;
}

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

.page-poker__feature-item,
.page-poker__variant-card,
.page-poker__detail-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-item:hover,
.page-poker__variant-card:hover,
.page-poker__detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon {
  width: 100%; /* Ensure image takes full width of card */
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-poker__variant-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__variant-title {
  font-size: 1.8em;
  color: #0A192F;
  margin-bottom: 15px;
}

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

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

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

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

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

.page-poker__cta-button--secondary {
  background-color: #FFD700;
  color: #0A192F;
}

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

.page-poker__detail-card {
  padding: 25px;
}

.page-poker__detail-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #0A192F;
}

.page-poker__detail-title a {
  color: #0A192F;
  text-decoration: none;
}

.page-poker__detail-title a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-poker__detail-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__detail-button {
  display: inline-block;
  padding: 8px 18px;
  background-color: #FFD700;
  color: #0A192F;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

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

.page-poker__cta-banner {
  background: linear-gradient(135deg, #0A192F, #1a2c42);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-poker__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-poker__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
  }
  .page-poker__hero-button {
    width: 80%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__variants-grid,
  .page-poker__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-icon,
  .page-poker__variant-image {
    height: 200px;
    min-width: 200px;
    min-height: 200px;
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  /* Ensure all content area images are responsive and do not cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-item img,
  .page-poker__variant-card img,
  .page-poker__detail-card img {
    max-width: 100%;
    height: auto;
  }
}

@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.5em;
  }
  .page-poker__cta-title {
    font-size: 1.6em;
  }
}