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

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

.page-poker__hero-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  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-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-poker__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107; /* Auxiliary color for emphasis */
}

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

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

.page-poker__btn {
  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;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.page-poker__btn--primary {
  background-color: #ffc107;
  color: #0056b3; /* Darker primary color for contrast */
  border: 2px solid #ffc107;
}

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

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

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

.page-poker__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-poker__btn--center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-poker__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__why-jiliok-section,
.page-poker__strategy-section,
.page-poker__cta-section {
  padding: 60px 0;
}

.page-poker__games-section {
  background-color: #f8f9fa;
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__game-card-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-poker__game-card-title a {
  text-decoration: none;
  color: inherit;
}

.page-poker__game-card-title a:hover {
  color: #0056b3;
}

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

.page-poker__tournaments-section {
  background-color: #ffffff;
}

.page-poker__tournament-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-poker__feature-item {
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
}

.page-poker__feature-icon {
  width: 200px; /* Minimum size for content images */
  height: 150px; /* Minimum size for content images */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__feature-text {
  color: #666666;
}

.page-poker__why-jiliok-section {
  background-color: #f8f9fa;
}

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

.page-poker__feature-card {
  background-color: #ffffff;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-poker__feature-card-text {
  color: #666666;
}

.page-poker__feature-card-text a {
  color: #007bff;
  text-decoration: none;
}

.page-poker__feature-card-text a:hover {
  text-decoration: underline;
}

.page-poker__strategy-section {
  background-color: #ffffff;
}

.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__strategy-item {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__strategy-image {
  width: 100%;
  height: 200px; /* Consistent height for strategy images */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-poker__strategy-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__strategy-title a {
  text-decoration: none;
  color: inherit;
}

.page-poker__strategy-title a:hover {
  color: #0056b3;
}

.page-poker__strategy-text {
  color: #666666;
  padding: 0 20px;
}

.page-poker__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-poker__cta-section .page-poker__section-title::after {
  background-color: #ffc107;
}

.page-poker__cta-section .page-poker__section-description {
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-poker__cta-subtext {
  margin-top: 30px;
  font-size: 1.1em;
}

.page-poker__cta-subtext a {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__cta-subtext a:hover {
  text-decoration: underline;
}

/* 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-section {
    padding: 60px 15px;
  }

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

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

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

  .page-poker__btn {
    width: 100%;
    max-width: 300px;
  }

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

  .page-poker__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__games-section,
  .page-poker__tournaments-section,
  .page-poker__why-jiliok-section,
  .page-poker__strategy-section,
  .page-poker__cta-section {
    padding: 40px 0;
  }

  .page-poker__game-grid,
  .page-poker__tournament-features,
  .page-poker__features-list,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__game-card-image,
  .page-poker__strategy-image {
    height: 180px;
  }

  .page-poker__feature-icon {
    width: 180px;
    height: 135px;
  }

  .page-poker__container img {
    max-width: 100%;
    height: auto;
  }
  
  .page-poker__btn--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}