/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Ensures a consistent background if shared.css doesn't set it */
}

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

/* Header offset for fixed header - applied to the first main content section */
.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

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

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

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

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

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

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

.page-poker__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__btn {
  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, color 0.3s ease;
  text-align: center;
}

.page-poker__btn--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-poker__btn--secondary {
  background-color: transparent;
  color: #000000; /* Default dark text for light background */
  border: 2px solid #000000; /* Default dark border for light background */
}

.page-poker__hero-section .page-poker__btn--secondary {
  color: #FFFFFF; /* Override for dark hero section */
  border-color: #FFFFFF; /* Override for dark hero section */
}

.page-poker__btn--secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__intro-section, .page-poker__strategy-section, .page-poker__bonuses-section, .page-poker__mobile-section, .page-poker__why-choose-section, .page-poker__responsible-gaming-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__intro-section .page-poker__btn,
.page-poker__strategy-section .page-poker__btn,
.page-poker__bonuses-section .page-poker__btn,
.page-poker__mobile-section .page-poker__btn,
.page-poker__responsible-gaming-section .page-poker__btn,
.page-poker__cta-section .page-poker__btn {
  margin-top: 20px;
}

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

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

.page-poker__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-poker__game-card-title {
  font-size: 1.5em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

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

.page-poker__game-card .page-poker__btn--small {
  font-size: 0.9em;
  padding: 10px 15px;
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
  box-sizing: border-box;
}

.page-poker__strategy-image,
.page-poker__bonuses-image,
.page-poker__mobile-image,
.page-poker__responsible-gaming-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-poker__feature-item {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-poker__feature-item::before {
  content: '✔';
  color: #FCBC45;
  font-size: 1.3em;
}

.page-poker__faq-grid {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.page-poker__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-poker__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

@media (max-width: 768px) {
  .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: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-content {
    font-size: 1em;
  }
  .page-poker__game-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-list {
    grid-template-columns: 1fr;
  }
  .page-poker__faq-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area images must be responsive and not cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no image under .page-poker is smaller than 200px display size */
  .page-poker__game-card-image {
    height: auto; /* Allow auto height for mobile responsiveness */
    min-height: 200px; /* Ensure minimum display size */
    width: 100%;
    object-fit: cover;
  }
  .page-poker__strategy-image,
  .page-poker__bonuses-image,
  .page-poker__mobile-image,
  .page-poker__responsible-gaming-image {
    min-height: 200px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
}

/* Ensure no filter is used on images */
.page-poker img {
  filter: none; /* Explicitly disable any potential filter */
}

/* Ensure content area images are not small */
.page-poker__game-card-image, 
.page-poker__strategy-image, 
.page-poker__bonuses-image, 
.page-poker__mobile-image, 
.page-poker__responsible-gaming-image {
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
}