.page-poker {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-poker__section-title,
.page-poker__hero-title,
.page-poker__cta-title {
  color: #000000; /* Main color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

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

.page-poker__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-poker__btn--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text */
  border: 2px solid #000000;
}

.page-poker__btn--register:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-2px);
}

.page-poker__btn--login {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text */
  border: 2px solid #FCBC45;
  margin-left: 15px;
}

.page-poker__btn--login:hover {
  background-color: #FFD700;
  border-color: #FFD700;
  transform: translateY(-2px);
}

.page-poker__btn--play,
.page-poker__btn--join-tournament,
.page-poker__btn--download,
.page-poker__btn--claim-bonus,
.page-poker__btn--step,
.page-poker__btn--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

.page-poker__btn--play:hover,
.page-poker__btn--join-tournament:hover,
.page-poker__btn--download:hover,
.page-poker__btn--claim-bonus:hover,
.page-poker__btn--step:hover,
.page-poker__btn--cta:hover {
  background-color: #FFD700;
  border-color: #FFD700;
  transform: translateY(-2px);
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* White text for hero content over dark image */
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-poker__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

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

.page-poker__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-icon {
  width: 100%; /* Ensure images are large enough */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-poker__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Game Varieties Section */
.page-poker__game-varieties-section {
  padding: 80px 0;
}

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

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

.page-poker__game-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 0 10px;
}

.page-poker__game-description {
  padding: 0 20px 20px;
  color: #555555;
  flex-grow: 1;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.page-poker__tournament-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__highlight-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.page-poker__highlight-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__highlight-description {
  color: #555555;
}

/* Mobile Section */
.page-poker__mobile-section {
  padding: 80px 0;
}

.page-poker__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.page-poker__mobile-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-poker__mobile-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-poker__mobile-description {
  color: #555555;
  margin-bottom: 30px;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-poker__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image meets minimum size */
  min-height: 200px;
}

/* Bonuses Section */
.page-poker__bonuses-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

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

.page-poker__bonus-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__bonus-card:hover {
  transform: translateY(-10px);
}

.page-poker__bonus-icon {
  width: 100%; /* Ensure images are large enough */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-poker__bonus-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__bonus-description {
  font-size: 1em;
  color: #555555;
}

/* Getting Started Section */
.page-poker__getting-started-section {
  padding: 80px 0;
}

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

.page-poker__step-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

.page-poker__step-description {
  color: #555555;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.page-poker__faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.page-poker__faq-answer {
  color: #555555;
}

/* Call to Action Section */
.page-poker__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #000000; /* Dark background for strong contrast */
  color: #FFFFFF;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-poker__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #F0F0F0;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 0;
    min-height: 500px;
  }
  .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__btn--login {
    margin-left: 0;
  }

  .page-poker__section-title,
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }

  .page-poker__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-poker__mobile-text, .page-poker__mobile-image-wrapper {
    max-width: 100%;
  }
  .page-poker__mobile-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images are responsive and not too small */
  .page-poker__features-grid img,
  .page-poker__game-grid img,
  .page-poker__bonus-grid img {
    max-width: 100%;
    height: auto; /* Allow height to adjust proportionally */
    min-width: 200px;
    min-height: 200px;
  }
  
  /* All images within .page-poker must be responsive and not cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  /* Prevent horizontal scroll */
  .page-poker {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__section-title,
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__btn {
    padding: 10px 20px;
  }
}