.page-poker {
  color: #333333; /* Deep dark gray for readability on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 700px; /* Ensure hero section has a decent height */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* For fixed header offset */
  background-color: #000080; /* Fallback background for hero */
}

.page-poker__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

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

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-poker__hero-cta-button,
.page-poker__cta-button,
.page-poker__game-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text on gold */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-poker__hero-cta-button:hover,
.page-poker__cta-button:hover,
.page-poker__game-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #000066;
}

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__bonuses-section,
.page-poker__security-section,
.page-poker__mobile-section,
.page-poker__strategy-section,
.page-poker__get-started-section,
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__about-section,
.page-poker__tournaments-section,
.page-poker__mobile-section,
.page-poker__get-started-section {
  background-color: #f9f9f9;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #000080; /* Dark blue title */
  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: #FFD700; /* Gold underline */
  border-radius: 2px;
}

.page-poker__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-poker__game-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-poker__game-button {
  margin-bottom: 25px;
  margin-top: auto;
}

.page-poker__tournament-image,
.page-poker__bonus-image,
.page-poker__mobile-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-poker__steps-list li {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: #333333;
  position: relative;
  padding-left: 60px;
}

.page-poker__steps-list li strong {
  color: #000080;
  font-size: 1.2em;
}

.page-poker__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFD700;
  color: #000080;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-poker__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

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

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

/* 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: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding: 40px 15px; /* Adjust padding for smaller screens */
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

  .page-poker__hero-cta-button,
  .page-poker__cta-button,
  .page-poker__game-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__tournaments-section,
  .page-poker__bonuses-section,
  .page-poker__security-section,
  .page-poker__mobile-section,
  .page-poker__strategy-section,
  .page-poker__get-started-section,
  .page-poker__faq-section {
    padding: 60px 0;
  }

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

  .page-poker__section-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-poker__games-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__game-image,
  .page-poker__tournament-image,
  .page-poker__bonus-image,
  .page-poker__mobile-image {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure all content area images are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }

  .page-poker__steps-list li {
    padding: 20px;
    padding-left: 50px;
    font-size: 1em;
  }

  .page-poker__steps-list li::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
    left: 15px;
  }

  .page-poker__faq-question {
    font-size: 1.2em;
  }

  .page-poker__faq-answer {
    font-size: 0.95em;
  }
}

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

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

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