/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background */
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.5;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

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

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

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

.page-sports__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
}

.page-sports__hero-description {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-sports__btn-primary {
  background-color: #FFD700;
  color: #0A2E59;
  border: 2px solid #FFD700;
}

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

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

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

/* About Section */
.page-sports__about-section {
  padding: 80px 0;
  background-color: #1A1A1A; /* Slightly lighter dark background */
  color: #f0f0f0;
}

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

.page-sports__feature-item {
  background-color: #0A2E59;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

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

.page-sports__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

/* Sports Categories Section */
.page-sports__sports-categories {
  padding: 80px 0;
  background-color: #0A2E59;
  color: #ffffff;
}

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

.page-sports__category-card {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-sports__category-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Video Section */
.page-sports__video-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

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

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  color: #f0f0f0;
}

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

.page-sports__card {
  background-color: #0A2E59;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have similar height */
}

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

.page-sports__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* How-To-Start Section */
.page-sports__how-to-start {
  padding: 80px 0;
  background-color: #0A2E59;
  color: #ffffff;
}

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

.page-sports__step-item {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-sports__step-number {
  font-size: 3em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-sports__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__step-text {
  font-size: 1em;
  color: #ffffff;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  color: #f0f0f0;
}

.page-sports__live-betting-advantages {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__live-betting-advantages li {
  background-color: #0A2E59;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  border-left: 5px solid #FFD700;
}

.page-sports__list-icon {
  color: #FFD700;
  font-size: 1.5em;
  margin-right: 15px;
  line-height: 1;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  background-color: #0A2E59;
  color: #ffffff;
  text-align: center;
}

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

.page-sports__security-item {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

.page-sports__image-center {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 60px auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-sports__faq-item {
  background-color: #0A2E59;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: #FFD700;
  font-weight: bold;
  background-color: #0A2E59;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #0d3a70;
}

.page-sports__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

.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: #ffffff;
  font-size: 1em;
}

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

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

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #0A2E59;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-sports__cta-section .page-sports__section-description {
  margin-bottom: 40px;
}

.page-sports__cta-section .page-sports__image-full-width {
  margin-top: 60px;
  opacity: 0.7;
  filter: brightness(0.8);
  z-index: 1;
  position: relative;
}

.page-sports__cta-section .page-sports__cta-buttons {
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

/* 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.2em;
  }
  .page-sports__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__hero-section {
    height: auto;
    min-height: 600px;
    padding: var(--header-offset, 120px) 0 60px 0;
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-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;
    margin: 0 auto;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__about-section,
  .page-sports__sports-categories,
  .page-sports__video-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start,
  .page-sports__live-betting-section,
  .page-sports__security-section,
  .page-sports__faq-section,
  .page-sports__cta-section {
    padding: 60px 0;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__image-full-width,
  .page-sports__card-image,
  .page-sports__image-center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-sports__video-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-sports__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-sports__card {
    min-height: auto;
  }
  .page-sports__faq-question,
  .page-sports__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__live-betting-advantages li {
    font-size: 1em;
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__section-title {
    font-size: 1.6em;
  }
  .page-sports__feature-title,
  .page-sports__category-title,
  .page-sports__card-title,
  .page-sports__step-title,
  .page-sports__security-title {
    font-size: 1.4em;
  }
  .page-sports__hero-section {
    min-height: 500px;
  }
}