.page-online-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Matches body background */
}

.page-online-poker__section {
  padding: 60px 20px;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
}

.page-online-poker__section--dark {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-online-poker__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit;
}

.page-online-poker__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-online-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding for visual separation, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.page-online-poker__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-online-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-online-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
}

.page-online-poker__main-title {
  font-size: clamp(2.5em, 5vw, 4em); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-online-poker__tagline {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
  line-height: 1.6;
}

.page-online-poker__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-online-poker__btn-primary,
.page-online-poker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-online-poker__btn-primary {
  background-color: #FCBC45; /* Custom color for Register */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FCBC45;
}

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

.page-online-poker__btn-secondary {
  background-color: #000000; /* Custom background for Login */
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-online-poker__btn-secondary:hover {
  background-color: #333333;
  border-color: #CCCCCC;
}

.page-online-poker__features-grid,
.page-online-poker__game-variants,
.page-online-poker__strategy-cards,
.page-online-poker__promo-cards,
.page-online-poker__steps-grid,
.page-online-poker__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-online-poker__feature-card,
.page-online-poker__game-card,
.page-online-poker__strategy-card,
.page-online-poker__promo-card,
.page-online-poker__step-card,
.page-online-poker__info-card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-online-poker__section--dark .page-online-poker__feature-card,
.page-online-poker__section--dark .page-online-poker__strategy-card,
.page-online-poker__section--dark .page-online-poker__promo-card,
.page-online-poker__section--dark .page-online-poker__step-card,
.page-online-poker__section--dark .page-online-poker__info-card {
  background-color: #1a1a1a;
  color: #F0F0F0;
}

.page-online-poker__feature-title,
.page-online-poker__game-title,
.page-online-poker__strategy-title,
.page-online-poker__promo-title,
.page-online-poker__step-title,
.page-online-poker__info-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: inherit;
}

.page-online-poker__feature-text,
.page-online-poker__game-text,
.page-online-poker__strategy-text,
.page-online-poker__promo-text,
.page-online-poker__step-text,
.page-online-poker__info-text {
  font-size: 1em;
  line-height: 1.7;
  color: inherit;
}

.page-online-poker__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-online-poker__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-online-poker__section--dark .page-online-poker__faq-item {
  background-color: #1a1a1a;
  border-color: #333333;
  color: #F0F0F0;
}

.page-online-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: inherit;
}

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

.page-online-poker__section--dark .page-online-poker__faq-question:hover {
  background-color: #2a2a2a;
}

.page-online-poker__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-online-poker__faq-item.active .page-online-poker__faq-toggle {
  transform: rotate(45deg);
}

.page-online-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1em;
  line-height: 1.6;
  color: inherit;
}

.page-online-poker__faq-item.active .page-online-poker__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-online-poker__hero-section {
    padding-bottom: 40px;
  }

  .page-online-poker__main-title {
    font-size: clamp(2em, 8vw, 3em);
  }

  .page-online-poker__tagline {
    font-size: 1em;
  }

  .page-online-poker__section-title {
    font-size: 2em;
  }

  .page-online-poker__section-description {
    font-size: 0.95em;
  }

  .page-online-poker__btn-primary,
  .page-online-poker__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-online-poker__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-online-poker__section,
  .page-online-poker__container,
  .page-online-poker__features-grid,
  .page-online-poker__game-variants,
  .page-online-poker__strategy-cards,
  .page-online-poker__promo-cards,
  .page-online-poker__steps-grid,
  .page-online-poker__info-grid,
  .page-online-poker__faq-list {
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content area images are not smaller than 200px on mobile */
  .page-online-poker img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    min-width: 200px;
    min-height: 200px;
  }

  .page-online-poker__faq-answer {
    padding: 0 15px;
  }

  .page-online-poker__faq-item.active .page-online-poker__faq-answer {
    padding: 15px 15px 20px;
  }
}