.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); /* Fixed header offset for desktop */
}

.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: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-poker__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  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;
  font-size: 1em;
  text-align: center;
}

.page-poker__button--register {
  background-color: #FCBC45; /* Login color for Register */
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--login {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-left: 15px;
}

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

.page-poker__button--play, .page-poker__button--join-tournament, .page-poker__button--register-bottom, .page-poker__button--download {
  background-color: #FCBC45;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

.page-poker__button--play:hover, .page-poker__button--join-tournament:hover, .page-poker__button--register-bottom:hover, .page-poker__button--download:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-poker__button--learn-more, .page-poker__button--responsible, .page-poker__button--support {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
}

.page-poker__button--learn-more:hover, .page-poker__button--responsible:hover, .page-poker__button--support:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Overlay for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-actions {
  margin-top: 30px;
}

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

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

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

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__game-image {
  width: 600px;
  height: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-poker__game-description {
  color: #666666;
  margin-bottom: 25px;
}

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

.page-poker__tournament-image {
  width: 800px;
  height: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.page-poker__why-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  font-size: 1.1em;
  line-height: 1.8;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__why-item strong {
  color: #FCBC45;
}

/* Getting Started Section */
.page-poker__getting-started-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

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

.page-poker__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-poker__step-description {
  color: #666666;
}

.page-poker__getting-started-image {
  width: 800px;
  height: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
}

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

.page-poker__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
}

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

.page-poker__faq-answer {
  color: #555555;
  line-height: 1.7;
}

/* CTA 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: #FFFFFF;
}

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

.page-poker__cta-actions {
  margin-top: 40px;
}

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

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

.page-poker__button--support {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  margin-left: 15px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__why-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
    min-height: 500px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button--login, .page-poker__button--support {
    margin-left: 0;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-text {
    font-size: 1em;
  }
  .page-poker__game-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__about-image, .page-poker__tournament-image, .page-poker__getting-started-image {
    width: 100%;
    height: auto;
  }
  .page-poker__hero-image,
  .page-poker__about-image,
  .page-poker__game-image,
  .page-poker__tournament-image,
  .page-poker__getting-started-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__hero-section,
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__tournaments-section,
  .page-poker__why-choose-section,
  .page-poker__getting-started-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section,
  .page-poker__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
}