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

/* Custom Colors */
:root {
  --8xbet-primary-color: #11A84E;
  --8xbet-secondary-color: #22C768;
  --8xbet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --8xbet-card-bg: #11271B;
  --8xbet-background: #08160F;
  --8xbet-text-main: #F2FFF6;
  --8xbet-text-secondary: #A7D9B8;
  --8xbet-border: #2E7A4E;
  --8xbet-glow: #57E38D;
  --8xbet-gold: #F2C14E;
  --8xbet-divider: #1E3A2A;
  --8xbet-deep-green: #0A4B2C;
}

/* Base Styles for the page */
.page-sports-hot-matches-prediction {
  font-family: 'Arial', sans-serif;
  color: var(--8xbet-text-main); /* Default text color for the page */
  background-color: var(--8xbet-background);
  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__section-title {
  font-size: 2.5em;
  color: var(--8xbet-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-sports-hot-matches-prediction__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--8xbet-text-secondary);
}

.page-sports-hot-matches-prediction__text-block a {
  color: var(--8xbet-secondary-color);
  text-decoration: underline;
}

/* Hero Section */
.page-sports-hot-matches-prediction__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--8xbet-background);
}

.page-sports-hot-matches-prediction__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Limit height for aesthetic */
  z-index: 1;
  margin-bottom: 20px;
}

