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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #000000;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

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

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

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

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__game-variety-section,
.page-poker__strategy-guide-section,
.page-poker__tournaments-section,
.page-poker__why-choose-section,
.page-poker__cta-section {
  background-color: #000000;
  padding: 40px 20px 80px 20px;
}

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__game-card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-poker__game-card-text {
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

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

.page-poker__strategy-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__strategy-item-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-poker__strategy-item-text {
  color: #cccccc;
}

.page-poker__button--learn-more {
  display: block;
  margin: 50px auto 0 auto;
  background-color: #FFFFFF;
  color: #000000;
  width: fit-content;
}

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

.page-poker__tournament-features {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-poker__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__feature-icon {
  width: 200px; /* Enforce minimum size */
  height: 150px; /* Enforce minimum size */
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__feature-text {
  color: #e0e0e0;
}

.page-poker__button--view-promos,
.page-poker__button--join-tournaments {
  margin-top: 40px;
  display: inline-block;
  width: fit-content;
}

.page-poker__button--view-promos {
  background-color: #FFFFFF;
  color: #000000;
  margin-right: 20px;
}

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

.page-poker__button--join-tournaments {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--join-tournaments:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

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

.page-poker__advantage-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__advantage-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Enforce minimum size */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px auto;
}

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

.page-poker__advantage-text {
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__button--download-app,
.page-poker__button--contact-support {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
}

.page-poker__button--download-app:hover,
.page-poker__button--contact-support:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-poker__cta-section {
  text-align: center;
  padding-bottom: 100px;
}

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

.page-poker__button--register-cta {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-poker__button--learn-more-cta {
  background-color: #FFFFFF;
  color: #000000;
}

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

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

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

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

  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-poker__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__game-cards,
  .page-poker__strategy-content,
  .page-poker__tournament-features,
  .page-poker__advantages {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__button--view-promos,
  .page-poker__button--join-tournaments {
    display: block;
    width: 80%;
    margin: 20px auto 0 auto;
  }

  .page-poker__button--view-promos {
    margin-right: auto;
  }

  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-poker__button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
}