/* style/sports.css */

/* Base Styles & Typography */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Body background from shared.css */
}

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

.page-sports__section-title {
  color: #FFD700; /* Gold for titles */
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-sports h2, .page-sports h3 {
  color: #FFD700; /* Gold for subheadings */
}

.page-sports p {
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-sports strong {
  color: #FFD700;
}

.page-sports a {
  color: #FFD700;
  text-decoration: none;
}

.page-sports a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none; /* Ensure no underline */
}

.page-sports__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #0A2647; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2647;
}

/* Section Backgrounds for Contrast */
.page-sports__dark-section {
  background-color: #0A2647; /* Main brand dark blue */
  color: #ffffff;
  padding: 60px 0;
}

.page-sports__light-bg {
  background-color: #1a1a2e; /* From body, but for sections, use a slightly lighter shade or keep consistent */
  color: #f0f0f0;
  padding: 60px 0;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, NO color change */
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-sports__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* About Section */
.page-sports__about-section .page-sports__container {
  text-align: center;
}

/* Video Section */
.page-sports__video-section {
  background-color: #1a1a2e;
  color: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
}

.page-sports__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-sports__video-caption {
  font-style: italic;
  margin-bottom: 30px;
}

.page-sports__video-cta {
  margin-top: 20px;
}

/* Platforms Section */
.page-sports__platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__platform-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__platform-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
  display: block; /* Ensure no extra space below image */
  margin-left: auto;
  margin-right: auto;
}

.page-sports__platform-title {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-sports__platform-description {
  color: #f0f0f0;
}

/* Diversity Section (Sports Grid) */
.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__sport-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-sports__sport-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-sports__sport-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__sport-description {
  color: #f0f0f0;
  padding: 0 15px;
}

/* Odds Section */
.page-sports__odds-section .page-sports__container {
  text-align: center;
}

.page-sports__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__content-wrapper .page-sports__text-content {
  flex: 1;
  text-align: left;
}

.page-sports__content-wrapper .page-sports__image-content {
  flex: 1;
}

.page-sports__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-sports__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-sports__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-sports__promo-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__promo-description {
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* Guide Section */
.page-sports__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-sports__guide-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__guide-step-title {
  color: #FFD700;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-sports__guide-list li p {
  color: #f0f0f0;
}

.page-sports__guide-list li .page-sports__btn-secondary {
  margin-top: 15px;
}

/* Security Section */
.page-sports__security-section .page-sports__container {
  text-align: center;
}

.page-sports__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-sports__security-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-sports__list-strong {
  color: #FFD700;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #0A2647;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg); /* Plus becomes an X or similar */
}

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

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

.page-sports__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-sports__cta-final-section {
  text-align: center;
  padding: 60px 0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__content-wrapper {
    flex-direction: column;
  }
  .page-sports__content-wrapper .page-sports__text-content,
  .page-sports__content-wrapper .page-sports__image-content {
    flex: none;
    width: 100%;
  }
}