/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text on dark background */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  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, transform 0.2s ease;
  white-space: nowrap;
}

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

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

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

.page-poker__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

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

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-poker__about-section,
.page-poker__game-types-section,
.page-poker__strategy-section,
.page-poker__promo-section,
.page-poker__get-started-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-poker__about-section {
  background-color: #F8F8F8;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  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__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__promo-card img,
.page-poker__app-download img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block; /* Ensure images behave as block elements */
  width: 100%; /* Ensure images take full width of their container */
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
  object-fit: cover;
}

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

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-poker__strategy-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-poker__strategy-item:hover {
  background-color: #FFFDF7;
}

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

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-poker__strategy-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #555555;
}

.page-poker__strategy-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FCBC45;
  font-weight: bold;
}

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

.page-poker__call-to-action {
  text-align: center;
  margin-top: 60px;
}

.page-poker__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-poker__step-item {
  text-align: center;
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-poker__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__app-download {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #000000;
  color: #FFFFFF;
  padding: 50px;
  border-radius: 10px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.page-poker__app-download img {
  flex-shrink: 0;
  width: 400px; /* Fixed width for app image on larger screens */
  height: auto;
  object-fit: contain;
  min-width: 200px; /* Ensure app image is not too small */
}

.page-poker__app-content {
  flex-grow: 1;
}

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

.page-poker__app-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-poker__responsible-gaming-section {
  background-color: #F0F0F0;
  text-align: center;
}

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

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

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

.page-poker__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  display: none; /* Hidden by default */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }

  .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%;
    padding: 12px 20px;
  }

  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-poker__about-section,
  .page-poker__game-types-section,
  .page-poker__strategy-section,
  .page-poker__promo-section,
  .page-poker__get-started-section,
  .page-poker__responsible-gaming-section,
.page-poker__faq-section {
    padding: 50px 0;
  }

  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__strategy-grid,
  .page-poker__promo-cards,
  .page-poker__steps-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-poker__feature-card img,
  .page-poker__game-card img,
  .page-poker__promo-card img,
  .page-poker__app-download img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__promo-title {
    font-size: 1.5em;
  }

  .page-poker__strategy-title {
    font-size: 1.3em;
  }

  .page-poker__app-download {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .page-poker__app-download img {
    width: 100%;
    margin-bottom: 30px;
  }

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

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

  .page-poker__faq-question {
    font-size: 1.2em;
  }

  /* Ensure content area images are responsive and do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Maintain aspect ratio and cover area */
  }
  .page-poker {
    overflow-x: hidden;
  }
}