.page-poker {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #1A1A2E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 700px;
  overflow: hidden;
}

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

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

.page-poker__cta-button {
  display: inline-block;
  background-color: #E9B000;
  color: #1A1A2E;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin: 10px;
  min-width: 200px; /* Ensure button minimum size */
}

.page-poker__cta-button:hover {
  background-color: #ffc933;
}

.page-poker__cta-button--secondary {
  background-color: #1A1A2E;
  color: #E9B000;
  border: 2px solid #E9B000;
}

.page-poker__cta-button--secondary:hover {
  background-color: #E9B000;
  color: #1A1A2E;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #E9B000;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
}

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__strategy-section,
.page-poker__promo-section,
.page-poker__security-section,
.page-poker__download-section,
.page-poker__faq-section,
.page-poker__cta-bottom-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-poker__games-section,
.page-poker__promo-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  border-radius: 10px;
  margin: 80px auto;
}

.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__game-card,
.page-poker__promo-card {
  background-color: #1A1A2E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards are large enough */
}

.page-poker__game-card-image,
.page-poker__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__game-card-title,
.page-poker__promo-card-title {
  font-size: 1.8em;
  color: #E9B000;
  margin-bottom: 15px;
}

.page-poker__game-card-description,
.page-poker__promo-card-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__game-card-button,
.page-poker__promo-card-button {
  display: inline-block;
  background-color: #E9B000;
  color: #1A1A2E;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-poker__game-card-button:hover,
.page-poker__promo-card-button:hover {
  background-color: #ffc933;
}

.page-poker__tournament-image {
  width: 100%;
  height: auto;
  max-width: 900px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-poker__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-poker__strategy-list-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #E9B000;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-poker__download-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  background-color: #1A1A2E;
  padding: 100px 20px;
  border-radius: 10px;
  margin: 80px auto;
}

.page-poker__download-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-poker__download-image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-poker__download-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__download-content .page-poker__section-title {
  text-align: left;
  margin-top: 0;
}

.page-poker__download-content .page-poker__section-text {
  text-align: left;
  margin-left: 0;
}

.page-poker__faq-section {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 80px auto;
}

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

.page-poker__faq-question {
  font-size: 1.4em;
  color: #E9B000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px; /* Space for arrow */
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #E9B000;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #cccccc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding-left: 10px;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 15px;
}

.page-poker__cta-bottom-section {
  text-align: center;
  padding-bottom: 100px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 600px;
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: unset;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-text {
    font-size: 1em;
  }
  .page-poker__game-card,
  .page-poker__promo-card {
    min-height: unset;
  }
  .page-poker__game-card-image,
  .page-poker__promo-card-image {
    height: 180px;
  }
  .page-poker__tournament-image {
    height: auto;
  }
  .page-poker__download-image {
    height: auto;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  /* Ensure content images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__cta-button {
    margin: 5px;
    display: block;
    width: calc(100% - 20px);
  }
  .page-poker__game-card-image,
  .page-poker__promo-card-image {
    height: 150px;
  }
}