.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); /* Ensure content clears fixed header */
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

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

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

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

.page-poker__button--secondary:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-poker__button--center {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
}

.page-poker__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-poker__hero-actions .page-poker__button {
  margin: 0 10px;
}

.page-poker__hero-actions .page-poker__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-poker__hero-actions .page-poker__button--secondary {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-poker__hero-actions .page-poker__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-poker__tournaments-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-poker__tournaments-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
}

.page-poker__tournaments-text {
  width: 50%;
}

.page-poker__tournaments-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

/* Security Section */
.page-poker__security-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-poker__security-content {
  display: flex;
  flex-direction: row-reverse; /* Image on right */
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-poker__security-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
}

.page-poker__security-text {
  width: 50%;
}

.page-poker__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-poker__promo-card {
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__promo-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__promo-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Get Started Section */
.page-poker__get-started-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-poker__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-poker__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-poker__app-image {
  display: block;
  margin: 60px auto 0 auto;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce min size */
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-poker__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
  margin-top: 15px;
}

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

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

/* Call to Action Section */
.page-poker__call-to-action-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-poker__call-to-action-buttons .page-poker__button {
  margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__tournaments-content, .page-poker__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__tournaments-image, .page-poker__tournaments-text,
  .page-poker__security-image, .page-poker__security-text {
    width: 100%;
  }
  .page-poker__tournaments-image, .page-poker__security-image, .page-poker__app-image {
    max-width: 80%;
    margin: 40px auto;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions .page-poker__button {
    display: block;
    margin: 15px auto;
    width: 80%;
  }
  .page-poker__game-grid, .page-poker__promo-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__section-text {
    padding: 0 10px;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__tournaments-image, .page-poker__security-image, .page-poker__app-image,
  .page-poker__game-image, .page-poker__promo-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and not fixed height */
    min-width: 200px; /* Enforce min size */
  }
  .page-poker__faq-item {
    padding: 15px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__call-to-action-buttons .page-poker__button {
    display: block;
    margin: 15px auto;
    width: 90%;
  }
  /* Content area images must not be smaller than 200px */
  .page-poker img {
    max-width: 100%; 
    height: auto; 
    min-width: 200px;
    min-height: 200px;
  }
  /* Specific overrides for smaller images if necessary, ensuring min 200px */
  .page-poker__game-image, .page-poker__promo-image {
    height: 200px; /* Maintain minimum height for visual balance */
    object-fit: cover;
  }
}