.page-poker {
  color: #333333; /* Dark text for light body background */
}

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Black background for hero section */
  overflow: hidden;
}

.page-poker__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  padding: 30px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay */
  border-radius: 10px;
  margin-top: -80px; /* Overlap with image for visual effect */
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__hero-title {
  font-size: 2.8em;
  color: #FCBC45; /* Login button color for highlight */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-description {
  font-size: 1.2em;
  color: #FFFFFF;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-poker__hero-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;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-poker__hero-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

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

.page-poker__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: left;
}

.page-poker__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
  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-paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

.page-poker__games-section,
.page-poker__start-section,
.page-poker__bonuses-section,
.page-poker__security-section,
.page-poker__mobile-section,
.page-poker__support-section,
.page-poker__faq-section,
.page-poker__final-cta-section {
  padding: 40px 0;
}

.page-poker__games-section {
  background-color: #f9f9f9;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

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

.page-poker__game-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

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

.page-poker__step-card {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

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

.page-poker__step-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-poker__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-poker__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure button minimum width */
}

.page-poker__cta-button--create,
.page-poker__cta-button--final {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__cta-button--create:hover,
.page-poker__cta-button--final:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-poker__cta-button--login,
.page-poker__cta-button--download,
.page-poker__cta-button--contact {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__cta-button--login:hover,
.page-poker__cta-button--download:hover,
.page-poker__cta-button--contact:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__cta-button--view-promo,
.page-poker__cta-button--responsible {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__cta-button--view-promo:hover,
.page-poker__cta-button--responsible:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-poker__bonuses-section .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__bonuses-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

.page-poker__bonuses-section .page-poker__section-paragraph {
  color: #f0f0f0;
}

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

.page-poker__bonus-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-poker__bonus-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-poker__bonus-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

.page-poker__bonus-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-poker__bonus-description {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.7;
}

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

.page-poker__feature-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

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

.page-poker__feature-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-poker__mobile-section {
  background-color: #f9f9f9;
}

.page-poker__mobile-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-poker__mobile-content {
  flex: 1;
}

.page-poker__mobile-image-container {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

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

.page-poker__channel-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

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

.page-poker__channel-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

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

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  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-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg); /* No rotation for minus */
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
  padding-top: 0;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  opacity: 1;
  padding-top: 15px;
}

.page-poker__final-cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-poker__final-cta-section .page-poker__section-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-poker__final-cta-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

.page-poker__final-cta-section .page-poker__section-paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__game-title, .page-poker__step-title, .page-poker__bonus-title, .page-poker__feature-title, .page-poker__channel-title {
    font-size: 1.4em;
  }
  .page-poker__mobile-layout {
    flex-direction: column;
  }
  .page-poker__mobile-content, .page-poker__mobile-image-container {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-content {
    margin-top: -50px;
    padding: 20px;
  }
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__content-area {
    padding: 30px 15px;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__section-paragraph {
    font-size: 0.95em;
  }
  .page-poker__game-image, .page-poker__bonus-image {
    height: 200px; /* Adjust height for smaller screens */
  }
  /* Enforce min-size for all images within .page-poker for mobile */
  .page-poker img {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
    min-width: 200px; /* Enforce min-size, but max-width: 100% will override if smaller */
    min-height: 200px; /* Enforce min-size */
  }
  .page-poker__cta-button {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.5em;
  }
  .page-poker__hero-description {
    font-size: 0.85em;
  }
  .page-poker__hero-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-poker__section-title {
    font-size: 1.4em;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  .page-poker__faq-answer {
    font-size: 0.9em;
  }
}