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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Default for mobile, will change for desktop */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom */
  text-align: center;
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 size */
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Highlight H1 with accent color */
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.page-poker__description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-poker__cta-buttons {
  display: flex;
  flex-direction: column; /* Stack buttons on mobile */
  gap: 15px;
  justify-content: center;
  align-items: center;
}

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow on mobile */
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light gradient button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-poker__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

.page-poker__btn-tertiary {
  background: #3A2A12; /* Border color as background */
  color: #FFD36B;
  border: 1px solid #3A2A12;
}

.page-poker__btn-tertiary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}


/* General Sections & Containers */
.page-poker__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-poker__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 30px;
  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: #F2C14E;
  border-radius: 2px;
}

.page-poker__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: center;
}

.page-poker__text-center {
  text-align: center;
}

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

/* Features Section */
.page-poker__features-section {
  padding: 80px 0;
}

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

.page-poker__feature-card {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-poker__feature-description {
  font-size: 1rem;
  color: #FFF6D6;
}

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

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

.page-poker__game-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-poker__game-title {
  font-size: 1.6rem;
  color: #F2C14E;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-poker__game-description {
  font-size: 1rem;
  color: #FFF6D6;
  padding: 0 15px;
  margin-bottom: 20px;
}

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

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

.page-poker__promo-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-poker__promo-title {
  font-size: 1.6rem;
  color: #F2C14E;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-poker__promo-description {
  font-size: 1rem;
  color: #FFF6D6;
  padding: 0 15px;
  margin-bottom: 25px;
}

/* Mobile Section */
.page-poker__mobile-section {
  padding: 80px 0;
}

.page-poker__mobile-content {
  display: flex;
  flex-direction: column; /* Default for mobile, reverse for desktop */
  align-items: center;
  gap: 40px;
}

.page-poker__mobile-text {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  width: 100%;
  max-width: 500px; /* Limit mobile image width */
}

.page-poker__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid #F2C14E;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
}

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

.page-poker__strategy-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__strategy-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-poker__strategy-description {
  font-size: 1rem;
  color: #FFF6D6;
}

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

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

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

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

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(242, 193, 78, 0.05); /* Slight accent for question background */
  transition: background 0.3s ease;
}

.page-poker__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-poker__faq-title {
  font-size: 1.25rem;
  color: #F2C14E;
  margin: 0;
}

.page-poker__faq-toggle {
  font-size: 1.8rem;
  color: #FFD36B;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

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

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 20px 25px;
}

.page-poker__faq-answer .page-poker__text-block {
  text-align: left;
  margin-bottom: 0;
}


/* Bottom CTA Section */
.page-poker__cta-bottom-section {
  padding: 80px 0;
}


/* Responsive Design */
@media (min-width: 769px) {
  .page-poker__hero-section {
    padding-top: 60px; /* Adjust for header offset */
  }

  .page-poker__hero-content {
    padding: 100px 0;
  }

  .page-poker__cta-buttons {
    flex-direction: row; /* Horizontal buttons on desktop */
  }

  .page-poker__mobile-content {
    flex-direction: row-reverse; /* Image on right, text on left */
    text-align: left;
  }

  .page-poker__mobile-text {
    text-align: left;
  }

  .page-poker__mobile-image-wrapper {
    max-width: none; /* Remove max-width for flex item */
  }
}

@media (max-width: 768px) {
  .page-poker__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-poker__description {
    font-size: 1rem;
  }

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

  .page-poker__text-block {
    font-size: 0.95rem;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-tertiary {
    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__cta-buttons,
  .page-poker__button-group,
  .page-poker__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-poker__section,
  .page-poker__card,
  .page-poker__container,
  .page-poker__hero-section,
  .page-poker__intro-section,
  .page-poker__features-section,
  .page-poker__games-section,
  .page-poker__promotions-section,
  .page-poker__mobile-section,
  .page-poker__strategy-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section,
  .page-poker__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Adjust hero section padding for mobile */
  .page-poker__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px !important;
  }

  .page-poker__hero-content {
    padding: 20px 0;
  }

  .page-poker__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-poker__game-image {
    height: 180px;
  }

  .page-poker__promo-image {
    height: 200px;
  }

  .page-poker__mobile-image {
    max-width: 80% !important; /* Smaller on mobile to show more background */
    margin: 0 auto;
  }

  .page-poker__faq-question {
    padding: 15px 20px;
  }

  .page-poker__faq-title {
    font-size: 1.1rem;
  }

  .page-poker__faq-answer {
    padding: 0 20px;
  }
  .page-poker__faq-item.active .page-poker__faq-answer {
    padding: 15px 20px;
  }
}

/* Custom colors applied */
.page-poker__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}
.page-poker__feature-card,
.page-poker__game-card,
.page-poker__promo-card,
.page-poker__strategy-item,
.page-poker__faq-item {
  background-color: #111111; /* Card BG */
  border-color: #3A2A12; /* Border */
}
.page-poker__section-title,
.page-poker__feature-title,
.page-poker__game-title,
.page-poker__promo-title,
.page-poker__strategy-title,
.page-poker__faq-title {
  color: #F2C14E; /* Primary color for titles */
}
.page-poker__btn-secondary,
.page-poker__faq-toggle {
  color: #FFD36B; /* Glow/Accent color */
  border-color: #FFD36B;
}
.page-poker__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}
.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for gradient button for contrast */
}
.page-poker__hero-section::before { /* Pseudo-element for glow effect */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 100px 50px rgba(255, 211, 107, 0.2) inset; /* Glow effect */
  pointer-events: none;
  z-index: 1;
}
.page-poker__section-title::after {
  background: #F2C14E; /* Primary color for underline */
}
.page-poker__mobile-image {
  border-color: #F2C14E; /* Primary color for border */
}

/* Ensure no filter is used on images */
.page-poker img {
  filter: none; /* Explicitly remove any potential filters */
}
.page-poker__hero-image {
  filter: brightness(0.4); /* This is allowed for readability, not color change */
}