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

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

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

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

.page-poker__hero-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

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

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

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

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

.page-poker__button--primary {
  background-color: #FFD700;
  color: #333333;
  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: #FFD700;
  color: #333333;
  transform: translateY(-2px);
}

.page-poker__section {
  padding: 80px 20px;
  text-align: center;
}

.page-poker__section--dark-background {
  background-color: #008000;
  color: #ffffff;
}

.page-poker__section--dark-background .page-poker__section-title,
.page-poker__section--dark-background .page-poker__section-intro {
  color: #FFD700;
}

.page-poker__section--alt-background {
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #008000;
}

.page-poker__section--dark-background .page-poker__section-title {
  color: #FFD700;
}

.page-poker__section-intro {
  font-size: 1.2em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px;
}

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

.page-poker__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-poker__feature-card:hover {
  transform: translateY(-5px);
}

.page-poker__feature-icon {
  width: 200px; /* Min size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-poker__feature-description {
  font-size: 1em;
  line-height: 1.6;
}

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}

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

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

.page-poker__game-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-poker__tournaments-section .page-poker__section-title {
  color: #008000;
}

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

.page-poker__highlight-item {
  background-color: #fcfcfc;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: #333333;
}

.page-poker__highlight-title {
  font-size: 1.4em;
  color: #008000;
  margin-bottom: 10px;
}

.page-poker__highlight-description {
  font-size: 0.95em;
  line-height: 1.6;
}

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

.page-poker__getting-started-section .page-poker__section-title,
.page-poker__getting-started-section .page-poker__section-intro {
  color: #FFD700;
}

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

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

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

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

.page-poker__step-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.page-poker__faq-section .page-poker__section-title {
  color: #008000;
}

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

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #008000;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFD700;
}

.page-poker__faq-question.active::after {
  content: '-';
}

.page-poker__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.0em;
  line-height: 1.7;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

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

.page-poker__cta-section {
  background-color: #DC143C;
  color: #ffffff;
  padding: 100px 20px;
}

.page-poker__cta-content {
  max-width: 900px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-poker__cta-description {
  font-size: 1.4em;
  line-height: 1.6;
  margin-bottom: 40px;
}

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FFD700;
  color: #333333;
  border: 2px solid #FFD700;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__section-intro {
    font-size: 1.1em;
  }
  .page-poker__feature-title {
    font-size: 1.4em;
  }
  .page-poker__game-title {
    font-size: 1.6em;
  }
  .page-poker__cta-title {
    font-size: 2.5em;
  }
  .page-poker__cta-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-section {
    min-height: 450px;
    padding: 40px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section {
    padding: 60px 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-cards-grid,
  .page-poker__tournament-highlights,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__highlight-item,
  .page-poker__step-card {
    padding: 20px;
  }
  .page-poker__feature-icon,
  .page-poker__game-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__cta-section {
    padding: 70px 15px;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1.1em;
  }
  .page-poker__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-poker__faq-question::after {
    right: 20px;
  }
  .page-poker__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
}