.page-poker {
  color: #333333; /* Dark text for light body background */
}

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: 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;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

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

.page-poker__button--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-poker__button--login,
.page-poker__button--play,
.page-poker__button--join-tournament,
.page-poker__button--promo,
.page-poker__button--contact {
  background-color: #FCBC45; /* Custom color for Login and other action buttons */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--login:hover,
.page-poker__button--play:hover,
.page-poker__button--join-tournament:hover,
.page-poker__button--promo:hover,
.page-poker__button--contact:hover {
  background-color: #e0a538;
  transform: translateY(-2px);
}

.page-poker__button--learn-more,
.page-poker__button--read-more,
.page-poker__button--responsible-gaming {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--learn-more:hover,
.page-poker__button--read-more:hover,
.page-poker__button--responsible-gaming:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-2px);
}

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

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

.page-poker__section-description {
  font-size: 1.2em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
  color: #555555;
}

.page-poker__about-section,
.page-poker__games-section,
.page-poker__features-section,
.page-poker__guide-section,
.page-poker__cta-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section,
.page-poker__contact-section {
  padding: 80px 0;
}

.page-poker__about-section {
  background-color: #f8f8f8;
}

.page-poker__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-poker__about-text p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
}

.page-poker__about-image-wrapper {
  text-align: center;
}

.page-poker__about-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__game-card,
.page-poker__feature-card,
.page-poker__guide-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-card:hover,
.page-poker__feature-card:hover,
.page-poker__guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__game-image,
.page-poker__feature-icon,
.page-poker__guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__feature-icon {
  max-width: 150px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__game-title,
.page-poker__feature-title,
.page-poker__guide-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: bold;
}

.page-poker__guide-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-poker__guide-card-title a:hover {
  text-decoration: underline;
}

.page-poker__game-description,
.page-poker__feature-description,
.page-poker__guide-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__cta-section {
  background: linear-gradient(135deg, #000000, #333333);
  color: #FFFFFF;
  text-align: center;
}

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

.page-poker__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-poker__responsible-gaming-section {
  background-color: #f0f5f8;
}

.page-poker__responsible-gaming-section p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__responsible-gaming-section .page-poker__button {
  margin-top: 20px;
}

.page-poker__faq-section {
  background-color: #FFFFFF;
}

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

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

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

.page-poker__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

.page-poker__contact-section {
  background-color: #e6f2f9;
  text-align: center;
}

/* Responsive adjustments */
@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__about-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__about-image-wrapper {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 450px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__features-section,
  .page-poker__guide-section,
  .page-poker__cta-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section,
  .page-poker__contact-section {
    padding: 60px 0;
  }
  .page-poker__game-grid,
  .page-poker__features-grid,
  .page-poker__guide-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__cta-actions {
    flex-direction: column;
  }
  .page-poker__about-text p, 
  .page-poker__responsible-gaming-section p,
  .page-poker__faq-answer {
    font-size: 0.95em;
  }
  /* Ensure images in content area do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Specific rule to ensure content images are not too small on mobile */
  .page-poker__game-image, 
  .page-poker__feature-icon, 
  .page-poker__guide-image, 
  .page-poker__about-image {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    width: 100%;
    height: auto;
  }
  .page-poker__feature-icon {
    max-width: 100%; /* Allow it to scale up to 100% of its container */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-poker__game-card,
  .page-poker__feature-card,
  .page-poker__guide-card {
    padding: 20px;
  }
  .page-poker__game-title,
  .page-poker__feature-title,
  .page-poker__guide-card-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
}