.page-poker {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text contrast */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFCC00; /* Secondary color for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-poker__cta-button {
  display: inline-block;
  background-color: #CC3333; /* Primary color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-poker__cta-button:hover {
  background-color: #FFCC00; /* Secondary color on hover */
  transform: translateY(-3px);
  color: #333333;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #CC3333; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  border-radius: 2px;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__text-content a {
  color: #CC3333;
  text-decoration: none;
  font-weight: bold;
}

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

.page-poker__image-gallery, .page-poker__main-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

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

.page-poker__card-description {
  font-size: 1em;
  color: #555555;
}

.page-poker__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-poker__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFCC00; /* Secondary color for emphasis */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-poker__list-title {
  font-size: 1.5em;
  color: #CC3333;
  margin-bottom: 10px;
}

.page-poker__list-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-poker__secondary-button {
  display: inline-block;
  background-color: #FFCC00; /* Secondary color for secondary buttons */
  color: #333333;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker__secondary-button:hover {
  background-color: #CC3333; /* Primary color on hover */
  color: #ffffff;
}

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

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

.page-poker__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

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

.page-poker__feature-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

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

.page-poker__promo-card {
  background-color: #fdf2f2; /* Light primary color tint */
  border: 1px solid #ebcccc;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-items {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #CC3333;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding-top: 0;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding-top: 15px;
}

.page-poker__cta-section {
  background-color: #CC3333; /* Primary color background */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
  border-radius: 10px;
}

.page-poker__cta-section .page-poker__section-title {
  color: #FFCC00;
  margin-bottom: 20px;
}

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

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-poker__cta-section .page-poker__cta-button {
  background-color: #FFCC00; /* Secondary color for CTA in this section */
  color: #333333;
}

.page-poker__cta-section .page-poker__cta-button:hover {
  background-color: #ffffff;
  color: #CC3333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__game-cards, .page-poker__features-list, .page-poker__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__content-wrapper {
    padding: 30px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-poker__game-cards, .page-poker__features-list, .page-poker__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-poker__image-gallery img, .page-poker__main-image img, .page-poker__content-wrapper img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
  }
  .page-poker__about-section img, .page-poker__game-variety-section img, .page-poker__why-choose-section img, .page-poker__promotions-section img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-section {
    min-height: 300px;
  }
  .page-poker__hero-title {
    font-size: 1.6em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__card-title {
    font-size: 1.5em;
  }
  .page-poker__feature-title {
    font-size: 1.4em;
  }
  .page-poker__list-title {
    font-size: 1.3em;
  }
}