.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 spacing below fixed header */
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 40px;
  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;
  border-radius: 2px;
}

.page-poker__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-poker__btn--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

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

.page-poker__btn--secondary {
  background-color: transparent;
  color: #1A1A1A;
  border: 2px solid #1A1A1A;
}

.page-poker__btn--secondary:hover {
  background-color: #1A1A1A;
  color: #FFD700;
}

.page-poker__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

.page-poker__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-poker__hero-content {
  max-width: 800px;
  z-index: 1;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-poker__hero-buttons .page-poker__btn {
  border-width: 2px;
}

.page-poker__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Adjust based on desired hero image display size */
  margin-top: 40px;
  z-index: 0;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.page-poker__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 400px; /* Max width for feature images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__feature-description {
  font-size: 1.1em;
  color: #555555;
}

/* 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(350px, 1fr));
  gap: 40px;
}

.page-poker__game-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-poker__game-title {
  font-size: 2em;
  color: #1A1A1A;
  margin-top: 25px;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-poker__game-description {
  font-size: 1.1em;
  color: #555555;
  padding: 0 20px 25px;
}

.page-poker__game-card .page-poker__btn {
  margin-bottom: 25px;
}

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

.page-poker__how-to-start-section .page-poker__section-title {
  color: #FFD700;
}

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

.page-poker__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-poker__step-number {
  font-size: 3em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

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

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

.page-poker__step-card .page-poker__btn--small {
  border-color: #FFD700;
  color: #FFD700;
}

.page-poker__step-card .page-poker__btn--small:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

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

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

.page-poker__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__promo-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-poker__promo-title {
  font-size: 1.8em;
  color: #1A1A1A;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-poker__promo-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
}

.page-poker__promo-card .page-poker__btn {
  margin-bottom: 20px;
}

.page-poker__promo-cta {
  text-align: center;
}

.page-poker__promo-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-poker__responsible-gaming-text {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 1.1em;
  color: #555555;
}

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

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

.page-poker__accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__accordion-header {
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-poker__accordion-content {
  padding: 0 25px;
  background-color: #fefefe;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-poker__accordion-content.active {
  max-height: 500px; /* Adjust based on content */
  padding: 25px;
}

.page-poker__accordion-content p {
  margin: 0;
  color: #555555;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  color: #ffffff;
  text-align: center;
}

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

.page-poker__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-poker__cta-buttons .page-poker__btn {
  border-width: 2px;
}

.page-poker__cta-buttons .page-poker__btn--secondary {
  border-color: #FFD700;
  color: #FFD700;
}

.page-poker__cta-buttons .page-poker__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

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

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px);
  }

  .page-poker__hero-container {
    flex-direction: column;
    gap: 30px;
  }

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

  .page-poker__hero-description {
    font-size: 1.1em;
  }

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__steps-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-poker__feature-description,
  .page-poker__game-description,
  .page-poker__step-description,
  .page-poker__promo-description,
  .page-poker__responsible-gaming-text,
  .page-poker__promo-text,
  .page-poker__cta-description {
    font-size: 1em;
  }

  .page-poker__hero-image,
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__promo-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-poker__accordion-content.active {
    padding: 20px;
  }

  .page-poker__accordion-content p {
    font-size: 0.95em;
  }

  /* Ensure all content area images are responsive and don't cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-poker__hero-buttons .page-poker__btn,
  .page-poker__cta-buttons .page-poker__btn {
    width: 100%;
  }

  .page-poker__step-number {
    font-size: 2.5em;
  }

  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__step-title,
  .page-poker__promo-title {
    font-size: 1.3em;
  }

  .page-poker__accordion-header {
    font-size: 0.9em;
    padding: 12px 15px;
  }

  .page-poker__accordion-content.active {
    padding: 15px;
  }
}