/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

/* Fixed navigation bar spacing */
.page-sports__hero-section {
  padding-top: 120px; /* Adjust for fixed header */
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: 100px; /* Adjust for mobile fixed header */
  }
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #E0B14A; /* Gold color for titles */
  line-height: 1.2;
}

.page-sports__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-sports__text-block--small {
  font-size: 16px;
  margin-bottom: 20px;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-sports__btn-primary {
  background-color: #E0B14A; /* Gold */
  color: #0A2463; /* Dark Blue */
  border: 2px solid #E0B14A;
}

.page-sports__btn-primary:hover {
  background-color: #ffc107;
  border-color: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(224, 177, 74, 0.4);
}

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

.page-sports__btn-secondary:hover {
  background-color: #E0B14A;
  color: #0A2463;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(224, 177, 74, 0.4);
}

.page-sports__btn-link {
  background-color: transparent;
  color: #E0B14A; /* Gold */
  border: 1px solid #E0B14A;
  padding: 10px 20px;
  font-size: 16px;
}

.page-sports__btn-link:hover {
  background-color: #E0B14A;
  color: #0A2463;
  border-color: #E0B14A;
}

/* Sections */
.page-sports__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-sports__light-bg .page-sports__section-title,
.page-sports__light-bg .page-sports__text-block {
  color: #0A2463;
}

.page-sports__hero-section {
  position: relative;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-sports__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-sports__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-sports__main-title {
  font-size: 48px;
  color: #E0B14A;
  margin-bottom: 20px;
  line-height: 1.1;
}

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

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

.page-sports__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 700px;
}

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

/* Intro Section */
.page-sports__intro-section {
  padding: 80px 0;
}

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

.page-sports__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-sports__dark-bg.page-sports__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-sports__dark-bg.page-sports__card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__feature-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.page-sports__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0A2463;
}

.page-sports__dark-bg .page-sports__feature-title {
  color: #E0B14A;
}

.page-sports__feature-description {
  font-size: 16px;
  color: #555555;
}

.page-sports__dark-bg .page-sports__feature-description {
  color: #cccccc;
}

/* Betting Types Section */
.page-sports__betting-types-section {
  padding: 80px 0;
}

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

.page-sports__sport-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
}

.page-sports__sport-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #E0B14A;
}

.page-sports__sport-description {
  font-size: 16px;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-sports__sport-card .page-sports__btn-link {
  margin-bottom: 20px;
  border-radius: 5px;
}

/* Promotion Section */
.page-sports__promotion-section {
  padding: 80px 0;
}

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

.page-sports__promo-card {
  text-align: center;
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.page-sports__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0A2463;
}

.page-sports__promo-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
}

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

.page-sports__step-card {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #E0B14A;
  margin-bottom: 15px;
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E0B14A;
}

.page-sports__step-description {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
}

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

.page-sports__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sports__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;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-sports__faq-answer p {
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-sports__faq-question:active {
  background: #eeeeee;
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #0A2463;
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  color: #333;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__hero-content {
    max-width: 100%;
    text-align: center;
  }

  .page-sports__hero-actions {
    justify-content: center;
  }

  .page-sports__main-title {
    font-size: 42px;
  }

  .page-sports__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__container {
    padding: 30px 15px;
  }

  .page-sports__main-title {
    font-size: 32px;
  }

  .page-sports__hero-description {
    font-size: 18px;
  }

  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-sports__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-sports__text-block {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-sports__feature-title,
  .page-sports__promo-title,
  .page-sports__step-title,
  .page-sports__sport-title {
    font-size: 20px;
  }

  .page-sports__feature-description,
  .page-sports__promo-description,
  .page-sports__step-description,
  .page-sports__sport-description {
    font-size: 15px;
  }

  .page-sports__feature-icon {
    width: 100px;
  }

  .page-sports__promo-image,
  .page-sports__sport-image {
    height: 180px;
  }

  .page-sports__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-sports__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-sports__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-sports__faq-answer {
    padding: 0 15px;
  }
  
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: 28px;
  }

  .page-sports__hero-description {
    font-size: 16px;
  }

  .page-sports__section-title {
    font-size: 24px;
  }

  .page-sports__cta-actions {
    flex-direction: column;
  }
}

/* All image responsive styles */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__intro-section,
  .page-sports__betting-types-section,
  .page-sports__promotion-section,
  .page-sports__guide-section,
  .page-sports__faq-section,
  .page-sports__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}