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

.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px; /* Adjusted padding-top to account for header offset, then additional padding */
  overflow: hidden;
  color: #FFFFFF;
  background-color: #000000; /* Dark background for hero text */
}

.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: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.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: 30px;
  line-height: 1.6;
}

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

.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;
}

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

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

.page-poker__button--login {
  background-color: #FCBC45; /* Login button background */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-poker__button--login:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

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

.page-poker__about-section, 
.page-poker__features-section, 
.page-poker__responsible-gambling-section, 
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__games-section, 
.page-poker__get-started-section, 
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__dark-background .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.page-poker__game-card, .page-poker__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark sections */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-poker__games-section .page-poker__game-card {
  background-color: #1a1a1a; /* Darker background for cards in dark section */
  color: #FFFFFF;
}

.page-poker__game-card:hover, .page-poker__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-poker__game-card-image, .page-poker__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-poker__game-card-description, .page-poker__feature-description {
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
}

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

.page-poker__step-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
}

.page-poker__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-poker__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-poker__step-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-poker__get-started-actions {
  text-align: center;
  margin-top: 50px;
}

.page-poker__text-link {
  display: inline-block;
  margin-top: 20px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__text-link:hover {
  color: #000000;
}

.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #1a1a1a;
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.page-poker__button--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.3em;
  padding: 18px 40px;
}

.page-poker__button--cta:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__game-card-title, .page-poker__feature-title, .page-poker__step-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px 30px;
  }
  .page-poker__hero-content {
    padding: 30px 15px;
  }
  .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 {
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-poker__text-content {
    font-size: 0.95em;
  }
  .page-poker__game-grid, .page-poker__features-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__about-section, 
  .page-poker__features-section, 
  .page-poker__responsible-gambling-section, 
  .page-poker__cta-section,
  .page-poker__games-section, 
  .page-poker__get-started-section, 
  .page-poker__faq-section {
    padding: 60px 0;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__hero-image img, 
  .page-poker__image-full-width, 
  .page-poker__game-card-image, 
  .page-poker__feature-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__button--cta {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}