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

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

.page-poker__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-poker__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

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

.page-poker__hero-actions {
  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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* White text for dark background */
  border: 2px solid #FFFFFF;
}

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

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

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

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

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

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

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__why-choose-section,
.page-poker__faq-section {
  padding: 80px 0;
}

.page-poker__about-section {
  background-color: #F8F8F8;
}

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

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

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__benefit-item:hover,
.page-poker__highlight-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__benefit-icon,
.page-poker__highlight-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it's a block element */
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__benefit-title,
.page-poker__highlight-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__benefit-description,
.page-poker__highlight-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

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

.page-poker__tournaments-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__tournaments-section .page-poker__section-title,
.page-poker__tournaments-section .page-poker__section-text {
  color: #FFFFFF;
}

.page-poker__tournaments-section .page-poker__highlight-item {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.page-poker__tournaments-section .page-poker__highlight-title {
  color: #FCBC45;
}

.page-poker__tournaments-section .page-poker__highlight-description {
  color: #E0E0E0;
}

.page-poker__why-choose-section {
  background-color: #F8F8F8;
}

.page-poker__cta-section {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text for FCBC45 background */
  padding: 80px 20px;
  text-align: center;
}

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

.page-poker__cta-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-poker__cta-actions .page-poker__button--primary {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-poker__cta-actions .page-poker__button--primary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-poker__cta-actions .page-poker__button--secondary {
  background-color: transparent;
  color: #000000;
  border-color: #000000;
}

.page-poker__cta-actions .page-poker__button--secondary:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.page-poker__faq-section {
  background-color: #FFFFFF;
}

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

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

.page-poker__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-poker__link {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__tournaments-section,
  .page-poker__why-choose-section,
  .page-poker__faq-section {
    padding: 60px 0;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__benefits-grid,
  .page-poker__tournament-highlights {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__benefit-icon,
  .page-poker__highlight-image {
    height: 200px; /* Adjust for smaller screens */
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-text {
    font-size: 1em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  /* Ensure all images within .page-poker are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for any image that might be constrained to small sizes */
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__benefit-icon,
  .page-poker__highlight-image {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%; /* Ensure they don't exceed container */
    height: auto; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
}