.page-poker {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.page-poker__sub-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-poker__button--tertiary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__button--tertiary:hover {
  background-color: #2c3648;
  transform: translateY(-2px);
}

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

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image slightly for text readability */
  z-index: 1;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-poker__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

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

.page-poker__hero-actions .page-poker__button {
  margin: 0 10px;
  font-size: 1.1em;
  min-width: 180px;
}

/* Why Juan 365 Section */
.page-poker__why-juan365-section {
  background-color: #1A202C;
  padding: 80px 0;
}

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

.page-poker__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-poker__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-poker__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Game Variants Section */
.page-poker__game-variants-section {
  background-color: #11151d;
  padding: 80px 0;
}

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

.page-poker__variant-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-poker__variant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-poker__variant-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-poker__variant-card h3,
.page-poker__variant-card p,
.page-poker__variant-card .page-poker__button {
  padding: 0 25px;
}

.page-poker__variant-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-poker__variant-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__variant-card .page-poker__button {
  margin-bottom: 25px;
  align-self: flex-start;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  background-color: #1A202C;
  padding: 80px 0;
}

.page-poker__tournament-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-poker__tournament-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-poker__tournament-text {
  flex: 1;
  min-width: 300px;
}

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

.page-poker__tournament-list li {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFD700'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

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

.page-poker__strategy-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-poker__strategy-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-poker__strategy-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-poker__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Bonuses CTA Section */
.page-poker__bonuses-cta-section {
  background-color: #1A202C;
  padding: 80px 0;
}

.page-poker__bonuses-cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap-reverse;
}

.page-poker__bonuses-cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-poker__bonuses-cta-text {
  flex: 1;
  min-width: 300px;
}

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

.page-poker__bonuses-list li {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFD700'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Call to Action Section */
.page-poker__call-to-action-section {
  background-color: #11151d;
  padding: 80px 0;
  text-align: center;
}

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

.page-poker__cta-buttons .page-poker__button {
  font-size: 1.1em;
  min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__tournament-content,
  .page-poker__bonuses-cta-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__tournament-image,
  .page-poker__bonuses-cta-image {
    max-width: 80%;
    margin: 0 auto;
  }
  .page-poker__tournament-text,
  .page-poker__bonuses-cta-text {
    min-width: unset;
    width: 100%;
  }
  .page-poker__tournament-list,
  .page-poker__bonuses-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions .page-poker__button {
    margin: 10px 0;
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.9em;
  }
  .page-poker__features-grid,
  .page-poker__variants-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card,
  .page-poker__variant-card,
  .page-poker__strategy-card {
    padding: 20px;
  }
  .page-poker__feature-icon {
    max-width: 200px;
  }
  .page-poker__variant-image {
    height: 200px;
  }
  .page-poker__cta-buttons .page-poker__button {
    width: 100%;
  }
  /* Mobile content area image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__tournament-image, .page-poker__bonuses-cta-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-actions .page-poker__button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__sub-title {
    font-size: 1.5em;
  }
}

/* Ensure all images within .page-poker are at least 200px wide for content */
.page-poker__hero-image, 
.page-poker__feature-icon, 
.page-poker__variant-image, 
.page-poker__tournament-image, 
.page-poker__bonuses-cta-image {
  min-width: 200px;
  min-height: 200px;
}

/* Additional specific image style overrides to ensure min-width/height if needed */
.page-poker__feature-icon { width: 250px; height: 250px; object-fit: contain; }
.page-poker__variant-image { width: 100%; height: 250px; object-fit: cover; }
.page-poker__tournament-image { width: 100%; max-width: 600px; height: auto; }
.page-poker__bonuses-cta-image { width: 100%; max-width: 600px; height: auto; }

/* No filter on images except for hero background dimming */
.page-poker__hero-image { filter: brightness(0.5); } /* Allowed for background dimming */
.page-poker__feature-icon, 
.page-poker__variant-image, 
.page-poker__tournament-image, 
.page-poker__bonuses-cta-image {
  filter: none; /* Ensure no color filters are applied */
}