:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-sports {
  background-color: var(--background-color);
  color: var(--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-spacing {
  padding: 60px 0;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main);
  text-align: justify;
}

.page-sports__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

.page-sports__text-link {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-sports__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-sports__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-color);
}

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

.page-sports__cta-inline {
  margin-top: 30px;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--deep-green);
  overflow: hidden;
}

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

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure hero image is not too small */
}

.page-sports__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background-color: var(--card-bg); /* Dark background for text contrast */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.page-sports__hero-title {
  font-size: 3.2em;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-sports__hero-description {
  font-size: 1.3em;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Intro Section */
.page-sports__intro-section {
  background-color: var(--background-color);
}

/* Video Section */
.page-sports__video-section {
  background-color: var(--deep-green);
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
}

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

.page-sports__video-caption {
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 20px;
  font-size: 1em;
}

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

/* Why Choose Us Section */
.page-sports__why-choose-us {
  background-color: var(--background-color);
}

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

.page-sports__feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-sports__card-title {
  font-size: 1.8em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__card-text {
  font-size: 1em;
  color: var(--text-secondary);
  text-align: justify;
  flex-grow: 1;
}

/* Bet Types Section */
.page-sports__bet-type-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-sports__bet-type-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-sports__bet-type-heading {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__bet-type-description {
  font-size: 1em;
  color: var(--text-secondary);
}

/* Live Betting Section */
.page-sports__live-betting {
  background-color: var(--deep-green);
}

.page-sports__live-betting-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-sports__live-betting-text {
  flex: 1;
  min-width: 300px;
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

/* Guide Section */
.page-sports__guide-section {
  background-color: var(--background-color);
}

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

.page-sports__guide-step {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
}

.page-sports__step-icon {
  background-color: var(--secondary-color);
  color: var(--background-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-sports__step-title {
  font-size: 1.8em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__step-description {
  font-size: 1em;
  color: var(--text-secondary);
}

/* Promotions Section */
.page-sports__promotions {
  background-color: var(--deep-green);
  text-align: center;
}

.page-sports__promotions-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  display: block;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming {
  background-color: var(--background-color);
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: var(--deep-green);
}

.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green); /* Darker background for question */
  border-bottom: 1px solid var(--divider-color);
  list-style: none; /* For details/summary */
}

.page-sports__faq-item[open] .page-sports__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-sports__faq-qtext {
  flex-grow: 1;
  color: var(--gold-color);
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-left: 15px;
}

.page-sports__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hide default marker for details/summary */
.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-sports__faq-item summary::marker {
  display: none;
}

/* Contact Section */
.page-sports__contact-section {
  background-color: var(--background-color);
  text-align: center;
}

/* Final CTA Section */
.page-sports__cta-final {
  background-color: var(--deep-green);
  text-align: center;
}

.page-sports__cta-final-btn {
  font-size: 1.4em;
  padding: 18px 35px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }

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

  .page-sports__section-title {
    font-size: 2em;
  }

  .page-sports__features-grid,
  .page-sports__bet-type-list,
  .page-sports__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-sports__live-betting-content {
    flex-direction: column;
  }
}

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

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

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

  .page-sports__hero-title {
    font-size: 2em;
  }

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

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

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

  /* Image Responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video Responsiveness */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-sports__video-section {
    padding-top: 10px !important; /* Body handles header offset */
  }

  /* Container padding for mobile */
  .page-sports__container,
  .page-sports__section,
  .page-sports__card,
  .page-sports__intro-section,
  .page-sports__why-choose-us,
  .page-sports__bet-types,
  .page-sports__live-betting,
  .page-sports__guide-section,
  .page-sports__promotions,
  .page-sports__responsible-gaming,
  .page-sports__faq-section,
  .page-sports__contact-section,
  .page-sports__cta-final {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-sports__hero-section .page-sports__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-sports__feature-card,
  .page-sports__bet-type-item,
  .page-sports__guide-step,
  .page-sports__faq-item {
    padding: 20px;
  }

  .page-sports__card-image {
    height: 180px;
  }

  .page-sports__card-title {
    font-size: 1.5em;
  }

  .page-sports__bet-type-heading {
    font-size: 1.3em;
  }

  .page-sports__step-title {
    font-size: 1.5em;
  }

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

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

  .page-sports__cta-final-btn {
    font-size: 1.2em;
    padding: 15px 25px;
  }
}