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

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000;
}

.page-poker__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  padding: 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-poker__button--play,
.page-poker__button--download {
  background-color: #FCBC45;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-poker__button--play:hover,
.page-poker__button--download:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.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;
  font-weight: bold;
}

.page-poker__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__about-section,
.page-poker__strategy-section,
.page-poker__promotions-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-poker__game-types-section,
.page-poker__features-section,
.page-poker__cta-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-poker__image-content {
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-poker__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforcing minimum size for content images */
  min-height: 200px;
  width: 200px; /* Explicitly setting display size for icons */
  height: 200px;
  object-fit: contain; /* Ensure icons fit without cropping */
}

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

.page-poker__feature-text {
  font-size: 0.95em;
  color: #555555;
}

.page-poker__strategy-tips {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-top: 40px;
}

.page-poker__sub-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-poker__list-item {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-poker__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FCBC45;
  font-weight: bold;
}

.page-poker__button--learn-more,
.page-poker__button--view-promo {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  display: block;
  margin: 0 auto;
  max-width: 300px;
}

.page-poker__button--learn-more:hover,
.page-poker__button--view-promo:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #000000, #333333);
  color: #FFFFFF;
}

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

.page-poker__cta-section .page-poker__section-description {
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__card-title {
    font-size: 1.5em;
  }
  .page-poker__feature-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-content {
    width: 90%;
    padding: 15px;
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__container {
    padding: 30px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
  }
  .page-poker__game-cards,
  .page-poker__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__card-image,
  .page-poker__image-content,
  .page-poker__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-poker__feature-icon {
    width: 200px;
    height: 200px;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker {
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.5em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__sub-title {
    font-size: 1.5em;
  }
  .page-poker__list-item {
    font-size: 1em;
  }
}