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

.page-poker__hero-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
  padding: 80px 20px 40px;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-poker__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-poker__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__cta-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, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-poker__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__cta-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-poker__cta-button--play,
.page-poker__cta-button--join,
.page-poker__cta-button--download {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__cta-button--play:hover,
.page-poker__cta-button--join:hover,
.page-poker__cta-button--download:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-poker__hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px; /* Constrain image width */
}

.page-poker__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

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

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

.page-poker__about-section,
.page-poker__game-types-section,
.page-poker__tournaments-section,
.page-poker__bonuses-section,
.page-poker__mobile-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section,
.page-poker__cta-bottom-section {
  padding: 60px 0;
}

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

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

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

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

.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__bonus-card img {
  width: 100%; /* Ensure images fill card width */
  height: auto; /* Maintain aspect ratio */
  max-height: 250px; /* Max height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__bonus-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-text,
.page-poker__game-text,
.page-poker__bonus-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-poker__learn-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__learn-more-button:hover {
  background-color: #333333;
}

.page-poker__tournament-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-poker__highlight-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__highlight-item:hover {
  transform: translateY(-8px);
}

.page-poker__highlight-item img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__highlight-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__highlight-text {
  font-size: 1em;
  color: #666666;
}

.page-poker__tournament-cta,
.page-poker__bonus-cta,
.page-poker__cta-bottom-section .page-poker__cta-group {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-poker__cta-button--view-all,
.page-poker__cta-button--promotions,
.page-poker__cta-button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__cta-button--view-all:hover,
.page-poker__cta-button--promotions:hover,
.page-poker__cta-button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__mobile-section {
  background-color: #f0f0f0;
}

.page-poker__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.page-poker__mobile-text-content {
  flex: 1;
}

.page-poker__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-poker__app-features li {
  font-size: 1.1em;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: #333333;
}

.page-poker__icon {
  color: #FCBC45;
  font-size: 1.5em;
  margin-right: 10px;
}

.page-poker__mobile-image {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
}

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

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-poker__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-poker__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__container {
    padding: 30px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__bonus-grid,
  .page-poker__tournament-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__feature-card img,
  .page-poker__game-card img,
  .page-poker__bonus-card img,
  .page-poker__highlight-item img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-poker__mobile-image {
    order: -1; /* Image first on mobile */
  }
  .page-poker__mobile-image img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  /* Enforce max-width for all images in content area */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__cta-button {
    width: 100%;
    max-width: 250px;
  }
  .page-poker__hero-cta-group,
  .page-poker__tournament-cta,
  .page-poker__bonus-cta,
  .page-poker__cta-bottom-section .page-poker__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__bonus-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
}