/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #f8f9fa; /* Light background for the page content */
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background for hero section */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
}

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

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

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

.page-poker__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  text-align: center;
}

.page-poker__cta-button--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-poker__cta-button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-poker__cta-button--secondary {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
}

.page-poker__cta-button--secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-poker__section {
  padding: 80px 20px;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__section--about {
  background-color: #f0f8ff;
}

.page-poker__section:last-of-type {
  margin-bottom: 0;
}

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

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

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

.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: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-poker__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  min-width: 150px;
}

.page-poker__tournament-image, .page-poker__bonus-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__step-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: #e9f5ff;
  border-left: 5px solid #007bff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-poker__step-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

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

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

.page-poker__advantage-item {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-poker__advantage-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

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

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

.page-poker__testimonial-card {
  background-color: #e9f5ff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-style: italic;
  color: #444444;
}

.page-poker__testimonial-text {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-poker__testimonial-author {
  font-weight: bold;
  color: #007bff;
  text-align: right;
}

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

.page-poker__faq-item {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

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

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  /* display: none; */ /* Managed by JS for toggle */
}

.page-poker__section--cta-final {
  background-color: #007bff; /* Primary brand color background */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 0; /* Full width section */
  box-shadow: none;
  margin-bottom: 0;
}

.page-poker__section-title--light, .page-poker__section-text--light {
  color: #ffffff;
}

.page-poker__cta-final-content {
  max-width: 900px;
}

.page-poker__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  min-width: 250px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__game-grid, .page-poker__step-list, .page-poker__advantage-list, .page-poker__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-card-image {
    height: 180px;
  }
  /* Mobile content area images must not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__tournament-image, .page-poker__bonus-image {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-poker__cta-button--large {
    width: 100%;
    max-width: 320px;
  }
}

@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.5em;
  }
  .page-poker__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__game-card-image {
    height: 150px;
  }
  .page-poker__step-title, .page-poker__advantage-title, .page-poker__game-card-title, .page-poker__faq-question {
    font-size: 1.2em;
  }
}