.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  background-color: #000000; /* Body background is dark */
  color: #ffffff; /* Light text for dark background */
  font-family: Arial, sans-serif;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero */
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Slightly dim image to make text pop */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-poker__btn--register {
  background-color: #ffffff; /* Custom color for Register */
  color: #000000;
}

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

.page-poker__btn--login {
  background-color: #FCBC45; /* Custom color for Login */
  color: #000000;
}

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

/* General Section Styles */
.page-poker__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FCBC45;
}

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #f0f0f0;
}

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-promo-section,
.page-poker__get-started-section,
.page-poker__cta-section {
  padding: 80px 0;
}

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

.page-poker__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-poker__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-poker__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Games Grid */
.page-poker__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__game-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FCBC45;
  padding: 0 20px;
}

.page-poker__game-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  padding: 0 20px 20px 20px;
}

.page-poker__btn--play {
  background-color: #FCBC45;
  color: #000000;
  margin-bottom: 20px;
}

.page-poker__btn--play:hover {
  background-color: #e6a73c;
}

/* Promotions Grid */
.page-poker__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-poker__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-poker__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__promo-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__promo-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FCBC45;
  padding: 0 20px;
}

.page-poker__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  padding: 0 20px 20px 20px;
}

.page-poker__btn--view-promo {
  background-color: #FCBC45;
  color: #000000;
  margin-bottom: 20px;
}

.page-poker__btn--view-promo:hover {
  background-color: #e6a73c;
}

/* Get Started Section */
.page-poker__get-started-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

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

.page-poker__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

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

.page-poker__step-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-poker__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-poker__btn--step {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__btn--step:hover {
  background-color: #e6a73c;
}

/* CTA Section */
.page-poker__cta-section {
  background-color: #FCBC45; /* Use accent color for CTA background */
  color: #000000; /* Dark text on light accent background */
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 40px auto;
}

.page-poker__cta-section .page-poker__section-title {
  color: #000000;
  margin-bottom: 20px;
}

.page-poker__cta-section .page-poker__section-text {
  color: #333333;
  margin-bottom: 40px;
}

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

.page-poker__btn--register-cta {
  background-color: #000000;
  color: #ffffff;
}

.page-poker__btn--register-cta:hover {
  background-color: #333333;
}

.page-poker__btn--download-cta {
  background-color: #ffffff;
  color: #000000;
}

.page-poker__btn--download-cta:hover {
  background-color: #e0e0e0;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
  }
  .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__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 1em;
  }
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__tournaments-promo-section,
  .page-poker__get-started-section,
  .page-poker__cta-section {
    padding: 60px 0;
  }
  /* Mobile content area images must not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__promo-image {
    width: 100%;
    min-width: 200px; /* Ensure minimum size for content images */
    min-height: 200px; /* Ensure minimum size for content images */
  }
  .page-poker__cta-section {
    margin: 20px auto;
    border-radius: 0;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__promo-title,
  .page-poker__step-title {
    font-size: 1.4em;
  }
}