.page-poker {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content starts below fixed header */
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: 700;
}

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

.page-poker__paragraph {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-poker__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  min-width: 200px; /* Ensure buttons are large enough */
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #1a1a1a; /* Dark text for gold button */
}

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

.page-poker__button--secondary {
  background-color: #8B0000; /* Deep red button */
  color: #ffffff; /* Light text for red button */
  border: 2px solid #8B0000;
}

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

.page-poker__button--link {
  background: none;
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 12px 25px;
  min-width: unset;
}

.page-poker__button--link:hover {
  background-color: #FFD700;
  color: #1a1a1a;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  margin-bottom: 60px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block; /* Ensure image is not hidden */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 12px;
}

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for hero title */
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

/* Why Us Section */
.page-poker__why-us-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  margin-bottom: 60px;
}

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

.page-poker__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__feature-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure image is not hidden */
}

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

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

/* Game Variants Section */
.page-poker__game-variants-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-poker__game-image {
  width: 100%;
  max-width: 800px; /* Ensure max-width is respected */
  height: auto;
  min-height: 200px; /* Minimum size */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  display: block; /* Ensure image is not hidden */
}

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

.page-poker__game-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 900px;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 60px;
}

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

.page-poker__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__promo-image {
  width: 100%;
  max-width: 600px; /* Ensure max-width is respected */
  height: auto;
  min-height: 200px; /* Minimum size */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure image is not hidden */
}

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

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

.page-poker__action-center {
  text-align: center;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* How to Start Section */
.page-poker__how-to-start-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

.page-poker__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__step-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Example: circular icons */
  background-color: rgba(255, 215, 0, 0.1);
  padding: 15px;
  display: block; /* Ensure image is not hidden */
}

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

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

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 60px 0;
  background-color: rgba(139, 0, 0, 0.1); /* Red accent background */
  margin-bottom: 60px;
  text-align: center;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

.page-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-top: 15px;
  display: none; /* Hidden by default, toggled by JS */
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #8B0000, #FFD700);
  text-align: center;
  margin-bottom: 60px;
  border-radius: 12px;
  margin-left: 20px;
  margin-right: 20px;
}

.page-poker__cta-section .page-poker__section-title,
.page-poker__cta-section .page-poker__section-intro {
  color: #ffffff;
}

.page-poker__button--cta {
  margin-top: 40px;
  background-color: #1a1a1a; /* Dark button on gradient background */
  color: #FFD700; /* Gold text */
  padding: 18px 40px;
  font-size: 1.2em;
  border: 2px solid #FFD700;
}

.page-poker__button--cta:hover {
  background-color: #333333;
  border-color: #e6c200;
}

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    min-width: unset;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    padding-top: 20px;
  }
  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__promo-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-icon,
  .page-poker__step-icon {
    width: 200px; /* Ensure minimum size is maintained */
    height: 200px; /* Ensure minimum size is maintained */
  }
  .page-poker__game-image,
  .page-poker__promo-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure minimum size is maintained */
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  .page-poker__action-center {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile specific image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

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