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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0;
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: auto;
}

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

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 51, 102, 0.7); /* Translucent dark blue background */
  border-radius: 10px;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
}

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

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

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__step-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-icon,
.page-poker__game-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__step-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-poker__feature-text,
.page-poker__game-description,
.page-poker__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-poker__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-poker__btn--primary {
  background-color: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
}

.page-poker__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-poker__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__btn--secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

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

.page-poker__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-poker__btn--link {
  color: #003366;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  display: inline-block;
}

.page-poker__btn--link:hover {
  color: #FFD700;
}

.page-poker__cta-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

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

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

.page-poker__faq-accordion {
  margin-top: 30px;
}

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

.page-poker__faq-question {
  width: 100%;
  background-color: #003366;
  color: #ffffff;
  padding: 20px 30px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  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.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__faq-question:hover {
  background-color: #004080;
}

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

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

.page-poker__faq-question.active + .page-poker__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding: 20px 30px;
}

/* 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__cta-title {
    font-size: 2.2em;
  }
}

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

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

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

  .page-poker__btn {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .page-poker__content-area {
    padding: 20px 15px;
  }

  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-poker__cta-title {
    font-size: 1.8em;
  }

  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  
  /* Mobile content area image constraints */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  .page-poker {
    max-width: 100%;
    overflow-x: hidden;
  }
}

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

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

  .page-poker__hero-content {
    padding: 15px;
  }

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

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