.page-poker {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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: 20px;
  padding-top: 40px;
  font-weight: bold;
}

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

.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;
  font-size: 1.05em;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--secondary {
  background-color: #FFFFFF; /* Register color for secondary action */
  color: #000000;
  border: 2px solid #000000;
}

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

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
  color: #FCBC45;
}

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

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

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

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

.page-poker__about-text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-poker__about-text p {
  margin-bottom: 15px;
}

.page-poker__about-image {
  flex: 1;
  text-align: center;
}

.page-poker__about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-poker__card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-poker__tournament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.page-poker__tournament-item {
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
}

.page-poker__tournament-item img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__item-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 0 10px;
  padding: 0 20px;
  font-weight: bold;
}

.page-poker__item-text {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px;
}

.page-poker__tournament-cta {
  text-align: center;
}

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__why-choose-section .page-poker__section-title,
.page-poker__why-choose-section .page-poker__section-description {
  color: #FCBC45;
}

.page-poker__why-choose-section .page-poker__section-description {
  color: #f0f0f0;
}

.page-poker__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-poker__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__feature-item p {
  color: #cccccc;
  font-size: 1em;
}

/* 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-bottom: 50px;
}

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

.page-poker__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

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

.page-poker__get-started-cta {
  text-align: center;
}

.page-poker__get-started-cta .page-poker__button {
  margin: 0 10px;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__responsible-gaming-section .page-poker__section-description {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #cccccc;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-poker__responsible-gaming-section a {
  color: #FCBC45;
  text-decoration: underline;
}

.page-poker__responsible-gaming-section a:hover {
  color: #FFFFFF;
}

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

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

.page-poker__testimonial-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-poker__testimonial-text {
  font-style: italic;
  color: #555555;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-poker__testimonial-author {
  font-weight: bold;
  color: #000000;
}

.page-poker__testimonial-cta {
  text-align: center;
}

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

.page-poker__faq-items {
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.page-poker__faq-item:last-child {
  border-bottom: none;
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

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

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

.page-poker__faq-answer {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
}

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

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

.page-poker__faq-answer a:hover {
  color: #000000;
}

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

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

.page-poker__cta-section .page-poker__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-poker__cta-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__about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
  }
  
  .page-poker__hero-title {
    font-size: 2.5em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__hero-buttons .page-poker__button {
    display: block;
    margin: 15px auto;
  }

  .page-poker__about-content {
    flex-direction: column;
  }

  .page-poker__about-image img, .page-poker__game-cards img, .page-poker__tournament-item img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__game-cards,
  .page-poker__tournament-grid,
  .page-poker__features-list,
  .page-poker__steps-grid,
  .page-poker__testimonial-cards {
    grid-template-columns: 1fr;
  }

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__section-description {
    font-size: 0.95em;
  }

  .page-poker__button {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-poker__faq-question {
    font-size: 1.2em;
  }

  .page-poker__faq-answer {
    font-size: 0.95em;
  }

  .page-poker__cta-buttons .page-poker__button {
    display: block;
    margin: 15px auto;
  }

  /* Mobile content area images must not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  .page-poker {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

  .page-poker__hero-description {
    font-size: 0.9em;
  }

  .page-poker__section-title {
    font-size: 1.6em;
  }
}