/* style/sports.css */

/* Base styles for the page content, ensuring contrast with shared body background */
.page-sports {
  color: #FFF6D6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

.page-sports__section-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  color: #F2C14E; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-sports__card {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

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

.page-sports__card-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6B02E 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

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

.page-sports__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
}

.page-sports__btn-link {
  background: none;
  border: none;
  color: #FFD36B; /* Glow */
  padding: 0;
  text-decoration: underline;
  font-size: 0.9em;
  font-weight: 400;
  margin-top: 10px;
}

.page-sports__btn-link:hover {
  color: #F2C14E;
}

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

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

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

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 20px 0;
  margin-top: -100px; /* Pull content up slightly over image bottom */
  background: rgba(10, 10, 10, 0.7); /* Semi-transparent background for readability */
  border-radius: 10px;
}

.page-sports__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 800;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.1;
}

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

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

/* Categories Section */
.page-sports__category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  text-align: center;
}

.page-sports__category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.page-sports__category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-sports__category-name {
  font-size: 1.2em;
  color: #FFD36B;
  font-weight: 600;
  margin-bottom: 5px;
}

.page-sports__category-description {
  font-size: 0.85em;
  color: #FFF6D6;
}

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

.page-sports__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  position: relative;
}

.page-sports__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #F2C14E;
  color: #111111;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 3px solid #111111; /* Match card background */
}

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

.page-sports__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__promo-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
  object-fit: cover;
}

/* Mobile App Section */
.page-sports__mobile-app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.page-sports__mobile-app-text {
  flex: 1;
}

.page-sports__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-sports__app-features li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #FFF6D6;
  position: relative;
  padding-left: 25px;
}

.page-sports__app-features li::before {
  content: '✓';
  color: #F2C14E;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-sports__feature-highlight {
  color: #FFD36B;
}

.page-sports__mobile-app-image-wrapper {
  flex: 0 0 400px; /* Fixed width for image on desktop */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__mobile-app-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-sports__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
  display: inline-block; /* Center the list itself */
}

.page-sports__responsible-gaming-list li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #FFF6D6;
  position: relative;
  padding-left: 25px;
}

.page-sports__responsible-gaming-list li::before {
  content: '•';
  color: #F2C14E;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

/* Payment Methods Section */
.page-sports__payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-sports__payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  min-width: 120px;
  text-align: center;
}

.page-sports__payment-icon {
  width: 80px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-sports__payment-name {
  font-size: 0.9em;
  color: #FFF6D6;
  font-weight: 500;
}

.page-sports__section-footer {
  text-align: center;
  font-size: 0.95em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #111111;
  border-bottom: 1px solid #3A2A12;
  cursor: pointer;
  color: #F2C14E;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

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

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

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #0A0A0A; /* Background */
  color: #FFF6D6;
  font-size: 0.95em;
}

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

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

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

.page-sports__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  filter: grayscale(100%); /* Example for subtle effect */
  transition: filter 0.3s ease;
}

.page-sports__partner-logo:hover {
  filter: grayscale(0%);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-content {
    margin-top: -80px;
  }

  .page-sports__main-title {
    font-size: clamp(2em, 4.5vw, 3.5em);
  }

  .page-sports__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__mobile-app-text {
    order: 2; /* Text below image on smaller screens */
  }

  .page-sports__mobile-app-image-wrapper {
    order: 1;
    flex: 0 0 300px;
    margin-bottom: 30px;
  }

  .page-sports__app-features, .page-sports__responsible-gaming-list {
    text-align: center;
    display: block;
  }
  .page-sports__app-features li, .page-sports__responsible-gaming-list li {
    display: inline-block;
    margin: 5px 10px;
    padding-left: 0;
  }
  .page-sports__app-features li::before, .page-sports__responsible-gaming-list li::before {
    display: none;
  }

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

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

  .page-sports__hero-section {
    padding-bottom: 40px;
  }

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

  .page-sports__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-sports__hero-description {
    font-size: 1em;
  }

  .page-sports__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
  }

  .page-sports__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

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

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 10px;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports__section, .page-sports__card, .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__hero-image-wrapper,
  .page-sports__mobile-app-image-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-sports__payment-icons {
    gap: 15px;
  }

  .page-sports__payment-item {
    min-width: unset;
    flex: 1 1 calc(50% - 15px);
  }

  .page-sports__faq-question {
    padding: 12px 15px;
  }

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

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

  .page-sports__partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-sports__partner-logo {
    width: 100%;
    height: auto;
    max-width: 100px; /* Adjust as needed for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-sports__hero-content {
    margin-top: -40px;
  }

  .page-sports__payment-item {
    flex: 1 1 100%;
  }

  .page-sports__partners-grid {
    grid-template-columns: 1fr;
  }
}