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

.page-poker__hero-section {
  background-color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-poker__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
}

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

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

.page-poker__button--register {
  background-color: #000000; /* Dark button for registration */
  color: #FFFFFF;
}

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

.page-poker__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

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

.page-poker__why-choose-section,
.page-poker__popular-games-section,
.page-poker__strategy-section,
.page-poker__tournaments-section,
.page-poker__responsible-gambling-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  margin-bottom: 0;
}

.page-poker__popular-games-section {
  background-color: #FFFFFF;
}

.page-poker__features-grid,
.page-poker__games-grid,
.page-poker__tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__tournament-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px 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;
}

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

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__tournament-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-poker__button--play,
.page-poker__button--view-promo {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
}

.page-poker__button--play:hover,
.page-poker__button--view-promo:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-poker__strategy-section {
  background-color: #f0f0f0;
}

.page-poker__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.page-poker__strategy-image {
  flex: 1;
  min-width: 400px; /* Ensure image is not too small */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-poker__strategy-text {
  flex: 2;
  min-width: 300px;
}

.page-poker__strategy-text p {
  margin-bottom: 20px;
  color: #444444;
}

.page-poker__strategy-subtitle {
  font-size: 1.6em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__strategy-list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #444444;
}

.page-poker__strategy-list li {
  margin-bottom: 10px;
}

.page-poker__button--learn {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 1em;
}

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

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 100px 20px;
  text-align: center;
}

.page-poker__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

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

@media (max-width: 768px) {
  .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-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__features-grid,
  .page-poker__games-grid,
  .page-poker__tournaments-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__tournament-card {
    padding: 25px;
  }
  .page-poker__strategy-content {
    flex-direction: column;
  }
  .page-poker__strategy-image {
    min-width: 200px;
    width: 100%;
    max-width: 100%;
  }
  .page-poker__strategy-text {
    min-width: unset;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1.1em;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button--large {
    width: 100%;
    max-width: 300px;
  }
  /* Mobile image overflow prevention */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}