.page-sports-hot-matches-prediction__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 20px 60px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-sports-hot-matches-prediction__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--8xbet-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-sports-hot-matches-prediction__hero-description {
  font-size: 1.2em;
  color: var(--8xbet-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-sports-hot-matches-prediction__btn-primary {
  background: var(--8xbet-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-sports-hot-matches-prediction__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-sports-hot-matches-prediction__btn-secondary:hover {
  background: var(--8xbet-secondary-color);
  color: var(--8xbet-background);
}

.page-sports-hot-matches-prediction__btn-tertiary {
  background: var(--8xbet-deep-green);
  color: var(--8xbet-text-main);
  border: 1px solid var(--8xbet-border);
  font-size: 0.9em;
  padding: 10px 20px;
  margin-top: 15px;
}

.page-sports-hot-matches-prediction__btn-tertiary:hover {
  background: var(--8xbet-primary-color);
}

/* Section Styling */
.page-sports-hot-matches-prediction__introduction-section,
.page-sports-hot-matches-prediction__top-leagues-section,
.page-sports-hot-matches-prediction__cta-section {
  padding: 80px 0;
  background-color: var(--8xbet-background);
}

.page-sports-hot-matches-prediction__why-choose-section,
.page-sports-hot-matches-prediction__guide-section,
.page-sports-hot-matches-prediction__promotions-section,
.page-sports-hot-matches-prediction__faq-section {
  padding: 80px 0;
  background-color: var(--8xbet-card-bg);
}

/* Card Styles */
.page-sports-hot-matches-prediction__card {
  background-color: var(--8xbet-card-bg);
  border: 1px solid var(--8xbet-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--8xbet-text-main);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-sports-hot-matches-prediction__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-sports-hot-matches-prediction__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-sports-hot-matches-prediction__card-title {
  font-size: 1.5em;
  color: var(--8xbet-secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
  flex-grow: 1;
}

.page-sports-hot-matches-prediction__card-description {
  font-size: 1em;
  color: var(--8xbet-text-secondary);
  line-height: 1.6;
}

/* Feature Grid */
.page-sports-hot-matches-prediction__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* League List */
.page-sports-hot-matches-prediction__league-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports-hot-matches-prediction__league-item {
  background-color: var(--8xbet-card-bg);
  border: 1px solid var(--8xbet-border);
  border-radius: 12px;
  padding: 25px;
  transition: background-color 0.3s ease;
}

.page-sports-hot-matches-prediction__league-item:hover {
  background-color: var(--8xbet-deep-green);
}

.page-sports-hot-matches-prediction__league-name {
  font-size: 1.4em;
  color: var(--8xbet-gold);
  margin-bottom: 10px;
}

.page-sports-hot-matches-prediction__league-description {
  font-size: 0.95em;
  color: var(--8xbet-text-secondary);
}

/* Guide Steps */
.page-sports-hot-matches-prediction__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Promotion Cards */
.page-sports-hot-matches-prediction__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports-hot-matches-prediction__promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* FAQ Section */
.page-sports-hot-matches-prediction__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports-hot-matches-prediction__faq-item {
  background-color: var(--8xbet-card-bg);
  border: 1px solid var(--8xbet-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--8xbet-text-main);
}

.page-sports-hot-matches-prediction__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: var(--8xbet-text-main);
  outline: none;
  list-style: none;
}

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

.page-sports-hot-matches-prediction__faq-question {
  flex-grow: 1;
  text-align: left;
}

.page-sports-hot-matches-prediction__faq-toggle {
  font-size: 1.5em;
  color: var(--8xbet-gold);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-sports-hot-matches-prediction__faq-item[open] .page-sports-hot-matches-prediction__faq-toggle {
  transform: rotate(45deg);
}

.page-sports-hot-matches-prediction__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--8xbet-text-secondary);
}

.page-sports-hot-matches-prediction__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports-hot-matches-prediction__hero-content {
    padding: 15px 20px 40px;
  }

  .page-sports-hot-matches-prediction__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

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

  .page-sports-hot-matches-prediction__feature-grid,
  .page-sports-hot-matches-prediction__league-list,
  .page-sports-hot-matches-prediction__guide-steps,
  .page-sports-hot-matches-prediction__promotion-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-sports-hot-matches-prediction__container {
    padding: 0 15px;
  }

  .page-sports-hot-matches-prediction__hero-section {
    padding-top: 10px !important; /* Body handles header offset */
  }

  .page-sports-hot-matches-prediction__hero-content {
    padding: 10px 15px 30px;
  }

  .page-sports-hot-matches-prediction__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

  .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-choose-section,
  .page-sports-hot-matches-prediction__top-leagues-section,
  .page-sports-hot-matches-prediction__guide-section,
  .page-sports-hot-matches-prediction__promotions-section,
  .page-sports-hot-matches-prediction__faq-section,
  .page-sports-hot-matches-prediction__cta-section {
    padding: 60px 0;
  }

  .page-sports-hot-matches-prediction__feature-grid,
  .page-sports-hot-matches-prediction__league-list,
  .page-sports-hot-matches-prediction__guide-steps,
  .page-sports-hot-matches-prediction__promotion-cards {
    grid-template-columns: 1fr;
  }

  .page-sports-hot-matches-prediction__card,
  .page-sports-hot-matches-prediction__league-item {
    padding: 20px;
  }

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

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

  /* Mobile button responsiveness */
  .page-sports-hot-matches-prediction__cta-button,
  .page-sports-hot-matches-prediction__btn-primary,
  .page-sports-hot-matches-prediction__btn-secondary,
  .page-sports-hot-matches-prediction a[class*="button"],
  .page-sports-hot-matches-prediction a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports-hot-matches-prediction__cta-buttons,
  .page-sports-hot-matches-prediction__button-group,
  .page-sports-hot-matches-prediction__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-sports-hot-matches-prediction__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-sports-hot-matches-prediction__faq-answer {
    padding: 0 20px 15px;
  }
}

/* Color Contrast Fixes (if needed) */
.page-sports-hot-matches-prediction__dark-bg {
  background-color: var(--8xbet-background);
  color: var(--8xbet-text-main);
}

.page-sports-hot-matches-prediction__light-bg {
  background-color: var(--8xbet-card-bg);
  color: var(--8xbet-text-main);
}

.page-sports-hot-matches-prediction__card {
  color: var(--8xbet-text-main);
  background-color: var(--8xbet-card-bg);
}

.page-sports-hot-matches-prediction__card-description a,
.page-sports-hot-matches-prediction__text-block a {
  color: var(--8xbet-secondary-color);
}