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

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  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-title--light {
  color: #FFFFFF;
}

.page-poker__section-title--light::after {
  background-color: #FFFFFF;
}

.page-poker__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-poker__paragraph--center {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__paragraph--light {
  color: #f0f0f0;
}

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.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: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  height: 600px; /* Adjust height for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

.page-poker__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

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

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

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-poker__strategy-image-wrapper {
  text-align: center;
}

.page-poker__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-poker__strategy-list-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-poker__strategy-list-item::before {
  content: '✓';
  color: #FCBC45;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Promo Section */
.page-poker__promo-section {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-poker__promo-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.page-poker__promo-image {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto 0;
  display: block;
  box-shadow: 0 10px 30px rgba(252, 188, 69, 0.3);
  position: relative;
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

/* Why Us Section */
.page-poker__why-us-section {
  padding: 80px 0;
}

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

.page-poker__feature-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.2s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-5px);
}

.page-poker__feature-icon {
  width: 150px; /* Larger icon size */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__feature-description {
  font-size: 0.95em;
  color: #555555;
}

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

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

.page-poker__testimonial-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__testimonial-author {
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-poker__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FCBC45;
  min-width: 200px;
  min-height: 200px;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f8f8;
}

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

/* 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: 2.2em;
  }
  .page-poker__about-grid, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__about-image-wrapper, .page-poker__strategy-image-wrapper {
    order: -1; /* Image first on mobile */
  }
  .page-poker__promo-image {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    height: auto;
    padding: 60px 20px;
  }
  .page-poker__hero-content {
    padding: 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons, .page-poker__promo-buttons, .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__games-grid, .page-poker__features-grid, .page-poker__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__paragraph, .page-poker__game-description, .page-poker__feature-description, .page-poker__testimonial-text {
    font-size: 0.9em;
  }
  /* Mobile content image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon, .page-poker__testimonial-avatar {
    min-width: 200px;
    min-height: 200px;
    width: 200px;
    height: 200px;
  }
  .page-poker__game-image {
    height: 200px;
  }
}