/* style/poker.css */
.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  gap: 40px;
  background-color: rgba(26, 26, 46, 0.8); /* Primary color with transparency */
}

.page-poker__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-poker__hero-title {
  font-size: 3.2em;
  color: #e94560; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-poker__hero-button {
  display: inline-block;
  background-color: #e94560; /* Accent color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.page-poker__hero-button:hover {
  background-color: #d13a52;
  transform: translateY(-2px);
}

.page-poker__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #e94560;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-poker__section-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.7;
  color: #cccccc;
}

.page-poker__games-section,
.page-poker__strategy-section,
.page-poker__bonuses-section,
.page-poker__security-section,
.page-poker__get-started-section,
.page-poker__faq-section,
.page-poker__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-poker__game-card {
  background-color: #1a1a2e; /* Primary color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-poker__game-card-title {
  font-size: 1.6em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-poker__game-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-poker__game-card-button {
  display: inline-block;
  background-color: #e94560;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__game-card-button:hover {
  background-color: #d13a52;
}

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

.page-poker__strategy-item {
  background-color: #1a1a2e;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__strategy-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
}

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

.page-poker__strategy-item-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-poker__strategy-item-link {
  color: #e94560;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__strategy-item-link:hover {
  color: #d13a52;
  text-decoration: underline;
}

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

.page-poker__promo-card {
  background-color: #1a1a2e;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
}

.page-poker__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-poker__promo-card-title {
  font-size: 1.6em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-poker__promo-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-poker__promo-card-button {
  display: inline-block;
  background-color: #e94560;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__promo-card-button:hover {
  background-color: #d13a52;
}

.page-poker__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  text-align: center;
}

.page-poker__security-item {
  background-color: rgba(233, 69, 96, 0.1); /* Light accent background */
  border: 1px solid #e94560;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__security-item-title {
  font-size: 1.4em;
  color: #e94560;
  margin-bottom: 10px;
}

.page-poker__security-item-description {
  font-size: 0.95em;
  color: #cccccc;
}

.page-poker__security-button {
  display: inline-block;
  margin-top: 40px;
  background-color: transparent;
  border: 2px solid #e94560;
  color: #e94560;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker__security-button:hover {
  background-color: #e94560;
  color: #ffffff;
}

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

.page-poker__step-item {
  background-color: #1a1a2e;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__step-number {
  width: 50px;
  height: 50px;
  background-color: #e94560;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(233, 69, 96, 0.5);
}

.page-poker__step-title {
  font-size: 1.5em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-poker__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__step-button {
  display: inline-block;
  background-color: #e94560;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__step-button:hover {
  background-color: #d13a52;
}

.page-poker__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__faq-item {
  background-color: #1a1a2e;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-poker__faq-question {
  background-color: #1a1a2e;
  color: #e94560;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #e94560;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__faq-question:hover {
  background-color: rgba(233, 69, 96, 0.1);
}

.page-poker__faq-answer {
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-poker__faq-answer p {
  color: #cccccc;
  line-height: 1.6;
  padding-bottom: 15px;
}

.page-poker__faq-button {
  display: inline-block;
  margin-top: 40px;
  background-color: #e94560;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-button:hover {
  background-color: #d13a52;
}

.page-poker__cta-section {
  text-align: center;
  background: linear-gradient(45deg, #1a1a2e, #0f0f1a);
  padding: 80px 20px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__cta-title {
  font-size: 2.8em;
  color: #e94560;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-poker__cta-description {
  font-size: 1.3em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #e94560;
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

.page-poker__cta-button:hover {
  background-color: #d13a52;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px 30px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-poker__game-card-image, .page-poker__promo-card-image {
    height: 200px; /* Adjust height for smaller screens */
    max-width: 100%; /* Ensures images are responsive and don't overflow */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  .page-poker__game-card-title, .page-poker__promo-card-title {
    font-size: 1.4em;
  }
  .page-poker__strategy-item-title, .page-poker__security-item-title, .page-poker__step-title {
    font-size: 1.3em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-poker__faq-answer p {
    font-size: 0.9em;
  }
  .page-poker__cta-section {
    padding: 60px 15px;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1.1em;
  }
  .page-poker__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-poker__games-section img,
  .page-poker__strategy-section img,
  .page-poker__bonuses-section img,
  .page-poker__security-section img,
  .page-poker__get-started-section img,
  .page-poker__faq-section img,
  .page-poker__cta-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__game-card-image, .page-poker__promo-card-image {
    height: 180px; /* Further adjust height for very small screens */
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  .page-poker__hero-section,
  .page-poker__games-section,
  .page-poker__strategy-section,
  .page-poker__bonuses-section,
  .page-poker__security-section,
  .page-poker__get-started-section,
  .page-poker__faq-section,
  .page-poker__cta-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}