.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF; /* Default background for light theme */
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__hero-buttons {
  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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px;
  text-align: center;
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-poker__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the background image */
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-poker__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__text-link:hover {
  text-decoration: underline;
}

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

.page-poker__game-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

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

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

.page-poker__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__button--small {
  padding: 10px 20px;
  min-width: 120px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-poker__button--small:hover {
  background-color: #e6a73c;
}

.page-poker__strategy-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-poker__strategy-image {
  flex: 0 0 500px; /* Min width 200px. Example: 500px */
  height: 375px; /* Maintain aspect ratio */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__strategy-text {
  flex: 1;
}

.page-poker__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-poker__list-item {
  background-color: #F0F0F0;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  font-size: 1.05em;
  color: #333333;
}

.page-poker__button--promo {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--promo:hover {
  background-color: #333333;
}

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

.page-poker__promotion-card {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-poker__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__promotion-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-poker__promotion-description {
  font-size: 1em;
  color: #CCCCCC;
  margin-bottom: 20px;
}

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

.page-poker__step-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  border-top: 5px solid #FCBC45;
}

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

.page-poker__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__button--step {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 20px;
  min-width: 150px;
}

.page-poker__button--step:hover {
  background-color: #e6a73c;
}

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

.page-poker__faq-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}

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

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

.page-poker__mobile-app-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 30px;
  background-color: #EFEFEF;
  border-radius: 12px;
}

.page-poker__mobile-app-image {
  width: 250px; /* Example size, min 200px */
  height: auto;
  object-fit: contain;
}

.page-poker__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  min-width: 250px;
}

.page-poker__button--download:hover {
  background-color: #e6a73c;
}

.page-poker__cta-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

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

.page-poker__cta-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

.page-poker__cta-section .page-poker__text-content {
  color: #CCCCCC;
  font-size: 1.2em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-poker__cta-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.1em;
  min-width: 220px;
}

.page-poker__button--contact {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-poker__button--contact:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* 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__strategy-content {
    flex-direction: column;
    align-items: center;
  }

  .page-poker__strategy-image {
    flex: none;
    width: 100%;
    max-width: 600px;
    height: auto;
  }
}

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

  .page-poker__hero-section {
    padding: 40px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.2em;
  }

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

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    min-width: unset;
    width: 100%;
  }

  .page-poker__content-block {
    padding: 40px 15px;
  }

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

  .page-poker__game-cards,
  .page-poker__promotion-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__game-image,
  .page-poker__promotion-image {
    height: 200px;
  }

  .page-poker__strategy-image {
    width: 100%;
    height: auto;
  }

  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  /* Content area images must be at least 200px wide */
  .page-poker__game-image,
  .page-poker__promotion-image,
  .page-poker__strategy-image,
  .page-poker__mobile-app-image {
    min-width: 200px;
    min-height: 200px;
  }
}

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

  .page-poker__section-title {
    font-size: 1.5em;
  }

  .page-poker__sub-title {
    font-size: 1.4em;
  }

  .page-poker__button--large {
    padding: 15px 25px;
    font-size: 1em;
  }
}