.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); /* Ensures content starts below fixed header */
}

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

.page-poker__hero-section {
  background-color: #000000; /* Primary color background for hero */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for accent */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.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;
  justify-content: center;
  gap: 20px;
}

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

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

.page-poker__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

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

.page-poker__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-poker__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__strategy-section, .page-poker__mobile-section, .page-poker__bonuses-section, .page-poker__security-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 60px 0;
}

.page-poker__about-section, .page-poker__strategy-section, .page-poker__security-section, .page-poker__faq-section {
  background-color: #f8f8f8; /* Light background for content sections */
}

.page-poker__games-section, .page-poker__bonuses-section, .page-poker__cta-section {
  background-color: #FFFFFF;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

.page-poker__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards are large enough */
}

.page-poker__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, will be covered by object-fit */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-poker__card-description {
  color: #666666;
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__button--play, .page-poker__button--view, .page-poker__button--learn-more, .page-poker__button--all-promos, .page-poker__button--contact-support, .page-poker__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 5px;
  margin-top: auto; /* Push button to bottom of card */
}

.page-poker__button--play:hover, .page-poker__button--view:hover, .page-poker__button--learn-more:hover, .page-poker__button--all-promos:hover, .page-poker__button--contact-support:hover, .page-poker__button--join-now:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-poker__strategy-item {
  background-color: #ffffff;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
}

.page-poker__mobile-container {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-poker__mobile-text-content {
  flex: 1;
}

.page-poker__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-poker__button--download {
  margin-top: 30px;
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-poker__button--download:hover {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

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

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

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

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
}

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

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

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

.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-title::after {
  background-color: #FCBC45;
}

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

.page-poker__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.2em;
  padding: 15px 40px;
  margin-top: 30px;
}

.page-poker__button--join-now:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__mobile-container {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-image {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 20px 30px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-text {
    font-size: 1em;
  }
  .page-poker__card {
    min-height: auto;
  }
  /* Mobile content area image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__card-image {
    height: 200px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    width: 95%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  .page-poker__faq-answer {
    font-size: 0.9em;
  }
  .page-poker__card-image {
    height: 180px;
  }
}