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

.page-poker__hero-section {
  position: relative;
  background-color: #1A2B3C; /* Auxiliary dark blue */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

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

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Primary gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #1A2B3C; /* Auxiliary dark blue */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Primary gold */
  border-radius: 2px;
}

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

.page-poker__button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold */
  color: #1A2B3C; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-poker__button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
}

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

.page-poker__games-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.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: #1A2B3C; /* Auxiliary dark blue */
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-poker__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Primary gold */
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-poker__card-description {
  font-size: 1em;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-poker__card-button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold */
  color: #1A2B3C; /* Dark text for gold button */
  padding: 12px 25px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.page-poker__card-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
}

.page-poker__strategy-section,
.page-poker__promotions-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-poker__strategy-section .page-poker__content-area,
.page-poker__promotions-section .page-poker__content-area {
  order: 1;
}

.page-poker__strategy-image,
.page-poker__promo-image {
  margin-top: 40px;
  max-width: 1000px;
  width: 100%;
  order: 2;
}

.page-poker__strategy-image img,
.page-poker__promo-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-poker__cta-section {
  background-color: #1A2B3C; /* Auxiliary dark blue */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-poker__button--primary {
  background-color: #FFD700;
  color: #1A2B3C;
}

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

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
}

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

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 1em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__game-cards {
    grid-template-columns: 1fr;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__cta-buttons .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__strategy-image img, .page-poker__promo-image img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all images within .page-poker are responsive */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.95em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}