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

.page-poker__hero-section {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Desktop fixed header offset */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

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

.page-poker__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  display: block;
  margin: 40px auto 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover; /* Ensure image covers area without distortion */
}

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

.page-poker__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text for contrast */
}

.page-poker__button--primary:hover {
  background-color: #e0a73b;
}

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

.page-poker__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #e0a73b;
}

.page-poker__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
  font-weight: 700;
}

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

.page-poker__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

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

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

.page-poker__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: 600;
}

.page-poker__card p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__game-showcase-section .page-poker__button {
  margin-top: auto; /* Push button to bottom of card */
}

.page-poker__promotions-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-poker__get-started-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.page-poker__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

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

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

.page-poker__step-card p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__responsible-gaming-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 20px;
  }
  .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; /* Constrain button width on mobile */
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-poker__grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__card-image, .page-poker__step-icon {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    min-height: 200px; /* Enforce minimum display height */
  }
  .page-poker__card-title {
    font-size: 1.4em;
  }
  .page-poker__promotions-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__step-title {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}