.page-poker {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* White background as per body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-poker__hero-section {
  position: relative;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

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

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

.page-poker__btn {
  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, color 0.3s ease;
  border: 2px solid transparent;
}

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

.page-poker__btn--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-poker__btn--login {
  background-color: #FCBC45;
  color: #000000; /* Dark text for contrast on FCBC45 */
  border-color: #FCBC45;
}

.page-poker__btn--login:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__intro-section,
.page-poker__games-section,
.page-poker__strategy-section,
.page-poker__promotions-section,
.page-poker__mobile-section,
.page-poker__faq-section,
.page-poker__cta-section {
  padding: 80px 0;
}

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

.page-poker__intro-heading,
.page-poker__games-heading,
.page-poker__strategy-heading,
.page-poker__promotions-heading,
.page-poker__mobile-heading,
.page-poker__faq-heading,
.page-poker__cta-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-poker__intro-text,
.page-poker__games-intro,
.page-poker__promotions-intro,
.page-poker__strategy-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

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

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

.page-poker__feature-icon {
  width: 200px; /* Min size 200px */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

.page-poker__feature-description {
  font-size: 1em;
  color: #555555;
}

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

.page-poker__game-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.page-poker__game-card {
  display: flex;
  flex-direction: column;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: 400px; /* Fixed height for consistent look */
  object-fit: cover;
  display: block;
}

.page-poker__game-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-poker__game-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__btn--play {
  background-color: #FCBC45;
  color: #000000; /* Dark text for contrast */
  border-color: #FCBC45;
  align-self: flex-start;
}

.page-poker__btn--play:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

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

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

.page-poker__strategy-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-poker__strategy-description {
  font-size: 0.95em;
  color: #555555;
}

.page-poker__strategy-cta {
  text-align: center;
  margin-top: 60px;
}

.page-poker__strategy-cta-text {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #333333;
}

.page-poker__promotions-section {
  background-color: #FFFFFF;
}

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

.page-poker__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding-bottom: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-poker__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-poker__promo-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
  padding: 0 20px;
}

.page-poker__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-poker__btn--promo {
  background-color: #FCBC45;
  color: #000000; /* Dark text for contrast */
  border-color: #FCBC45;
  align-self: center;
}

.page-poker__btn--promo:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-poker__promotions-cta {
  text-align: center;
  margin-top: 60px;
}

.page-poker__btn--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-poker__btn--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-poker__mobile-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__mobile-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-poker__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-align: left;
}

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

.page-poker__mobile-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-poker__btn--download {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-poker__btn--download:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-poker__btn--primary {
  background-color: #FCBC45;
  color: #000000; /* Dark text for contrast */
  border-color: #FCBC45;
}

.page-poker__btn--primary:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-poker__mobile-image {
  flex: 1;
  min-width: 400px; /* Minimum image width */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

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

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

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

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

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

.page-poker__faq-cta {
  text-align: center;
  margin-top: 60px;
}

.page-poker__faq-cta-text {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #333333;
}

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

.page-poker__cta-heading {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-poker__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__intro-heading,
  .page-poker__games-heading,
  .page-poker__strategy-heading,
  .page-poker__promotions-heading,
  .page-poker__mobile-heading,
  .page-poker__faq-heading,
  .page-poker__cta-heading {
    font-size: 2em;
  }
  .page-poker__mobile-image {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 0;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__intro-section,
  .page-poker__games-section,
  .page-poker__strategy-section,
  .page-poker__promotions-section,
  .page-poker__mobile-section,
  .page-poker__faq-section,
  .page-poker__cta-section {
    padding: 60px 0;
  }
  .page-poker__intro-heading,
  .page-poker__games-heading,
  .page-poker__strategy-heading,
  .page-poker__promotions-heading,
  .page-poker__mobile-heading,
  .page-poker__faq-heading,
  .page-poker__cta-heading {
    font-size: 1.8em;
  }
  .page-poker__intro-text,
  .page-poker__games-intro,
  .page-poker__promotions-intro,
  .page-poker__strategy-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__game-card-grid,
  .page-poker__promo-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-poker__game-card {
    flex-direction: column;
  }
  .page-poker__game-image {
    height: 300px;
  }
  .page-poker__mobile-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-poker__mobile-heading {
    text-align: center;
  }
  .page-poker__mobile-description {
    text-align: center;
  }
  .page-poker__mobile-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__mobile-image {
    width: 100%;
    min-width: 200px; /* Ensure images are not too small */
    max-width: 100%;
    height: auto;
  }
  /* Enforce image sizing for content images to prevent overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__intro-heading,
  .page-poker__games-heading,
  .page-poker__strategy-heading,
  .page-poker__promotions-heading,
  .page-poker__mobile-heading,
  .page-poker__faq-heading,
  .page-poker__cta-heading {
    font-size: 1.5em;
  }
  .page-poker__game-image {
    height: 250px;
  }
  .page-poker__promo-image {
    height: 200px;
  }
  .page-poker__cta-heading {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
}