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

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

.page-poker__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-poker__container--center {
  text-align: center;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Deep red for titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__text-content--note {
  font-size: 0.95em;
  color: #555555;
  text-align: center;
}

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

.page-poker__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep red text */
  border: 2px solid #FFD700;
}

.page-poker__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-poker__btn--secondary {
  background-color: transparent;
  color: #8B0000; /* Deep red text */
  border: 2px solid #8B0000;
}

.page-poker__btn--secondary:hover {
  background-color: #8B0000;
  color: #FFD700;
  transform: translateY(-2px);
}

.page-poker__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-poker__btn--lg {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-poker__btn--xl {
  padding: 18px 40px;
  font-size: 1.4em;
  border-radius: 10px;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #f5f5f5; /* Light background for hero */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1200px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
}

.page-poker__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
}

.page-poker__hero-title {
  font-size: 3.8em;
  color: #8B0000; /* Deep red */
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
}

.page-poker__hero-description {
  font-size: 1.4em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-poker__feature-item {
  background-color: #fff8e1; /* Lighter gold background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__feature-item:hover {
  transform: translateY(-5px);
}

.page-poker__feature-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__feature-item p {
  font-size: 1em;
  color: #555555;
}

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

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #8B0000;
  margin: 20px 0 10px;
  padding: 0 15px;
  font-weight: bold;
}

.page-poker__game-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  text-align: justify;
}

.page-poker__game-card .page-poker__btn {
  margin-bottom: 20px;
}

/* Guide Section */
.page-poker__guide-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.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-color: #fff8e1;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__step-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__step-card p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

.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-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-poker__promo-title {
  font-size: 1.8em;
  color: #8B0000;
  margin: 20px 0 10px;
  padding: 0 15px;
  font-weight: bold;
}

.page-poker__promo-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  text-align: justify;
}

.page-poker__promo-card .page-poker__btn {
  margin-bottom: 20px;
}

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

/* Mobile App Section */
.page-poker__mobile-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__mobile-content {
  flex: 1;
  padding-right: 40px;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-poker__mobile-features-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-poker__mobile-features-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #333333;
}

.page-poker__list-icon {
  color: #FFD700; /* Gold checkmark */
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 10px;
}

/* Security Section */
.page-poker__security-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-poker__security-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__security-item:hover {
  transform: translateY(-5px);
}

.page-poker__security-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__security-item p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #fff8e1;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

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

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

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
  display: none;
}

.page-poker__faq-answer.active {
  display: block;
}

/* Final CTA Section */
.page-poker__cta-final-section {
  padding: 80px 0;
  background-color: #FFD700; /* Gold background */
  color: #8B0000; /* Deep red text for contrast */
  text-align: center;
}

.page-poker__cta-final-section .page-poker__section-title {
  color: #8B0000;
}

.page-poker__cta-final-section .page-poker__text-content {
  color: #8B0000;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__cta-final-section .page-poker__btn--xl {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-poker__cta-final-section .page-poker__btn--xl:hover {
  background-color: #6a0000;
  color: #FFD700;
}

/* Links within text */
.page-poker__text-content a,
.page-poker__faq-answer a {
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
}

.page-poker__text-content a:hover,
.page-poker__faq-answer a:hover {
  color: #FFD700;
}

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

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

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

  .page-poker__container--flex {
    flex-direction: column;
  }

  .page-poker__mobile-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__text-content {
    font-size: 0.95em;
  }

  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__btn--lg, .page-poker__btn--xl {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1em;
  }

  .page-poker__game-image, .page-poker__promo-image {
    height: 200px;
  }

  /* Ensure all images within .page-poker are responsive and not smaller than 200px display */
  .page-poker img {
    max-width: 100%;
    height: auto; /* Important for responsiveness */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
  }
  .page-poker__mobile-image {
    min-width: 200px; /* Ensure mobile image is also not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

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

  .page-poker__section-title {
    font-size: 1.6em;
  }

  .page-poker__features, .page-poker__game-grid, .page-poker__steps-grid, .page-poker__promo-grid, .page-poker__security-features {
    grid-template-columns: 1fr;
  }

  .page-poker__hero-image {
    border-radius: 10px;
  }

  .page-poker__feature-item, .page-poker__game-card, .page-poker__step-card, .page-poker__promo-card, .page-poker__security-item, .page-poker__faq-item {
    padding: 20px;
  }

  .page-poker__feature-title, .page-poker__game-title, .page-poker__step-title, .page-poker__promo-title, .page-poker__security-title {
    font-size: 1.5em;
  }

  .page-poker__faq-question {
    font-size: 1.2em;
  }
}