/* style/poker.css */

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-poker__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 15px;
}

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-poker__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* General Section Styles */
.page-poker__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #F2C14E; /* Primary color for section titles */
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-poker__section-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Card Styles */
.page-poker__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #FFF6D6;
  height: 100%;
}

.page-poker__card-title {
  font-size: 1.5em;
  color: #FFD36B; /* Secondary color for card titles */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-poker__card-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-poker__card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
}

/* Grid Layouts */
.page-poker__grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

/* Call to Action Buttons */
.page-poker__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
}

.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-poker__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary color for secondary button text */
  border: 2px solid #F2C14E; /* Primary color for border */
}

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

.page-poker__large-cta {
  min-width: 280px;
  padding: 18px 35px;
  font-size: 1.2em;
}

/* App Download Section */
.page-poker__app-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

/* Lists */
.page-poker__numbered-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-poker__numbered-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

/* FAQ Section */
.page-poker__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

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

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111;
  color: #FFD36B; /* Secondary color for FAQ questions */
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Slight hover effect */
}

.page-poker__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.page-poker__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Primary color for toggle icon */
}

.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: #FFF6D6;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important;
  padding: 15px 20px 20px;
}

.page-poker__faq-answer p {
  margin: 0;
  color: #FFF6D6;
}

.page-poker__link {
  color: #F2C14E;
  text-decoration: underline;
}

.page-poker__link:hover {
  color: #FFD36B;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

  .page-poker__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-poker__hero-section,
  .page-poker__section {
    padding: 40px 15px;
  }
}

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

  .page-poker__hero-section {
    padding-top: 10px !important;
  }

  .page-poker__main-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-poker__intro-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-poker__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-poker__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__grid-three,
  .page-poker__grid-two {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__card {
    padding: 25px;
    text-align: center;
  }

  .page-poker__card-title {
    font-size: 1.3em;
  }

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

  .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__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;
  }

  /* Images and Videos Responsive */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .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;
  }

  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

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