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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  background-color: #000000; /* Dark background for hero */
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.5;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay */
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.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--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-poker__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

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

.page-poker__about-section, .page-poker__game-types-section, .page-poker__strategy-section, .page-poker__community-section, .page-poker__security-section, .page-poker__faq-section, .page-poker__call-to-action-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-poker__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-poker__game-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 20px;
  font-size: 1em;
}

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

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

.page-poker__strategy-item, .page-poker__security-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
}

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

.page-poker__strategy-text, .page-poker__security-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

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

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

.page-poker__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__community-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

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

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

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

.page-poker__cta-block {
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
}

.page-poker__cta-text {
  font-size: 1.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__button--join-community {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 15px 30px;
  font-size: 1.1em;
}

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

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

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

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

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

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

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

.page-poker__button--final-cta:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding: 40px 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: 80%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-description {
    font-size: 1em;
  }
  .page-poker__text-content {
    font-size: 0.95em;
  }
  .page-poker__game-grid, .page-poker__strategy-grid, .page-poker__security-grid, .page-poker__community-features {
    grid-template-columns: 1fr;
  }
  .page-poker__game-image, .page-poker__feature-image {
    height: auto; /* Allow image to scale */
    max-width: 100%;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
  /* Ensure all images within .page-poker are not smaller than 200px */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__cta-text {
    font-size: 1.2em;
  }
  .page-poker__button--final-cta {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__game-title, .page-poker__strategy-title, .page-poker__security-title, .page-poker__feature-title, .page-poker__faq-question {
    font-size: 1.3em;
  }
}