.page-poker {
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* White background */
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

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

.page-poker__container--reverse {
  display: flex;
  flex-direction: column-reverse; /* For mobile-first stacking */
  align-items: center;
}

.page-poker__hero-section {
  display: flex;
  flex-direction: column; /* Stack content and image on mobile */
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 40px;
}

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

.page-poker__main-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-poker__cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-poker__button--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Custom register text color */
  border: 2px solid #000000;
}

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

.page-poker__button--login {
  background-color: #FCBC45; /* Custom login background color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #cccccc;
  border-color: #cccccc;
}

.page-poker__button--cta-full {
  width: 100%;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
}

.page-poker__button--cta-full:hover {
  background-color: #333333;
  border-color: #333333;
}

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

.page-poker__button--download:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-poker__button--primary-cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 40px;
}

.page-poker__button--primary-cta:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-poker__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: block;
  width: 1200px; /* HTML width/height for CLS */
  height: 675px;
}

.page-poker__section {
  padding: 80px 20px;
  text-align: center;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-poker__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-poker__feature-item,
.page-poker__game-card,
.page-poker__promo-card,
.page-poker__security-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-item:hover,
.page-poker__game-card:hover,
.page-poker__promo-card:hover,
.page-poker__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__promo-image,
.page-poker__security-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__feature-icon {
  width: 400px;
  height: 300px;
}

.page-poker__game-image {
  width: 600px;
  height: 400px;
}

.page-poker__promo-image {
  width: 800px;
  height: 600px;
}

.page-poker__security-icon {
  width: 400px;
  height: 300px;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__promo-title,
.page-poker__security-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-text,
.page-poker__game-description,
.page-poker__promo-text,
.page-poker__security-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-poker__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-poker__step-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.page-poker__step-text {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-poker__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-top: 60px;
  width: 800px;
  height: 600px;
}

.page-poker__mobile-content {
  text-align: left;
  flex: 1;
  padding-right: 40px;
}

.page-poker__mobile-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-poker__mobile-features li {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.page-poker__icon {
  font-size: 1.5em;
  color: #FCBC45;
  margin-right: 15px;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  width: 800px;
  height: 600px;
}

.page-poker__faq-list {
  margin-top: 50px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

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

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  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.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-poker__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-poker__hero-section {
    flex-direction: row; /* Side-by-side on desktop */
    text-align: left;
  }

  .page-poker__hero-content {
    padding-right: 40px;
  }

  .page-poker__hero-image {
    flex-shrink: 0;
    width: 600px; /* Adjust for desktop layout */
    height: 337px; /* Maintain aspect ratio */
  }

  .page-poker__cta-group {
    justify-content: flex-start;
  }

  .page-poker__container--reverse {
    flex-direction: row; /* Side-by-side on desktop */
  }

  .page-poker__mobile-content {
    padding-right: 40px;
  }

  .page-poker__mobile-image {
    flex-shrink: 0;
    width: 600px;
    height: 450px;
  }
}

@media (max-width: 768px) {
  .page-poker__main-title {
    font-size: 2.2em;
  }

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

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

  .page-poker__section {
    padding: 50px 15px;
  }

  .page-poker__cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-poker__button {
    width: 100%;
  }

  .page-poker__hero-image,
  .page-poker__guide-image,
  .page-poker__mobile-image,
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__promo-image,
  .page-poker__security-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-poker__mobile-content {
    padding-right: 0;
  }

  .page-poker__container--reverse {
    flex-direction: column-reverse;
  }
}