/* style/poker.css */
.page-poker {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  line-height: 1.6;
  background-color: #0A0A0A; /* Body Background */
}

.page-poker__section-spacing {
  padding: 60px 0;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Primary color for titles */
  line-height: 1.2;
}

.page-poker__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color for subtitles */
  margin-bottom: 20px;
}

.page-poker__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__highlight-text {
  color: #FFD36B; /* Highlight text with auxiliary color */
  font-weight: bold;
}

/* Hero Section */
.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0A0A0A 0%, #3A2A12 100%); /* Darker gradient for hero background */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-poker__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  font-weight: 800;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

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

.page-poker__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-poker__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

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

.page-poker__btn-secondary:hover {
  background: #FFD36B;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 211, 107, 0.2);
}

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

.page-poker__text-link {
  color: #FFD36B;
  text-decoration: underline;
}

.page-poker__text-link:hover {
  color: #F2C14E;
}

/* Image and Text Layouts */
.page-poker__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-poker__image-text-layout .page-poker__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  object-fit: cover;
}

.page-poker__image-text-layout .page-poker__text-block {
  flex: 1;
}

.page-poker__container--reverse-layout {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-poker__container--reverse-layout .page-poker__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  object-fit: cover;
}

.page-poker__container--reverse-layout .page-poker__text-block {
  flex: 1;
}

/* Feature List */
.page-poker__feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-poker__feature-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-poker__feature-item::before {
  content: '✓';
  color: #FFD36B; /* Glow color */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

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

.page-poker__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.page-poker__card-icon-container {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.page-poker__card-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.page-poker__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
}

.page-poker__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-poker__card-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__card-link {
  display: inline-block;
  padding: 10px 20px;
  background: #FFD36B; /* Glow color */
  color: #000000; /* Dark text for contrast */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-poker__card-link:hover {
  background: #F2C14E; /* Primary color on hover */
}

/* Guide Section */
.page-poker__guide-section .page-poker__section-text {
  text-align: left;
}

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

.page-poker__guide-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
}

/* Dark Section */
.page-poker__dark-section {
  background-color: #111111; /* Card BG as dark section background */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-poker__dark-section .page-poker__section-title,
.page-poker__dark-section .page-poker__section-text,
.page-poker__dark-section .page-poker__sub-title {
  color: #FFF6D6;
}

/* FAQ Section */
.page-poker__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  background-color: #0A0A0A;
  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: 18px 25px;
  cursor: pointer;
  background-color: #111111;
  color: #FFF6D6;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: #3A2A12;
}

.page-poker__faq-title {
  margin: 0;
  color: #FFF6D6;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-poker__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD36B;
  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;
  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; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-poker__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  text-align: left;
}

/* CTA Section */
.page-poker__cta-section {
  text-align: center;
  background-color: #0A0A0A;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-poker__cta-section .page-poker__section-title {
  color: #F2C14E;
}

.page-poker__cta-section .page-poker__section-text {
  color: #FFF6D6;
  margin-bottom: 40px;
}

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

/* General Image Styling */
.page-poker img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no CSS filter is applied */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__image-text-layout,
  .page-poker__container--reverse-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__image-text-layout .page-poker__text-block,
  .page-poker__container--reverse-layout .page-poker__text-block {
    order: 2;
  }

  .page-poker__image-text-layout .page-poker__content-image,
  .page-poker__container--reverse-layout .page-poker__content-image {
    order: 1;
  }

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

@media (max-width: 768px) {
  .page-poker__section-spacing {
    padding: 40px 0;
  }

  .page-poker__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile fixed header spacing */
    padding-bottom: 40px;
  }

  .page-poker__main-title {
    font-size: 2.2em;
  }

  .page-poker__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-poker__sub-title {
    font-size: 1.5em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-bottom: 10px; /* Space between stacked buttons */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-poker__hero-cta-buttons,
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 10px; /* Adjust gap for column layout */
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-poker__game-cards,
  .page-poker__promotion-cards,
  .page-poker__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

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