/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-sports__section-description {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-sports__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-align: center;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
}

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

.page-sports__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-sports__button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

.page-sports__button--link {
  color: #FFD700;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  min-width: auto;
}

.page-sports__button--link:hover {
  color: #e6c200;
  transform: none;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slightly dim the image to make text readable */
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for better text contrast */
  border-radius: 12px;
}

.page-sports__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  font-weight: bold;
  line-height: 1.2;
}

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

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

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #0A192F; /* Main brand color for section background */
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-sports__feature-icon {
  width: 250px; /* Minimum size for content images */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__card-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Sports Markets Section */
.page-sports__sports-markets-section {
  padding: 80px 0;
}

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

.page-sports__market-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__market-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-sports__market-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

.page-sports__market-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: #0A192F;
  text-align: center;
}

.page-sports__live-betting-image {
  width: 800px;
  height: 450px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 2px solid #FFD700;
}

.page-sports__live-betting-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-sports__live-betting-item {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-sports__live-betting-item::before {
  content: '⚡'; /* Lightning bolt emoji */
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
  line-height: 1;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
}

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

.page-sports__security-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__security-heading {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__security-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #0A192F;
  text-align: center;
}

.page-sports__promotions-image {
  width: 800px;
  height: 450px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 2px solid #FFD700;
}

.page-sports__promotions-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-sports__promotions-item {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-sports__promotions-item::before {
  content: '⭐'; /* Star emoji */
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
  line-height: 1;
}

/* Mobile App Section */
.page-sports__mobile-app-section {
  padding: 80px 0;
}

.page-sports__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.page-sports__app-image {
  width: 400px;
  height: 533px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #FFD700;
}

.page-sports__app-details {
  max-width: 500px;
  text-align: left;
}

.page-sports__app-heading {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-sports__app-text {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

/* Getting Started Section */
.page-sports__getting-started-section {
  padding: 80px 0;
  background-color: #0A192F;
}

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

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Strategy Section */
.page-sports__strategy-section {
  padding: 80px 0;
}

.page-sports__strategy-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}

.page-sports__strategy-image {
  width: 500px;
  height: 375px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #FFD700;
}

.page-sports__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 500px;
  text-align: left;
}

.page-sports__strategy-item {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-sports__strategy-item::before {
  content: '💡'; /* Lightbulb emoji */
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
  line-height: 1;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #0A192F;
}

.page-sports__faq-accordion {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  width: 100%;
  background-color: transparent;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  padding: 20px;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-sports__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
}

.page-sports__faq-question.active::after {
  content: '-';
}

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

.page-sports__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding: 20px;
}

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

.page-sports__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-sports__faq-answer a:hover {
  color: #e6c200;
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A192F;
  border-top: 2px solid #FFD700;
}

.page-sports__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-sports__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__section-title {
    font-size: 2.5em;
  }
  .page-sports__app-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-sports__app-details {
    text-align: center;
  }
  .page-sports__strategy-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-sports__strategy-list {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-sports {
    padding-top: var(--header-offset-mobile, 80px); /* Adjust for mobile header offset */
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__button {
    min-width: unset;
    width: 100%;
  }
  .page-sports__button--secondary {
    margin-left: 0;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__feature-grid, .page-sports__market-grid, .page-sports__security-grid, .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__live-betting-image, .page-sports__promotions-image, .page-sports__app-image, .page-sports__strategy-image {
    width: 100%;
    height: auto;
  }
  /* Mobile content area image resizing */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
  .page-sports__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__cta-title {
    font-size: 2em;
  }
  .page-sports__hero-section {
    padding: 40px 15px;
  }
  .page-sports__hero-content {
    padding: 15px;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__feature-card, .page-sports__market-item, .page-sports__security-item, .page-sports__step-card {
    padding: 20px;
  }
}