.page-poker {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding: 0;
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

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

.page-poker__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 90%;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #FFFFFF;
}

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

.page-poker__btn {
  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__btn--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-poker__btn--register:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

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

.page-poker__btn--login:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

.page-poker__section-title {
  font-size: 2.5em;
  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-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__section-paragraph {
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__strategy-section, .page-poker__tournaments-section, .page-poker__cta-section, .page-poker__faq-section {
  padding: 60px 0;
}

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

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

.page-poker__game-card, .page-poker__strategy-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-image, .page-poker__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-poker__game-title, .page-poker__strategy-title {
  font-size: 1.5em;
  color: #000000;
  margin: 20px 15px 10px;
}

.page-poker__game-description, .page-poker__strategy-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__btn--play, .page-poker__btn--learn-more {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto; /* Push button to bottom */
}

.page-poker__btn--play:hover, .page-poker__btn--learn-more:hover {
  background-color: #000000;
  color: #FFFFFF;
}

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

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

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

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

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

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

.page-poker__btn--view-promos {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-poker__btn--view-promos:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-poker__btn--join-tournament {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__btn--join-tournament:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.page-poker__cta-section {
  background-color: #f0f0f0;
  text-align: center;
}

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

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

.page-poker__btn--download:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px 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;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-poker__faq-question--active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 0px;
}

.page-poker__faq-answer--visible {
  max-height: 200px; /* Adjust as needed */
  padding: 10px 0px 0px;
}

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

@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__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-poker__game-grid, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__content-wrapper {
    padding: 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }
  .page-poker img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-poker__game-image, .page-poker__strategy-image {
    height: 200px; /* Smaller height for mobile cards */
  }
  .page-poker__tournament-actions, .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__faq-answer {
    font-size: 0.9em;
  }
  /* Enforce minimum image size for content area */
  .page-poker img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__btn {
    padding: 12px 20px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__section-intro {
    font-size: 0.9em;
  }
}