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

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

.page-poker__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-poker__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.page-poker__button {
  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;
  border: 2px solid transparent;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border-color: #FCBC45;
}

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

.page-poker__button--secondary {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.page-poker__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

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

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

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

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-poker__about-section,
.page-poker__how-to-start-section,
.page-poker__game-types-section,
.page-poker__bonuses-section,
.page-poker__security-section,
.page-poker__download-section,
.page-poker__faq-section,
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #ffffff; /* Consistent light background */
}

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

.page-poker__features-grid,
.page-poker__steps-grid,
.page-poker__game-cards-grid,
.page-poker__bonuses-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-poker__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-poker__feature-card,
.page-poker__step-card,
.page-poker__game-card,
.page-poker__bonus-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-card:hover,
.page-poker__step-card:hover,
.page-poker__game-card:hover,
.page-poker__bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__bonus-card img,
.page-poker__download-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-poker__feature-title,
.page-poker__step-title,
.page-poker__game-title,
.page-poker__bonus-title,
.page-poker__security-item-title,
.page-poker__faq-question {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-description,
.page-poker__step-description,
.page-poker__game-description,
.page-poker__bonus-description,
.page-poker__security-item-description,
.page-poker__faq-answer {
  font-size: 1em;
  color: #666666;
}

.page-poker__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-poker__step-number {
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-poker__game-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-poker__bonuses-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-poker__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

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

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

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

.page-poker__download-section {
  text-align: center;
  background-color: #000000; /* Dark background for download section */
  color: #ffffff;
}

.page-poker__download-section .page-poker__section-title,
.page-poker__download-section .page-poker__section-intro {
  color: #ffffff;
}

.page-poker__download-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

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

.page-poker__download-image {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.page-poker__download-image img {
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(252, 188, 69, 0.3);
  width: 400px; /* Explicit width for display */
  height: 300px; /* Explicit height for display */
  object-fit: contain; /* Ensure image fits without cropping */
}

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

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

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

.page-poker__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__faq-question::after {
  content: '+';
  font-size: 1.2em;
  margin-left: 10px;
  color: #FCBC45;
}

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

.page-poker__faq-item.page-poker__faq-item--active .page-poker__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
}

.page-poker__faq-item.page-poker__faq-item--active .page-poker__faq-question::after {
  content: '-';
}

.page-poker__cta-section {
  background-color: #000000; /* Dark background for final CTA */
  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-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

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

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

  .page-poker__game-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .page-poker__security-list {
    grid-template-columns: 1fr;
  }
}

@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__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }

  .page-poker__container {
    padding: 0 15px;
  }

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

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

  .page-poker__features-grid,
  .page-poker__steps-grid,
  .page-poker__game-cards-grid,
  .page-poker__bonuses-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-card img,
  .page-poker__game-card img,
  .page-poker__bonus-card img,
  .page-poker__download-image img {
    max-width: 100%;
    height: auto;
    width: auto; /* Allow auto width for mobile responsiveness */
  }

  .page-poker__download-image img {
    max-width: 300px; /* Adjust max-width for mobile */
    width: 100%; /* Ensure it doesn't overflow */
    height: auto;
  }

  /* Ensure all content area images are responsive and do not cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }

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