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

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

.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  overflow: hidden;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-poker__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__about-section,
.page-poker__game-modes-section,
.page-poker__strategy-section,
.page-poker__security-section,
.page-poker__mobile-section,
.page-poker__faq-section {
  padding: 60px 0;
}

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

.page-poker__about-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

.page-poker__game-mode-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-poker__game-mode-image {
  width: 100%;
  height: 200px; /* Display height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-poker__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-poker__card-button:hover {
  background-color: #e0a53b;
}

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

.page-poker__strategy-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.page-poker__strategy-image {
  width: 100%;
  height: 180px; /* Display height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-poker__item-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__item-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__item-link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

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

.page-poker__security-section .page-poker__section-title,
.page-poker__security-section .page-poker__section-text {
  color: #FFFFFF;
}

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

.page-poker__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-poker__security-section .page-poker__card-title {
  color: #FCBC45;
}

.page-poker__security-section .page-poker__card-text {
  color: #f0f0f0;
}

.page-poker__security-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__security-button:hover {
  background-color: #e0a53b;
}

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

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

.page-poker__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-poker__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-poker__mobile-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  margin-right: 15px;
  transition: background-color 0.3s ease;
}

.page-poker__mobile-button:hover {
  background-color: #e0a53b;
}

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

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

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

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

.page-poker__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 50px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-poker__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
}

.page-poker__faq-question.active + .page-poker__faq-answer {
  display: block;
}

.page-poker__faq-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

  .page-poker__hero-description {
    font-size: 1.1em;
  }

  .page-poker__section-title {
    font-size: 2em;
  }

  .page-poker__game-mode-card,
  .page-poker__strategy-item {
    padding: 20px;
  }

  .page-poker__card-title,
  .page-poker__item-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 20px 30px;
  }

  .page-poker__hero-title {
    font-size: 2.2em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__section-text {
    font-size: 0.95em;
  }

  .page-poker__game-modes-grid,
  .page-poker__strategy-grid,
  .page-poker__security-features {
    grid-template-columns: 1fr;
  }

  .page-poker__mobile-flex {
    flex-direction: column;
  }

  .page-poker__mobile-content {
    text-align: center;
  }

  .page-poker__mobile-button {
    margin-right: 0;
    margin-bottom: 15px;
    width: calc(100% - 30px); /* Adjust for padding */
  }

  .page-poker__cta-title {
    font-size: 2.5em;
  }

  .page-poker__cta-description {
    font-size: 1em;
  }

  .page-poker__cta-button {
    padding: 15px 40px;
    font-size: 1.2em;
  }

  /* Ensure content images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
  }
  /* Specific image sizing for content area */
  .page-poker__game-mode-image,
  .page-poker__strategy-image,
  .page-poker__feature-icon {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    width: 100%; /* Allow flexibility while respecting min-width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
  }

  .page-poker__feature-icon {
    width: 80px; /* Restore specific icon size but ensure it's not smaller than 200px if selected by a general img rule */
    height: 80px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Override for feature-icon to ensure it meets min-size requirement if general img rule is applied */
  .page-poker__feature-card .page-poker__feature-icon {
    width: auto;
    height: auto;
    max-width: 200px; /* Ensure it doesn't get too big */
    max-height: 200px; /* Ensure it doesn't get too big */
    min- /* Original size, but still respecting the >=200px rule for images if selected by a broader selector */
    min-
  }

  /* Adjustments for the specific case where feature icons are small but general img rule applies */
  /* To ensure feature icons are not smaller than 200px if a general img rule is applied */
  .page-poker__security-features .page-poker__feature-icon {
    width: 200px; /* Explicitly set to meet minimum requirement */
    height: 200px; /* Explicitly set to meet minimum requirement */
    object-fit: contain;
  }

}