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

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset for PC and mobile */
  background-color: #000000; /* Main dark background for hero */
  color: #ffffff;
  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: 2;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.page-poker__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  filter: brightness(0.7); /* Darken for text readability */
}

.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;
  border: none;
  cursor: pointer;
}

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

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

.page-poker__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-poker__button--large {
  padding: 20px 40px;
  font-size: 1.2em;
}

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

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

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

.page-poker__features-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__guide-section,
.page-poker__bonuses-section,
.page-poker__mobile-section,
.page-poker__faq-section,
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__bonus-card,
.page-poker__tournament-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px 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;
  justify-content: space-between;
}

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

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

.page-poker__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
}

.page-poker__game-image,
.page-poker__bonus-image,
.page-poker__tournament-image,
.page-poker__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover; /* Ensure images fill their space without distortion */
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px; /* Enforce minimum size for content images */
}

.page-poker__game-card .page-poker__button--small {
  margin-top: 20px;
}

.page-poker__tournaments-section {
  background-color: #000000;
  color: #ffffff;
}

.page-poker__tournaments-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__tournaments-section .page-poker__section-intro {
  color: #f0f0f0;
}

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

.page-poker__tournament-card {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-poker__tournament-card .page-poker__card-title {
  color: #FCBC45;
}

.page-poker__tournament-card .page-poker__card-description {
  color: #e0e0e0;
}

.page-poker__tournament-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.page-poker__cta-text {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: 500;
}

.page-poker__guide-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.05em;
  color: #444444;
}

.page-poker__guide-subtitle {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__guide-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-poker__guide-list li {
  margin-bottom: 10px;
}

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

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

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

.page-poker__mobile-subtitle {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__mobile-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #555555;
}

.page-poker__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

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

.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(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-poker__faq-answer.open {
  max-height: 500px; /* Adjust as needed for content length */
}

.page-poker__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.page-poker__cta-section .page-poker__section-title {
  color: #FCBC45;
  margin-bottom: 30px;
}

.page-poker__cta-section .page-poker__section-intro {
  color: #f0f0f0;
  margin-bottom: 50px;
}

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

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

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

  .page-poker__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__mobile-image-wrapper {
    order: -1; /* Image appears above text on mobile */
  }
}

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

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

  .page-poker__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-poker__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

  .page-poker__features-grid,
  .page-poker__games-grid,
  .page-poker__bonuses-grid,
  .page-poker__tournament-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__bonus-card,
  .page-poker__tournament-card {
    padding: 25px;
  }

  .page-poker__card-title {
    font-size: 1.5em;
  }

  .page-poker__cta-section {
    padding: 60px 15px;
  }

  .page-poker__cta-text {
    font-size: 1.2em;
  }

  /* Ensure all images within .page-poker are responsive and not smaller than 200px */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__mobile-subtitle {
    font-size: 1.8em;
  }
}