/* style/poker.css */

/* Base styles for the poker page */
.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 below fixed header */
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #003366; /* Main brand color */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Accent color */
  border-radius: 2px;
}

.page-poker__sub-section-title {
  font-size: 1.8em;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-poker__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Accent color */
  color: #003366; /* Main brand color for text */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-poker__button--secondary {
  background-color: #003366; /* Main brand color */
  color: #FFD700; /* Accent color for text */
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-poker__button--secondary:hover {
  background-color: #002244;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-poker__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Adjust based on desired hero height */
  padding: 80px 20px;
  box-sizing: border-box;
}

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

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Accent color for main title */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

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

/* About Section */
.page-poker__about-section,
.page-poker__how-to-play-section,
.page-poker__game-types-section,
.page-poker__tournaments-section,
.page-poker__features-section,
.page-poker__strategy-section,
.page-poker__faq-section,
.page-poker__cta-section {
  padding: 60px 0;
}

.page-poker__about-section .page-poker__section-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* How to Play Section */
.page-poker__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__step-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

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

.page-poker__step-description {
  font-size: 1em;
  color: #555555;
}

.page-poker__step-description a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

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

/* Game Types Section */
.page-poker__game-cards {
  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: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-poker__game-card-title {
  font-size: 1.6em;
  color: #003366;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-poker__game-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
}

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

/* Tournaments Section */
.page-poker__tournaments-section {
  background-color: #f0f5fa; /* Light background for contrast */
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-poker__feature-image {
  width: 100%;
  max-width: 300px; /* Constrain image size */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

.page-poker__feature-description a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

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

/* Features Section (Why Choose) */
.page-poker__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-poker__feature-list-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-poker__feature-list-item:nth-child(even) {
  flex-direction: column-reverse;
}

.page-poker__feature-list-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-poker__feature-list-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__feature-list-description a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__feature-list-description a:hover {
  text-decoration: underline;
}

.page-poker__feature-list-image {
  width: 100%;
  max-width: 400px; /* Constrain image size */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px; /* Space between text and image */
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Strategy Section */
.page-poker__strategy-section {
  background-color: #f0f5fa;
}

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

.page-poker__strategy-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__strategy-text {
  flex: 2 1 600px;
}

.page-poker__tips-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555555;
}

.page-poker__tips-list li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-poker__strategy-link-text {
  font-size: 1.1em;
  margin-top: 20px;
}

.page-poker__strategy-link-text a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__strategy-link-text a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-poker__faq-items {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-poker__faq-answer a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

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

.page-poker__faq-more {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-poker__faq-more a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

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

/* CTA Section */
.page-poker__cta-section {
  background-color: #003366; /* Main brand color */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-poker__cta-section .page-poker__section-title {
  color: #FFD700; /* Accent color */
  font-size: 3em;
}

.page-poker__cta-section .page-poker__section-title::after {
  background-color: #FFD700;
}

.page-poker__cta-section .page-poker__section-text {
  color: #f0f0f0;
  font-size: 1.3em;
  margin-bottom: 40px;
}

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

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

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

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

  .page-poker__feature-list-item {
    flex-direction: column;
  }

  .page-poker__feature-list-item:nth-child(even) {
    flex-direction: column;
  }

  .page-poker__feature-list-image {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

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

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

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

  .page-poker__button--secondary {
    margin-left: 0;
  }

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

  .page-poker__sub-section-title {
    font-size: 1.5em;
  }

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

  .page-poker__steps-list {
    grid-template-columns: 1fr;
  }

  .page-poker__game-cards,
  .page-poker__features-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__strategy-content {
    flex-direction: column;
  }

  .page-poker__strategy-image {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-poker__hero-container {
    min-height: 450px;
    padding: 60px 20px;
  }

  .page-poker__feature-list-image,
  .page-poker__game-card-image,
  .page-poker__feature-image,
  .page-poker__strategy-image {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Constrain height for mobile images */
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }

  /* Ensure all img elements within .page-poker are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

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

  .page-poker__cta-section .page-poker__section-title {
    font-size: 2em;
  }
}