.page-poker {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Fallback background */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darkens the image for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  max-width: 900px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  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: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  color: #6a0000;
  transform: translateY(-3px);
}

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

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-3px);
}

.page-poker__button--tertiary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
}

.page-poker__button--tertiary:hover {
  background-color: #6a0000;
  color: #e6c200;
  transform: translateY(-3px);
}

.page-poker__button--link {
  color: #8B0000;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font-size: 1em;
}

.page-poker__button--link:hover {
  color: #FFD700;
  text-decoration: none;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  position: relative;
}

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

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

.page-poker__about-section,
.page-poker__game-types-section,
.page-poker__strategy-section,
.page-poker__tournaments-section,
.page-poker__bonuses-section,
.page-poker__get-started-section,
.page-poker__faq-section,
.page-poker__cta-section {
  padding: 40px 0;
}

.page-poker__features-grid,
.page-poker__game-types-grid,
.page-poker__tournament-grid,
.page-poker__bonus-grid,
.page-poker__steps-grid {
  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__tournament-card,
.page-poker__bonus-card,
.page-poker__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__tournament-card:hover,
.page-poker__bonus-card:hover,
.page-poker__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__tournament-image,
.page-poker__bonus-icon {
  width: 100%;
  height: 250px; /* Consistent height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__feature-icon {
  max-width: 100%;
  height: auto;
  min-height: 200px;
  min-width: 200px;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__tournament-title,
.page-poker__bonus-title,
.page-poker__step-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__tournament-description,
.page-poker__bonus-description,
.page-poker__step-description {
  font-size: 1em;
  color: #555555;
}

.page-poker__strategy-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

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

.page-poker__strategy-subtitle {
  font-size: 2em;
  color: #8B0000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-poker__strategy-paragraph {
  margin-bottom: 20px;
  color: #555555;
}

.page-poker__strategy-image-wrapper {
  flex: 1;
  min-width: 400px;
}

.page-poker__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__tournament-cta,
.page-poker__bonus-cta,
.page-poker__faq-cta {
  text-align: center;
  margin-top: 50px;
}

.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  border-left: 5px solid #FFD700;
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-poker__faq-answer {
  color: #555555;
}

.page-poker__faq-answer a {
  color: #8B0000;
  text-decoration: underline;
}

.page-poker__faq-answer a:hover {
  color: #FFD700;
}

.page-poker__cta-section {
  background-color: #8B0000;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-poker__cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

  .page-poker__section-title {
    font-size: 2.5em;
  }

  .page-poker__strategy-content {
    flex-direction: column;
    align-items: center;
  }

  .page-poker__strategy-image-wrapper {
    min-width: unset;
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

  .page-poker__hero-description {
    font-size: 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;
    padding-top: 40px;
  }

  .page-poker__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__features-grid,
  .page-poker__game-types-grid,
  .page-poker__tournament-grid,
  .page-poker__bonus-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__tournament-card,
  .page-poker__bonus-card,
  .page-poker__step-card {
    padding: 20px;
  }

  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__tournament-title,
  .page-poker__bonus-title,
  .page-poker__step-title {
    font-size: 1.5em;
  }

  .page-poker__strategy-subtitle {
    font-size: 1.8em;
  }

  .page-poker__cta-title {
    font-size: 2.2em;
  }

  .page-poker__cta-description {
    font-size: 1em;
  }

  .page-poker__hero-image,
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__tournament-image,
  .page-poker__bonus-icon,
  .page-poker__strategy-image {
    max-width: 100%;
    height: auto;
  }

  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__tournament-image,
  .page-poker__bonus-icon,
  .page-poker__strategy-image {
    min-height: 200px; /* Ensure images are not too small */
    min-width: 200px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

  .page-poker__button {
    width: 95%;
  }

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__cta-title {
    font-size: 1.8em;
  }
}