.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
  color: #333333; /* Dark text on light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensure consistency with body background if needed for specific sections */
}

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

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

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

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-poker__button--register,
.page-poker__button--register-small,
.page-poker__button--register-large {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-poker__button--register:hover,
.page-poker__button--register-small:hover,
.page-poker__button--register-large:hover {
  background-color: #f0f0f0;
}

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

.page-poker__button--login:hover,
.page-poker__button--login-large:hover {
  background-color: #e0a030;
}

.page-poker__button--explore,
.page-poker__button--play,
.page-poker__button--play-small,
.page-poker__button--join,
.page-poker__button--claim,
.page-poker__button--download,
.page-poker__button--deposit {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--explore:hover,
.page-poker__button--play:hover,
.page-poker__button--play-small:hover,
.page-poker__button--join:hover,
.page-poker__button--claim:hover,
.page-poker__button--download:hover,
.page-poker__button--deposit:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #FFFFFF;
  text-align: center;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Why Choose Us Section */
.page-poker__why-choose-us {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-poker__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-poker__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-poker__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Popular Games Section */
.page-poker__popular-games {
  padding: 80px 0;
}

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

.page-poker__game-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-poker__game-image {
  width: 100%;
  height: auto;
  max-height: 350px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-poker__game-title {
  font-size: 2em;
  color: #000000;
  margin: 25px 0 15px 0;
}

.page-poker__game-description {
  padding: 0 25px 25px 25px;
  color: #555555;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__button {
  margin: 0 25px 25px 25px;
  align-self: center;
  width: calc(100% - 50px);
}

/* Tournaments & Promotions Section */
.page-poker__tournaments-promo {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-poker__promo-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-poker__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

/* Mobile Experience Section */
.page-poker__mobile-experience {
  padding: 80px 0;
}

.page-poker__container--mobile {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

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

.page-poker__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

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

.page-poker__mobile-benefit-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #333333;
}

.page-poker__mobile-benefit-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FCBC45;
}

/* Secure Gaming Section */
.page-poker__secure-gaming {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-poker__security-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-poker__security-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__security-description {
  font-size: 0.95em;
  color: #555555;
}

.page-poker__security-description a {
  color: #000000;
  text-decoration: underline;
}

.page-poker__security-description a:hover {
  color: #FCBC45;
}

/* Getting Started Section */
.page-poker__getting-started {
  padding: 80px 0;
}

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

.page-poker__step-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-poker__step-number {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-poker__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-poker__faq {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

.page-poker__faq-question {
  font-size: 1.4em;
  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.2em;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

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

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

.page-poker__faq-answer a {
  color: #000000;
  text-decoration: underline;
}

.page-poker__faq-answer a:hover {
  color: #FCBC45;
}

/* Final Call to Action */
.page-poker__cta-final {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-poker__cta-final .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__cta-final .page-poker__section-intro {
  color: #f0f0f0;
}

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

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

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

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

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

  .page-poker__hero-buttons {
    flex-direction: column;
  }

  .page-poker__container--mobile {
    flex-direction: column;
  }

  .page-poker__mobile-image {
    order: -1; /* Image appears above content on mobile */
  }

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

  .page-poker__hero-section {
    min-height: 450px;
    padding: 40px 15px;
  }

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

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

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

  .page-poker__game-card .page-poker__button {
    width: auto;
  }

  .page-poker__button {
    width: 100%;
    box-sizing: border-box;
  }

  .page-poker__hero-buttons a {
    width: 100%;
  }

  .page-poker__cta-buttons a {
    width: 100%;
  }
}