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

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

.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-poker__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  color: #0A0A0A; /* Dark text for light gradient background */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-poker__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #333333; /* Darker text for readability on light background */
}

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

.page-poker__hero-image-container {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  width: 100%;
  max-width: 1200px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__dark-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E;
  line-height: 1.3;
}

.page-poker__section-description {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__promo-card,
.page-poker__step-card,
.page-poker__app-feature-card,
.page-poker__security-point {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__feature-title,
.page-poker__game-card-title,
.page-poker__promo-title,
.page-poker__step-title,
.page-poker__app-feature-title,
.page-poker__security-point-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-poker__feature-text,
.page-poker__game-card-text,
.page-poker__promo-text,
.page-poker__step-text,
.page-poker__app-feature-text,
.page-poker__security-point-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-poker__game-card-image,
.page-poker__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for 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-color: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
}

.page-poker__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A; /* Dark text on hover */
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-link {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__btn-link:hover {
  color: #F2C14E;
  text-decoration: underline;
}

.page-poker__app-download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #FFD36B;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: #2a2a2a;
}

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

.page-poker__faq-toggle {
  font-size: 1.5rem;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
}

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

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

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

.page-poker__faq-cta-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-poker__cta-final {
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-poker__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

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

  .page-poker__container {
    padding: 15px;
  }

  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared */
    padding-bottom: 40px;
  }

  .page-poker__hero-content {
    margin-bottom: 20px;
  }

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

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

  .page-poker__hero-buttons,
  .page-poker__app-download-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-poker__section {
    padding: 40px 0;
  }

  .page-poker__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__promo-grid,
  .page-poker__steps-grid,
  .page-poker__app-features-grid,
  .page-poker__security-points-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__promo-card,
  .page-poker__step-card,
  .page-poker__app-feature-card,
  .page-poker__security-point {
    padding: 20px;
  }

  .page-poker__feature-title,
  .page-poker__game-card-title,
  .page-poker__promo-title,
  .page-poker__step-title,
  .page-poker__app-feature-title,
  .page-poker__security-point-title {
    font-size: 1.3rem;
  }

  .page-poker__feature-text,
  .page-poker__game-card-text,
  .page-poker__promo-text,
  .page-poker__step-text,
  .page-poker__app-feature-text,
  .page-poker__security-point-text {
    font-size: 0.95rem;
  }

  /* Mobile 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;
  }

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

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

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

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-poker__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

/* Ensure content area images are not too small by CSS */
.page-poker img:not(.page-poker__category-icon):not(.page-poker__partner-logo) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for min-width/height if they are small by design but allowed */
/* Example for category icons (if used, not explicitly in this page) */
/*
.page-poker__category-icon {
  width: 30px;
  height: 30px;
  min-width: unset;
  min-height: unset;
}
*/

/* Example for media partner logos (if used, not explicitly in this page) */
/*
.page-poker__partner-logo {
  width: 167px;
  height: 127px;
  min-width: unset;
  min-height: unset;
}
*/