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

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding: 0;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page-poker__hero-content {
  position: absolute;
  z-index: 10;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7); /* Dark 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.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFFFFF;
}

.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, transform 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-poker__content-image {
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-poker__about-section, .page-poker__games-section, .page-poker__live-section, .page-poker__tournaments-section, .page-poker__why-choose-section, .page-poker__cta-section, .page-poker__faq-section {
  padding: 60px 0;
}

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

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

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

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

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

.page-poker__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
}

.page-poker__button--play {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__button--live {
  background-color: #FCBC45;
  color: #000000;
  margin: 30px auto;
  display: block;
  width: fit-content;
}

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

.page-poker__tournaments-section {
  background-color: #f0f0f0;
}

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

.page-poker__tournament-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
}

.page-poker__button--promo {
  background-color: #000000;
  color: #FFFFFF;
  margin: 30px auto;
  display: block;
  width: fit-content;
}

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

.page-poker__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

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

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

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

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

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

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

.page-poker__button--register,
.page-poker__button--login {
  min-width: 180px;
}

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

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

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

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

/* Responsive Design */
@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: 2em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-content {
    padding: 20px;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__game-grid, .page-poker__tournament-cards, .page-poker__feature-list {
    grid-template-columns: 1fr;
  }
  .page-poker__hero-container {
    min-height: 400px;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size is maintained */
    min-height: 200px !important;
  }
  .page-poker__button--play, .page-poker__button--promo, .page-poker__button--live {
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__card-title, .page-poker__feature-title {
    font-size: 1.4em;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
}