.page-poker {
  color: #ffffff; /* Text color for dark body background */
}

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

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for better text contrast */
}

.page-poker__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  z-index: 1;
}

.page-poker__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

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

.page-poker__button--primary {
  background-color: #FCBC45;
  color: #000000; /* Dark text for golden button */
}

.page-poker__button--primary:hover {
  background-color: #e0a53b;
}

.page-poker__button--secondary {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #FCBC45;
}

.page-poker__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--link {
  background: none;
  color: #FCBC45;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-poker__button--link:hover {
  color: #e0a53b;
}

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

.page-poker__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-poker__why-jl999-section,
.page-poker__game-selection-section,
.page-poker__get-started-section,
.page-poker__strategy-section,
.page-poker__tournaments-promo-section,
.page-poker__security-section,
.page-poker__mobile-section,
.page-poker__faq-section,
.page-poker__call-to-action-section {
  padding: 80px 20px;
  background-color: #0a0a0a; /* Slightly lighter black for sections */
  margin-bottom: 20px; /* Space between sections */
}

.page-poker__why-jl999-container,
.page-poker__game-selection-container,
.page-poker__get-started-container,
.page-poker__strategy-container,
.page-poker__tournaments-promo-container,
.page-poker__security-container,
.page-poker__mobile-container,
.page-poker__faq-container,
.page-poker__call-to-action-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__step-card,
.page-poker__strategy-card,
.page-poker__promo-card,
.page-poker__security-item {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-poker__feature-image,
.page-poker__game-image,
.page-poker__step-image,
.page-poker__promo-image,
.page-poker__security-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Ensure images meet min size */
.page-poker__feature-image, .page-poker__game-image, .page-poker__step-image, .page-poker__promo-image, .page-poker__security-icon {
  min-width: 200px;
  min-height: 200px;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__step-title,
.page-poker__strategy-title,
.page-poker__promo-title,
.page-poker__security-item-title,
.page-poker__faq-question {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-poker__feature-text,
.page-poker__game-text,
.page-poker__step-text,
.page-poker__strategy-text,
.page-poker__promo-text,
.page-poker__security-item-text,
.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-poker__security-item {
  padding: 30px;
}

.page-poker__mobile-section {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-poker__mobile-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__mobile-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-poker__mobile-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-poker__mobile-features li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
}

.page-poker__faq-list {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-poker__call-to-action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* 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-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__steps-grid,
  .page-poker__strategy-grid,
  .page-poker__promo-grid,
  .page-poker__security-details {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-section {
    flex-direction: column;
  }
  .page-poker__mobile-content, .page-poker__mobile-image-wrapper {
    max-width: 100%;
  }
  /* Prevent image overflow on mobile */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-poker__hero-actions, .page-poker__call-to-action-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__hero-section,
  .page-poker__why-jl999-section,
  .page-poker__game-selection-section,
  .page-poker__get-started-section,
  .page-poker__strategy-section,
  .page-poker__tournaments-promo-section,
  .page-poker__security-section,
  .page-poker__mobile-section,
  .page-poker__faq-section,
  .page-poker__call-to-action-section {
    padding: 40px 15px;
  }
  .page-poker__button {
    width: 100%;
  }
}