.page-poker {
  padding-top: var(--header-offset, 120px);
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: rgba(255, 255, 255, 0.8);
}

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #0A192F;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Why KingPH Section */
.page-poker__why-kingph-section {
  padding: 80px 0;
  background-color: #0A192F;
}

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

.page-poker__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__feature-icon {
  width: 250px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__feature-description {
  color: rgba(255, 255, 255, 0.7);
}

/* Game Types Section */
.page-poker__game-types-section {
  padding: 80px 0;
  background-color: #050E1A;
}

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

.page-poker__game-card {
  background-color: rgba(10, 25, 47, 0.8);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

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

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

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

.page-poker__game-description {
  color: rgba(255, 255, 255, 0.7);
  padding: 0 20px 20px;
  min-height: 100px; /* Ensure consistent card height */
}

.page-poker__game-card .page-poker__button {
  margin-bottom: 20px;
}

/* Tournaments & Promotions Section */
.page-poker__tournaments-promo-section {
  padding: 80px 0;
  background-color: #0A192F;
}

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

.page-poker__promo-card {
  background-color: rgba(255, 215, 0, 0.1);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #FFD700;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.page-poker__promo-card:hover {
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

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

.page-poker__promo-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

.page-poker__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

.page-poker__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

/* Get Started Section */
.page-poker__get-started-section {
  padding: 80px 0;
  background-color: #050E1A;
}

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

.page-poker__step-card {
  background-color: rgba(10, 25, 47, 0.8);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-poker__step-number {
  font-size: 3em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
}

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

.page-poker__step-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0A192F;
  text-align: center;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #050E1A;
}

.page-poker__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__faq-item {
  background-color: rgba(10, 25, 47, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  transition: background-color 0.3s ease;
}

.page-poker__faq-item:hover {
  background-color: rgba(10, 25, 47, 0.95);
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__faq-answer {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

/* Final CTA Section */
.page-poker__cta-final-section {
  padding: 80px 0;
  background-color: #0A192F;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid, .page-poker__game-grid, .page-poker__promo-cards, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card, .page-poker__game-card, .page-poker__promo-card, .page-poker__step-card {
    padding: 20px;
  }
  .page-poker__game-description {
    min-height: auto;
  }
  .page-poker__feature-icon {
    width: 200px; /* Enforce minimum size */
    height: 150px;
  }
  .page-poker__game-image {
    height: 200px;
  }
  /* Ensure content images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.95em;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  .page-poker__faq-answer {
    font-size: 0.95em;
  }
}