/* style/sports.css */

/* Base styles for the page-sports scope */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-sports__section {
  padding: 60px 20px;
  text-align: center;
}

.page-sports__section--dark {
  background-color: #111111; /* Card BG */
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-sports__heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #F2C14E; /* Main Color */
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-sports__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 30px;
}

.page-sports__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-sports__main-title {
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-sports__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-sports__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-sports__cta-buttons--center {
  margin-top: 40px;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-sports__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Auxiliary Color */
  border: 2px solid #3A2A12; /* Border */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-secondary:hover {
  transform: translateY(-3px);
  background: #222222;
  border-color: #F2C14E;
  color: #F2C14E;
}

/* Game Grid */
.page-sports__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-sports__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__game-card-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__game-card-text {
  font-size: 1em;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Strategy Grid */
.page-sports__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__strategy-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__strategy-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__strategy-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Promo List */
.page-sports__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-sports__promo-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #FFF6D6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-sports__promo-item strong {
  color: #FFD36B;
}

/* Security Features */
.page-sports__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__feature-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__feature-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Steps List */
.page-sports__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__step-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__step-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-sports__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary Color */
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #2a2a2a;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-sports__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* CTA Banner */
.page-sports__cta-banner {
  background-color: #F2C14E; /* Main Color */
  padding: 80px 20px;
  color: #ffffff; /* White text for contrast */
  text-align: center;
}

.page-sports__cta-banner-content {
  max-width: 900px;
}

.page-sports__heading--light {
  color: #ffffff;
}

.page-sports__paragraph--light {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-sports__heading {
    font-size: 2em;
  }

  .page-sports__intro-text {
    font-size: 1.1em;
  }

  .page-sports__game-grid,
  .page-sports__strategy-grid,
  .page-sports__security-features,
  .page-sports__steps-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-sports__section {
    padding: 40px 15px;
  }

  .page-sports__hero-section {
    padding-bottom: 40px;
  }

  .page-sports__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-sports__heading {
    font-size: 1.8em;
  }

  .page-sports__paragraph,
  .page-sports__intro-text {
    font-size: 1em;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__section,
  .page-sports__container,
  .page-sports__game-card,
  .page-sports__strategy-item,
  .page-sports__promo-item,
  .page-sports__feature-item,
  .page-sports__step-item,
  .page-sports__faq-item,
  .page-sports__cta-banner-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__hero-content {
    padding: 0 15px;
  }

  .page-sports__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-sports__faq-answer {
    padding: 0 20px;
  }

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 10px 20px;
  }

  .page-sports__cta-banner {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__heading {
    font-size: 1.6em;
  }

  .page-sports__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }
}