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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0; /* Hero image will handle visual height */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability, not changing color */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Minimum height for hero section */
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 60px; /* Ensure content is not too close to bottom */
  z-index: 2;
}

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

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

.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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-poker__heading {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-poker__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-poker__heading--light {
  color: #ffffff;
}

.page-poker__heading--light::after {
  background-color: #FFD700;
}

.page-poker__text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #333333;
}

.page-poker__text--light {
  color: #f0f0f0;
}

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

.page-poker__button--primary {
  background-color: #FFD700;
  color: #8B0000;
}

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

.page-poker__button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

/* About Section */
.page-poker__about-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

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

.page-poker__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon {
  width: 250px; /* Increased from 200px to meet minimum size */
  height: 187px; /* Maintain aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-poker__feature-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

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

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

.page-poker__game-card {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.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: #8B0000;
  margin-bottom: 10px;
}

.page-poker__game-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 25px;
}

/* Getting Started Section */
.page-poker__getting-started-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
}

.page-poker__bg--dark {
  background-color: #1a1a1a;
}

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

.page-poker__step-card {
  background-color: #333333;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__step-icon {
  width: 250px; /* Increased from 200px to meet minimum size */
  height: 166px; /* Maintain aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-poker__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 25px;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

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

.page-poker__strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-poker__strategy-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-poker__strategy-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 25px;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background-color: #8B0000; /* Auxiliary color as background */
  color: #ffffff;
}

.page-poker__bg--primary {
  background-color: #8B0000;
}

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

.page-poker__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-poker__promo-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-poker__promo-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

.page-poker__faq-accordion {
  margin-top: 50px;
  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 4px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #8B0000;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  transition: background-color 0.3s ease;
}

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

.page-poker__faq-question.page-poker__faq-question--active {
  background-color: #f0f0f0;
}

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

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

.page-poker__faq-answer p {
  padding-bottom: 20px;
  line-height: 1.7;
  color: #555555;
}

.page-poker__faq-answer .page-poker__button {
  margin-top: 15px;
  margin-bottom: 20px;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #FFD700; /* Main color as background */
  color: #8B0000;
  text-align: center;
}

.page-poker__bg--accent {
  background-color: #FFD700;
}

.page-poker__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }

  .page-poker__heading {
    font-size: 2.2em;
  }

  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-poker__feature-icon, .page-poker__step-icon {
    width: 200px; /* Adjust for smaller screens, but keep >= 200px */
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-container {
    min-height: 450px;
    padding-top: var(--header-offset, 80px);
  }

  .page-poker__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

  .page-poker__hero-description {
    font-size: 1.1em;
    margin-bottom: 25px;
  }

  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__heading {
    font-size: 1.8em;
  }

  .page-poker__text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__container {
    padding: 30px 15px;
  }

  .page-poker__features-grid, .page-poker__game-grid, .page-poker__step-grid, .page-poker__strategy-grid, .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-card, .page-poker__game-card, .page-poker__step-card, .page-poker__strategy-card, .page-poker__promo-card {
    padding: 20px;
  }

  .page-poker__feature-icon, .page-poker__step-icon, .page-poker__game-image, .page-poker__strategy-image, .page-poker__promo-image {
    max-width: 100%;
    height: auto;
    width: 100%; /* Ensure images fill container but respect max-width */
    min-width: 200px; /* Enforce minimum size */
    min-height: 150px; /* Enforce minimum size */
  }

  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-poker__faq-answer p {
    padding-bottom: 15px;
  }

  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__heading {
    font-size: 1.5em;
  }

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