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

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

.page-poker__hero-section {
  position: relative;
  background-color: #1a1a1a; /* Dark background for hero section */
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

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

.page-poker__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 60px 20px;
  z-index: 2;
}

.page-poker__hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 3;
}

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

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

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

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

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

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

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

.page-poker__button--tertiary {
  background-color: #FFD700;
  color: #B80000;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__button--tertiary:hover {
  background-color: #e6c200;
  transform: translateY(-1px);
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #B80000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__strategy-section, .page-poker__promotions-section, .page-poker__security-section, .page-poker__cta-section {
  padding: 60px 0;
}

.page-poker__about-section, .page-poker__strategy-section, .page-poker__security-section {
  background-color: #f9f9f9;
}

.page-poker__text-content {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__game-card, .page-poker__strategy-card, .page-poker__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-image, .page-poker__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-title, .page-poker__strategy-title, .page-poker__promo-title {
  font-size: 1.8em;
  color: #B80000;
  margin-bottom: 15px;
  padding: 0 20px;
}

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

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

.page-poker__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

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

.page-poker__cta-section {
  background-color: #B80000;
  color: #ffffff;
  text-align: center;
}

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

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

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
}

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

.page-poker__cta-actions .page-poker__button--primary {
  background-color: #FFD700;
  color: #B80000;
  border: 2px solid #FFD700;
}

.page-poker__cta-actions .page-poker__button--primary:hover {
  background-color: #e6c200;
  color: #B80000;
}

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

.page-poker__cta-actions .page-poker__button--secondary:hover {
  background-color: #ffffff;
  color: #B80000;
}

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

@media (max-width: 768px) {
  .page-poker__hero-container {
    min-height: 450px;
    padding: 40px 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: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .page-poker__text-content {
    font-size: 1em;
  }

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

  .page-poker__game-image, .page-poker__strategy-image {
    height: 200px; /* Ensure minimum size for content images */
    max-width: 100%;
  }

  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-container {
    min-height: 350px;
    padding: 30px 10px;
  }

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

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

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

  .page-poker__button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
}

/* Ensure all content images within .page-poker are at least 200px */
.page-poker img:not(.page-poker__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific adjustment for smaller card images if needed, ensuring minimums */
.page-poker__game-image, .page-poker__strategy-image {
  width: 100%; /* Take full width of parent */
  height: 250px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-poker__game-image, .page-poker__strategy-image {
    height: 200px;
    min-height: 200px;
    min-width: 200px;
    max-width: 100%;
  }
}