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

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

.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* Light text on dark background */
  position: relative;
  overflow: hidden;
}

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

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

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

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

.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, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

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

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

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

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

.page-poker__hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 1000px;
  z-index: 0;
}

.page-poker__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__bonuses-section,
.page-poker__security-section,
.page-poker__get-started-section,
.page-poker__faq-section,
.page-poker__final-cta-section {
  padding: 80px 0;
}

.page-poker__about-section {
  background-color: #f9f9f9;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__bonus-card,
.page-poker__security-item,
.page-poker__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__bonus-card:hover,
.page-poker__security-item:hover,
.page-poker__step-card:hover {
  transform: translateY(-10px);
}

.page-poker__feature-icon,
.page-poker__security-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__bonus-title,
.page-poker__security-item-title,
.page-poker__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__bonus-description,
.page-poker__security-item-description,
.page-poker__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

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

.page-poker__button--play,
.page-poker__button--secondary,
.page-poker__button--step {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 0.95em;
  border-radius: 6px;
}

.page-poker__button--play:hover,
.page-poker__button--secondary:hover,
.page-poker__button--step:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-poker__call-to-action {
  margin-top: 60px;
  text-align: center;
}

.page-poker__call-to-action-text {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 30px;
}

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

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

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

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

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

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
}

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

.page-poker__final-cta-content .page-poker__section-title,
.page-poker__final-cta-content .page-poker__section-text {
  color: #FFFFFF;
}

.page-poker__button--final-cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 20px 45px;
  font-size: 1.3em;
  border-radius: 12px;
  margin-top: 30px;
}

.page-poker__button--final-cta:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also respects header offset */
  }
  .page-poker__hero-section {
    padding: 40px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__bonus-cards,
  .page-poker__security-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__bonuses-section,
  .page-poker__security-section,
  .page-poker__get-started-section,
  .page-poker__faq-section,
  .page-poker__final-cta-section {
    padding: 40px 0;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  /* Mobile content area images must be responsive */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon,
  .page-poker__security-icon {
    width: 200px;
    height: auto; /* Ensure aspect ratio is maintained */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__button--primary,
  .page-poker__button--final-cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}