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

.page-poker__bg-dark {
  background-color: #0A192F; /* Main brand color for dark sections */
  color: #ffffff; /* Light text on dark background */
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #0A192F; /* Main brand color */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-poker__section-title.page-poker__bg-dark .page-poker__section-title {
    color: #FFD700; /* Accent color for titles on dark backgrounds */
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Accent color */
  border-radius: 2px;
}

.page-poker__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-poker__bg-dark .page-poker__section-title {
  color: #FFD700;
}

.page-poker__bg-dark .page-poker__section-subtitle,
.page-poker__bg-dark .page-poker__text-content {
  color: #f0f0f0;
}

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

.page-poker__button--primary {
  background-color: #FFD700; /* Accent color */
  color: #0A192F; /* Dark text for accent background */
  border: 2px solid #FFD700;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F; /* Dark text on hover */
  transform: translateY(-2px);
}

.page-poker__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
    min-width: unset;
}

.page-poker__keyword {
  font-weight: bold;
  color: #0A192F;
}

.page-poker__bg-dark .page-poker__keyword {
  color: #FFD700;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  height: 600px; /* Fixed height for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 0;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  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 .page-poker__button {
  margin: 0 10px;
  font-size: 1.1em;
}

/* About Section */
.page-poker__about-section {
  padding: 60px 0;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Games Section */
.page-poker__games-section {
  padding: 60px 0;
}

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-poker__game-description {
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 60px 0;
}

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

.page-poker__strategy-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__strategy-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-poker__strategy-subtitle {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-poker__strategy-description {
  color: #555555;
}

/* Promotion Section */
.page-poker__promo-section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  margin: 40px auto;
  border-radius: 10px;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__responsible-gaming-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  margin: 40px auto;
  border-radius: 10px;
}

/* Get Started Section */
.page-poker__get-started-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-poker__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-poker__step-description {
  color: #f0f0f0;
}

.page-poker__get-started-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  margin: 40px auto;
  border-radius: 10px;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 60px 0;
}

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

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

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

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

.page-poker__faq-question.active::after {
  content: '-';
}

.page-poker__faq-answer {
  color: #555555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

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

/* Call to Action Section */
.page-poker__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__action-area {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-poker__hero-section {
    height: 500px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions .page-poker__button {
    margin: 10px 0;
    width: 80%;
    font-size: 1em;
  }
  .page-poker__game-grid,
  .page-poker__strategy-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area image constraint */
  .page-poker__container img,
  .page-poker__game-card img,
  .page-poker__strategy-item img,
  .page-poker__promo-section img,
  .page-poker__responsible-gaming-section img,
  .page-poker__get-started-section img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-subtitle {
    font-size: 1em;
  }
  .page-poker__text-content {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-section {
    height: 400px;
  }
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__hero-actions .page-poker__button {
    width: 90%;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
}