.page-poker {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Stacks content above image on mobile */
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensures hero has a minimum height */
  padding: 80px 20px;
  background-color: #1A2E44; /* Main brand color for hero background */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-poker__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

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

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

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

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

.page-poker__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Accent color */
  color: #1A2E44; /* Main brand color */
  border: 2px solid #FFD700;
}

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

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

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

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #1A2E44; /* Main brand color */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Accent color */
  border-radius: 2px;
}

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

.page-poker__features-section, .page-poker__games-section, .page-poker__getting-started-section, .page-poker__tournaments-promotions-section, .page-poker__security-fairness-section, .page-poker__mobile-experience-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-poker__features-section {
  background-color: #f9f9f9;
}

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

.page-poker__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon {
  width: 200px; /* Minimum size */
  height: 150px; /* Adjusted height for better aspect ratio, ensures min 200px width */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-poker__feature-description {
  color: #555555;
}

.page-poker__games-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__game-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-title {
  font-size: 1.6em;
  color: #1A2E44;
  margin-bottom: 15px;
}

.page-poker__game-description {
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-poker__step-card {
  background-color: #1A2E44;
  color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.page-poker__step-description {
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-poker__tournaments-promotions-section {
  background-color: #f0f0f0;
}

.page-poker__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-poker__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-poker__text-content {
  flex: 1;
}

.page-poker__image-content {
  flex: 1;
  min-width: 200px; /* Ensure image content takes space */
}

.page-poker__sub-title {
  font-size: 1.8em;
  color: #1A2E44;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-poker__paragraph a {
  color: #FFD700;
  text-decoration: underline;
}

.page-poker__promo-image, .page-poker__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.page-poker__security-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-poker__security-title {
  font-size: 1.4em;
  color: #1A2E44;
  margin-bottom: 10px;
}

.page-poker__security-description {
  color: #555555;
}

.page-poker__security-description a {
  color: #FFD700;
  text-decoration: underline;
}

.page-poker__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-poker__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #1A2E44;
  margin-bottom: 10px;
}

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

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

.page-poker__cta-section {
  background-color: #1A2E44;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin: 80px auto;
  max-width: 1000px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-poker__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__content-wrapper {
    flex-direction: column; /* Stack content on smaller screens */
  }
  .page-poker__content-wrapper--reverse {
    flex-direction: column; /* Maintain stacking */
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding: 60px 15px;
  }
  .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: 100%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-poker__features-section, .page-poker__games-section, .page-poker__getting-started-section, .page-poker__tournaments-promotions-section, .page-poker__security-fairness-section, .page-poker__mobile-experience-section, .page-poker__faq-section, .page-poker__cta-section {
    padding: 60px 15px;
  }
  .page-poker__feature-card, .page-poker__game-card, .page-poker__step-card, .page-poker__security-item, .page-poker__faq-item {
    padding: 20px;
  }
  .page-poker__feature-icon {
    width: 250px;
    height: 180px;
  }
  .page-poker__sub-title {
    font-size: 1.5em;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  /* Mobile content area images must be constrained */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-section {
    padding: 40px 10px;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__feature-icon {
    width: 200px;
    height: 150px;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__cta-description {
    font-size: 0.9em;
  }
}