/* style/sports-football-betting-guide.css */

/* Base styles for the page content, ensuring light text on a dark body background */
.page-sports-football-betting-guide {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background from shared.css */
}

.page-sports-football-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-sports-football-betting-guide__section {
  padding: 60px 0;
  margin-bottom: 0; /* Remove default margin */
}

.page-sports-football-betting-guide__heading {
  font-size: 36px;
  color: #FFD700; /* Gold for headings */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sports-football-betting-guide__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-sports-football-betting-guide__text-link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sports-football-betting-guide__text-link:hover {
  color: #ffd700cc;
  text-decoration: underline;
}

/* Main Banner Section (not homepage hero) */
.page-sports-football-betting-guide__main-banner-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px; /* For fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, rgba(26, 32, 44, 0.9), rgba(0, 0, 0, 0.9));
  overflow: hidden;
}

.page-sports-football-betting-guide__main-banner-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-sports-football-betting-guide__main-banner-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.page-sports-football-betting-guide__main-banner-description {
  font-size: 20px;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports-football-betting-guide__main-banner-btn {
  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: 2px solid #FFD700;
}

.page-sports-football-betting-guide__main-banner-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-sports-football-betting-guide__main-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-sports-football-betting-guide__main-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  display: block;
}

/* Intro Section */
.page-sports-football-betting-guide__intro-section {
  background-color: #1A202C;
}

/* Advantages Section */
.page-sports-football-betting-guide__advantages-section {
  background-color: #0d0d0d;
}

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

.page-sports-football-betting-guide__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text */
}

.page-sports-football-betting-guide__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-sports-football-betting-guide__card-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports-football-betting-guide__card-icon img {
  width: 150px; /* Larger icons as per requirement */
  height: 150px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-sports-football-betting-guide__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports-football-betting-guide__card-description {
  font-size: 16px;
  color: #e0e0e0;
}

/* Betting Types Section */
.page-sports-football-betting-guide__betting-types-section {
  background-color: #1A202C;
}

.page-sports-football-betting-guide__list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-sports-football-betting-guide__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-sports-football-betting-guide__list-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-sports-football-betting-guide__list-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-sports-football-betting-guide__list-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Registration Section */
.page-sports-football-betting-guide__registration-section {
  background-color: #0d0d0d;
}

.page-sports-football-betting-guide__ordered-list {
  list-style: none;
  counter-reset: my-awesome-counter;
  padding: 0;
  margin-top: 30px;
}

.page-sports-football-betting-guide__ordered-list li {
  counter-increment: my-awesome-counter;
  margin-bottom: 25px;
  position: relative;
  padding-left: 50px;
}

.page-sports-football-betting-guide__ordered-list li::before {
  content: counter(my-awesome-counter);
  background-color: #FFD700;
  color: #1A202C;
  font-weight: bold;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
}

.page-sports-football-betting-guide__ordered-list .page-sports-football-betting-guide__list-title {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 8px;
}

/* Tips Section */
.page-sports-football-betting-guide__tips-section {
  background-color: #1A202C;
}

.page-sports-football-betting-guide__unordered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-sports-football-betting-guide__unordered-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}

.page-sports-football-betting-guide__unordered-list li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0px;
}

/* FAQ Section */
.page-sports-football-betting-guide__faq-section {
  background-color: #0d0d0d;
}

.page-sports-football-betting-guide__faq-list {
  margin-top: 30px;
}

/* FAQ container style */
.page-sports-football-betting-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ default state - answer hidden */
.page-sports-football-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-sports-football-betting-guide__faq-item.active .page-sports-football-betting-guide__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important ensure priority, value large enough to accommodate any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #e0e0e0;
}

/* Question style */
.page-sports-football-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports-football-betting-guide__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-sports-football-betting-guide__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Question title style */
.page-sports-football-betting-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none; /* Prevent h3 tag from blocking click event */
}

/* Toggle icon */
.page-sports-football-betting-guide__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: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-sports-football-betting-guide__faq-item.active .page-sports-football-betting-guide__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X or rotate for active state */
}

/* CTA Section */
.page-sports-football-betting-guide__cta-section {
  background-color: #1A202C;
  text-align: center;
  padding-bottom: 80px;
}

.page-sports-football-betting-guide__btn-primary {
  display: inline-block;
  background: #FFD700;
  color: #1A202C;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-sports-football-betting-guide__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports-football-betting-guide__main-banner-title {
    font-size: 40px;
  }
  .page-sports-football-betting-guide__heading {
    font-size: 30px;
  }
  .page-sports-football-betting-guide__grid,
  .page-sports-football-betting-guide__list-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Fixed header spacing for mobile */
  .page-sports-football-betting-guide__main-banner-section {
    padding-top: 100px !important;
    padding-bottom: 40px;
  }

  .page-sports-football-betting-guide__container {
    padding: 0 15px;
  }
  .page-sports-football-betting-guide__section {
    padding: 40px 0;
  }
  .page-sports-football-betting-guide__heading {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-sports-football-betting-guide__paragraph {
    font-size: 16px;
  }
  .page-sports-football-betting-guide__main-banner-title {
    font-size: 32px;
  }
  .page-sports-football-betting-guide__main-banner-description {
    font-size: 16px;
  }
  .page-sports-football-betting-guide__main-banner-btn {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-sports-football-betting-guide__card {
    padding: 25px;
  }
  .page-sports-football-betting-guide__card-title {
    font-size: 20px;
  }
  .page-sports-football-betting-guide__card-icon img {
    width: 120px;
    height: 120px;
  }
  .page-sports-football-betting-guide__list-item {
    padding: 20px;
  }
  .page-sports-football-betting-guide__list-title {
    font-size: 18px;
  }
  .page-sports-football-betting-guide__ordered-list li {
    padding-left: 45px;
  }
  .page-sports-football-betting-guide__ordered-list li::before {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .page-sports-football-betting-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-sports-football-betting-guide__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-sports-football-betting-guide__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-sports-football-betting-guide__faq-answer {
    padding: 0 15px;
  }
  .page-sports-football-betting-guide__faq-item.active .page-sports-football-betting-guide__faq-answer {
    padding: 15px !important;
  }
  .page-sports-football-betting-guide__btn-primary {
    font-size: 18px;
    padding: 12px 30px;
  }

  /* Mobile image responsive adaptation */
  .page-sports-football-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports-football-betting-guide__section,
  .page-sports-football-betting-guide__card,
  .page-sports-football-betting-guide__container,
  .page-sports-football-betting-guide__list-item,
  .page-sports-football-betting-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports-football-betting-guide__main-banner-content {
    padding: 0 15px;
  }
}