/* style/sports.css */

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

.page-sports__section-padding {
  padding: 60px 0;
}

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

.page-sports__section-title {
  font-size: clamp(2em, 2.5vw, 2.5em);
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF6D6;
}

.page-sports__dark-section {
  background-color: #111111; /* Card BG */
}

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

.page-sports__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
}

.page-sports__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual flow */
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid #3A2A12; /* Border */
  z-index: 10;
}

.page-sports__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: 800;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-sports__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  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%); /* Button color */
  color: #111111; /* Dark text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E6B02A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Main Color */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-sports__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B; /* Glow */
  border-color: #FFD36B; /* Glow */
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
  transform: translateY(-2px);
}

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

/* About Section */
.page-sports__about-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

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

.page-sports__feature-card {
  background: #0A0A0A; /* Background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-sports__feature-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

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

/* Types of Sports Betting Section */
.page-sports__sport-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__sport-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-sports__sport-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-sports__sport-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main Color */
  padding: 20px 20px 10px;
}

.page-sports__sport-description {
  font-size: 1em;
  color: #FFF6D6;
  padding: 0 20px 20px;
}

/* Live Betting Section */
.page-sports__video-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-sports__video-link {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

.page-sports__promo-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports__promo-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main Color */
  padding: 20px 20px 10px;
}

.page-sports__promo-description {
  font-size: 1em;
  color: #FFF6D6;
  padding: 0 20px 20px;
}

/* Getting Started Section */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__step-card {
  background: #0A0A0A; /* Background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__step-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-sports__step-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 1em;
  color: #FFF6D6;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

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

.page-sports__faq-item {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2C14E; /* Main Color */
  cursor: pointer;
  background: #111111; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-sports__faq-question-title {
  margin: 0;
  color: inherit;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Glow */
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Changed via JS */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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 value */
  padding: 15px 20px;
}

.page-sports__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Partners Section */
.page-sports__partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-sports__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  padding: 10px;
  background: #0A0A0A; /* Background */
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-sports__partner-logo:hover {
  transform: scale(1.05);
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-sports__hero-content {
    margin-top: -80px;
  }

  .page-sports__feature-grid,
  .page-sports__sport-categories,
  .page-sports__promo-grid,
  .page-sports__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-sports__partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }
  .page-sports__partner-logo {
    width: 120px;
    height: 90px;
  }
}

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

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

  .page-sports__text-block {
    font-size: 1em;
  }

  .page-sports__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-sports__main-title {
    font-size: 2.2em;
  }

  .page-sports__hero-description {
    font-size: 1.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;
  }

  .page-sports__feature-grid,
  .page-sports__sport-categories,
  .page-sports__promo-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-icon,
  .page-sports__step-icon {
    width: 150px;
    height: 150px;
  }

  .page-sports__video-wrapper {
    margin: 30px auto;
  }

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

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

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

  .page-sports__partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
  }
  .page-sports__partner-logo {
    width: 100px;
    height: 75px;
  }

  /* Mobile image and container responsiveness */
  .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__video-wrapper,
  .page-sports__cta-buttons,
  .page-sports__partner-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Video section specific padding for mobile */
  .page-sports__hero-section {
    padding-top: 10px !important;
  }
}