/* style/sports-hot-matches-prediction.css */

/* Custom colors based on provided palette */
:root {
  --fsbet-bg-primary: #08160F;
  --fsbet-bg-card: #11271B;
  --fsbet-text-main: #F2FFF6;
  --fsbet-text-secondary: #A7D9B8;
  --fsbet-border: #2E7A4E;
  --fsbet-glow: #57E38D;
  --fsbet-gold: #F2C14E;
  --fsbet-divider: #1E3A2A;
  --fsbet-deep-green: #0A4B2C;
  --fsbet-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-sports-hot-matches-prediction {
  background-color: var(--fsbet-bg-primary);
  color: var(--fsbet-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-sports-hot-matches-prediction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-sports-hot-matches-prediction__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-sports-hot-matches-prediction__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-sports-hot-matches-prediction__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-sports-hot-matches-prediction__hero-content {
  position: relative; /* Changed from absolute to relative for "上图下文" rule */
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust as needed to position below image */
  background: rgba(17, 39, 27, 0.85); /* Card BG with some transparency */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-sports-hot-matches-prediction__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
  color: var(--fsbet-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports-hot-matches-prediction__description {
  font-size: 1.1em;
  color: var(--fsbet-text-secondary);
  margin-bottom: 30px;
}

.page-sports-hot-matches-prediction__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-sports-hot-matches-prediction__btn-primary,
.page-sports-hot-matches-prediction__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-sports-hot-matches-prediction__btn-primary {
  background: var(--fsbet-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-sports-hot-matches-prediction__btn-primary:hover {
  box-shadow: 0 0 15px var(--fsbet-glow);
  transform: translateY(-2px);
}

.page-sports-hot-matches-prediction__btn-secondary {
  background-color: transparent;
  color: var(--fsbet-glow);
  border: 2px solid var(--fsbet-glow);
}

.page-sports-hot-matches-prediction__btn-secondary:hover {
  background-color: var(--fsbet-glow);
  color: var(--fsbet-bg-primary);
  transform: translateY(-2px);
}

.page-sports-hot-matches-prediction__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--fsbet-text-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-sports-hot-matches-prediction__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--fsbet-glow);
  border-radius: 2px;
}

.page-sports-hot-matches-prediction__introduction-section,
.page-sports-hot-matches-prediction__prediction-types-section,
.page-sports-hot-matches-prediction__live-betting-guide-section,
.page-sports-hot-matches-prediction__faq-section {
  padding: 60px 0;
  background-color: var(--fsbet-bg-primary);
}

.page-sports-hot-matches-prediction__why-fsbet-section,
.page-sports-hot-matches-prediction__analysis-methods-section,
.page-sports-hot-matches-prediction__promotions-section,
.page-sports-hot-matches-prediction__cta-final-section {
  padding: 60px 0;
  background-color: var(--fsbet-bg-card);
}

.page-sports-hot-matches-prediction__dark-section {
  background-color: var(--fsbet-bg-card);
  color: var(--fsbet-text-main);
}

.page-sports-hot-matches-prediction p {
  font-size: 1.05em;
  color: var(--fsbet-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-sports-hot-matches-prediction__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-sports-hot-matches-prediction__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-sports-hot-matches-prediction__feature-card {
  background-color: var(--fsbet-deep-green);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--fsbet-border);
  transition: transform 0.3s ease;
}

.page-sports-hot-matches-prediction__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 10px var(--fsbet-glow);
}

.page-sports-hot-matches-prediction__card-title {
  font-size: 1.5em;
  color: var(--fsbet-text-main);
  margin-bottom: 15px;
}

.page-sports-hot-matches-prediction__feature-card p {
  font-size: 1em;
  color: var(--fsbet-text-secondary);
  text-align: center;
}

.page-sports-hot-matches-prediction__list,
.page-sports-hot-matches-prediction__ordered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-sports-hot-matches-prediction__list li,
.page-sports-hot-matches-prediction__ordered-list li {
  background-color: var(--fsbet-deep-green);
  border: 1px solid var(--fsbet-divider);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  color: var(--fsbet-text-secondary);
  font-size: 1.05em;
  display: flex;
  align-items: flex-start;
}

.page-sports-hot-matches-prediction__list li strong,
.page-sports-hot-matches-prediction__ordered-list li strong {
  color: var(--fsbet-text-main);
  margin-right: 10px;
}

.page-sports-hot-matches-prediction__list li::before {
  content: '✓';
  color: var(--fsbet-glow);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  line-height: 1;
}

.page-sports-hot-matches-prediction__ordered-list li::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  color: var(--fsbet-gold);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  line-height: 1;
}

.page-sports-hot-matches-prediction__faq-list {
  margin-top: 40px;
}

.page-sports-hot-matches-prediction__faq-item {
  background-color: var(--fsbet-deep-green);
  border: 1px solid var(--fsbet-border);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports-hot-matches-prediction__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--fsbet-text-main);
  font-weight: bold;
  background-color: var(--fsbet-bg-card);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-sports-hot-matches-prediction__faq-question::-webkit-details-marker {
  display: none;
}

.page-sports-hot-matches-prediction__faq-question:hover {
  background-color: var(--fsbet-deep-green);
}

.page-sports-hot-matches-prediction__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--fsbet-glow);
}

.page-sports-hot-matches-prediction__faq-answer {
  padding: 0 20px 20px;
  color: var(--fsbet-text-secondary);
  font-size: 1em;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-sports-hot-matches-prediction__faq-item[open] .page-sports-hot-matches-prediction__faq-answer {
  max-height: 500px; /* Sufficiently large for content */
  padding: 0 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports-hot-matches-prediction__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-sports-hot-matches-prediction p {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports-hot-matches-prediction__hero-section {
    padding-bottom: 40px;
  }

  .page-sports-hot-matches-prediction__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-sports-hot-matches-prediction__main-title {
    font-size: 2em; /* Ensure H1 is not too large */
  }

  .page-sports-hot-matches-prediction__description {
    font-size: 1em;
  }

  .page-sports-hot-matches-prediction__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports-hot-matches-prediction__btn-primary,
  .page-sports-hot-matches-prediction__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports-hot-matches-prediction__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-sports-hot-matches-prediction__introduction-section,
  .page-sports-hot-matches-prediction__why-fsbet-section,
  .page-sports-hot-matches-prediction__prediction-types-section,
  .page-sports-hot-matches-prediction__analysis-methods-section,
  .page-sports-hot-matches-prediction__live-betting-guide-section,
  .page-sports-hot-matches-prediction__promotions-section,
  .page-sports-hot-matches-prediction__faq-section,
  .page-sports-hot-matches-prediction__cta-final-section {
    padding: 40px 0;
  }

  .page-sports-hot-matches-prediction__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile image responsiveness */
  .page-sports-hot-matches-prediction img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Ensure content containers also adapt */
  .page-sports-hot-matches-prediction__features-grid,
  .page-sports-hot-matches-prediction__faq-list {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports-hot-matches-prediction__feature-card,
  .page-sports-hot-matches-prediction__faq-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports-hot-matches-prediction__list li,
  .page-sports-hot-matches-prediction__ordered-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-sports-hot-matches-prediction__list li::before,
  .page-sports-hot-matches-prediction__ordered-list li::before {
    margin-bottom: 5px;
  }
}

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

  .page-sports-hot-matches-prediction__section-title {
    font-size: 1.6em;
  }
}