.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 is not hidden by fixed header */
}

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000; /* Fallback background */
  padding: 0; /* Remove default padding to allow image to span */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text contrast, not changing color */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 8px;
}

.page-poker__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-poker__section-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-poker__button--primary {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
}

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

.page-poker__button--secondary {
  background-color: #28a745; /* Auxiliary brand color */
  color: #ffffff;
}

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

.page-poker__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-poker__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Intro Section */
.page-poker__intro-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

/* Games Section */
.page-poker__games-section {
  padding: 60px 0;
}

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

.page-poker__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Strategies Section */
.page-poker__strategies-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

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

.page-poker__strategy-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__strategy-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-poker__strategy-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__strategy-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-poker__link {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__link:hover {
  color: #1e7e34;
  text-decoration: underline;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 60px 0;
}

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

.page-poker__tournament-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__tournament-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-poker__tournament-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__tournament-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-poker__feature-title {
  font-size: 1.7em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 60px 0;
}

.page-poker__faq-accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  background-color: #007bff;
  color: #ffffff;
  padding: 18px 25px;
  font-size: 1.2em;
  cursor: pointer;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
  padding: 0 25px;
  background-color: #fefefe;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-poker__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px;
}

.page-poker__faq-answer p {
  margin: 0;
  color: #555555;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
}

.page-poker__cta-section .page-poker__section-title,
.page-poker__cta-section .page-poker__section-text {
  color: #ffffff;
}

.page-poker__cta-section .page-poker__button--primary {
  background-color: #28a745;
}

.page-poker__cta-section .page-poker__button--primary:hover {
  background-color: #1e7e34;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__card-image, .page-poker__strategy-image, .page-poker__tournament-image, .page-poker__feature-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-content {
    max-width: 90%;
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__button--large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__game-cards,
  .page-poker__strategy-grid,
  .page-poker__tournament-info,
  .page-poker__feature-list {
    grid-template-columns: 1fr;
  }
  .page-poker__card-image, .page-poker__strategy-image, .page-poker__tournament-image, .page-poker__feature-image {
    height: 220px;
    max-width: 100%; /* Ensure images don't overflow */
  }
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-poker__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button--primary, .page-poker__button--secondary {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
  }
  .page-poker__button--small {
    width: auto;
    margin: 0 auto 15px auto;
  }
  .page-poker__hero-content {
    padding: 15px;
  }
}