/* style/poker-texas-holdem.css */
.page-poker-texas-holdem {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Body background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker-texas-holdem__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-poker-texas-holdem__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-poker-texas-holdem__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-poker-texas-holdem__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker-texas-holdem__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker-texas-holdem__btn-primary,
.page-poker-texas-holdem__btn-secondary {
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-poker-texas-holdem__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid #FFD36B;
}

.page-poker-texas-holdem__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-poker-texas-holdem__btn-secondary {
  background: #111111;
  color: #FFF6D6;
  border: 2px solid #3A2A12;
}

.page-poker-texas-holdem__btn-secondary:hover {
  background: #3A2A12;
  transform: translateY(-2px);
}

.page-poker-texas-holdem__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-poker-texas-holdem__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-poker-texas-holdem__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-poker-texas-holdem__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-poker-texas-holdem__highlight {
  color: #F2C14E;
  font-weight: bold;
}

.page-poker-texas-holdem__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-poker-texas-holdem__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-poker-texas-holdem__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-poker-texas-holdem__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

.page-poker-texas-holdem__text-content {
  flex: 1;
}

.page-poker-texas-holdem__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker-texas-holdem__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

.page-poker-texas-holdem__dark-bg {
  background-color: #111111;
}

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

.page-poker-texas-holdem__feature-card,
.page-poker-texas-holdem__contact-card,
.page-poker-texas-holdem__security-item,
.page-poker-texas-holdem__step-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #FFF6D6;
}

.page-poker-texas-holdem__feature-card:hover,
.page-poker-texas-holdem__contact-card:hover,
.page-poker-texas-holdem__security-item:hover,
.page-poker-texas-holdem__step-card:hover {
  transform: translateY(-5px);
}

.page-poker-texas-holdem__card-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-poker-texas-holdem__card-description {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-poker-texas-holdem__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

.page-poker-texas-holdem__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-poker-texas-holdem__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-poker-texas-holdem__security-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  min-width: 100px; /* Small icon exception for specific types, but this is a content image, so min 200x200 should apply */
  min-height: 100px;
  object-fit: contain;
}

/* Overriding the security-icon min-size to comply with general image rule, unless it's a specific icon type */
.page-poker-texas-holdem__security-item .page-poker-texas-holdem__security-icon {
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker-texas-holdem__step-number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background-color: #F2C14E;
  color: #111111;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-poker-texas-holdem__faq-list {
  margin-top: 40px;
}

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

.page-poker-texas-holdem__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-poker-texas-holdem__faq-question:hover {
  background-color: #222222;
}

.page-poker-texas-holdem__faq-title {
  font-size: 1.2rem;
  color: #FFF6D6;
  margin: 0;
}

.page-poker-texas-holdem__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

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

.page-poker-texas-holdem__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  text-align: left;
}

.page-poker-texas-holdem__faq-item.active .page-poker-texas-holdem__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-poker-texas-holdem__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker-texas-holdem__content-grid {
    flex-direction: column;
  }
  .page-poker-texas-holdem__content-grid:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-poker-texas-holdem {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-poker-texas-holdem__hero-section {
    min-height: 450px;
    padding-bottom: 40px;
  }

  .page-poker-texas-holdem__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-poker-texas-holdem__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-poker-texas-holdem__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker-texas-holdem__btn-primary,
  .page-poker-texas-holdem__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-poker-texas-holdem__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-poker-texas-holdem__container {
    padding: 30px 15px;
  }

  .page-poker-texas-holdem__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-poker-texas-holdem__sub-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .page-poker-texas-holdem__text-block,
  .page-poker-texas-holdem__list-item,
  .page-poker-texas-holdem__card-description {
    font-size: 1rem;
  }

  .page-poker-texas-holdem__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-poker-texas-holdem__image-wrapper,
  .page-poker-texas-holdem__feature-card,
  .page-poker-texas-holdem__contact-card,
  .page-poker-texas-holdem__security-item,
  .page-poker-texas-holdem__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content containers don't overflow */
  .page-poker-texas-holdem__introduction-section,
  .page-poker-texas-holdem__how-to-play-section,
  .page-poker-texas-holdem__features-section,
  .page-poker-texas-holdem__bonuses-section,
  .page-poker-texas-holdem__security-section,
  .page-poker-texas-holdem__payment-section,
  .page-poker-texas-holdem__get-started-section,
  .page-poker-texas-holdem__support-section,
  .page-poker-texas-holdem__faq-section,
  .page-poker-texas-holdem__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .page-poker-texas-holdem__security-item .page-poker-texas-holdem__security-icon {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-poker-texas-holdem__faq-question,
  .page-poker-texas-holdem__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}