.page-poker {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Overlay for text readability */
}

.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;
  color: #FFD700;
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-poker__button--primary {
  background-color: #FFD700;
  color: #0A2E36;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2E36;
  transform: translateY(-2px);
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #0A2E36;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.page-poker__about-section, .page-poker__game-types-section, .page-poker__tournaments-section, .page-poker__strategy-section, .page-poker__faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-poker__about-section:nth-of-type(even) {
  background-color: #ffffff;
}

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

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

.page-poker__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-poker__grid-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__grid-title {
  font-size: 1.6em;
  color: #0A2E36;
  margin-bottom: 10px;
}

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

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

.page-poker__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-poker__card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__card-title {
  font-size: 1.5em;
  color: #0A2E36;
  margin-bottom: 10px;
}

.page-poker__card-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-poker__tournament-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.3s ease;
}

.page-poker__feature-item:hover {
  transform: translateY(-3px);
}

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-poker__feature-title {
  font-size: 1.4em;
  color: #0A2E36;
  margin-bottom: 10px;
}

.page-poker__feature-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
}

.page-poker__button--center {
  margin: 60px auto 0 auto;
  display: block;
  width: fit-content;
}

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

.page-poker__card--strategy {
  text-align: left;
}

.page-poker__card--strategy .page-poker__card-image {
  height: 200px;
}

.page-poker__cta-section {
  background: linear-gradient(135deg, #0A2E36, #1A4F5C);
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
}

.page-poker__cta-container {
  max-width: 900px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-poker__cta-description {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 50px;
  color: #f0f0f0;
}

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-poker__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  border-left: 5px solid #FFD700;
}

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

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

.page-poker__faq-answer a {
  color: #0A2E36;
  text-decoration: underline;
}

.page-poker__faq-answer a:hover {
  color: #FFD700;
}

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

@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: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-poker__image-grid, .page-poker__game-cards, .page-poker__tournament-features, .page-poker__strategy-cards {
    grid-template-columns: 1fr;
  }
  .page-poker__grid-image, .page-poker__card-image, .page-poker__feature-icon {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Ensure images meet minimum size requirement */
    min-height: 200px;
    object-fit: cover;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  .page-poker__button--large {
    width: 90%;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  /* Ensure all images within .page-poker are responsive and do not overflow */
  .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__section-title {
    font-size: 1.6em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}