/* style/poker.css */
.page-poker {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Default text color for light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-poker__hero-section {
  background-color: #003366; /* Main brand color for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.8); /* Slightly dim the image for text readability */
}

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

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Auxiliary color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

.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, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-poker__button--primary {
  background-color: #FFCC00; /* Gold for primary action */
  color: #003366;
  border: 2px solid #FFCC00;
}

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

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

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

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

.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: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-poker__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-poker__sub-heading {
  font-size: 1.8em;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.page-poker__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444444;
  text-align: justify;
}

.page-poker__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  max-width: 1000px; /* Ensure images are not too wide on large screens */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-poker__grid-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-poker__grid-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__grid-item .page-poker__sub-heading {
  margin-top: 0;
  font-size: 1.5em;
}

.page-poker__grid-item .page-poker__paragraph {
  font-size: 1em;
}

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

.page-poker__button--promo {
  background-color: #003366;
  color: #FFCC00;
  border: 2px solid #003366;
}

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

.page-poker__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__heading {
    font-size: 2.2em;
  }
  .page-poker__sub-heading {
    font-size: 1.6em;
  }
  .page-poker__paragraph {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-poker__hero-section {
    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: 80%;
    max-width: 300px;
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__heading {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-poker__sub-heading {
    font-size: 1.4em;
  }
  .page-poker__grid {
    grid-template-columns: 1fr;
  }
  .page-poker__grid-image {
    height: 200px; /* Smaller height for mobile grid images */
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__image-full {
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button--large {
    width: 80%;
    max-width: 300px;
  }
  /* Ensure all images in content area are responsive and not smaller than 200px */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__heading {
    font-size: 1.8em;
  }
  .page-poker__button {
    width: 90%;
  }
  .page-poker__button--large {
    width: 90%;
  }
}