.page-poker {
  color: #333333; /* Dark text for default light body background */
}

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background for hero content readability */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability, no color change */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 90%;
  z-index: 1;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for title emphasis */
  line-height: 1.2;
}

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

.page-poker__hero-button,
.page-poker__section-button,
.page-poker__game-button,
.page-poker__feature-button,
.page-poker__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-poker__hero-button {
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #000000;
}

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

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__features-section,
.page-poker__strategy-section,
.page-poker__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-poker__about-section {
  background-color: #f8f9fa;
}

.page-poker__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #007bff; /* Primary color for main titles */
}

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-poker__section-button {
  background-color: #007bff; /* Primary color for secondary action */
  color: #ffffff;
}

.page-poker__section-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

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

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

.page-poker__game-card {
  background-color: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-poker__game-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 25px;
}

.page-poker__game-button {
  background-color: #ffc107;
  color: #000000;
}

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

.page-poker__features-section {
  background-color: #e9ecef;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
}

.page-poker__feature-heading {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__feature-button {
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__feature-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

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

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

.page-poker__strategy-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: left;
}

.page-poker__strategy-heading {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-poker__strategy-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-poker__strategy-link:hover {
  color: #e0a800;
  text-decoration: underline;
}

.page-poker__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-poker__cta-section .page-poker__section-title {
  color: #ffc107;
}

.page-poker__cta-section .page-poker__section-text {
  color: #e9ecef;
}

.page-poker__cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-poker__cta-button {
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.2em;
}

.page-poker__cta-button--primary {
  background-color: #ffc107;
  color: #000000;
}

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

.page-poker__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.page-poker__cta-button--secondary:hover {
  background-color: #ffffff;
  color: #007bff;
  transform: translateY(-3px);
}

.page-poker__cta-image {
  position: absolute;
  bottom: -20px;
  right: 5%;
  width: 400px;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  z-index: 0;
  display: none; /* Hidden by default, shown on larger screens */
}

/* Responsive adjustments */
@media (min-width: 1024px) {
  .page-poker__cta-image {
    display: block;
  }
}

@media (max-width: 1200px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__features-section,
  .page-poker__strategy-section,
  .page-poker__cta-section {
    padding: 60px 0;
  }
  .page-poker__game-grid,
  .page-poker__feature-list,
  .page-poker__strategy-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-poker__game-image {
    height: 200px;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__cta-image {
    display: none; /* Hide on small screens */
  }
  /* Mobile content area image resizing */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__hero-content {
    padding: 20px;
  }
  .page-poker__game-card,
  .page-poker__feature-item,
  .page-poker__strategy-card {
    padding: 20px;
  }
}