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

.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;
  padding: 80px 20px;
  text-align: center;
  background-color: #000000; /* Main color as background for hero */
  color: #FFFFFF; /* Light text on dark background */
  overflow: hidden;
}

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the image to make text pop */
}

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

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-poker__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* White text for contrast */
  border: 2px solid #FFFFFF;
}

.page-poker__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-poker__button--centered {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000; /* Dark text for sections */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

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

.page-poker__game-types, .page-poker__tournaments-promotions, .page-poker__strategy-guide, .page-poker__why-choose-us, .page-poker__faq {
  padding: 60px 0;
}

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

.page-poker__game-card, .page-poker__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover, .page-poker__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  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: #666666;
  margin-bottom: 20px;
}

.page-poker__card-button {
  display: inline-block;
  background-color: #000000; /* Main color for card buttons */
  color: #FFFFFF; /* White text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-poker__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-poker__article-link {
  color: #000000;
  text-decoration: none;
}

.page-poker__article-link:hover {
  text-decoration: underline;
  color: #FCBC45;
}

.page-poker__article-excerpt {
  color: #666666;
  font-size: 0.95em;
}

.page-poker__why-choose-us {
  background-color: #000000; /* Dark background for this section */
  color: #FFFFFF; /* Light text */
}

.page-poker__why-choose-us .page-poker__section-title, .page-poker__why-choose-us .page-poker__section-description {
  color: #FFFFFF;
}

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

.page-poker__feature-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
  border-radius: 10px;
}

.page-poker__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  /* No filter property to change color */
}

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

.page-poker__feature-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

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

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

.page-poker__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-poker__faq-answer.open {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
  }
  .page-poker__game-grid, .page-poker__promo-grid, .page-poker__strategy-articles, .page-poker__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__game-card, .page-poker__promo-card, .page-poker__article-card, .page-poker__feature-item, .page-poker__faq-item {
    padding: 20px;
  }

  /* Mobile content area image restriction */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content area images are never smaller than 200px in display */
.page-poker__game-card .page-poker__card-image,
.page-poker__promo-card .page-poker__card-image {
    min-width: 200px;
    min-height: 200px;
}

.page-poker__feature-icon {
    min-width: 60px; /* Icons are allowed smaller than 200px if they are explicitly 'icon' type, but still within a reasonable size */
    min-height: 60px;
}

/* General image rules for content area to prevent small sizes */
.page-poker__container img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensures images fill their space without distortion */
}

/* Override specific icon sizes if they are part of content and not just decorative */
.page-poker__feature-icon {
    width: 80px; /* Actual display size for feature icons */
    height: 80px;
    min-width: 80px; /* Ensure they don't get smaller */
    min-height: 80px;
}