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

.page-poker__hero-section {
  position: relative;
  background-color: #f0f0f0;
  overflow: hidden;
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff; /* White text for contrast against background image */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for readability */
  padding: 30px;
  border-radius: 10px;
}

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

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

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

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

.page-poker__button--primary {
  background-color: #dc3545; /* Auxiliary color for primary action */
  color: #ffffff;
  border: 2px solid #dc3545;
}

.page-poker__button--primary:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-poker__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-poker__section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.page-poker__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

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

.page-poker__heading {
  font-size: 2.5em;
  color: #007bff; /* Primary color for headings */
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-poker__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #dc3545;
  border-radius: 2px;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__feature-item {
  background-color: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 20px;
}

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

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

.page-poker__bonus-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__bonus-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__bonus-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-poker__bonus-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__container--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.page-poker__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

.page-poker__mobile-feature-item::before {
  content: '✔';
  color: #007bff;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-poker__section--cta {
  background-color: #007bff; /* Primary color for CTA section */
  color: #ffffff;
  padding: 80px 20px;
}

.page-poker__heading--cta {
  color: #ffffff;
}

.page-poker__heading--cta::after {
  background-color: #dc3545;
}

.page-poker__text-content--cta {
  color: #e0e0e0;
  margin-bottom: 50px;
}

.page-poker__button--hero {
  background-color: #dc3545;
  color: #ffffff;
  border: 2px solid #dc3545;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-poker__button--hero:hover {
  background-color: #c82333;
  border-color: #c82333;
}

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

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-content {
    padding: 20px;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__heading {
    font-size: 1.8em;
  }
  .page-poker__text-content {
    font-size: 0.95em;
  }
  .page-poker__container--flex {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-content {
    order: 2;
  }
  .page-poker__mobile-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
  .page-poker__mobile-feature-item {
    padding-left: 0;
    text-align: center;
  }
  .page-poker__mobile-feature-item::before {
    position: static;
    margin-right: 5px;
  }
  /* Ensure images do not overflow on mobile */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__game-image, .page-poker__bonus-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__heading {
    font-size: 1.5em;
  }
  .page-poker__text-content {
    font-size: 0.9em;
  }
  .page-poker__feature-item, .page-poker__game-card, .page-poker__bonus-card {
    padding: 20px;
  }
  .page-poker__game-title, .page-poker__bonus-title {
    font-size: 1.4em;
  }
}