.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 content is below fixed header */
}

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

.page-poker__section--dark-bg {
  background-color: #000000; /* Main color as background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-poker__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section */
  font-weight: bold;
}

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

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

.page-poker__hero-content {
  max-width: 900px;
  z-index: 10;
  position: relative;
  padding-bottom: 40px;
}

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

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  white-space: nowrap;
}

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

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

.page-poker__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-poker__button--download:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-poker__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 15px;
}

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

.page-poker__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-poker__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-poker__text-content {
  flex: 1;
}

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

.page-poker__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.page-poker__image-wrapper--full-width {
  flex: none;
  width: 100%;
  margin-top: 40px;
}

.page-poker__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-poker__game-variant, .page-poker__advantage-card, .page-poker__step-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-variant:hover, .page-poker__advantage-card:hover, .page-poker__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.page-poker__game-title, .page-poker__advantage-title, .page-poker__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FCBC45; /* Accent color for titles */
}

.page-poker__game-description, .page-poker__advantage-description, .page-poker__step-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__button--play, .page-poker__button--view-all, .page-poker__button--join-live, .page-poker__button--learn-more, .page-poker__button--contact, .page-poker__button--step {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: auto; /* Push button to bottom */
}

.page-poker__button--play:hover, .page-poker__button--view-all:hover, .page-poker__button--join-live:hover, .page-poker__button--learn-more:hover, .page-poker__button--contact:hover, .page-poker__button--step:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-poker__button--view-all {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-poker__button--view-all:hover {
  background-color: #f0f0f0;
}

.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.3em;
  padding: 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #000000;
  margin: 0;
  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 {
  content: '-';
  transform: rotate(0deg);
}

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

.page-poker__faq-answer.open {
  display: block;
}

.page-poker__contact-support {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.page-poker__contact-support p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-poker__button--contact:hover {
  background-color: #333333;
}

.page-poker__final-cta-section {
  padding: 80px 20px;
}

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

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

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

.page-poker__button--login-account {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-poker__button--login-account:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-poker__text-content, .page-poker__image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-poker__image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__games-grid, .page-poker__advantages-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 1em;
  }
  .page-poker__game-variant, .page-poker__advantage-card, .page-poker__step-card {
    padding: 25px;
  }
  .page-poker__game-title, .page-poker__advantage-title, .page-poker__step-title {
    font-size: 1.4em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__faq-answer {
    font-size: 0.95em;
  }
  /* Mobile specific image sizing */
  .page-poker__image, .page-poker__game-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size is still applied */
    min-height: 200px; /* Ensure min size is still applied */
  }
  .page-poker__hero-image-wrapper {
    margin-top: 20px;
  }
  .page-poker__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}