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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000080; /* Midnight Blue background for hero */
  color: #ffffff; /* White text for dark background */
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

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

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  overflow: hidden;
}

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.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;
  font-size: 1.1em;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Midnight Blue text */
  border: 2px solid #FFD700;
}

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

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

.page-poker__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 150px; /* Smaller min-width for internal cards, but still >= 200px on mobile */
  background-color: #000080;
  color: #FFD700;
  border: 1px solid #FFD700;
}

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

.page-poker__button--text {
  background-color: transparent;
  color: #000080;
  border: none;
  text-decoration: underline;
  padding: 0;
  min-width: unset;
}

.page-poker__button--text:hover {
  color: #FFD700;
}

.page-poker__features-section,
.page-poker__how-to-play,
.page-poker__game-types,
.page-poker__community,
.page-poker__cta-section,
.page-poker__responsible-gaming {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-poker__features-title,
.page-poker__how-to-play-title,
.page-poker__game-types-title,
.page-poker__community-title,
.page-poker__cta-title,
.page-poker__responsible-gaming-title {
  font-size: 2.5em;
  color: #000080; /* Midnight Blue for section titles */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__features-title::after,
.page-poker__how-to-play-title::after,
.page-poker__game-types-title::after,
.page-poker__community-title::after,
.page-poker__cta-title::after,
.page-poker__responsible-gaming-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  border-radius: 2px;
}

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

.page-poker__how-to-play-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0e0e0;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__step-item img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small, min 200px */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #f0f0f0;
}

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

.page-poker__feature-card-description,
.page-poker__game-card-description,
.page-poker__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__community {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 60px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__community-content {
  flex: 1;
}

.page-poker__community-title {
  text-align: left;
  margin-bottom: 25px;
}

.page-poker__community-title::after {
  left: 0;
  transform: translateX(0);
}

.page-poker__community-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-poker__community-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__community-image img {
  width: 100%;
  max-width: 600px; /* Ensure image is not too small, min 200px */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__cta-section {
  background-color: #000080; /* Midnight Blue CTA background */
  color: #ffffff; /* White text */
  padding: 80px 20px;
  border-radius: 12px;
  margin: 60px auto;
}

.page-poker__cta-title {
  color: #FFD700; /* Gold for CTA title */
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-poker__cta-title::after {
  background-color: #FFD700;
}

.page-poker__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__responsible-gaming {
  background-color: #f0f0f0;
  padding: 50px 20px;
  border-radius: 12px;
  margin-top: 80px;
}

.page-poker__responsible-gaming-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__features-grid,
  .page-poker__game-types-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-poker__community {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__community-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    padding: 40px 15px;
    padding-bottom: 60px;
  }
  .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 {
    min-width: unset;
    width: 100%;
  }
  .page-poker__features-title,
  .page-poker__how-to-play-title,
  .page-poker__game-types-title,
  .page-poker__community-title,
  .page-poker__cta-title,
  .page-poker__responsible-gaming-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__how-to-play-steps,
  .page-poker__game-types-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__step-item {
    padding: 25px;
  }
  .page-poker__feature-card img,
  .page-poker__game-card img,
  .page-poker__step-item img,
  .page-poker__community-image img {
    max-width: 100%;
    width: 100%; /* Ensure images are responsive and do not cause overflow */
    height: auto; /* Maintain aspect ratio */
  }
  .page-poker__community {
    padding: 40px 20px;
  }
  .page-poker__cta-section {
    padding: 60px 20px;
  }
  .page-poker__cta-title {
    font-size: 2.2em;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__responsible-gaming {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__features-title,
  .page-poker__how-to-play-title,
  .page-poker__game-types-title,
  .page-poker__community-title,
  .page-poker__cta-title,
  .page-poker__responsible-gaming-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-poker__button--small {
    font-size: 0.85em;
    padding: 8px 15px;
  }
}