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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Dark background for hero text area */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-bottom: 0; /* Image below will handle spacing */
}

.page-poker__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  z-index: 1;
}

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

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

.page-poker__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-poker__cta-button:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -50px; /* Overlap slightly for visual flow */
  max-width: 100%;
  border-radius: 0;
}

.page-poker__why-bet888-section,
.page-poker__game-selection-section,
.page-poker__tournaments-section,
.page-poker__bonuses-section,
.page-poker__strategy-section,
.page-poker__security-section,
.page-poker__join-community-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #000000;
}

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

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__promo-card,
.page-poker__highlight-card,
.page-poker__security-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__promo-card:hover,
.page-poker__highlight-card:hover,
.page-poker__security-item:hover {
  transform: translateY(-5px);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__promo-image,
.page-poker__highlight-image,
.page-poker__security-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__promo-title,
.page-poker__highlight-title,
.page-poker__security-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__promo-description,
.page-poker__highlight-description,
.page-poker__security-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-poker__read-more-link,
.page-poker__game-button,
.page-poker__promo-link {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-poker__read-more-link:hover,
.page-poker__game-button:hover,
.page-poker__promo-link:hover {
  color: #e0a53a;
}

.page-poker__game-button {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 6px;
  margin-top: 15px;
}

.page-poker__game-button:hover {
  background-color: #333333;
  color: #FCBC45;
}

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

.page-poker__cta-area {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-poker__cta-button--secondary {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__cta-button--secondary:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-poker__cta-button--tertiary {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__cta-button--tertiary:hover {
  background-color: #e0a53a;
}

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

.page-poker__strategy-article {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.page-poker__article-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

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

.page-poker__security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__security-icon {
  width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 150px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 60px 15px 0;
  }
  .page-poker__hero-container {
    padding: 60px 15px 30px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__promo-grid,
  .page-poker__tournament-highlights,
  .page-poker__strategy-content,
  .page-poker__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__why-bet888-section,
  .page-poker__game-selection-section,
  .page-poker__tournaments-section,
  .page-poker__bonuses-section,
  .page-poker__strategy-section,
  .page-poker__security-section,
  .page-poker__join-community-section {
    padding: 50px 15px;
  }
  .page-poker__cta-area {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__cta-button {
    width: 100%;
  }
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.95em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__promo-title,
  .page-poker__highlight-title,
  .page-poker__security-title,
  .page-poker__article-title {
    font-size: 1.3em;
  }
}