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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.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;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-poker__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #4B0082;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker__hero-button:hover {
  background-color: #e6c200;
  color: #3a0066;
}

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

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

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-poker__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__button {
  display: inline-block;
  background-color: #4B0082;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-poker__button:hover {
  background-color: #3a0066;
}

.page-poker__button--secondary {
  background-color: #FFD700;
  color: #4B0082;
}

.page-poker__button--secondary:hover {
  background-color: #e6c200;
  color: #3a0066;
}

.page-poker__about-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-poker__game-variants-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

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

.page-poker__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #4B0082;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__game-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

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

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

.page-poker__tournaments-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-poker__tournament-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.page-poker__tournament-content {
  flex: 1;
  min-width: 300px;
}

.page-poker__tournament-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.page-poker__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-poker__feature-item {
  text-align: center;
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #4B0082;
  margin-bottom: 10px;
}

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

.page-poker__responsible-gambling-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-poker__cta-section {
  padding: 80px 0;
  background-color: #4B0082;
  color: #ffffff;
  text-align: center;
}

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

.page-poker__cta-section .page-poker__section-title::after {
  background-color: #ffffff;
}

.page-poker__cta-section .page-poker__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #4B0082;
  padding: 18px 50px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.2em;
  }

  .page-poker__hero-description {
    font-size: 1.1em;
  }

  .page-poker__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-poker__section-title {
    font-size: 2em;
  }

  .page-poker__paragraph {
    font-size: 1em;
  }

  .page-poker__content-area {
    padding: 20px 15px;
  }

  .page-poker__grid-container {
    grid-template-columns: 1fr;
  }

  .page-poker__game-card-image {
    height: 200px;
  }

  .page-poker__tournament-flex {
    flex-direction: column;
  }

  .page-poker__tournament-image {
    width: 100%;
    max-width: none;
  }

  .page-poker__features-list {
    grid-template-columns: 1fr;
  }

  .page-poker__cta-button {
    padding: 15px 40px;
    font-size: 1.2em;
  }

  /* Ensure content images do not overflow on mobile */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__game-card-image {
    width: 100%;
    height: auto; /* Allow height to adjust */
    min-height: 200px;
  }
  .page-poker__tournament-image {
    width: 100%;
    height: auto;
    min-height: 200px;
  }
  .page-poker__feature-icon {
    width: 60px;
    height: 60px;
  }
}

/* Minimum size for content images (excluding small icons in shared header/footer) */
.page-poker img:not(.page-poker__feature-icon) {
  min-width: 200px;
  min-height: 200px;
}