.page-poker {
  color: #333333; /* Deep dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker__hero-section {
  padding: 60px 20px;
  padding-top: 10px;
  text-align: center;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1920px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.page-poker__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Adjusted for readability */
  font-weight: 700;
  color: #8B0000; /* Deep crimson for prominence */
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-poker__hero-description {
  font-size: 1.1rem;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-poker__cta-button,
.page-poker__learn-more-button,
.page-poker__tournament-button,
.page-poker__card-button,
.page-poker__register-button,
.page-poker__login-button {
  display: inline-block;
  background-color: #FFD700; /* Royal gold */
  color: #8B0000; /* Deep crimson text for contrast */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
  cursor: pointer;
}

.page-poker__cta-button:hover,
.page-poker__learn-more-button:hover,
.page-poker__tournament-button:hover,
.page-poker__card-button:hover,
.page-poker__register-button:hover,
.page-poker__login-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
}

.page-poker__login-button {
  background-color: #8B0000; /* Deep crimson */
  color: #FFD700; /* Royal gold text */
  border-color: #8B0000;
  margin-left: 15px;
}

.page-poker__login-button:hover {
  background-color: #6a0000; /* Slightly darker crimson */
}

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

.page-poker__about-section,
.page-poker__game-variants,
.page-poker__tournaments-section,
.page-poker__promotions-section,
.page-poker__cta-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-poker__game-variants {
  background-color: #f0f0f0;
}

.page-poker__tournaments-section {
  background-color: #ffffff;
}

.page-poker__promotions-section {
  background-color: #f0f0f0;
}

.page-poker__cta-section {
  background-color: #8B0000; /* Deep crimson background */
  color: #ffffff;
}

.page-poker__cta-section .page-poker__section-title,
.page-poker__cta-section .page-poker__text-content {
  color: #ffffff;
}

.page-poker__section-title {
  font-size: 2.2rem;
  color: #8B0000;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-poker__text-content {
  font-size: 1.05rem;
  color: #666666;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
}

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

.page-poker__game-card,
.page-poker__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__game-card img,
.page-poker__promo-card img {
  width: 100%;
  height: 250px; /* Ensure images are not too small */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-poker__card-title {
  font-size: 1.5rem;
  color: #8B0000;
  margin: 20px 20px 10px;
}

.page-poker__card-description {
  font-size: 0.95rem;
  color: #777777;
  padding: 0 20px;
  flex-grow: 1;
}

.page-poker__card-button {
  margin: 20px;
  align-self: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-poker__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

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

  .page-poker__section-title {
    font-size: 1.8rem;
  }

  .page-poker__text-content {
    font-size: 0.95rem;
  }

  .page-poker__game-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__hero-section,
  .page-poker__about-section,
  .page-poker__game-variants,
  .page-poker__tournaments-section,
  .page-poker__promotions-section,
  .page-poker__cta-section {
    padding: 40px 0;
  }

  .page-poker__cta-button,
  .page-poker__learn-more-button,
  .page-poker__tournament-button,
  .page-poker__card-button,
  .page-poker__register-button,
  .page-poker__login-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-poker__login-button {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-poker__cta-section .page-poker__register-button,
  .page-poker__cta-section .page-poker__login-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 250px;
  }

  /* Mobile content area images should not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: clamp(1.2rem, 8vw, 1.8rem);
  }

  .page-poker__section-title {
    font-size: 1.5rem;
  }
}