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

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

.page-poker__section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

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

.page-poker__section-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

/* Hero Section */
.page-poker__hero-section {
  padding: 0;
  position: relative;
  overflow: hidden;
}

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

.page-poker__hero-container {
  position: relative;
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  text-align: center;
  width: 90%;
  max-width: 900px;
  z-index: 10;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

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

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

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

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

/* Features Grid */
.page-poker__features-grid,
.page-poker__game-grid,
.page-poker__tournament-grid,
.page-poker__process-grid,
.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__feature-item,
.page-poker__game-card,
.page-poker__tournament-card,
.page-poker__process-step,
.page-poker__strategy-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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-item:hover,
.page-poker__game-card:hover,
.page-poker__tournament-card:hover,
.page-poker__process-step:hover,
.page-poker__strategy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__tournament-image,
.page-poker__process-icon,
.page-poker__strategy-image {
  width: 100%; /* Ensure images are responsive within their containers */
  max-width: 400px; /* Max width for general feature/process icons */
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__game-image, .page-poker__tournament-image, .page-poker__strategy-image {
    max-width: 600px; /* Larger max-width for content images */
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__tournament-title,
.page-poker__process-title,
.page-poker__strategy-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__tournament-description,
.page-poker__process-description,
.page-poker__strategy-description {
  font-size: 1em;
  color: #333333;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Buttons within cards */
.page-poker__button--play-now,
.page-poker__button--join-tournament,
.page-poker__button--sign-up,
.page-poker__button--quick-login,
.page-poker__button--read-guide {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.9em;
  border: 2px solid #FCBC45;
  margin-top: auto; /* Push button to bottom */
}

.page-poker__button--play-now:hover,
.page-poker__button--join-tournament:hover,
.page-poker__button--sign-up:hover,
.page-poker__button--quick-login:hover,
.page-poker__button--read-guide:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-poker__button--view-methods,
.page-poker__button--learn-more,
.page-poker__button--contact-support,
.page-poker__button--view-all-faq,
.page-poker__button--view-promo {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.9em;
  border: 2px solid #000000;
  margin-top: auto; /* Push button to bottom */
}

.page-poker__button--view-methods:hover,
.page-poker__button--learn-more:hover,
.page-poker__button--contact-support:hover,
.page-poker__button--view-all-faq:hover,
.page-poker__button--view-promo:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

/* Responsible Gaming & Mobile Gaming Layouts */
.page-poker__responsible-content,
.page-poker__mobile-content,
.page-poker__support-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-poker__responsible-content:nth-child(even) {
  flex-direction: row-reverse;
}

.page-poker__responsible-image,
.page-poker__mobile-image,
.page-poker__support-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__responsible-text,
.page-poker__mobile-text,
.page-poker__support-text {
  flex: 1;
  max-width: 50%;
}

.page-poker__responsible-text p,
.page-poker__mobile-text p,
.page-poker__support-text p {
  margin-bottom: 20px;
  color: #333333;
}

/* FAQ Section */
.page-poker__faq-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

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

.page-poker__faq-question {
  display: block;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-poker__faq-item[open] .page-poker__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-poker__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #333333;
}

.page-poker__faq-action {
  margin-top: 30px;
}

/* Call to Action */
.page-poker__call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-poker__call-to-action .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__call-to-action .page-poker__section-intro {
  color: #e0e0e0;
}

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

.page-poker__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border: 2px solid #FCBC45;
}

.page-poker__button--register-large:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-poker__button--view-promo {
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 40px;
  font-size: 1.3em;
  border: 2px solid #FFFFFF;
}

.page-poker__button--view-promo:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__responsible-content,
  .page-poker__mobile-content,
  .page-poker__support-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__responsible-image,
  .page-poker__mobile-image,
  .page-poker__support-image,
  .page-poker__responsible-text,
  .page-poker__mobile-text,
  .page-poker__support-text {
    max-width: 100%;
  }
  .page-poker__responsible-text p,
  .page-poker__mobile-text p,
  .page-poker__support-text p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__tournament-grid,
  .page-poker__process-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__button--register-large,
  .page-poker__button--view-promo {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Content images must not cause horizontal scroll */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__responsible-text .page-poker__button,
  .page-poker__mobile-text .page-poker__button,
  .page-poker__support-text .page-poker__button {
    width: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    width: 90%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.9em;
  }
}