/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  background-color: var(--secondary-color, #FFFFFF); /* Page background */
}

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

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

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

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

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

.page-poker__hero-buttons {
  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;
  min-width: 180px;
  text-align: center;
}

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

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

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

.page-poker__button--login:hover {
  background-color: #e0a73b;
}

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

.page-poker__why-phdream11, .page-poker__game-types, .page-poker__how-to-start, .page-poker__promotions, .page-poker__responsible-gaming, .page-poker__faq, .page-poker__cta-final {
  padding: 60px 0;
}

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

.page-poker__feature-card, .page-poker__game-card, .page-poker__step-card, .page-poker__promo-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__feature-card img, .page-poker__promo-card img {
  width: 100%;
  height: auto;
  max-height: 250px; /* Ensure images are not too tall within cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-poker__card-description, .page-poker__game-card-description, .page-poker__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__button--download, .page-poker__button--play, .page-poker__button--view-promo, .page-poker__button--deposit, .page-poker__button--details, .page-poker__button--view-all, .page-poker__button--learn-more, .page-poker__button--support {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--download:hover, .page-poker__button--play:hover, .page-poker__button--view-promo:hover, .page-poker__button--deposit:hover, .page-poker__button--details:hover, .page-poker__button--view-all:hover, .page-poker__button--learn-more:hover, .page-poker__button--support:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-poker__step-card {
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-poker__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__responsible-gaming {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-poker__responsible-gaming .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__responsible-gaming .page-poker__section-intro {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-poker__faq-items {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-poker__faq-answer {
  font-size: 1em;
  color: #666666;
}

.page-poker__faq-cta {
  text-align: center;
  margin-top: 40px;
}

.page-poker__cta-final {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  padding: 80px 20px;
}

.page-poker__cta-final .page-poker__section-title {
  color: #000000;
}

.page-poker__cta-final .page-poker__section-intro {
  color: #333333;
  margin-bottom: 40px;
}

.page-poker__button--register-large {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-poker__button--register-large:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px 30px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 250px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }
  .page-poker__features-grid, .page-poker__game-cards-grid, .page-poker__steps-grid, .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card img, .page-poker__promo-card img {
    max-height: 200px;
  }
  .page-poker__card-title, .page-poker__game-card-title, .page-poker__step-title, .page-poker__faq-question {
    font-size: 1.5em;
  }
  .page-poker__button--register-large {
    font-size: 1.1em;
    padding: 15px 30px;
    width: 100%;
    max-width: 300px;
  }

  /* Mobile image overflow prevention */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__container {
    overflow-x: hidden;
  }
}

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