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

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

.page-poker__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content */
}

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

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

.page-poker__button--register:hover {
  background-color: #F0F0F0;
}

.page-poker__button--play, .page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--play:hover, .page-poker__button--login:hover {
  background-color: #e0a53b;
}

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

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

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

.page-poker__why-nn77-section, .page-poker__variants-section, .page-poker__tournaments-section, .page-poker__strategy-section, .page-poker__get-started-section, .page-poker__responsible-gaming-section, .page-poker__download-app-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-poker__why-nn77-section {
  background-color: #F8F8F8;
}

.page-poker__features-grid, .page-poker__variant-cards, .page-poker__steps-grid, .page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__feature-card, .page-poker__variant-card, .page-poker__step-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, .page-poker__variant-card:hover, .page-poker__step-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-card img, .page-poker__variant-card img, .page-poker__download-image img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-poker__feature-title, .page-poker__variant-title, .page-poker__tournament-subtitle, .page-poker__strategy-title, .page-poker__step-title, .page-poker__responsible-subtitle, .page-poker__faq-question, .page-poker__cta-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-poker__feature-description, .page-poker__variant-description, .page-poker__tournament-text, .page-poker__strategy-description, .page-poker__step-description, .page-poker__responsible-text, .page-poker__faq-answer, .page-poker__cta-description {
  font-size: 1em;
  color: #555555;
}

.page-poker__step-card {
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-poker__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__button--step {
  margin-top: 20px;
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__button--step:hover {
  background-color: #333333;
}

.page-poker__tournaments-section, .page-poker__responsible-gaming-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__tournaments-section .page-poker__section-title, .page-poker__responsible-gaming-section .page-poker__section-title, .page-poker__tournaments-section .page-poker__section-intro, .page-poker__responsible-gaming-section .page-poker__section-intro {
  color: #FFFFFF;
}

.page-poker__tournaments-section .page-poker__section-title::after, .page-poker__responsible-gaming-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

.page-poker__tournament-subtitle, .page-poker__responsible-subtitle {
  color: #FCBC45;
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-poker__tournament-text, .page-poker__responsible-text {
  color: #E0E0E0;
  margin-bottom: 20px;
}

.page-poker__button--join-tournament, .page-poker__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-poker__button--join-tournament:hover, .page-poker__button--learn-more:hover {
  background-color: #e0a53b;
}

.page-poker__download-app-section {
  background-color: #F8F8F8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__download-app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-poker__download-text {
  flex: 1;
}

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

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

.page-poker__button--download {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-poker__button--download:hover {
  background-color: #333333;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.page-poker__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.page-poker__faq-answer {
  color: #555555;
}

.page-poker__button--view-all-faq {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__button--view-all-faq:hover {
  background-color: #333333;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-poker__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #F0F0F0;
}

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

/* 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 {
    padding-top: var(--header-offset, 80px);
  }

  .page-poker__hero-section {
    min-height: 450px;
    padding: 60px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

  .page-poker__hero-description {
    font-size: 1.1em;
  }

  .page-poker__hero-actions {
    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__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-poker__features-grid, .page-poker__variant-cards, .page-poker__steps-grid, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-card, .page-poker__variant-card, .page-poker__step-card, .page-poker__strategy-item, .page-poker__faq-item {
    padding: 20px;
  }

  .page-poker__feature-card img, .page-poker__variant-card img, .page-poker__download-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-poker__download-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__download-image {
    order: -1; /* Image above text on mobile */
  }

  .page-poker__cta-title {
    font-size: 2.2em;
  }

  .page-poker__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all content images in .page-poker are responsive and do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

  .page-poker__section-title {
    font-size: 1.6em;
  }

  .page-poker__feature-title, .page-poker__variant-title, .page-poker__tournament-subtitle, .page-poker__strategy-title, .page-poker__step-title, .page-poker__responsible-subtitle, .page-poker__faq-question, .page-poker__cta-title {
    font-size: 1.5em;
  }
}