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

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

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

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

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

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

.page-poker__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.6);
}

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

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

.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, transform 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

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

.page-poker__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-poker__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-2px);
}

.page-poker__about-section,
.page-poker__games-section,
.page-poker__get-started-section,
.page-poker__tournaments-section,
.page-poker__security-section,
.page-poker__mobile-section,
.page-poker__faq-section,
.page-poker__cta-section {
  padding: 60px 0;
}

.page-poker__games-section,
.page-poker__get-started-section,
.page-poker__tournaments-section,
.page-poker__security-section,
.page-poker__mobile-section {
  background-color: #f8f8f8;
}

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

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

.page-poker__game-card:hover,
.page-poker__step-card:hover,
.page-poker__feature-item:hover {
  transform: translateY(-5px);
}

.page-poker__game-card img,
.page-poker__feature-item img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-poker__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-poker__cta-row {
  text-align: center;
  margin-top: 50px;
}

.page-poker__tournament-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-poker__feature-item {
  flex: 1 1 300px;
  min-width: 200px; /* Ensure feature item images are not too small */
}

.page-poker__feature-title {
  font-size: 1.4em;
  color: #000000;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-poker__feature-text {
  color: #555555;
}

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

.page-poker__mobile-content img {
  flex: 1 1 400px;
  max-width: 500px;
  min-width: 200px;
  min-height: 200px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__mobile-features {
  flex: 1 1 400px;
  text-align: left;
}

.page-poker__mobile-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-poker__feature-list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

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

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

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

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

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5em;
  line-height: 1;
  color: #FCBC45;
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, JavaScript will toggle */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

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

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

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

.page-poker__cta-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__cta-section .page-poker__section-description {
  color: #f0f0f0;
}

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

/* Ensure links within text are styled */
.page-poker__section-description a,
.page-poker__card-text a,
.page-poker__feature-list-item a,
.page-poker__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__section-description a:hover,
.page-poker__card-text a:hover,
.page-poker__feature-list-item a:hover,
.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@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-section {
    padding: 60px 20px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons,
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
  }
  .page-poker__game-grid,
  .page-poker__steps-grid,
  .page-poker__security-features {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-content {
    flex-direction: column;
  }
  .page-poker__mobile-content img {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__mobile-features {
    text-align: center;
  }
  .page-poker__feature-list-item {
    padding-left: 0;
    text-align: left;
  }
  .page-poker__feature-list-item::before {
    left: -20px;
  }

  /* Mobile content area images must not overflow */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

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