/* style/poker.css */
.page-poker {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Slightly darken image for text readability, not color change */
}

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

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

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

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

.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.2s ease;
  font-size: 1.1em;
}

.page-poker__button--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

.page-poker__button--secondary {
  background-color: #28a745;
  color: #ffffff;
  border: 2px solid #28a745;
}

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

.page-poker__section {
  padding: 80px 0;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
}

.page-poker__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-poker__feature-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-poker__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-poker__game-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-poker__game-card--reverse {
  flex-direction: row-reverse;
}

.page-poker__game-image {
  flex: 1;
  min-width: 400px; /* Minimum width for game images */
  height: auto;
  display: block;
  object-fit: cover;
}

.page-poker__game-content {
  flex: 1;
  padding: 40px;
}

.page-poker__game-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-poker__game-text {
  color: #444444;
  margin-bottom: 25px;
  font-size: 1.05em;
}

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

.page-poker__bonus-item {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.page-poker__bonus-image {
  width: 100%;
  max-width: 600px; /* Ensure images are not too wide */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Minimum height for bonus images */
}

.page-poker__bonus-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-poker__bonus-text {
  color: #555555;
  font-size: 1em;
}

.page-poker__center-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-poker__strategy-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #007bff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-poker__strategy-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-poker__strategy-text {
  color: #666666;
  font-size: 1em;
}

.page-poker__text-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__text-link:hover {
  text-decoration: underline;
}

.page-poker__section--cta {
  background-color: #f0f8ff;
  padding: 100px 0;
}

.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: 2.8em;
  }

  .page-poker__hero-description {
    font-size: 1.1em;
  }

  .page-poker__section-title {
    font-size: 2em;
  }

  .page-poker__game-card {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__game-card--reverse {
    flex-direction: column;
  }

  .page-poker__game-image {
    min-width: unset;
    width: 100%;
  }

  .page-poker__game-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 80px);
  }

  .page-poker__hero-title {
    font-size: 2.2em;
  }

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

  .page-poker__hero-actions {
    flex-direction: column;
  }

  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }

  .page-poker__section {
    padding: 60px 0;
  }

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

  .page-poker__section-description {
    font-size: 0.95em;
  }

  .page-poker__feature-item,
  .page-poker__bonus-item,
  .page-poker__strategy-item {
    padding: 25px;
  }

  .page-poker__game-image,
  .page-poker__bonus-image {
    max-width: 100%;
    height: auto;
  }

  /* IMPORTANT: Mobile content area images must not cause horizontal scrolling */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  
  .page-poker__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }

  .page-poker__hero-description {
    font-size: 0.9em;
  }

  .page-poker__hero-content {
    padding: 20px;
  }

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

  .page-poker__section-description {
    font-size: 0.9em;
  }

  .page-poker__game-content {
    padding: 20px;
  }

  .page-poker__game-title {
    font-size: 1.5em;
  }

  .page-poker__bonus-title {
    font-size: 1.3em;
  }
}