.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF;
  line-height: 1.6;
}

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

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

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

.page-poker__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.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, transform 0.2s ease;
  white-space: nowrap;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

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

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

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

.page-poker__button--center {
  margin: 30px auto 0 auto;
  display: block;
  width: fit-content;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

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

.page-poker__feature-card, .page-poker__game-card, .page-poker__promo-card, .page-poker__strategy-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__feature-card:hover, .page-poker__game-card:hover, .page-poker__promo-card:hover, .page-poker__strategy-card:hover {
  transform: translateY(-8px);
}

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

.page-poker__card-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.5;
}

.page-poker__content-image {
  width: 100%;
  height: auto;
  max-width: 900px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  color: #444444;
}

.page-poker__card-link {
  display: inline-block;
  margin-top: 20px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__card-link:hover {
  color: #e0a53a;
  text-decoration: underline;
}

.page-poker__tournament-list, .page-poker__security-list, .page-poker__mobile-features-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-poker__list-item {
  background-color: #F8F8F8;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #444444;
}

.page-poker__list-item strong {
  color: #000000;
}

.page-poker__mobile-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

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

.page-poker__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

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

.page-poker__mobile-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-poker__mobile-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-poker__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #EFEFEF;
  font-weight: bold;
}

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

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

.page-poker__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

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

.page-poker__faq-answer p {
  margin: 0;
  color: #666666;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__mobile-layout {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-image-wrapper {
    order: -1; /* Image above text on mobile */
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__hero-actions, .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-poker__feature-grid, .page-poker__game-grid, .page-poker__promo-grid, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__content-area {
    padding: 20px 15px;
  }
  .page-poker__hero-image, .page-poker__content-image, .page-poker__mobile-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  /* Ensure all images within .page-poker are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Minimum display size */
    min-height: 200px; /* Minimum display size */
  }
  .page-poker__faq-item.active .page-poker__faq-answer {
    max-height: 300px; /* Increased for mobile content */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__button {
    font-size: 1em;
  }
  .page-poker__card-title {
    font-size: 1.4em;
  }
  .page-poker__list-item, .page-poker__faq-question, .page-poker__faq-answer p {
    font-size: 0.95em;
  }
}