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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Auxiliary color for headings */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Primary color */
  color: #8B0000; /* Auxiliary color for text */
  border: 2px solid #FFD700;
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #6a0000;
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #8B0000; /* Auxiliary color */
  border: 2px solid #8B0000;
  margin-left: 15px;
}

.page-poker__button--secondary:hover {
  background-color: #8B0000;
  color: #FFD700;
}

.page-poker__button--small {
  padding: 8px 20px;
  font-size: 0.95em;
  border-radius: 25px;
  margin-top: 15px;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-poker__hero-container {
  position: relative;
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 800px;
  width: 90%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Intro Section */
.page-poker__intro-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

/* Game Types Section */
.page-poker__game-types-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-poker__game-card {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-poker__game-image {
  width: 100%;
  height: 200px; /* Enforce minimum size for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-poker__game-description {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.page-poker__feature-icon {
  width: 200px; /* Minimum size for content images */
  height: 150px; /* Minimum size for content images */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-poker__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

/* Bonuses Section */
.page-poker__bonuses-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__bonus-card {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__bonus-image {
  width: 100%;
  height: 250px; /* Minimum size for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__bonus-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-poker__bonus-description {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* How to Start Section */
.page-poker__how-to-start-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-poker__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-poker__step-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

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

.page-poker__step-description {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__tournament-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__tournament-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #444;
}

/* Mobile App Section */
.page-poker__mobile-app-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

.page-poker__mobile-app-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-poker__mobile-app-content {
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-poker__mobile-app-image {
  width: 100%;
  max-width: 400px; /* Max width for mobile app image */
  height: auto;
  object-fit: contain;
}

.page-poker__app-features-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 1.05em;
  color: #555;
}

.page-poker__app-features-list li {
  margin-bottom: 10px;
}

/* Security Section */
.page-poker__security-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__security-list li {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-left: 5px solid #8B0000;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #444;
}

.page-poker__security-list li strong {
  color: #8B0000;
}

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

.page-poker__security-section a:hover {
  color: #e6c200;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-poker__responsible-gaming-section a {
  color: #FFD700;
  text-decoration: underline;
}

.page-poker__responsible-gaming-section a:hover {
  color: #e6c200;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

.page-poker__faq-question {
  font-size: 1.3em;
  color: #8B0000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-poker__faq-question.active::after {
  content: '-';
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #8B0000; /* Auxiliary color for a strong CTA */
  color: #ffffff;
  text-align: center;
}

.page-poker__section-title--cta {
  color: #FFD700;
}

.page-poker__section-title--cta::after {
  background-color: #ffffff;
}

.page-poker__section-text--cta {
  color: #f0f0f0;
}

.page-poker__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
}

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

.page-poker__cta-actions .page-poker__button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

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

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

.page-poker__cta-actions .page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

/* 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__mobile-app-container {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-app-image-wrapper {
    order: -1; /* Image above content on mobile */
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-poker__button--secondary {
    margin-left: 0;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__game-image, .page-poker__bonus-image, .page-poker__feature-icon, .page-poker__mobile-app-image, .page-poker__cta-image {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* or contain, depending on context */
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__hero-content {
    padding: 15px;
  }
  .page-poker__hero-image, .page-poker__game-image, .page-poker__feature-icon, .page-poker__bonus-image, .page-poker__mobile-app-image, .page-poker__cta-image {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-poker__game-card, .page-poker__bonus-card, .page-poker__feature-item, .page-poker__step-item {
    padding: 20px;
  }
  .page-poker__game-image, .page-poker__bonus-image, .page-poker__feature-icon {
    min-height: 200px; /* Ensure images are not too small */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.5em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-poker__game-grid, .page-poker__features-grid, .page-poker__bonus-grid, .page-poker__steps-list {
    grid-template-columns: 1fr;
  }
}