.page-poker {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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__section-title {
  font-size: 2.5em;
  color: #0A1931;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.05em;
  cursor: pointer;
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #0A1931;
  color: #FFD700;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-poker__hero-buttons .page-poker__button--primary {
  background-color: #FFD700;
  color: #0A1931;
  border-color: #FFD700;
}

.page-poker__hero-buttons .page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-poker__hero-buttons .page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

/* About Poker Section */
.page-poker__about-poker {
  padding: 80px 0;
  background-color: #f8f8f8;
}

/* Poker Variants Section */
.page-poker__poker-variants {
  padding: 80px 0;
}

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

.page-poker__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-poker__card-title {
  font-size: 1.5em;
  color: #0A1931;
  margin: 20px 15px 10px;
}

.page-poker__card-title .page-poker__card-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-poker__card-title .page-poker__card-link:hover {
  color: #FFD700;
}

.page-poker__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-poker__card .page-poker__button {
  margin: 0 15px 20px;
}

/* Strategy & Tips Section */
.page-poker__strategy-tips {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-poker__image-full-width {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
  display: block;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

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

.page-poker__strategy-subtitle {
  font-size: 1.4em;
  color: #0A1931;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Tournaments & Jackpots Section */
.page-poker__tournaments-jackpots {
  padding: 80px 0;
}

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

.page-poker__tournament-item {
  background-color: #0A1931;
  color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-poker__tournament-subtitle {
  font-size: 1.4em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
}

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

/* Security & Fair Play Section */
.page-poker__security-fair-play {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

.page-poker__security-subtitle {
  font-size: 1.4em;
  color: #0A1931;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Bonuses & Promotions Section */
.page-poker__bonuses-promotions {
  padding: 80px 0;
}

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

.page-poker__bonus-item {
  background-color: #0A1931;
  color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-poker__bonus-subtitle {
  font-size: 1.4em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
}

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

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

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

.page-poker__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.2em;
  color: #0A1931;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  background-color: #fdfdfd;
  position: relative;
}

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

.page-poker__faq-item.active .page-poker__faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

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

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 200px; /* Adjust based on expected content length */
  padding: 15px 25px 20px;
}

/* Final CTA Section */
.page-poker__cta-final {
  padding: 80px 0;
  background-color: #0A1931;
  color: #ffffff;
  text-align: center;
}

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

.page-poker__cta-final .page-poker__text-content {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2em;
}

.page-poker__cta-final .page-poker__button--primary {
  background-color: #FFD700;
  color: #0A1931;
  border-color: #FFD700;
}

.page-poker__cta-final .page-poker__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-poker__cta-final .page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-poker__cta-final .page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

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

@media (max-width: 768px) {
  .page-poker__hero-container {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__card-grid, .page-poker__tournament-types, .page-poker__security-features, .page-poker__bonus-list {
    grid-template-columns: 1fr;
  }
  .page-poker__image-full-width {
    max-height: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-content {
    font-size: 1em;
  }
  /* Content area images must be responsive and not cause horizontal scroll */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-poker__faq-question::after {
    right: 20px;
  }
}