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

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

.page-poker__section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__section--dark {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__section--alt-bg {
  background-color: #f5f5f5; /* A very light grey for subtle contrast */
  color: #333333;
}

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

.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;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

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

.page-poker__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.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;
  cursor: pointer;
  border: none;
}

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

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

.page-poker__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

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

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

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-poker__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

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

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

.page-poker__section--dark .page-poker__section-description {
  color: #cccccc;
}

.page-poker__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-poker__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-poker__content-grid--reverse .page-poker__text-content {
  order: 2;
}

.page-poker__content-grid--reverse .page-poker__image {
  order: 1;
}

.page-poker__text-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-poker__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #FFFFFF;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-poker__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__button {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
}

.page-poker__game-card .page-poker__button:hover {
  background-color: #e6a73a;
}

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

.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;
  padding: 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #000000;
  margin: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
  display: none;
}

.page-poker__cta-section {
  background: linear-gradient(135deg, #000000, #333333);
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-poker__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

  .page-poker__intro-text {
    font-size: 1.1em;
  }

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

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

  .page-poker__content-grid--reverse .page-poker__text-content,
  .page-poker__content-grid--reverse .page-poker__image {
    order: unset; /* Reset order for smaller screens */
  }

  .page-poker__image--left,
  .page-poker__image--right {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
  }

  .page-poker__hero-content {
    padding: 25px;
  }

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

  .page-poker__intro-text {
    font-size: 1em;
  }

  .page-poker__section {
    padding: 40px 0;
  }

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

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

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

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

  .page-poker__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__game-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__card-image {
    max-width: 100%;
    height: 180px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-poker__faq-answer {
    padding: 0 15px 15px;
  }

  .page-poker__cta-section {
    padding: 60px 20px;
  }

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