.page-poker {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #1A202C;
  overflow: hidden;
}

.page-poker__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

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

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

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  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.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-poker__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

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

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

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

.page-poker__keyword {
  font-weight: bold;
  color: #1A202C;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 1.05em;
  text-align: center;
  border-left: 5px solid #FFD700;
}

.page-poker__section-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-poker__bg-dark {
  background-color: #1A202C;
  color: #ffffff;
}

.page-poker__bg-dark .page-poker__section-title {
  color: #FFD700;
}

.page-poker__bg-dark .page-poker__keyword {
  color: #FFD700;
}

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__game-description {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__game-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-poker__sub-title {
  font-size: 1.8em;
  color: #1A202C;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-poker__bg-dark .page-poker__sub-title {
  color: #FFD700;
}

.page-poker__info-text {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__action-button {
  display: inline-block;
  background-color: #1A202C;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 30px;
}

.page-poker__action-button:hover {
  background-color: #0e1217;
  color: #e6c200;
}

.page-poker__action-button--highlight {
  background-color: #FFD700;
  color: #1A202C;
}

.page-poker__action-button--highlight:hover {
  background-color: #e6c200;
  color: #1A202C;
}

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

.page-poker__bonus-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__bonus-description {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__bonus-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-poker__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__step-title {
  font-size: 1.8em;
  color: #1A202C;
  margin-bottom: 20px;
}

.page-poker__step-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__step-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-poker__step-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-poker__app-features {
  margin-top: 40px;
  text-align: center;
}

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

.page-poker__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
  font-size: 1.05em;
}

/* Responsive adjustments */
@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: 2em;
  }
  .page-poker__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-content {
    width: 90%;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-poker__container {
    padding: 30px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__feature-list, .page-poker__game-grid, .page-poker__bonus-grid, .page-poker__login-steps, .page-poker__benefit-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__section-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  /* Ensure content images do not cause horizontal scroll */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Content images must be at least 200px */
  .page-poker__section-image, .page-poker__game-card img, .page-poker__bonus-card img, .page-poker__step-card img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__hero-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__sub-title {
    font-size: 1.4em;
  }
  .page-poker__action-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
}