.page-poker {
  color: #333333; /* Dark text for light body background */
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF; /* Light text for hero content over dark/rich image */
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
}

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

.page-poker__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FCBC45;
}

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

.page-poker__button--light {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__button--light:hover {
  background-color: #f0f0f0;
}

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

.page-poker__section {
  padding: 80px 20px;
}

.page-poker__section--dark-bg {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-poker__section-title--light {
  color: #FFFFFF;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.page-poker__section-intro--light {
  color: #f0f0f0;
}

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

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__step-card,
.page-poker__tournament-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__step-card:hover,
.page-poker__tournament-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__tournament-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Example size, adjust as needed */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__strategy-title,
.page-poker__step-title,
.page-poker__tournament-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__strategy-description,
.page-poker__step-description,
.page-poker__tournament-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__link:hover {
  color: #e0a53a;
  text-decoration: underline;
}

.page-poker__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-poker__section--cta {
  background: linear-gradient(135deg, #000000, #333333);
  text-align: center;
  color: #FFFFFF;
  padding: 100px 20px;
}

.page-poker__cta-content .page-poker__section-title {
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px); /* Mobile header offset */
  }
  .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__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section {
    padding: 60px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__strategy-grid,
  .page-poker__steps-grid,
  .page-poker__tournament-grid {
    grid-template-columns: 1fr;
  }
  /* Content area images must not cause horizontal scrolling */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon, .page-poker__game-image, .page-poker__tournament-image {
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-poker__feature-card img, .page-poker__game-card img, .page-poker__tournament-card img {
    width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for card images */
    min-height: 200px; /* Enforce minimum size for card images */
  }
  .page-poker__feature-icon {
    max-width: 100%; /* Override specific max-width for smaller screens */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__strategy-title,
  .page-poker__step-title,
  .page-poker__tournament-title {
    font-size: 1.5em;
  }
}