/* 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); /* Ensure content is not hidden by fixed header */
}

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

.page-poker__hero-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  position: relative;
  max-width: 1920px; /* Match hero image width */
  margin: 0 auto;
}

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

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color for text */
  border: 2px solid #FCBC45;
}

.page-poker__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
  transform: translateY(-3px);
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* Auxiliary color */
  border: 2px solid #FFFFFF;
}

.page-poker__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-poker__button--tertiary:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-3px);
}

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

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

.page-poker__features-section,
.page-poker__game-types-section,
.page-poker__strategy-section,
.page-poker__live-poker-section,
.page-poker__cta-download-section,
.page-poker__faq-section,
.page-poker__related-content-section {
  padding: 60px 0;
}

.page-poker__features-section,
.page-poker__strategy-section,
.page-poker__related-content-section {
  background-color: #f8f8f8;
}

.page-poker__features-grid,
.page-poker__game-types-grid,
.page-poker__strategy-grid,
.page-poker__related-articles-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__strategy-card,
.page-poker__article-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__strategy-card:hover,
.page-poker__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__strategy-image,
.page-poker__article-image {
  width: 100%; /* Ensure images take full width of card */
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__strategy-title,
.page-poker__article-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__strategy-description,
.page-poker__article-description {
  font-size: 1em;
  color: #666666;
}

.page-poker__article-title a {
  color: #000000;
  text-decoration: none;
}

.page-poker__article-title a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

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

.page-poker__live-poker-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__live-poker-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-poker__live-poker-image {
  flex: 1 1 45%;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-poker__live-poker-text {
  flex: 1 1 45%;
}

.page-poker__live-poker-subtitle {
  font-size: 2.2em;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-poker__live-poker-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-poker__live-poker-description a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__live-poker-description a:hover {
  text-decoration: underline;
}

.page-poker__cta-download-section {
  text-align: center;
}

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

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

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.page-poker__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-poker__faq-question--active {
  color: #FCBC45;
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none; /* Hidden by default */
}

.page-poker__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2.5em;
  }
  .page-poker__live-poker-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-poker__live-poker-text {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 40px 15px;
  }
  .page-poker__hero-content {
    padding: 20px;
    width: 95%;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__features-grid,
  .page-poker__game-types-grid,
  .page-poker__strategy-grid,
  .page-poker__related-articles-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__strategy-image,
  .page-poker__article-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
    min-width: 200px; /* Still enforce minimum size */
    min-height: 200px; /* Still enforce minimum size */
  }
  .page-poker__live-poker-subtitle {
    font-size: 1.8em;
  }
  .page-poker__live-poker-description {
    font-size: 1em;
  }
  .page-poker__download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  /* Ensure no horizontal scroll for main content */
  .page-poker {
    overflow-x: hidden;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__hero-container, .page-poker__hero-image {
    max-width: unset; /* Allow hero image to expand for smaller screens if needed, but bounded by container */
  }
  /* Enforce min image size for all content images */
  .page-poker img {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }
}