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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the background image for text readability */
  display: block;
}

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

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

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

.page-poker__btn {
  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;
  white-space: nowrap;
}

.page-poker__btn--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-poker__btn--register:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  transform: translateY(-2px);
}

.page-poker__btn--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__btn--login:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.page-poker__section {
  padding: 60px 20px;
}

.page-poker__section--dark {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000; /* Dark text for light background sections */
  font-weight: bold;
}

.page-poker__section-title--light {
  color: #FCBC45; /* Light text for dark background sections */
}

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

.page-poker__section-text--light {
  color: #e0e0e0;
}

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

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

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

.page-poker__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-poker__btn--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
  display: table; /* To center the block button */
  margin-left: auto;
  margin-right: auto;
}

.page-poker__btn--primary:hover {
  background-color: #e6a83a;
  border-color: #e6a83a;
}

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

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

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

.page-poker__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-poker__game-card h3 {
  padding: 20px 20px 0;
  font-size: 1.4em;
  color: #000000;
  font-weight: bold;
}

.page-poker__game-card h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-poker__game-card h3 a:hover {
  color: #FCBC45;
}

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

.page-poker__bonus-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__bonus-image {
  margin-top: 40px;
  text-align: center;
}

.page-poker__bonus-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensures width/height are respected */
  margin: 0 auto;
}

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

.page-poker__bonus-steps li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #FFFFFF;
}

.page-poker__step-number {
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-poker__btn--large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-poker__btn--secondary {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
  margin-top: 30px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__btn--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-2px);
}

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

.page-poker__strategy-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-poker__strategy-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__strategy-description {
  font-size: 1em;
  color: #555555;
}

.page-poker__mobile-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__mobile-image {
  margin-top: 40px;
  text-align: center;
}

.page-poker__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-poker__community-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  margin: 40px auto;
  display: block;
}

.page-poker__community-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

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

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

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

.page-poker__cta-container {
  text-align: center;
  padding: 50px 20px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px); /* Mobile header offset */
    padding: 40px 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__btn {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
    margin: 0 auto;
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 1em;
  }
  .page-poker__features, .page-poker__game-grid, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-card img, .page-poker__bonus-image img, .page-poker__mobile-image img, .page-poker__community-section img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    width: auto; /* Allow image to scale down */
  }
  .page-poker__community-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__bonus-steps {
    max-width: 100%;
  }
  .page-poker__bonus-steps li {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-poker__step-number {
    width: 25px;
    height: 25px;
    font-size: 0.9em;
  }
  /* Ensure all img within .page-poker do not cause horizontal scroll */
  .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__btn--large {
    font-size: 1em;
    padding: 15px 25px;
  }
}