/* style/expert-predictions.css */

/* Base styles for the page */
.page-expert-predictions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #000, so use light text */
  background-color: #000; /* Ensure page background is black */
}

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

.page-expert-predictions__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-expert-predictions__section:last-of-type {
  border-bottom: none;
}

.page-expert-predictions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.page-expert-predictions h3 {
  font-size: 24px;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-expert-predictions h4 {
  font-size: 20px;
  color: #FFD700;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-expert-predictions p {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-expert-predictions strong {
  color: #FFD700;
}

.page-expert-predictions__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-expert-predictions__list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-expert-predictions__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #1A202C, #000);
  padding-top: var(--header-offset, 120px); /* Apply header offset here if shared doesn't do it for body */
}

.page-expert-predictions__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-expert-predictions__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-expert-predictions__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-expert-predictions__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Content Block with Image */
.page-expert-predictions__content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-expert-predictions__content-block p {
  flex: 1;
}

.page-expert-predictions__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Card Grid for Odds Types */
.page-expert-predictions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-expert-predictions__card {
  background: #1A202C; /* Dark background for cards */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-expert-predictions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-expert-predictions__card-title {
  font-size: 22px;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 15px;
}

/* Latest Predictions Section */
.page-expert-predictions__prediction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-expert-predictions__prediction-card {
  background: #1A202C;
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-expert-predictions__prediction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-expert-predictions__card-image {
  width: 100%;
  height: 225px; /* Fixed height for prediction images */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-expert-predictions__card-content {
  padding: 20px;
}

.page-expert-predictions__card-content h3 {
  font-size: 20px;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-expert-predictions__card-content p {
  font-size: 15px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-expert-predictions__card-button {
  display: inline-block;
  background-color: #4CAF50; /* Green for betting action */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-expert-predictions__card-button:hover {
  background-color: #45a049;
}

/* FAQ Section */
.page-expert-predictions__faq-section {
  padding-bottom: 80px;
}

.page-expert-predictions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #1A202C; /* Dark background for FAQ items */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-expert-predictions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1A202C;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-expert-predictions__faq-question:hover {
  background: #2a3447;
}

.page-expert-predictions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-expert-predictions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-expert-predictions__faq-item.active .page-expert-predictions__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-expert-predictions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #0d121c; /* Slightly lighter dark background for answer */
  color: #f0f0f0;
}

.page-expert-predictions__faq-item.active .page-expert-predictions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* Final CTA Section */
.page-expert-predictions__final-cta-section {
  padding: 80px 0;
  text-align: center;
  background: #1A202C;
}

.page-expert-predictions__cta-card {
  background: #000;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #FFD700;
}

.page-expert-predictions__cta-title {
  font-size: 40px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-expert-predictions__cta-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-expert-predictions__cta-button--large {
  padding: 18px 40px;
  font-size: 20px;
  background-color: #FFD700;
  color: #1A202C;
}

.page-expert-predictions__cta-button--large:hover {
  background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-expert-predictions__hero-title {
    font-size: 40px;
  }

  .page-expert-predictions__section-title {
    font-size: 32px;
  }

  .page-expert-predictions h3 {
    font-size: 22px;
  }

  .page-expert-predictions__card-grid,
  .page-expert-predictions__prediction-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-expert-predictions__cta-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .page-expert-predictions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-expert-predictions__container {
    padding: 0 15px;
  }

  .page-expert-predictions__section {
    padding: 40px 0;
  }

  .page-expert-predictions__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-expert-predictions__hero-title {
    font-size: 32px;
  }

  .page-expert-predictions__hero-description {
    font-size: 16px;
  }

  .page-expert-predictions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-expert-predictions h3 {
    font-size: 20px;
  }

  .page-expert-predictions h4 {
    font-size: 18px;
  }
}