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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
  font-size: 1.05em;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login color for primary actions */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--secondary,
.page-poker__button--download,
.page-poker__button--learn,
.page-poker__button--learn-more,
.page-poker__button--play,
.page-poker__button--claim,
.page-poker__button--register,
.page-poker__button--login {
  background-color: #000000; /* Main color for secondary actions */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--secondary:hover,
.page-poker__button--download:hover,
.page-poker__button--learn:hover,
.page-poker__button--learn-more:hover,
.page-poker__button--play:hover,
.page-poker__button--claim:hover,
.page-poker__button--register:hover,
.page-poker__button--login:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a decent height */
}

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4; /* Darken image for text readability */
  display: block; /* Ensure img is block level */
}

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

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

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

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

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-poker__feature-card:hover {
  transform: translateY(-5px);
}

.page-poker__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-poker__feature-description {
  color: #555555;
  flex-grow: 1;
}

.page-poker__button--download {
  margin-top: 20px;
}

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-poker__game-name {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-poker__game-description {
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-poker__button--play {
  margin: 0 20px 20px 20px;
  text-align: center;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-poker__strategy-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-poker__strategy-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-poker__strategy-title {
  font-size: 1.6em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-poker__strategy-description {
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-poker__button--learn {
  margin: 0 20px 20px 20px;
  text-align: center;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__tournaments-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

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

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

.page-poker__highlight-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__highlight-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-poker__highlight-description {
  color: #e0e0e0;
}

.page-poker__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-poker__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-poker__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-poker__promo-title {
  font-size: 1.6em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-poker__promo-description {
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-poker__button--claim {
  margin: 0 20px 20px 20px;
  text-align: center;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

.page-poker__responsible-features ul {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-poker__responsible-item {
  background-color: #FFFFFF;
  padding: 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 1.1em;
  color: #333333;
}

/* Join Section */
.page-poker__join-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

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

.page-poker__join-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

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

.page-poker__join-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-content {
    padding: 40px 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__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__game-cards,
  .page-poker__strategy-grid,
  .page-poker__tournament-highlights,
  .page-poker__promo-cards,
  .page-poker__responsible-features ul {
    grid-template-columns: 1fr;
  }
  /* Ensure content images are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
    min-width: 200px; /* Minimum width for content images */
    min-height: 200px; /* Minimum height for content images */
  }
  .page-poker__feature-icon, .page-poker__game-image, .page-poker__strategy-image, .page-poker__promo-image {
    width: 100%; /* Make sure they fill their container */
    height: auto;
  }
  .page-poker__feature-icon {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.95em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__hero-actions,
  .page-poker__join-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-poker__button {
    width: 100%;
  }
}