/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px);
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-poker__text {
  margin-bottom: 15px;
  color: #333333;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-poker__button--register:hover {
  background-color: #f0f0f0;
}

.page-poker__button--play, .page-poker__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--play:hover, .page-poker__button--primary:hover {
  background-color: #e0a53b;
}

.page-poker__button--promo, .page-poker__button--support, .page-poker__button--small {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
}

.page-poker__button--promo:hover, .page-poker__button--support:hover, .page-poker__button--small:hover {
  background-color: #333333;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-poker__hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  max-width: 900px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45;
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-poker__hero-actions .page-poker__button {
  margin: 0 10px;
}

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-poker__grid-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__grid-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__grid-title {
  font-size: 1.7em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__grid-text {
  color: #555555;
  font-size: 1em;
}

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__game-text {
  color: #555555;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-poker__strategy-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-poker__strategy-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__strategy-text-block {
  flex: 1 1 50%;
  min-width: 300px;
}

/* Promo Section */
.page-poker__promo-section {
  padding: 80px 0;
}

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

.page-poker__promo-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__promo-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-poker__promo-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* CTA Section */
.page-poker__cta-section {
  background-color: #000000;
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-poker__cta-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-poker__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-poker__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
}

/* Contact Section */
.page-poker__contact-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions .page-poker__button {
    margin: 10px 5px;
    display: block;
    width: calc(100% - 20px);
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__strategy-content {
    flex-direction: column;
  }
  .page-poker__strategy-image,
  .page-poker__strategy-text-block {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-poker__grid-image, .page-poker__game-image, .page-poker__strategy-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all images within .page-poker are responsive and not smaller than 200px */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__grid-image, .page-poker__game-image {
    height: auto; /* Allow auto height for responsiveness */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__hero-container {
    padding: 30px 15px;
  }
  .page-poker__hero-actions .page-poker__button {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-poker__grid-item, .page-poker__game-card, .page-poker__promo-card {
    padding: 20px;
  }
  .page-poker__grid-title, .page-poker__game-title, .page-poker__promo-title {
    font-size: 1.5em;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-poker__faq-answer {
    padding: 0 15px 15px;
  }
}