.page-sports {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--background-dark); /* Inherited from shared.css */
}

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

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

.page-sports__section-description {
  font-size: 18px;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word; /* Allow text to wrap */
  box-sizing: border-box;
  max-width: 100%;
}

.page-sports__btn-primary {
  background-color: #FFD700; /* Gold brand color */
  color: #1a1a1a; /* Dark text for gold background */
  border: 2px solid #FFD700;
}

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

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

.page-sports__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* HERO Section */
.page-sports__hero-section {
  position: relative;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 80px;
  background: linear-gradient(135deg, #1E90FF, #000080);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
}

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

.page-sports__hero-title {
  font-size: 52px;
  font-weight: bold;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 25px;
  line-height: 1.2;
}

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

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

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 1;
}

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

/* Intro Section */
.page-sports__intro-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-sports__intro-text {
  flex: 1;
  color: #cccccc;
  font-size: 17px;
  line-height: 1.7;
}

.page-sports__intro-text p {
  margin-bottom: 20px;
}

.page-sports__intro-text .page-sports__btn-secondary {
  margin-top: 20px;
}

.page-sports__intro-image-wrapper {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__intro-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Types Section */
.page-sports__types-section {
  padding: 80px 0;
  background: linear-gradient(to right, #1E90FF, #000080);
}

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

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-sports__sport-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__sport-card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

.page-sports__sport-card p {
  font-size: 16px;
  color: #cccccc;
  padding: 0 20px;
  line-height: 1.6;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-sports__live-betting-image-wrapper {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-sports__live-betting-text {
  flex: 1;
  color: #cccccc;
  font-size: 17px;
  line-height: 1.7;
}

.page-sports__live-betting-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-sports__live-betting-text li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-sports__live-betting-text li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  top: 0;
}

.page-sports__live-betting-text .page-sports__btn-primary {
  margin-top: 20px;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFD700, #e6c200);
}

.page-sports__promotions-section .page-sports__section-title {
  color: #1a1a1a; /* Dark text for gold background */
}

.page-sports__promotions-section .page-sports__section-description {
  color: #333333;
}

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

.page-sports__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-sports__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__promo-card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-sports__promo-card-title {
  font-size: 24px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.page-sports__promo-card p {
  font-size: 16px;
  color: #666666;
  padding: 0 20px;
  line-height: 1.6;
}

.page-sports__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-sports__promotions-section .page-sports__btn-primary {
  background-color: #1E90FF; /* Dark blue for button */
  border-color: #1E90FF;
  color: #ffffff;
}

.page-sports__promotions-section .page-sports__btn-primary:hover {
  background-color: #187bcd;
  border-color: #187bcd;
}

/* Get Started Section */
.page-sports__get-started-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-sports__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__step-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-sports__step-card h3 {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__step-card p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #000080, #1E90FF);
}

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

.page-sports__security-image-wrapper {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__security-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-sports__security-text {
  flex: 1;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.7;
}

.page-sports__security-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-sports__security-text li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-sports__security-text li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  top: 0;
}

.page-sports__security-links {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  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: 18px 25px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #FFD700;
}

.page-sports__faq-question:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
}

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

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 32px;
  height: 32px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X */
}

.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, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 0 0 8px 8px;
}

/* News Section */
.page-sports__news-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1E90FF, #000080);
}

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

.page-sports__news-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-sports__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__news-card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-sports__news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sports__news-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
}

.page-sports__news-card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-sports__news-card-title a:hover {
  text-decoration: underline;
}

.page-sports__news-card-excerpt {
  font-size: 16px;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-sports__news-card .page-sports__btn-secondary {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

.page-sports__view-all-news {
  text-align: center;
  margin-top: 50px;
}

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

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

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

  .page-sports__intro-content,
  .page-sports__live-betting-content,
  .page-sports__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__intro-image-wrapper,
  .page-sports__live-betting-image-wrapper,
  .page-sports__security-image-wrapper {
    order: -1;
    margin-bottom: 30px;
  }

  .page-sports__live-betting-text ul,
  .page-sports__security-text ul {
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-sports__security-links {
    justify-content: center;
  }

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

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

  .page-sports__sports-grid,
  .page-sports__promo-grid,
  .page-sports__steps-grid,
  .page-sports__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

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

@media (max-width: 768px) {
  /* HERO Section Mobile */
  .page-sports__hero-section {
    padding-top: 0 !important; /* Ensure no double padding if shared.css sets body padding */
    padding-bottom: 60px;
    min-height: 450px;
  }

  .page-sports__hero-content {
    padding: 15px;
  }

  .page-sports__hero-title {
    font-size: 34px;
    margin-bottom: 15px;
  }

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

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

  /* General Section Titles & Descriptions Mobile */
  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-sports__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* General Section Padding Mobile */
  .page-sports__intro-section,
  .page-sports__types-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__get-started-section,
  .page-sports__security-section,
  .page-sports__faq-section,
  .page-sports__news-section {
    padding: 50px 0;
  }

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

  /* Intro Section Mobile */
  .page-sports__intro-content {
    gap: 30px;
  }

  .page-sports__intro-text {
    font-size: 15px;
  }

  /* Types Section Mobile */
  .page-sports__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__sport-card-image-wrapper {
    height: 160px;
  }

  .page-sports__sport-card-title {
    font-size: 20px;
  }

  .page-sports__sport-card p {
    font-size: 14px;
  }

  /* Live Betting Section Mobile */
  .page-sports__live-betting-content {
    gap: 30px;
  }

  .page-sports__live-betting-text {
    font-size: 15px;
  }

  .page-sports__live-betting-text li {
    padding-left: 20px;
  }

  /* Promotions Section Mobile */
  .page-sports__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__promo-card-image-wrapper {
    height: 160px;
  }

  .page-sports__promo-card-title {
    font-size: 20px;
  }

  .page-sports__promo-card p {
    font-size: 14px;
  }

  .page-sports__view-all-promos {
    margin-top: 30px;
  }

  /* Get Started Section Mobile */
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__step-icon {
    width: 100px;
    height: 100px;
  }

  .page-sports__step-card h3 {
    font-size: 20px;
  }

  .page-sports__step-card p {
    font-size: 14px;
  }

  /* Security Section Mobile */
  .page-sports__security-content {
    gap: 30px;
  }

  .page-sports__security-text {
    font-size: 15px;
  }

  .page-sports__security-text li {
    padding-left: 20px;
  }

  .page-sports__security-links {
    flex-direction: column;
    gap: 10px;
  }

  /* FAQ Section Mobile */
  .page-sports__faq-item {
    margin-bottom: 10px;
  }

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

  .page-sports__faq-question h3 {
    font-size: 16px;
  }

  .page-sports__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

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

  /* News Section Mobile */
  .page-sports__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__news-card-image-wrapper {
    height: 160px;
  }

  .page-sports__news-card-title {
    font-size: 18px;
    margin: 15px 15px 8px 15px;
  }

  .page-sports__news-card-excerpt {
    font-size: 14px;
    padding: 0 15px;
    margin-bottom: 15px;
  }

  .page-sports__news-card .page-sports__btn-secondary {
    margin: 0 15px 15px 15px;
    width: calc(100% - 30px);
  }

  .page-sports__view-all-news {
    margin-top: 30px;
  }

  /* General Image & Button Responsive */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    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__hero-cta-buttons,
  .page-sports__security-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-sports__hero-cta-buttons {
    flex-direction: column !important;
  }
}