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

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

.page-poker__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.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 slightly for text readability, not changing color */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  padding: 80px 20px;
  background-color: rgba(0, 51, 102, 0.6); /* Overlay with main color for contrast */
}

.page-poker__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
}

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

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

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

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

.page-poker__button--primary {
  background-color: #FFCC00; /* Accent color */
  color: #003366; /* Main color for text */
  border: 2px solid #FFCC00;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-poker__paragraph {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page-poker__introduction-section,
.page-poker__games-section,
.page-poker__strategy-section,
.page-poker__download-cta-section,
.page-poker__faq-section,
.page-poker__contact-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-poker__introduction-section {
  background-color: #ffffff;
}

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

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

.page-poker__feature-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-icon {
  width: 250px;
  height: 187px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

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

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

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

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

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

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

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-poker__strategy-item {
  background-color: #ffffff;
  border-left: 5px solid #FFCC00;
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
}

.page-poker__strategy-item strong {
  color: #003366;
}

.page-poker__download-cta-section {
  background-color: #003366; /* Main color background */
  color: #ffffff;
  padding: 80px 0;
}

.page-poker__download-cta-section .page-poker__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.page-poker__download-cta-section .page-poker__section-title {
  color: #FFCC00;
}

.page-poker__download-cta-section .page-poker__section-title::after {
  background-color: #ffffff;
}

.page-poker__download-cta-section .page-poker__paragraph {
  color: #f0f0f0;
}

.page-poker__download-content {
  flex: 1;
  text-align: left;
}

.page-poker__download-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-poker__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.2em;
  color: #003366;
  padding: 20px 30px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  border-bottom: 1px solid #eeeeee;
}

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

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

.page-poker__faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background-color: #ffffff;
}

.page-poker__faq-answer p {
  padding: 15px 0;
  margin: 0;
  color: #555555;
}

.page-poker__contact-section {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-poker__contact-section .page-poker__section-title {
  color: #FFCC00;
}

.page-poker__contact-section .page-poker__section-title::after {
  background-color: #ffffff;
}

.page-poker__contact-section .page-poker__paragraph {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* 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__download-cta-section .page-poker__container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-poker__download-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-container {
    min-height: 450px;
    padding: 60px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-poker__paragraph {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-poker__introduction-section,
  .page-poker__games-section,
  .page-poker__strategy-section,
  .page-poker__download-cta-section,
  .page-poker__faq-section,
  .page-poker__contact-section {
    padding: 40px 0;
  }
  .page-poker__feature-card,
  .page-poker__game-card {
    padding: 20px;
  }
  .page-poker__feature-icon {
    width: 200px;
    height: 150px;
  }
  .page-poker__game-image {
    height: 200px;
  }
  .page-poker__download-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-top: 30px;
  }
  .page-poker__faq-question,
  .page-poker__faq-answer {
    padding: 15px 20px;
  }
  /* Ensure content images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__hero-image {
    position: relative; /* Adjust hero image positioning for mobile */
    height: 400px; /* Give it a fixed height on mobile */
  }
  .page-poker__hero-container {
    background-color: rgba(0, 51, 102, 0.8); /* Darken overlay for better contrast on smaller screens */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-poker__hero-container {
    min-height: 350px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__feature-icon {
    width: 200px;
    height: 150px;
  }
  .page-poker__game-image {
    height: 180px;
  }
  .page-poker__download-image {
    width: 100%;
    height: auto;
    max-width: 250px;
  }
}