.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
}

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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* For fixed header */
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-image-container {
  width: 100%;
  max-height: 675px; /* Adjust based on hero image aspect ratio */
  overflow: hidden;
  position: relative;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -200px; /* Pull content up over the image slightly for visual flow */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-poker__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF6D6;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.page-poker__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-poker__sub-section-title {
  font-size: clamp(1.5em, 3vw, 2em);
  font-weight: 600;
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-poker__text-block p,
.page-poker__text-block li {
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-poker__text-block ul {
  list-style: disc;
  padding-left: 25px;
}

.page-poker__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-poker__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #111111; /* Card BG */
  color: #F2C14E;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #F2C14E;
}

.page-poker__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
}

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

/* Card Styling */
.page-poker__card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

.page-poker__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

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

.page-poker__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

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

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

.page-poker__feature-card {
  text-align: center;
}

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

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
}

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

.page-poker__game-type-card {
  text-align: center;
}

.page-poker__game-image {
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

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

/* Get Started Section */
.page-poker__get-started-section {
  padding: 80px 0;
}

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

.page-poker__step-card {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-poker__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #F2C14E;
  color: #111111;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FFD36B;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

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

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

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

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

.page-poker__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #111111;
  color: #FFF6D6;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: #1a1a1a;
}

.page-poker__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(45deg);
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-poker__faq-answer p {
  margin-bottom: 15px;
}

.page-poker__faq-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Final CTA Section */
.page-poker__cta-final {
  padding: 80px 0;
  text-align: center;
}

/* Background colors for sections */
.page-poker__dark-bg {
  background-color: #0A0A0A;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__grid-two-columns {
    grid-template-columns: 1fr;
  }
  .page-poker__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-poker__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
  }
  .page-poker__hero-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }
  .page-poker__section-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-poker__sub-section-title {
    font-size: clamp(1.3em, 6vw, 1.8em);
  }
  .page-poker__hero-content {
    margin-top: -80px;
    padding: 20px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker a[class*="button"],
  .page-poker a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__hero-cta-buttons,
  .page-poker__faq-cta {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__container,
  .page-poker__intro-section,
  .page-poker__why-choose-section,
  .page-poker__games-section,
  .page-poker__tournaments-section,
  .page-poker__get-started-section,
  .page-poker__strategy-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section,
  .page-poker__cta-final {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__section,
  .page-poker__card,
  .page-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: clamp(1.8em, 10vw, 2.5em);
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-content {
    margin-top: -60px;
  }
  .page-poker__section-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
}