.page-poker {
  padding-top: var(--header-offset, 120px);
  background-color: var(--background-color, #000000); /* Assuming dark background for overall theme */
  color: #f0f0f0; /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-poker__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 700px; /* Ensure hero section has a decent height */
  padding: 0;
  color: #ffffff;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight title with yellow/orange */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

.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;
  white-space: nowrap;
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000; /* Dark text for white background */
}

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

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000; /* Dark text for yellow/orange background */
}

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

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

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

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

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

/* General Section Styles */
.page-poker__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 20px;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__promotions-section, .page-poker__how-to-start-section, .page-poker__responsible-gaming-section, .page-poker__faq-section, .page-poker__call-to-action-section {
  background-color: rgba(0, 0, 0, 0.7); /* Darker background for content sections */
  border-radius: 10px;
  margin: 20px auto;
}

.page-poker__about-section {
  padding-top: 80px;
}

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

.page-poker__feature-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card background */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-poker__feature-item img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-poker__feature-text {
  color: #cccccc;
}

/* Games Section */
.page-poker__games-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.05);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-poker__game-card img {
  width: 100%;
  max-width: 600px; /* Ensure images are not too small */
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
  object-fit: cover;
}

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

.page-poker__game-description {
  color: #cccccc;
  margin-bottom: 20px;
}

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

.page-poker__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-poker__promo-card img {
  width: 100%;
  max-width: 800px; /* Ensure images are not too small */
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-poker__promo-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-poker__promo-description {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-poker__promo-cta a {
  color: #FCBC45;
  text-decoration: underline;
}

.page-poker__promo-cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

/* How to Start Section */
.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-poker__step-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-poker__step-icon {
  font-size: 3em;
  color: #FCBC45;
  font-weight: bold;
  margin-bottom: 15px;
}

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

.page-poker__step-description {
  color: #cccccc;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-poker__responsible-gaming-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 4px solid #FCBC45;
  border-radius: 4px;
  color: #cccccc;
}

/* FAQ Section */
.page-poker__faq-accordion {
  max-width: 900px;
  margin: 40px auto;
}

.page-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #FCBC45;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 0;
}

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

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

.page-poker__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
}

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

/* Call to Action Section */
.page-poker__call-to-action-content {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 50px;
  border-radius: 10px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  /* Mobile content image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__container {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  .page-poker__hero-section {
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__hero-section {
    min-height: 400px;
  }
}