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

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

.page-poker__section-title,
.page-poker__hero-title,
.page-poker__cta-title {
  color: #000000; /* Main color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-poker__section-description,
.page-poker__hero-description,
.page-poker__cta-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-poker__hero-section {
  background-color: #f5f5f5;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-poker__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-poker__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
}

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

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

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

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

.page-poker__button--login {
  background-color: #FCBC45; /* Login button background */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-poker__button--login:hover {
  background-color: #e0a73b;
  border-color: #e0a73b;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for the hero image */
}

.page-poker__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-poker__game-varieties-section,
.page-poker__strategy-guide-section,
.page-poker__tournaments-promos-section,
.page-poker__security-section,
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__game-varieties-section,
.page-poker__tournaments-promos-section {
  background-color: #f9f9f9;
}

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

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

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

.page-poker__game-card-image,
.page-poker__promo-card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-poker__game-card-text,
.page-poker__promo-card-text {
  color: #555555;
  margin-bottom: 25px;
}

.page-poker__button--play-now,
.page-poker__button--view-tournaments,
.page-poker__button--view-bonuses,
.page-poker__button--learn-more,
.page-poker__button--learn-security {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--play-now:hover,
.page-poker__button--view-tournaments:hover,
.page-poker__button--view-bonuses:hover,
.page-poker__button--learn-more:hover,
.page-poker__button--learn-security:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-poker__strategy-content,
.page-poker__security-content {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.page-poker__strategy-text,
.page-poker__security-text {
  flex: 1;
  color: #333333;
}

.page-poker__strategy-text p,
.page-poker__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-poker__strategy-image-wrapper,
.page-poker__security-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-poker__strategy-image,
.page-poker__security-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-poker__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 100px 20px;
}

.page-poker__cta-title {
  color: #FCBC45; /* Highlight color for CTA title */
  font-size: 3em;
  margin-bottom: 25px;
}

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

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

.page-poker__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border: 2px solid #FCBC45;
}

.page-poker__button--register-large:hover {
  background-color: #e0a73b;
  border-color: #e0a73b;
}

.page-poker__button--download-app {
  background-color: #FFFFFF;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border: 2px solid #FFFFFF;
}

.page-poker__button--download-app:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

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

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

  .page-poker__game-grid,
  .page-poker__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-poker__strategy-content,
  .page-poker__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__strategy-image-wrapper,
  .page-poker__security-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-poker__strategy-text,
  .page-poker__security-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 20px 30px;
  }

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

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

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

  .page-poker__button {
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
  }

  .page-poker__section-title,
  .page-poker__cta-title {
    font-size: 1.8em;
  }

  .page-poker__section-description,
  .page-poker__cta-description {
    font-size: 0.95em;
  }

  .page-poker__game-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__game-card,
  .page-poker__promo-card {
    padding: 25px;
  }

  .page-poker__strategy-content,
  .page-poker__security-content {
    gap: 30px;
  }

  .page-poker__strategy-image,
  .page-poker__security-image,
  .page-poker__hero-image,
  .page-poker__game-card-image,
  .page-poker__promo-card-image {
    max-width: 100%; /* Important for mobile images */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure all images within .page-poker are responsive and don't cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}