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

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

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

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

.page-poker__hero-content {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold main color for title */
  font-weight: bold;
}

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

.page-poker__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold main color for CTA */
  color: #8B0000; /* Deep red for text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-poker__cta-button:hover {
  background-color: #8B0000; /* Deep red on hover */
  color: #FFD700; /* Gold text on hover */
  transform: translateY(-3px);
  border-color: #FFD700;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Deep red for section titles */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  font-weight: bold;
}

.page-poker__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-poker__why-jili77-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

.page-poker__features-grid,
.page-poker__games-grid,
.page-poker__security-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__promo-card,
.page-poker__security-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__promo-card:hover,
.page-poker__security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__card-title {
  font-size: 1.6em;
  color: #8B0000; /* Deep red for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__sub-title {
  font-size: 1.8em;
  color: #8B0000; /* Deep red for sub-titles */
  margin-bottom: 15px;
  font-weight: bold;
  text-align: left;
}

.page-poker__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  flex-grow: 1;
}

.page-poker__games-overview-section {
  padding: 80px 0;
}

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

.page-poker__card-button {
  display: inline-block;
  background-color: #FFD700; /* Gold main color for card buttons */
  color: #8B0000; /* Deep red text for contrast */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  border: 1px solid #FFD700;
}

.page-poker__card-button:hover {
  background-color: #8B0000; /* Deep red on hover */
  color: #FFD700; /* Gold text on hover */
  border-color: #FFD700;
}

.page-poker__strategy-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

.page-poker__strategy-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-poker__strategy-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__strategy-text {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
}

.page-poker__strategy-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 25px;
  color: #555555;
}

.page-poker__strategy-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-poker__strategy-list strong {
  color: #333333;
}

.page-poker__strategy-cta {
  font-size: 1.1em;
  font-style: italic;
  margin-bottom: 25px;
  color: #8B0000;
}

.page-poker__security-section {
  padding: 80px 0;
}

.page-poker__security-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__security-image {
  width: 150px; /* Example size, ensuring it's >= 200px or larger if needed */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-poker__security-item .page-poker__sub-title {
  text-align: center;
}

.page-poker__item-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
}

.page-poker__item-text a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__item-text a:hover {
  text-decoration: underline;
}

.page-poker__promotions-section {
  background-color: #FFD700;
  padding: 80px 0;
  color: #8B0000; /* Deep red text for contrast with gold background */
}

.page-poker__promotions-section .page-poker__section-title,
.page-poker__promotions-section .page-poker__section-intro {
  color: #8B0000;
}

.page-poker__promo-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #FFD700;
}

.page-poker__promo-card .page-poker__card-title {
  color: #8B0000;
}

.page-poker__promo-card .page-poker__card-button {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-poker__promo-card .page-poker__card-button:hover {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

.page-poker__promo-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #8B0000;
}

.page-poker__promo-footer a {
  color: #333333;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__promo-footer a:hover {
  text-decoration: underline;
}

.page-poker__mobile-experience-section {
  padding: 80px 0;
}

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

.page-poker__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__mobile-text {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
}

.page-poker__faq-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  padding: 25px 30px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.page-poker__faq-item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #8B0000; /* Deep red for FAQ questions */
  margin-bottom: 10px;
  font-weight: bold;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  display: none; /* Hidden by default */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  display: block;
}

.page-poker__cta-final-section {
  background-color: #8B0000; /* Deep red for final CTA section */
  padding: 80px 0;
  text-align: center;
  color: #ffffff; /* White text for contrast */
}

.page-poker__cta-final-section .page-poker__section-title {
  color: #FFD700; /* Gold for title */
}

.page-poker__cta-final-section .page-poker__section-intro {
  color: #f0f0f0;
}

.page-poker__cta-final-section .page-poker__cta-button {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

.page-poker__cta-final-section .page-poker__cta-button:hover {
  background-color: #ffffff;
  color: #8B0000;
  border-color: #ffffff;
}

/* Ensure all content images are not smaller than 200px */
.page-poker img:not(.page-poker__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__strategy-image,
  .page-poker__mobile-image {
    max-width: 100%;
  }
  .page-poker__strategy-text,
  .page-poker__mobile-text {
    max-width: 100%;
    text-align: center;
  }
  .page-poker__strategy-list {
    text-align: left;
  }
  .page-poker__sub-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 450px;
    padding: 30px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__games-grid,
  .page-poker__security-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__promo-card,
  .page-poker__security-item {
    padding: 20px;
  }
  .page-poker__card-title {
    font-size: 1.4em;
  }
  .page-poker__game-image {
    height: 200px;
  }
  .page-poker__strategy-content,
  .page-poker__mobile-content {
    flex-direction: column;
  }
  .page-poker__strategy-image,
  .page-poker__mobile-image {
    max-width: 100%;
    min-width: 200px;
    width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-poker__strategy-text,
  .page-poker__mobile-text {
    max-width: 100%;
    min-width: 200px;
    width: 100%;
  }
  .page-poker__sub-title {
    font-size: 1.5em;
    text-align: center;
  }
  .page-poker__strategy-list {
    margin-left: 15px;
  }
  .page-poker__security-image {
    width: 120px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
}