/* style/sports-football.css */

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

.page-sports-football {
  font-family: 'Arial', sans-serif;
  color: var(--page-sports-football-text-main);
  background-color: var(--page-sports-football-bg-dark);
}

/* General Section Styling */
.page-sports-football__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-sports-football-text-main);
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

.page-sports-football__text-block {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-sports-football-text-secondary);
  margin-bottom: 20px;
}

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

.page-sports-football__dark-bg {
  background-color: var(--page-sports-football-bg-dark);
  color: var(--page-sports-football-text-main);
  padding: 80px 0;
}

.page-sports-football__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-sports-football__light-bg .page-sports-football__section-title,
.page-sports-football__light-bg .page-sports-football__text-block,
.page-sports-football__light-bg .page-sports-football__card-title,
.page-sports-football__light-bg .page-sports-football__card-description,
.page-sports-football__light-bg .page-sports-football__list-item,
.page-sports-football__light-bg .page-sports-football__step-title,
.page-sports-football__light-bg .page-sports-football__step-description,
.page-sports-football__light-bg .page-sports-football__promo-title,
.page-sports-football__light-bg .page-sports-football__promo-description,
.page-sports-football__light-bg .page-sports-football__faq-qtext,
.page-sports-football__light-bg .page-sports-football__faq-answer p {
  color: #333333; /* Ensure dark text on light background */
}

.page-sports-football__light-bg .page-sports-football__faq-toggle {
  color: #333333;
}

/* Buttons */
.page-sports-football__btn-primary,
.page-sports-football__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports-football__btn-primary {
  background: var(--page-sports-football-btn-gradient);
  color: var(--page-sports-football-text-main);
  border: none;
}

.page-sports-football__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-sports-football__btn-secondary {
  background-color: transparent;
  color: var(--page-sports-football-primary-color);
  border: 2px solid var(--page-sports-football-primary-color);
}

.page-sports-football__btn-secondary:hover {
  background-color: var(--page-sports-football-primary-color);
  color: var(--page-sports-football-text-main);
}

.page-sports-football__mt-20 {
  margin-top: 20px;
}

/* Hero Section */
.page-sports-football__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding: 10px 0 80px 0; /* body padding-top handles header offset */
}

.page-sports-football__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-sports-football__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-sports-football__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: 100px; /* Push content down below the image */
}

.page-sports-football__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--page-sports-football-text-main);
}

.page-sports-football__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--page-sports-football-text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Introduction Section */
.page-sports-football__introduction-section {
  text-align: center;
}

.page-sports-football__introduction-section .page-sports-football__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Bet Types Section */
.page-sports-football__bet-types-section {
  text-align: center;
}

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

.page-sports-football__card {
  background-color: var(--page-sports-football-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-sports-football-border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-sports-football__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-sports-football__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--page-sports-football-text-main);
  margin-bottom: 10px;
}

.page-sports-football__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-sports-football-text-secondary);
}

/* Leagues Section */
.page-sports-football__leagues-section {
  text-align: center;
}

.page-sports-football__leagues-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-sports-football__league-logo {
  max-width: 250px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.page-sports-football__league-logo:hover {
  transform: scale(1.05);
}

/* Guide Section */
.page-sports-football__guide-section {
  text-align: center;
}

.page-sports-football__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports-football__step-card {
  background-color: var(--page-sports-football-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-sports-football-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports-football__step-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-sports-football__step-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--page-sports-football-text-main);
  margin-bottom: 10px;
}

.page-sports-football__step-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--page-sports-football-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Tips Section */
.page-sports-football__tips-section {
  text-align: left;
}

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

.page-sports-football__list-item {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-sports-football__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-sports-football-primary-color);
  font-weight: bold;
}

/* Promotions Section */
.page-sports-football__promotions-section {
  text-align: center;
}

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

.page-sports-football__promo-card {
  background-color: var(--page-sports-football-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-sports-football-border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-sports-football__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-sports-football__promo-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--page-sports-football-text-main);
  margin-bottom: 10px;
}

.page-sports-football__promo-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--page-sports-football-text-secondary);
}

/* Responsible Gaming Section */
.page-sports-football__responsible-gaming-section {
  text-align: center;
}

.page-sports-football__responsible-gaming-section .page-sports-football__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-sports-football__faq-section {
  text-align: center;
}

.page-sports-football__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-sports-football__faq-item {
  background-color: var(--page-sports-football-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--page-sports-football-border-color);
  overflow: hidden;
}

.page-sports-football__faq-item details > summary {
  list-style: none;
}

.page-sports-football__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-sports-football__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-sports-football-text-main);
  cursor: pointer;
  background-color: var(--page-sports-football-card-bg);
  border-radius: 8px;
}

.page-sports-football__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--page-sports-football-primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-sports-football__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-sports-football-text-secondary);
}

/* Images responsiveness */
.page-sports-football img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-sports-football__hero-content {
    margin-top: 80px;
  }

  .page-sports-football__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
  }

  .page-sports-football__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }

  .page-sports-football__section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-sports-football__hero-section {
    min-height: 500px;
    padding-bottom: 60px;
  }

  .page-sports-football__hero-content {
    margin-top: 60px;
  }

  .page-sports-football__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .page-sports-football__hero-description {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
  }

  .page-sports-football__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports-football__btn-primary,
  .page-sports-football__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .page-sports-football__dark-bg, .page-sports-football__light-bg {
    padding: 60px 0;
  }

  .page-sports-football__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-sports-football__cards-grid,
  .page-sports-football__steps-grid,
  .page-sports-football__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-sports-football__card,
  .page-sports-football__step-card,
  .page-sports-football__promo-card {
    padding: 25px;
  }

  .page-sports-football__list-item {
    font-size: 0.95rem;
  }

  .page-sports-football__faq-question {
    font-size: 1rem;
    padding: 18px 20px;
  }

  .page-sports-football__faq-answer {
    padding: 0 20px 18px 20px;
    font-size: 0.9rem;
  }

  /* Mobile specific responsive rules with !important */
  .page-sports-football img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports-football__section,
  .page-sports-football__card,
  .page-sports-football__container,
  .page-sports-football__hero-section,
  .page-sports-football__introduction-section,
  .page-sports-football__bet-types-section,
  .page-sports-football__leagues-section,
  .page-sports-football__guide-section,
  .page-sports-football__tips-section,
  .page-sports-football__promotions-section,
  .page-sports-football__responsible-gaming-section,
  .page-sports-football__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-sports-football__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-sports-football__cta-button,
  .page-sports-football__btn-primary,
  .page-sports-football__btn-secondary,
  .page-sports-football a[class*="button"],
  .page-sports-football 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 !important;
    padding-right: 15px !important;
  }

  .page-sports-football__cta-buttons,
  .page-sports-football__button-group,
  .page-sports-football__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-sports-football__cta-buttons {
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .page-sports-football__hero-content {
    margin-top: 40px;
  }

  .page-sports-football__main-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }

  .page-sports-football__hero-description {
    font-size: clamp(0.8rem, 3vw, 0.9rem);
  }

  .page-sports-football__faq-question {
    padding: 15px 18px;
  }

  .page-sports-football__faq-answer {
    padding: 0 18px 15px 18px;
  }
}