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

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Light text over dark hero image */
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-poker__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-poker__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-poker__btn--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text for register button */
  border: 2px solid #FFFFFF;
}

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

.page-poker__btn--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

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

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

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

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__promotions-section, .page-poker__security-section, .page-poker__how-to-start-section, .page-poker__mobile-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 60px 0;
}

.page-poker__features-grid, .page-poker__games-grid, .page-poker__promotions-grid, .page-poker__security-grid, .page-poker__steps-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 {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover, .page-poker__game-card:hover, .page-poker__promo-card:hover, .page-poker__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__feature-title, .page-poker__game-title, .page-poker__promo-title, .page-poker__step-title, .page-poker__security-title, .page-poker__sub-title, .page-poker__faq-question {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-text, .page-poker__game-text, .page-poker__promo-text, .page-poker__step-text, .page-poker__security-text, .page-poker__text, .page-poker__faq-answer {
  color: #666666;
  font-size: 1em;
}

.page-poker__game-image, .page-poker__promo-image, .page-poker__tournament-image, .page-poker__mobile-mockup {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-poker__btn--play, .page-poker__btn--claim, .page-poker__btn--view-tournaments, .page-poker__btn--step, .page-poker__btn--download, .page-poker__btn--view-all-faq, .page-poker__btn--register-cta, .page-poker__btn--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-poker__btn--play:hover, .page-poker__btn--claim:hover, .page-poker__btn--view-tournaments:hover, .page-poker__btn--step:hover, .page-poker__btn--download:hover, .page-poker__btn--view-all-faq:hover, .page-poker__btn--register-cta:hover, .page-poker__btn--learn-more:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__tournament-image {
  margin: 40px auto;
  display: block;
}

.page-poker__tournament-info {
  margin-top: 40px;
  text-align: left;
}

.page-poker__security-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__how-to-start-section {
  background-color: #F2F2F2;
}

.page-poker__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.page-poker__mobile-text-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

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

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

.page-poker__faq-question {
  font-size: 1.3em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

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

.page-poker__faq-item.active .page-poker__faq-question::after {
  transform: rotate(45deg);
}

.page-poker__faq-answer {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #E0E0E0;
  display: none;
}

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

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

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

.page-poker__cta-section .page-poker__section-description {
  color: #F0F0F0;
}

.page-poker__btn--register-cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-poker__btn--register-cta:hover {
  background-color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
    padding: 60px 0;
  }

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

  .page-poker__intro-text {
    font-size: 1em;
  }

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

  .page-poker__btn {
    width: 100%;
    max-width: 300px;
  }

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

  .page-poker__section-description {
    font-size: 0.95em;
  }

  .page-poker__features-grid, .page-poker__games-grid, .page-poker__promotions-grid, .page-poker__security-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__mobile-content {
    flex-direction: column-reverse;
  }

  .page-poker__mobile-text-wrapper, .page-poker__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-poker__container {
    padding: 0 15px;
  }

  /* Ensure all images in content sections are responsive and don't overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px; /* Enforce minimum size even on mobile */
  }

  /* Specific overrides for smaller images if needed, but still >= 200px */
  .page-poker__game-image, .page-poker__promo-image, .page-poker__mobile-mockup {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker {
    overflow-x: hidden;
  }
}