.page-poker {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background for hero section */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  z-index: 1;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107;
  line-height: 1.2;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  cursor: pointer;
}

.page-poker__button--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #ffc107;
  color: #000000;
  transform: translateY(-2px);
}

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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__about-section, .page-poker__variants-section, .page-poker__tournaments-section, .page-poker__strategy-section, .page-poker__live-section, .page-poker__cta-section {
  padding: 60px 0;
}

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

.page-poker__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #007bff;
}

.page-poker__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-poker__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-poker__card-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  min-height: 48px; /* Ensure consistent height for titles */
}

.page-poker__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  min-height: 90px; /* Ensure consistent height for descriptions */
}

.page-poker__tournament-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.page-poker__feature-item {
  background-color: #f8f9fa;
  border-left: 5px solid #ffc107;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

.page-poker__feature-description {
  font-size: 0.95em;
  color: #666666;
}

.page-poker__tournament-image, .page-poker__strategy-image, .page-poker__live-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  display: block;
}

.page-poker__strategy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

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

.page-poker__strategy-column ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-poker__strategy-column li {
  background-color: #e9f5ff;
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 5px;
  color: #333333;
  font-size: 1em;
  border-left: 4px solid #007bff;
}

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

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

.page-poker__cta-section .page-poker__text-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.2em;
}

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px);
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__card-grid, .page-poker__tournament-features, .page-poker__strategy-columns {
    grid-template-columns: 1fr;
  }
  .page-poker__card-image, .page-poker__tournament-image, .page-poker__strategy-image, .page-poker__live-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-content {
    font-size: 1em;
  }
  .page-poker__card-title {
    min-height: auto;
  }
  .page-poker__card-description {
    min-height: auto;
  }
  .page-poker__hero-content {
    padding: 15px;
  }
  /* Ensure content area images do not cause horizontal scroll */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button--lg {
    padding: 15px 25px;
    font-size: 1.1em;
  }
  .page-poker__button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}