/* style/poker.css */

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

/* Section general styling */
.page-poker__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

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

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-poker__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-poker__main-title {
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for H1 */
}

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

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

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-link {
  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;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-poker__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

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

.page-poker__btn-link {
  background: transparent;
  color: #FFD36B;
  border: 1px solid #FFD36B;
  padding: 10px 20px;
  font-size: 1em;
}

.page-poker__btn-link:hover {
  background: #FFD36B;
  color: #111111;
}

/* Image styling */
.page-poker__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Game Grid Section */
.page-poker__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__game-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
}

.page-poker__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-poker__game-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color for titles */
  margin-bottom: 10px;
}

.page-poker__game-description {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Advantages/Features Section */
.page-poker__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__feature-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__feature-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

/* Get Started Section */
.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__step-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 2em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-poker__step-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-poker__step-description {
  font-size: 1em;
  color: #FFF6D6;
  flex-grow: 1; /* Pushes button to bottom */
  margin-bottom: 20px;
}

/* Strategy Section */
.page-poker__strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__strategy-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__strategy-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-poker__strategy-description {
  font-size: 1em;
  color: #FFF6D6;
}

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

/* Promotions Section (darker background) */
.page-poker__dark-section {
  background-color: #0A0A0A; /* Ensure consistent dark background */
  padding: 60px 20px;
}

.page-poker__dark-section .page-poker__section-title {
  color: #FFD36B; /* Lighter title for dark background */
}

.page-poker__dark-section .page-poker__text-block {
  color: #FFF6D6;
}

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

.page-poker__promo-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__promo-image {
  width: 100%;
  height: 250px; /* Consistent height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__promo-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-poker__promo-description {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding-bottom: 60px;
}

/* FAQ Section */
.page-poker__faq-section {
  background-color: #0A0A0A;
}

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

.page-poker__faq-item {
  background: #111111;
  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: 20px;
  cursor: pointer;
  background: #111111;
  color: #F2C14E;
  font-size: 1.2em;
  font-weight: bold;
}

.page-poker__faq-question:hover {
  background: #1A1A1A;
}

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

.page-poker__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes an 'x' or 'minus' visually */
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px; /* Initial padding for collapsed state */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1em;
}

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

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

.page-poker__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-poker__faq-answer a:hover {
  color: #F2C14E;
}

/* Final CTA Section */
.page-poker__cta-final-section {
  text-align: center;
}

.page-poker__cta-final-content {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

@media (max-width: 768px) {
  .page-poker__container {
    padding: 20px 15px;
  }

  .page-poker__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding for mobile */
  }

  .page-poker__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

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

  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-link {
    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;
  }

  /* All images must be responsive */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-poker__hero-image,
  .page-poker__image-full,
  .page-poker__game-image,
  .page-poker__promo-image {
    min-width: unset;
    min-height: unset;
  }

  .page-poker__game-image {
    height: auto;
  }

  .page-poker__promo-image {
    height: auto;
  }

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

  .page-poker__card,
  .page-poker__section,
  .page-poker__container,
  .page-poker__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-poker__faq-question h3 {
    font-size: 1em;
  }

  .page-poker__faq-answer {
    font-size: 0.95em;
  }
}