.page-poker {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px);
}

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

.page-poker__hero-section {
  background-color: #000000; /* Main color as background for hero */
  color: #FFFFFF; /* White text for dark background */
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

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

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  line-height: 1.2;
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

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

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

.page-poker__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Main color */
  border: 2px solid #FFFFFF;
}

.page-poker__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-poker__button--large {
  padding: 20px 40px;
  font-size: 1.3em;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__strategy-section,
.page-poker__bonuses-section,
.page-poker__mobile-section,
.page-poker__responsible-gaming-section,
.page-poker__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Consistent light background */
}

.page-poker__about-section {
  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.1);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
}

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

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

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

.page-poker__game-card {
  background-color: #000000; /* Dark background for game cards */
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-poker__game-title {
  font-size: 2em;
  color: #FCBC45; /* Login color for emphasis */
  margin-bottom: 15px;
}

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

.page-poker__game-card .page-poker__button {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  align-self: center;
}

.page-poker__game-card .page-poker__button:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

.page-poker__article-card {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.page-poker__article-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-poker__article-link {
  color: #000000;
  text-decoration: none;
}

.page-poker__article-link:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-poker__article-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__read-more {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__read-more:hover {
  text-decoration: underline;
}

.page-poker__button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-poker__bonus-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-poker__mobile-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__cta-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
}

/* Responsive Design */
@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: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-poker__hero-section {
    padding: 60px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.2em;
  }

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

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    width: 100%;
    min-width: unset;
  }

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

  .page-poker__text-content {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__features-grid,
  .page-poker__game-types,
  .page-poker__strategy-articles {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__bonus-image,
  .page-poker__mobile-image,
  .page-poker__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
  }

  .page-poker__container {
    padding: 0 15px;
  }
}

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

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

  .page-poker__button--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}