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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content area */
  padding-bottom: 60px; /* Space below content */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image to ensure text readability */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  text-align: center;
  color: #FFFFFF;
  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);
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

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

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

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

.page-poker__button--view-all,
.page-poker__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-poker__button--view-all:hover,
.page-poker__button--learn-more:hover {
  background-color: #e0a53b;
}

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

.page-poker__button--download:hover {
  background-color: #333333;
}

.page-poker__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

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

.page-poker__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

.page-poker__game-card,
.page-poker__tournament-card,
.page-poker__benefit-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__game-image,
.page-poker__tournament-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__card-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__game-title a,
.page-poker__tournament-title a {
  text-decoration: none;
  color: #000000;
  transition: color 0.3s ease;
}

.page-poker__game-title a:hover,
.page-poker__tournament-title a:hover {
  color: #FCBC45;
}

.page-poker__game-description,
.page-poker__tournament-text,
.page-poker__card-text {
  font-size: 1em;
  color: #666666;
  flex-grow: 1; /* Allow text to take up available space */
}

.page-poker__mobile-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 40px;
}

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

.page-poker__mobile-content .page-poker__section-title {
  text-align: left;
}

.page-poker__mobile-content .page-poker__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-poker__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

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

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

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

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

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 10px;
}

.page-poker__responsible-gaming-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

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

.page-poker__responsible-gaming-section .page-poker__section-description {
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__mobile-section {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-content .page-poker__section-title,
  .page-poker__mobile-content .page-poker__section-description {
    text-align: center;
  }
  .page-poker__mobile-image {
    max-width: 80%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
    min-width: unset;
    width: 100%;
  }
  .page-poker__cta-group {
    flex-direction: column;
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
  }
  .page-poker__game-types-grid,
  .page-poker__tournament-grid,
  .page-poker__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-image,
  .page-poker__tournament-image,
  .page-poker__card-icon,
  .page-poker__mobile-image {
    max-width: 100%; /* Important for mobile overflow */
    height: auto; /* Important for mobile overflow */
  }
  .page-poker__game-image,
  .page-poker__tournament-image {
    height: 250px;
  }
  .page-poker__mobile-section {
    padding: 30px 20px;
  }
  .page-poker__faq-item {
    padding: 15px 20px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__responsible-gaming-section {
    padding: 60px 15px;
  }
  .page-poker__hero-content {
    width: 95%;
  }
}

/* Ensure all images within .page-poker are at least 200px wide for content areas */
.page-poker img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for smaller images that are still content-relevant */
.page-poker__card-icon {
  min-width: 80px; /* Icons are allowed to be smaller, but not tiny */
  min-height: 80px;
}

/* Mobile content area images must not cause overflow */
@media (max-width: 768px) {
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker {
    overflow-x: hidden;
  }
}