.page-poker {
  background-color: #FFFFFF;
  color: #333333;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__hero-section {
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  display: block;
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.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: 2px solid transparent;
  font-size: 1.1em;
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-poker__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-poker__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
}

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

.page-poker__about-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.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: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__feature-card img {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__feature-description {
  color: #555555;
  font-size: 1em;
}

.page-poker__games-section {
  padding: 60px 0;
}

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

.page-poker__game-card {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
}

.page-poker__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8); /* Slightly darken images for text */
}

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

.page-poker__game-description {
  padding: 0 20px;
  margin-bottom: 20px;
  color: #F0F0F0;
}

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

.page-poker__button--play:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__tournaments-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

.page-poker__highlight-card {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.page-poker__highlight-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__highlight-description {
  color: #555555;
  font-size: 0.95em;
}

.page-poker__call-to-action {
  text-align: center;
  margin-top: 50px;
}

.page-poker__button--download {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-poker__button--download:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__mobile-section {
  padding: 80px 0;
  background: linear-gradient(to right, #000000, #333333);
  color: #FFFFFF;
}

.page-poker__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.page-poker__mobile-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

.page-poker__mobile-text .page-poker__section-title {
  color: #FFFFFF;
  text-align: left;
}

.page-poker__mobile-text .page-poker__section-text {
  color: #F0F0F0;
  text-align: left;
  margin: 0 0 30px 0;
}

.page-poker__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.page-poker__mobile-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__why-choose-section {
  padding: 60px 0 80px;
}

.page-poker__advantage-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
}

.page-poker__advantage-item {
  background-color: #FFFFFF;
  padding: 20px 30px;
  margin-bottom: 15px;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  color: #333333;
  font-size: 1.05em;
}

.page-poker__advantage-item strong {
  color: #000000;
}

/* Responsive adjustments */
@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 {
    padding: 60px 20px 30px;
  }

  .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: 80%;
    margin: 0 auto;
  }

  .page-poker__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }

  .page-poker__section-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-poker__features-grid,
  .page-poker__games-grid,
  .page-poker__tournament-highlights {
    grid-template-columns: 1fr;
  }

  .page-poker__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-poker__mobile-text {
    text-align: center;
    max-width: 100%;
  }

  .page-poker__mobile-text .page-poker__section-title,
  .page-poker__mobile-text .page-poker__section-text {
    text-align: center;
  }

  .page-poker__button--download {
    width: 80%;
  }

  .page-poker__advantage-item {
    padding: 15px 20px;
    font-size: 1em;
  }

  /* Ensure images in content sections are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Minimum display width for content images */
    min-height: 200px; /* Minimum display height for content images */
    object-fit: cover;
  }

  .page-poker__feature-card img,
  .page-poker__game-card img,
  .page-poker__mobile-image img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

  .page-poker__hero-description {
    font-size: 0.9em;
  }

  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }

  .page-poker__section-title {
    font-size: 1.5em;
  }

  .page-poker__section-text {
    font-size: 0.9em;
  }
}