.page-poker {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.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: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
}

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

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

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

.page-poker__btn {
  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, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-poker__btn--primary {
  background-color: #FFD700;
  color: #0A2342;
}

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

.page-poker__btn--secondary {
  background-color: #0A2342;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__btn--secondary:hover {
  background-color: #1a3a60;
  transform: translateY(-2px);
}

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

.page-poker__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #0A2342;
  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: #FFD700;
  border-radius: 2px;
}

.page-poker__text-content {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
  color: #555555;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__getting-started-section, .page-poker__responsible-gaming-section, .page-poker__faq-section, .page-poker__cta-final-section {
  padding: 80px 0;
}

.page-poker__about-section, .page-poker__tournaments-section, .page-poker__faq-section {
  background-color: #f9f9f9;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__feature-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  color: #666666;
  font-size: 1em;
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__game-card-content {
  padding: 25px;
  text-align: center;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-poker__game-card-description {
  color: #666666;
  font-size: 1em;
  margin-bottom: 25px;
}

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

.page-poker__tournament-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__tournament-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__tournament-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__tournament-title {
  font-size: 1.6em;
  color: #0A2342;
  margin-bottom: 10px;
}

.page-poker__tournament-description {
  color: #666666;
  font-size: 0.95em;
}

.page-poker__cta-group {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-poker__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-poker__step-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__step-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-poker__step-description {
  color: #666666;
  font-size: 1em;
}

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

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #0A2342;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-poker__faq-question.active {
  background-color: #f0f0f0;
}

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

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

.page-poker__faq-answer p {
  margin: 0;
}

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

.page-poker__faq-answer a {
  color: #0A2342;
  text-decoration: underline;
}

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

.page-poker__cta-final-section .page-poker__section-title {
  color: #FFD700;
}

.page-poker__cta-final-section .page-poker__text-content {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@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: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-content {
    padding: 30px 20px;
  }
  .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__btn {
    width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-content {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-poker__feature-item, .page-poker__game-card, .page-poker__tournament-item, .page-poker__step-item {
    padding: 20px;
  }
  .page-poker__feature-icon, .page-poker__game-card-image, .page-poker__tournament-image, .page-poker__step-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }
  .page-poker__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  .page-poker__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-poker__faq-answer.active {
    padding: 0 20px 15px 20px;
  }
  /* Ensure content images do not overflow on mobile */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__features-grid, .page-poker__game-cards-grid, .page-poker__tournament-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__cta-group {
    flex-direction: column;
  }
  .page-poker__feature-title, .page-poker__game-card-title, .page-poker__tournament-title, .page-poker__step-title {
    font-size: 1.5em;
  }
}