/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  background-color: #f8f8f8; /* Slightly off-white background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-poker__hero-section {
  position: relative;
  background-color: #1a1a1a; /* Dark background for hero */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

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

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, but NOT changing color */
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text */
  border: 2px solid #FFD700;
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-poker__button--secondary {
  background-color: #8B0000; /* Deep red button */
  color: #FFD700; /* Gold text */
  border: 2px solid #8B0000;
}

.page-poker__button--secondary:hover {
  background-color: #6e0000;
  transform: translateY(-3px);
}

.page-poker__button--tertiary {
  background-color: transparent;
  color: #8B0000;
  border: 2px solid #8B0000;
}

.page-poker__button--tertiary:hover {
  background-color: #8B0000;
  color: #FFD700;
  transform: translateY(-3px);
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

.page-poker__button--center {
  margin: 30px auto 0 auto;
  display: block;
  max-width: 300px;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Deep red for main section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__strategy-section, .page-poker__security-section, .page-poker__community-section, .page-poker__cta-section {
  padding: 60px 0;
  background-color: #ffffff; /* White background for content sections */
  border-bottom: 1px solid #eee;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-poker__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

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

.page-poker__game-card {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-poker__game-title {
  font-size: 1.8em;
  color: #8B0000; /* Deep red for game titles */
  margin-bottom: 15px;
}

.page-poker__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-poker__game-title a:hover {
  text-decoration: underline;
}

.page-poker__game-image {
  margin-bottom: 20px;
}

.page-poker__game-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  min-width: 200px; /* Ensure card images are not too small */
  min-height: 200px;
}

.page-poker__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  text-align: left;
}

.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-poker__strategy-item {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__strategy-subtitle {
  font-size: 1.6em;
  color: #FFD700; /* Gold for strategy subtitles */
  margin-bottom: 15px;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 10px;
}

.page-poker__strategy-item ul {
  list-style-type: disc;
  margin-left: 25px;
  padding-top: 10px;
}

.page-poker__strategy-item li {
  margin-bottom: 8px;
  font-size: 1em;
  color: #555555;
}

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

.page-poker__feature-item {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #8B0000; /* Deep red for feature titles */
  margin-bottom: 10px;
}

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

.page-poker__highlight-item {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__highlight-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for highlight titles */
  margin-bottom: 10px;
}

.page-poker__cta-section {
  background-color: #8B0000; /* Deep red background for CTA */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-poker__cta-section .page-poker__section-title {
  color: #FFD700; /* Gold title on deep red background */
}

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__game-cards, .page-poker__security-features, .page-poker__community-highlights {
    grid-template-columns: 1fr;
  }
  .page-poker__image-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__cta-buttons .page-poker__button {
    width: 80%;
    max-width: 300px;
  }
  .page-poker__text-content, .page-poker__game-description, .page-poker__strategy-item p, .page-poker__strategy-item li, .page-poker__feature-item p, .page-poker__highlight-item p {
    font-size: 0.95em;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 12px 25px;
  }
}