.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF; /* Default background for the page content */
  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: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.5;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

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

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

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

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

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay effect */
  display: block;
}

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

.page-poker__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.page-poker__games-section,
.page-poker__strategy-section,
.page-poker__tournaments-section,
.page-poker__community-section,
.page-poker__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-poker__game-card,
.page-poker__strategy-article,
.page-poker__tournament-card,
.page-poker__community-feature {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-poker__game-card-image,
.page-poker__strategy-image,
.page-poker__community-image {
  width: 100%;
  height: 250px; /* Consistent height for card images */
  object-fit: cover;
  display: block;
}

.page-poker__game-card-title,
.page-poker__strategy-article-title,
.page-poker__tournament-card-title,
.page-poker__community-feature-title {
  font-size: 1.5em;
  color: #000000;
  margin: 20px 15px 10px 15px;
  line-height: 1.3;
}

.page-poker__game-card-title a,
.page-poker__strategy-article-title a {
  color: #000000;
  text-decoration: none;
}

.page-poker__game-card-title a:hover,
.page-poker__strategy-article-title a:hover {
  text-decoration: underline;
}

.page-poker__game-card-text,
.page-poker__strategy-article-text,
.page-poker__tournament-card-text,
.page-poker__community-feature-text {
  font-size: 1em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__button--learn,
.page-poker__tournament-card .page-poker__button--join {
  margin-top: auto;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  width: auto;
  align-self: center;
  margin-bottom: 20px;
}

.page-poker__game-card .page-poker__button--learn:hover,
.page-poker__tournament-card .page-poker__button--join:hover {
  background-color: #e0a53b;
}

.page-poker__view-more {
  text-align: center;
  margin-top: 40px;
}

.page-poker__button--view-all {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
}

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

.page-poker__community-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-poker__button--contact,
.page-poker__button--faq {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
}

.page-poker__button--contact:hover,
.page-poker__button--faq:hover {
  background-color: #333333;
}

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

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

.page-poker__cta-section .page-poker__section-description {
  color: #f0f0f0;
}

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

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

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

/* Responsive adjustments */
@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-section {
    padding: 60px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px; /* Constrain button width on small screens */
  }
  .page-poker__games-section,
  .page-poker__strategy-section,
  .page-poker__tournaments-section,
  .page-poker__community-section,
  .page-poker__cta-section {
    padding: 40px 15px;
  }
  .page-poker__game-grid,
  .page-poker__strategy-grid,
  .page-poker__tournament-cards,
  .page-poker__community-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-poker__game-card-image,
  .page-poker__strategy-image,
  .page-poker__community-image {
    height: 200px;
  }
  .page-poker__game-card-text,
  .page-poker__strategy-article-text,
  .page-poker__tournament-card-text,
  .page-poker__community-feature-text {
    padding: 0 15px;
  }
  .page-poker__community-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile content area image safety */
  .page-poker img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

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