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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463; /* Main color as fallback */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #ffffff;
  max-width: 90%;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-poker__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #0A2463; /* Main color */
  border: 2px solid #FFD700;
}

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

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

.page-poker__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
}

.page-poker__button--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-poker__features-grid,
.page-poker__bonuses-grid,
.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-poker__feature-card,
.page-poker__bonus-card,
.page-poker__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 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;
  justify-content: space-between;
}

.page-poker__feature-card:hover,
.page-poker__bonus-card:hover,
.page-poker__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__card-title,
.page-poker__game-title,
.page-poker__sub-title,
.page-poker__step-title,
.page-poker__faq-question {
  font-size: 1.5em;
  color: #0A2463; /* Main color */
  margin-bottom: 15px;
}

.page-poker__card-text,
.page-poker__game-description,
.page-poker__text,
.page-poker__faq-answer {
  color: #555555;
  font-size: 1em;
  flex-grow: 1;
}

.page-poker__card-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-poker__bonus-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-poker__games-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.page-poker__game-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  padding: 20px;
  border-radius: 5px;
}

.page-poker__tournament-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-poker__tournament-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-poker__tournament-details {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-poker__responsible-gaming {
  text-align: center;
  padding: 60px 20px;
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-poker__responsible-gaming .page-poker__section-title::after {
  background-color: #ffffff;
}

.page-poker__responsible-gaming .page-poker__text {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-poker__responsible-gaming .page-poker__sub-title {
  color: #FFD700;
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #eeeeee;
}

.page-poker__faq-question {
  cursor: pointer;
  position: relative;
  margin-bottom: 0;
}

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

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

.page-poker__faq-answer {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eeeeee;
  text-align: left;
}

.page-poker__faq-question.active + .page-poker__faq-answer {
  display: block;
}

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

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 1em;
    margin: 5px;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__card-title,
  .page-poker__game-title,
  .page-poker__sub-title,
  .page-poker__step-title,
  .page-poker__faq-question {
    font-size: 1.3em;
  }
  .page-poker__feature-card,
  .page-poker__bonus-card,
  .page-poker__step-card {
    padding: 20px;
  }
  .page-poker__tournament-content {
    flex-direction: column;
  }
  .page-poker__tournament-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  /* Mobile content area images must not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header if needed, but still use variable */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.5em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__container {
    padding: 20px 15px;
  }
}