.page-poker {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background for hero content */
  color: #ffffff;
  padding: 80px 0;
  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.4; /* Slightly dim the image to make text readable */
}

.page-poker__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-2px);
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark Red for section titles */
  text-align: center;
  margin-bottom: 40px;
  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; /* Gold underline */
  border-radius: 2px;
}

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__security-section,
.page-poker__promotions-section,
.page-poker__how-to-start-section,
.page-poker__faq-section,
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-poker__about-section:nth-child(even),
.page-poker__games-section:nth-child(even),
.page-poker__tournaments-section:nth-child(even),
.page-poker__security-section:nth-child(even),
.page-poker__promotions-section:nth-child(even),
.page-poker__how-to-start-section:nth-child(even),
.page-poker__faq-section:nth-child(even),
.page-poker__cta-section:nth-child(even) {
  background-color: #ffffff;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__security-item,
.page-poker__promo-card,
.page-poker__step-card {
  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;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__security-title,
.page-poker__promo-title,
.page-poker__step-title {
  font-size: 1.8em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 15px;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__security-description,
.page-poker__promo-description,
.page-poker__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__game-image,
.page-poker__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-poker__tournament-highlight {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-top: 60px;
}

.page-poker__tournament-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px;
}

.page-poker__tournament-content {
  width: 50%;
  text-align: left;
}

.page-poker__tournament-subtitle {
  font-size: 2em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
}

.page-poker__tournament-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-poker__security-icon,
.page-poker__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); /* Allowed for shadows */
}

.page-poker__mobile-section {
  background-color: #8B0000; /* Dark Red background */
  color: #ffffff;
}

.page-poker__mobile-container {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.page-poker__mobile-content {
  max-width: 500px;
  text-align: left;
}

.page-poker__mobile-section .page-poker__section-title {
  color: #FFD700; /* Gold for title on dark background */
}

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

.page-poker__mobile-section .page-poker__section-text {
  color: #f0f0f0;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-poker__mobile-image {
  width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-poker__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  text-align: left;
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-question::after {
  transform: rotate(45deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 200px; /* Adjust based on expected content */
}

.page-poker__contact-support-text {
  margin-top: 40px;
  font-size: 1.1em;
  text-align: center;
}

.page-poker__contact-support-text a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__contact-support-text a:hover {
  text-decoration: underline;
}

.page-poker__cta-section {
  background-color: #FFD700; /* Gold background */
  color: #8B0000;
  text-align: center;
}

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

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

.page-poker__cta-section .page-poker__section-text {
  color: #8B0000;
  margin-bottom: 40px;
}

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

.page-poker__cta-actions .page-poker__button--primary {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-poker__cta-actions .page-poker__button--primary:hover {
  background-color: #a00000;
  border-color: #a00000;
}

.page-poker__cta-actions .page-poker__button--secondary {
  background-color: transparent;
  color: #8B0000;
  border-color: #8B0000;
}

.page-poker__cta-actions .page-poker__button--secondary:hover {
  background-color: #8B0000;
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__tournament-highlight {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__tournament-image,
  .page-poker__tournament-content {
    width: 100%;
  }
  .page-poker__tournament-content {
    text-align: center;
  }
  .page-poker__mobile-container {
    flex-direction: column-reverse;
  }
  .page-poker__mobile-content {
    text-align: center;
  }
  .page-poker__mobile-section .page-poker__section-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-section {
    padding: 60px 20px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: 180px;
  }
  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__security-grid,
  .page-poker__promo-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-poker__game-image,
  .page-poker__promo-image {
    height: 200px;
  }
  .page-poker__tournament-highlight {
    padding: 20px;
  }
  .page-poker__tournament-image,
  .page-poker__mobile-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__mobile-content {
    padding: 0 10px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  /* Content area images must not cause horizontal scroll */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__tournament-image,
  .page-poker__mobile-image,
  .page-poker__game-image,
  .page-poker__promo-image,
  .page-poker__security-icon,
  .page-poker__step-icon {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
    min-width: 200px; /* Enforce minimum display size for content images */
    min-height: 200px;
  }
  .page-poker__security-icon,
  .page-poker__step-icon {
    width: 200px; /* Override smaller fixed sizes for mobile */
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    min-width: unset;
    width: 100%;
  }
  .page-poker__hero-actions {
    flex-direction: column;
  }
}