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

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

.page-poker__hero-section {
  position: relative;
  background-color: #000000; /* Dark background for hero text contrast */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.page-poker__button {
  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;
  white-space: nowrap;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
}

.page-poker__button--primary:hover {
  background-color: #e0a53a;
}

.page-poker__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register button color */
  border: 2px solid #FCBC45;
}

.page-poker__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__introduction-section,
.page-poker__game-types-section,
.page-poker__features-section,
.page-poker__how-to-start-section,
.page-poker__faq-section,
.page-poker__cta-section,
.page-poker__responsible-gaming-section,
.page-poker__about-jilibay-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-poker__text-content a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__text-content a:hover {
  text-decoration: underline;
}

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

.page-poker__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 0 20px 15px 20px;
}

.page-poker__game-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin: 0 20px 25px 20px;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__button {
  margin: 0 20px;
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__game-card .page-poker__button:hover {
  background-color: #e0a53a;
}

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

.page-poker__feature-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

.page-poker__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Enforce min height for images */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

.page-poker__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-poker__step-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 25px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
}

.page-poker__step-title {
  font-size: 1.7em;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-poker__step-description a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__step-description a:hover {
  text-decoration: underline;
}

.page-poker__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-poker__cta-section .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__cta-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

.page-poker__cta-section .page-poker__text-content {
  color: #e0e0e0;
}

.page-poker__cta-section .page-poker__hero-actions {
  margin-top: 40px;
}

/* Ensure all content images (selected by .page-poker img) are at least 200px */
.page-poker img {
  min-width: 200px;
  min-height: 200px;
}

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

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 0;
  }

  .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 {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-poker__introduction-section,
  .page-poker__game-types-section,
  .page-poker__features-section,
  .page-poker__how-to-start-section,
  .page-poker__faq-section,
  .page-poker__cta-section,
  .page-poker__responsible-gaming-section,
  .page-poker__about-jilibay-section {
    padding: 40px 0;
  }

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

  .page-poker__text-content,
  .page-poker__game-card-description,
  .page-poker__feature-description,
  .page-poker__step-description,
  .page-poker__faq-answer {
    font-size: 0.95em;
  }

  .page-poker__game-card-title,
  .page-poker__feature-title,
  .page-poker__step-title,
  .page-poker__faq-question {
    font-size: 1.4em;
  }

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

  /* Mobile content image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  .page-poker {
    overflow-x: hidden;
  }
}

@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.5em;
  }

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