.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for default light body background */
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.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;
  text-align: center;
  color: #ffffff; /* White text over dark/rich image */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  padding: 40px 20px;
  max-width: 900px;
  border-radius: 10px;
}

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

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text for gold button */
}

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

.page-poker__button--secondary {
  background-color: #008000; /* Dark Green */
  color: #ffffff; /* White text for green button */
  border: 2px solid #008000;
}

.page-poker__button--secondary:hover {
  background-color: #006600;
  border-color: #006600;
  transform: translateY(-2px);
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__button--center {
  display: block;
  margin: 40px auto 0 auto;
  text-align: center;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #008000; /* Dark Green */
  text-align: center;
  margin-bottom: 20px;
  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; /* Gold underline */
  border-radius: 2px;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-poker__games-overview,
.page-poker__strategy-guide,
.page-poker__why-jili18,
.page-poker__promotions,
.page-poker__responsible-gaming,
.page-poker__cta-section {
  padding: 60px 0;
}

.page-poker__games-overview {
  background-color: #f9f9f9;
}

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

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

.page-poker__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

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

.page-poker__article-card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-poker__article-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-poker__article-title a {
  color: #008000; /* Dark Green for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-poker__article-title a:hover {
  color: #FFD700; /* Gold on hover */
}

.page-poker__article-excerpt {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.5;
}

.page-poker__why-jili18 {
  background-color: #f0f8ff;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

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

.page-poker__feature-icon {
  width: 250px; /* Enforce min 200px */
  height: 180px; /* Enforce min 200px */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-poker__promotions {
  background-color: #e6ffe6; /* Light green background */
}

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

.page-poker__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #DC143C; /* Red accent */
}

.page-poker__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__promo-title {
  font-size: 1.8em;
  color: #DC143C; /* Red for promotions */
  margin-bottom: 15px;
}

.page-poker__promo-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-poker__responsible-gaming {
  background-color: #fcf8e3;
  text-align: center;
}

.page-poker__responsible-gaming .page-poker__section-title {
  color: #DC143C; /* Red for warning/responsibility */
}

.page-poker__cta-section {
  background-color: #008000; /* Dark Green background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
}

.page-poker__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-content {
    padding: 30px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__game-cards,
  .page-poker__strategy-articles,
  .page-poker__features,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-icon {
    width: 200px; /* Mobile min size */
    height: 150px; /* Mobile min size */
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker {
    overflow-x: hidden;
  }
}