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

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

.page-poker__hero-content {
  max-width: 800px;
}

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

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

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

.page-poker__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-poker__hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.page-poker__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
}

.page-poker__section-intro {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__promo-card,
.page-poker__strategy-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__promo-card:hover,
.page-poker__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__promo-description,
.page-poker__strategy-description {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

.page-poker__game-image,
.page-poker__promo-image,
.page-poker__app-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  object-fit: cover;
}

.page-poker__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  font-size: 1em;
}

.page-poker__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-poker__btn--register:hover {
  background-color: #f0f0f0;
  color: #000000;
}

.page-poker__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__btn--login:hover {
  background-color: #e0a53a;
  color: #000000;
}

.page-poker__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  margin-top: 15px;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

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

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

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

.page-poker__app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-poker__app-details {
  text-align: left;
  max-width: 600px;
}

.page-poker__app-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__app-description {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 30px;
}

.page-poker__btn--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

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

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 40px 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__section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__strategy-cards,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__app-details {
    text-align: center;
  }
  .page-poker__app-image,
  .page-poker__hero-image,
  .page-poker__game-image,
  .page-poker__promo-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__btn {
    width: 100%;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__promo-title,
  .page-poker__strategy-title {
    font-size: 1.4em;
  }
  .page-poker__app-subtitle {
    font-size: 1.6em;
  }
}