.page-poker {
  /* Default padding-top for desktop to clear fixed header */
  padding-top: var(--header-offset, 120px);
  background-color: #f5f5f5; /* Light background for the page content */
  color: #333333; /* Dark text for 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__section {
  padding: 60px 0;
}

.page-poker__section--dark-background {
  background-color: #002060; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #002060;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__section--dark-background .page-poker__section-title {
  color: #FFD700;
}

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

.page-poker__section--dark-background .page-poker__section-intro {
  color: #cccccc;
}

.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px 20px; /* Adjust padding-top as needed, already handled by .page-poker */
  background-color: #002060;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-poker__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.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, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.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: #002060;
  transform: translateY(-2px);
}

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  display: block;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__strategy-card,
.page-poker__highlight-card,
.page-poker__process-step {
  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__section--dark-background .page-poker__feature-card,
.page-poker__section--dark-background .page-poker__game-card,
.page-poker__section--dark-background .page-poker__strategy-card,
.page-poker__section--dark-background .page-poker__highlight-card,
.page-poker__section--dark-background .page-poker__process-step {
  background-color: rgba(255, 255, 255, 0.08);
  color: #f0f0f0;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__strategy-card:hover,
.page-poker__highlight-card:hover,
.page-poker__process-step:hover {
  transform: translateY(-5px);
}

.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__strategy-card img,
.page-poker__highlight-card img,
.page-poker__process-step img {
  width: 100%; /* Ensures image fills card width */
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__strategy-title,
.page-poker__highlight-title,
.page-poker__process-title {
  font-size: 1.5em;
  color: #002060;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__section--dark-background .page-poker__feature-title,
.page-poker__section--dark-background .page-poker__game-title,
.page-poker__section--dark-background .page-poker__strategy-title,
.page-poker__section--dark-background .page-poker__highlight-title,
.page-poker__section--dark-background .page-poker__process-title {
  color: #FFD700;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__strategy-description,
.page-poker__highlight-description,
.page-poker__process-description {
  font-size: 1em;
  color: #666666;
}

.page-poker__section--dark-background .page-poker__feature-description,
.page-poker__section--dark-background .page-poker__game-description,
.page-poker__section--dark-background .page-poker__strategy-description,
.page-poker__section--dark-background .page-poker__highlight-description,
.page-poker__section--dark-background .page-poker__process-description {
  color: #cccccc;
}

.page-poker__cta-play,
.page-poker__cta-learn-more,
.page-poker__cta-tournaments,
.page-poker__cta-register-login,
.page-poker__cta-final-section .page-poker__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-poker__responsible-gaming-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-poker__responsible-gaming-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-poker__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-poker__responsible-gaming-list li {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

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

.page-poker__faq-answer a {
  color: #002060; /* Link color for dark text */
  text-decoration: underline;
}

.page-poker__section--dark-background .page-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  color: #f0f0f0;
}

.page-poker__section--dark-background .page-poker__faq-question {
  color: #FFD700;
}

.page-poker__section--dark-background .page-poker__faq-answer {
  color: #cccccc;
}

.page-poker__section--dark-background .page-poker__faq-answer a {
  color: #FFD700; /* Link color for light text */
}

.page-poker__section--dark-background a {
  color: #FFD700;
}

.page-poker__section--dark-background a:hover {
  color: #e6c200;
}

.page-poker__hero-content a,
.page-poker__hero-description a {
  color: #FFD700;
}

.page-poker__hero-content a:hover,
.page-poker__hero-description a:hover {
  color: #e6c200;
}

/* Ensure all content images are large enough */
.page-poker img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__hero-image img {
    opacity: 0.2; /* Reduce opacity slightly more for smaller screens if needed */
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: 60px; /* Reduced for mobile, as main padding-top handles header */
    padding-bottom: 30px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-poker__section {
    padding: 40px 0;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__strategy-grid,
  .page-poker__tournament-highlights,
  .page-poker__process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__feature-card img,
  .page-poker__game-card img,
  .page-poker__strategy-card img,
.page-poker__highlight-card img,
  .page-poker__process-step img {
    height: 200px; /* Adjust height for mobile */
  }
  .page-poker__cta-play,
  .page-poker__cta-learn-more,
  .page-poker__cta-tournaments,
  .page-poker__cta-register-login,
  .page-poker__cta-final-section .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__responsible-gaming-list {
    flex-direction: column;
    gap: 10px;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  /* Mobile content image overflow prevention */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}