.page-poker {
  color: #000000; /* Dark text for light body 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-title {
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__section-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
  margin-right: 15px;
}

.page-poker__btn--register:hover {
  background-color: #e0e0e0;
}

.page-poker__btn--play,
.page-poker__btn--learn-more,
.page-poker__btn--join,
.page-poker__btn--claim,
.page-poker__btn--download,
.page-poker__btn--register-cta {
  background-color: #FCBC45; /* Login button color used for primary CTAs */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__btn--play:hover,
.page-poker__btn--learn-more:hover,
.page-poker__btn--join:hover,
.page-poker__btn--claim:hover,
.page-poker__btn--download:hover,
.page-poker__btn--register-cta:hover {
  background-color: #e6a73c;
  border-color: #e6a73c;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.6);
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Adjust as needed */
  padding: 80px 20px;
  text-align: center;
}

.page-poker__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-poker__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

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

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

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-poker__card-text {
  font-size: 1rem;
  color: #333333;
}

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-poker__game-card .page-poker__card-title {
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-poker__game-card .page-poker__card-text {
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__btn {
  margin: 0 20px 20px;
}

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

.page-poker__tournament-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-poker__tournament-card {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__tournament-card:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image and text */
}

.page-poker__tournament-image {
  flex: 1;
  min-width: 400px; /* Ensure image is not too small */
  height: 400px;
  object-fit: cover;
  display: block;
}

.page-poker__tournament-content {
  flex: 1;
  padding: 40px;
}

.page-poker__tournament-content .page-poker__card-title {
  text-align: left;
}

.page-poker__tournament-content .page-poker__card-text {
  text-align: left;
  margin-bottom: 25px;
}

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

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

.page-poker__bonus-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-poker__bonus-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-poker__bonus-card .page-poker__card-title {
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-poker__bonus-card .page-poker__card-text {
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-poker__bonus-card .page-poker__btn {
  margin: 0 20px 20px;
}

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

.page-poker__mobile-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-poker__mobile-content {
  flex: 1;
  text-align: left;
}

.page-poker__mobile-content .page-poker__section-title,
.page-poker__mobile-content .page-poker__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-poker__mobile-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-poker__feature-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-poker__feature-item::before {
  content: '✓';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

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

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

.page-poker__cta-section .page-poker__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-poker__btn--register-cta {
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.2rem;
  padding: 15px 35px;
}

.page-poker__btn--register-cta:hover {
  background-color: #e6a73c;
}

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

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

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

.page-poker__faq-answer {
  font-size: 1rem;
  color: #333333;
}

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

  .page-poker__hero-description {
    font-size: 1.1rem;
  }

  .page-poker__tournament-image {
    min-width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px);
  }

  .page-poker__hero-container {
    min-height: 450px;
    padding: 60px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.5rem;
  }

  .page-poker__hero-description {
    font-size: 1rem;
  }

  .page-poker__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-poker__btn--register {
    margin-right: 0;
  }

  .page-poker__section-title {
    font-size: 2rem;
  }

  .page-poker__section-intro {
    font-size: 1rem;
  }

  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__bonus-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__tournament-card,
  .page-poker__tournament-card:nth-child(even) {
    flex-direction: column;
  }

  .page-poker__tournament-image {
    min-width: 100%;
    height: 250px;
  }

  .page-poker__tournament-content {
    padding: 25px;
  }

  .page-poker__tournament-content .page-poker__card-title,
  .page-poker__tournament-content .page-poker__card-text {
    text-align: center;
  }

  .page-poker__mobile-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-poker__mobile-content,
  .page-poker__mobile-content .page-poker__section-title,
  .page-poker__mobile-content .page-poker__section-intro {
    text-align: center;
  }

  .page-poker__mobile-features {
    padding: 0 20px;
    text-align: left;
  }

  .page-poker__mobile-image {
    max-width: 300px;
  }

  /* Ensure all content images in .page-poker do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  /* Content area image size check (must be >= 200px) */
  .page-poker__game-image,
  .page-poker__bonus-image,
  .page-poker__tournament-image {
    min-height: 200px; /* Ensure minimum height for content images */
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2rem;
  }

  .page-poker__section-title {
    font-size: 1.8rem;
  }

  .page-poker__btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}