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

.page-poker__hero-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.page-poker__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

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

.page-poker__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Adjust based on desired layout */
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

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

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

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__step-card,
.page-poker__responsible-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__feature-icon,
.page-poker__game-image {
  width: 100%; /* Ensure images fill card width */
  max-width: 400px; /* Constrain max width for consistency */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__step-title,
.page-poker__responsible-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  margin-top: 0;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__step-description,
.page-poker__responsible-description {
  font-size: 1em;
  color: #666666;
  flex-grow: 1; /* Allow description to take available space */
}

.page-poker__game-card .page-poker__button--small {
  margin-top: 20px;
}

.page-poker__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
  background-color: #000000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.page-poker__strategy-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
}

.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-poker__strategy-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FCBC45;
}

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

.page-poker__strategy-text {
  font-size: 0.95em;
  color: #666666;
}

.page-poker__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-poker__responsible-gaming-section {
  padding: 60px 20px;
}

.page-poker__responsible-card {
  background-color: #F5F5F5;
  border-left: 4px solid #000000;
  text-align: left;
}

.page-poker__responsible-title {
  color: #000000;
}

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

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

.page-poker__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__link:hover {
  text-decoration: underline;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-poker__cta-section .page-poker__section-intro {
  color: #e0e0e0;
}

.page-poker__cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}

.page-poker__faq-section {
  background-color: #f0f0f0;
  padding: 60px 20px;
}

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

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

.page-poker__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fdfdfd;
  border-bottom: 1px solid #eeeeee;
}

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

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

.page-poker__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-poker__faq-answer p {
  margin-top: 0;
  padding-bottom: 20px;
  color: #555555;
}

.page-poker__faq-answer .page-poker__button--small {
  margin-bottom: 20px;
}

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
  }

  .page-poker__hero-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button--large {
    width: 100%;
  }

  .page-poker__content-area {
    padding: 40px 15px;
  }

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

  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__steps-grid,
  .page-poker__strategy-grid,
  .page-poker__responsible-features {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__step-card,
  .page-poker__responsible-card {
    padding: 25px;
  }

  .page-poker__feature-icon,
  .page-poker__game-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-poker__faq-answer {
    padding: 0 20px;
  }
  
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no content causes horizontal scroll */
  .page-poker {
    overflow-x: hidden;
  }
}