.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: #0d121c; /* Matches body background for consistency */
  font-family: 'Arial', sans-serif;
}

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding-bottom: 60px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 10;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__btn--primary {
  background-color: #FFD700; /* Accent color */
  color: #1A202C; /* Dark text on accent background */
}

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

.page-poker__btn--secondary {
  background-color: #1A202C; /* Main dark color */
  color: #FFD700; /* Accent text on dark background */
  border: 2px solid #FFD700;
}

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

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

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

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__promotions-section,
.page-poker__mobile-section,
.page-poker__how-to-start-section,
.page-poker__responsible-gaming-section {
  padding: 80px 0;
}

.page-poker__game-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__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover,
.page-poker__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-poker__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-poker__card-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-poker__tournament-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__tournament-features {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.page-poker__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.page-poker__feature-item::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  margin-right: 10px;
}

.page-poker__mobile-section .page-poker__container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-poker__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px; /* Adjusted to meet min 200x200 requirement */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-poker__step-description {
  font-size: 1em;
  line-height: 1.6;
}

/* Responsive adjustments */
@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__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
  }
  .page-poker__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__hero-content {
    width: 95%;
  }
  .page-poker__mobile-section .page-poker__container {
    flex-direction: column;
  }
  .page-poker__mobile-image {
    width: 100%;
    height: auto; /* Allow auto height for responsiveness */
    max-width: 400px; /* Keep a reasonable max width */
  }
  .page-poker__game-grid,
  .page-poker__promo-grid,
  .page-poker__tournament-features,
  .page-poker__steps-list {
    grid-template-columns: 1fr;
  }
  /* Mobile content area images must be constrained */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not smaller than 200px */
  .page-poker__game-image, .page-poker__tournament-image, .page-poker__mobile-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__game-image {
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__game-card, .page-poker__promo-card, .page-poker__step-item {
    padding: 20px;
  }
  .page-poker__card-title, .page-poker__step-title {
    font-size: 1.5em;
  }
}