.page-poker {
  color: #333333; /* Dark text for light body background */
  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__hero-section {
  background-color: #004aad; /* Main brand color for hero background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 900px;
}

.page-poker__main-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffcc00; /* Accent color for main title */
  line-height: 1.2;
}

.page-poker__intro-text {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-poker__hero-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #004aad;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__hero-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-poker__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #004aad;
  text-align: center;
  margin-bottom: 25px;
  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__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-poker__about-section,
.page-poker__games-section,
.page-poker__strategy-section,
.page-poker__promotions-section,
.page-poker__cta-section,
.page-poker__faq-section {
  padding: 80px 0;
}

.page-poker__about-section {
  background-color: #f8f8f8;
}

.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: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-poker__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-poker__games-section {
  background: linear-gradient(135deg, #004aad 0%, #002b70 100%);
  color: #ffffff;
}

.page-poker__games-section .page-poker__section-title,
.page-poker__games-section .page-poker__section-description {
  color: #ffffff;
}

.page-poker__games-section .page-poker__section-title::after {
  background-color: #ffcc00;
}

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-poker__game-card h3 {
  font-size: 1.5em;
  color: #ffcc00;
  padding: 20px 25px 10px;
  margin-bottom: 0;
}

.page-poker__game-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page-poker__game-button {
  display: block;
  background-color: #ffcc00;
  color: #004aad;
  padding: 12px 25px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease;
}

.page-poker__game-button:hover {
  background-color: #e6b800;
}

.page-poker__strategy-section {
  background-color: #f0f4f8;
}

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

.page-poker__strategy-item {
  background-color: #ffffff;
  border-left: 5px solid #004aad;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.page-poker__strategy-item:hover {
  transform: translateY(-5px);
}

.page-poker__strategy-heading {
  font-size: 1.4em;
  color: #004aad;
  margin-bottom: 10px;
}

.page-poker__strategy-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

.page-poker__strategy-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  background-color: #004aad;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__strategy-button:hover {
  background-color: #003380;
  transform: translateY(-3px);
}

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

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

.page-poker__promo-card {
  background-color: #fefefe;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-poker__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-poker__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #ffcc00;
}

.page-poker__promo-title {
  font-size: 1.5em;
  color: #004aad;
  padding: 20px 25px 10px;
  margin-bottom: 0;
}

.page-poker__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page-poker__promo-button {
  display: block;
  background-color: #ffcc00;
  color: #004aad;
  padding: 12px 25px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease;
}

.page-poker__promo-button:hover {
  background-color: #e6b800;
}

.page-poker__view-all-promo-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  background-color: #ffcc00;
  color: #004aad;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__view-all-promo-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-poker__cta-section {
  background-color: #004aad;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

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

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

.page-poker__cta-section .page-poker__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #004aad;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__cta-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-poker__faq-section {
  background-color: #f8f8f8;
}

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

.page-poker__faq-question {
  font-size: 1.3em;
  color: #004aad;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  display: none; /* Initially hidden, controlled by JS */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #ffcc00;
  transition: transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__main-title {
    font-size: 2.8em;
  }
  .page-poker__intro-text {
    font-size: 1.1em;
  }
  .page-poker__hero-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-poker__main-title {
    font-size: 2.2em;
  }
  .page-poker__intro-text {
    font-size: 1em;
  }
  .page-poker__hero-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
  }
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__promo-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__hero-section,
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__strategy-section,
  .page-poker__promotions-section,
  .page-poker__cta-section,
  .page-poker__faq-section {
    padding: 60px 0;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__promo-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__cta-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__faq-answer {
    font-size: 0.9em;
  }
  /* Ensure all images within .page-poker are responsive and do not cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 1.8em;
  }
  .page-poker__intro-text {
    font-size: 0.9em;
  }
  .page-poker__hero-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__section-description {
    font-size: 0.85em;
  }
  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__promo-title {
    font-size: 1.3em;
  }
  .page-poker__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-poker__strategy-button,
  .page-poker__view-all-promo-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}