.page-poker {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  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.5); /* Darken image for text contrast */
}

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

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-poker__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #FFF6D6; /* Text Main */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-play,
.page-poker__btn-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6AE29 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

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

.page-poker__btn-secondary:hover {
  background: #FFD36B; /* Glow */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

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

.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

.page-poker__section-title--light {
  color: #FFF6D6; /* Text Main */
}

.page-poker__text-block {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-poker__text-block--light {
  color: #FFF6D6; /* Text Main */
}

/* About Section */
.page-poker__about-section {
  padding: 60px 0;
  background: #0A0A0A; /* Background */
}

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

.page-poker__feature-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD36B); /* Add a subtle glow */
}

.page-poker__feature-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
  line-height: 1.5;
}

/* Games Section */
.page-poker__games-section {
  padding: 60px 0;
  background: #0A0A0A; /* Background */
}

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

.page-poker__game-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.6rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-poker__game-description {
  font-size: 0.95rem;
  color: #FFF6D6; /* Text Main */
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0 20px;
}

.page-poker__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  padding: 10px 25px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.page-poker__btn-play:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6AE29 100%);
  transform: translateY(-2px);
}

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

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

.page-poker__cta-buttons--center {
  margin-top: 40px;
}

/* Mobile Section */
.page-poker__mobile-section {
  padding: 60px 0;
  background: #111111; /* Card BG */
}

.page-poker__container--reverse {
  display: flex;
  flex-direction: row; /* Default desktop layout */
  align-items: center;
  gap: 50px;
}

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

.page-poker__mobile-content .page-poker__section-title {
  text-align: left;
  color: #FFD36B; /* Glow */
}

.page-poker__mobile-content .page-poker__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* How to Start Section */
.page-poker__how-to-start-section {
  padding: 60px 0;
  background: #0A0A0A; /* Background */
}

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

.page-poker__step-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-poker__step-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-poker__step-description {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-poker__btn-text-link {
  color: #FFD36B; /* Glow */
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #FFD36B;
  padding-bottom: 3px;
}

.page-poker__btn-text-link:hover {
  color: #FFF6D6; /* Text Main */
  border-color: #FFF6D6; /* Text Main */
}

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

.page-poker__faq-list {
  max-width: 900px;
  margin: 50px 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: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #FFD36B; /* Glow */
}

.page-poker__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.1);
}

.page-poker__faq-toggle {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  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 25px;
  color: #FFF6D6; /* Text Main */
  background: #111111; /* Card BG */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px;
}

.page-poker__faq-answer p {
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
}

/* CTA Banner Section */
.page-poker__cta-banner {
  background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%); /* Primary/Auxiliary blend */
  padding: 60px 0;
  text-align: center;
}

.page-poker__cta-banner .page-poker__section-title {
  color: #111111; /* Dark text for contrast */
  text-shadow: none;
}

.page-poker__cta-banner .page-poker__text-block {
  color: #111111; /* Dark text for contrast */
}

.page-poker__cta-banner .page-poker__btn-primary {
  background: #111111; /* Card BG for button */
  color: #FFD36B; /* Glow */
}

.page-poker__cta-banner .page-poker__btn-primary:hover {
  background: #3A2A12; /* Border */
  color: #FFF6D6; /* Text Main */
}

/* Copyright */
.page-poker__copyright {
  background: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 1px solid #3A2A12; /* Border */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-poker__container--reverse {
    flex-direction: column-reverse; /* Stack mobile content on top of image */
  }

  .page-poker__mobile-content,
  .page-poker__mobile-image-wrapper {
    text-align: center;
  }

  .page-poker__mobile-content .page-poker__section-title,
  .page-poker__mobile-content .page-poker__text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }

  .page-poker__main-title {
    font-size: 2.5rem;
  }

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

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

  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-play,
  .page-poker__btn-text-link {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-poker__container {
    padding: 30px 15px;
  }

  .page-poker__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-poker__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

  .page-poker__feature-title {
    font-size: 1.3rem;
  }

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

  .page-poker__game-title {
    font-size: 1.4rem;
  }

  .page-poker__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-poker__faq-question h3 {
    font-size: 1rem;
  }

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

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

  /* Image responsiveness */
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-poker__section,
  .page-poker__card,
  .page-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific handling for mobile section image to avoid overflow */
  .page-poker__mobile-image {
    width: 100% !important;
    max-width: 300px !important; /* Max width for mobile image */
    height: auto !important;
    margin: 0 auto;
  }
}

/* Ensure no filter on images except for hero section background dimming */
.page-poker img:not(.page-poker__hero-image) {
  filter: none !important;
}

/* Color contrast adjustments for text on brand colors if needed */
.page-poker__dark-section {
  background: #F2C14E; /* Main color */
  color: #111111; /* Card BG for text, ensuring contrast */
}