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

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

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

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  /* Removed filter to comply with rule: keep original color */
  filter: none;
}

.page-poker__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

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

.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, color 0.3s ease;
  white-space: nowrap;
}

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

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

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

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

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

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__promotions-section,
.page-poker__mobile-section,
.page-poker__get-started-section,
.page-poker__testimonials-section,
.page-poker__cta-section {
  padding: 80px 0;
}

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

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

.page-poker__feature-item,
.page-poker__game-card,
.page-poker__promo-card,
.page-poker__step-item,
.page-poker__testimonial-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max-width for smaller images in grid */
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-poker__game-image,
.page-poker__promo-image {
  max-width: 600px; /* Max-width for larger images in grid */
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__promo-title,
.page-poker__step-title,
.page-poker__mobile-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__promo-description,
.page-poker__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__button--play,
.page-poker__button--claim,
.page-poker__button--deposit,
.page-poker__button--join,
.page-poker__button--step {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: auto;
}

.page-poker__button--play:hover,
.page-poker__button--claim:hover,
.page-poker__button--deposit:hover,
.page-poker__button--join:hover,
.page-poker__button--step:hover {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-poker__mobile-section .page-poker__section-title,
.page-poker__mobile-section .page-poker__section-intro {
  color: #FFFFFF;
}

.page-poker__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.page-poker__mobile-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-poker__mobile-features {
  max-width: 500px;
  text-align: left;
}

.page-poker__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-poker__feature-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
}

.page-poker__feature-list li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-poker__button--download-app {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 15px 30px;
  font-size: 1.2em;
  margin-top: 20px;
}

.page-poker__button--download-app:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-poker__step-item {
  position: relative;
  padding-top: 60px;
}

.page-poker__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #000000;
}

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

.page-poker__testimonial-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-left: 5px solid #FCBC45;
  text-align: left;
}

.page-poker__testimonial-text {
  font-style: italic;
  color: #444444;
  margin-bottom: 20px;
}

.page-poker__testimonial-author {
  font-weight: bold;
  color: #000000;
}

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

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

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

.page-poker__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 35px;
  font-size: 1.3em;
}

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

.page-poker__button--learn-more {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-poker__button--learn-more:hover {
  background-color: #FFFFFF;
  color: #000000;
}

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__promos-grid,
  .page-poker__steps-grid,
  .page-poker__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-features {
    text-align: center;
  }
  .page-poker__feature-list {
    padding-left: 0;
  }
  .page-poker__feature-list li {
    padding-left: 0;
    text-align: center;
  }
  .page-poker__feature-list li::before {
    position: static;
    margin-right: 10px;
  }
  .page-poker__mobile-image {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
    height: auto; /* Ensure aspect ratio is maintained */
  }
  .page-poker__button--download-app {
    width: 80%;
    margin: 20px auto 0 auto;
  }
  .page-poker__cta-actions {
    flex-direction: column;
  }
  .page-poker__button--register-large,
  .page-poker__button--learn-more {
    width: 80%;
    margin: 0 auto;
  }
  /* Ensure all images in content area are responsive and not smaller than 200px */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for all content images */
    min-height: 200px; /* Enforce minimum height for all content images */
  }
}

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