.page-poker {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  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;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000; /* Fallback for image loading */
  padding: 0;
  margin-bottom: 60px;
}

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

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
}

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

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

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

.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.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
  font-size: 1.1em;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  border: 2px solid #FFD700;
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  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--hero {
  background-color: #8B0000; /* Deep Red */
  color: #FFD700; /* Gold */
  border: 2px solid #8B0000;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-poker__button--hero:hover {
  background-color: #a00000;
  transform: translateY(-3px);
}

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

/* General Section Styling */
.page-poker__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep Red for section titles */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

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

/* Features Section */
.page-poker__features-section {
  padding: 60px 0;
  background-color: #fcfcfc;
}

.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: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 400px; /* Ensure card is tall enough for image + text */
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for feature titles */
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #666666;
}

/* Getting Started Section */
.page-poker__getting-started-section {
  padding: 60px 0;
  background-color: #f4f4f4;
}

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

.page-poker__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  border-top: 5px solid #8B0000; /* Deep Red accent */
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__step-description {
  font-size: 0.95em;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Variants Section */
.page-poker__variants-section {
  padding: 60px 0;
  background-color: #fcfcfc;
}

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

.page-poker__variant-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  border-left: 5px solid #FFD700; /* Gold accent */
  min-height: 200px;
}

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

.page-poker__variant-description {
  font-size: 1em;
  color: #666666;
}

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

.page-poker__tournament-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
}

.page-poker__tournament-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  padding: 25px;
  border-left: 4px solid #8B0000;
}

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

.page-poker__tournament-details {
  font-size: 1em;
  color: #666666;
}

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

.page-poker__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
  text-align: center;
}

.page-poker__responsible-gaming-item {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-poker__responsible-gaming-item::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 15px;
  padding: 20px;
}

.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;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-poker__faq-answer.active {
  display: block;
}

/* Call to action */
.page-poker__call-to-action {
  text-align: center;
  margin-top: 40px;
}

.page-poker__call-to-action-text {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 25px;
}

/* CTA Section at bottom */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #8B0000; /* Deep Red background */
  color: #ffffff;
  text-align: center;
}

.page-poker__cta-section .page-poker__section-title {
  color: #FFD700; /* Gold title */
  margin-top: 0;
}

.page-poker__cta-section .page-poker__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

@media (max-width: 768px) {
  .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 {
    min-width: unset;
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__features-grid, .page-poker__steps-grid, .page-poker__variants-grid {
    grid-template-columns: 1fr;
  }
  /* Prevent horizontal scroll for images in content area */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area does not cause horizontal scroll */
  .page-poker__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    width: 90%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__feature-card, .page-poker__step-card, .page-poker__variant-card {
    padding: 20px;
  }
}