/* style/sports.css */

/* General page styling */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--primary-color, #1A202C); /* Ensure dark background */
  padding-bottom: 60px; /* Add some padding at the bottom before footer */
}

/* Section styling */
.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-sports__paragraph {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0; /* Light grey for paragraphs on dark background */
}

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

/* Button styles */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-sports__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #1A202C; /* 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(0, 0, 0, 0.2);
}

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

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

.page-sports__btn-small {
    padding: 10px 20px;
    font-size: 16px;
}

/* Dark background sections */
.page-sports__dark-section {
  background-color: #1A202C; /* Primary dark color */
  color: #ffffff;
}
.page-sports__dark-section .page-sports__section-title {
  color: #FFD700;
}
.page-sports__dark-section .page-sports__paragraph {
  color: #f0f0f0;
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding: 0; /* shared.css is assumed to handle body padding-top */
  margin-top: 0;
  background: linear-gradient(135deg, #1A202C, #3A404C); /* Dark gradient background */
  overflow: hidden;
}

.page-sports__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px; /* Adjust padding for sub-page hero */
  gap: 40px;
}

.page-sports__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

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

.page-sports__hero-description {
  font-size: 19px;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
  text-align: left;
}

.page-sports__hero-cta {
  display: flex;
  gap: 20px;
}

.page-sports__hero-image {
  flex: 1;
  max-width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* Introduction Section */
.page-sports__introduction-section {
    padding: 80px 0;
}

.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: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-sports__feature-item img {
  
  
  margin: 0 auto 20px auto;
  object-fit: contain;
}

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

.page-sports__feature-item p {
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
}

/* Sports Overview Section */
.page-sports__sports-overview-section {
  padding: 80px 0;
  background-color: #1A202C; /* Ensure dark background */
}

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

.page-sports__category-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-sports__category-card img {
  width: 100%;
   /* Fixed height for category images */
  object-fit: cover;
}

.page-sports__category-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  padding: 15px 20px 0;
}

.page-sports__category-card p {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 20px 20px;
  text-align: left;
}

.page-sports__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
}

.page-sports__content-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-sports__content-layout--reverse {
  flex-direction: row-reverse;
}

.page-sports__content-text {
  flex: 1;
}

.page-sports__content-text .page-sports__paragraph {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sports__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-sports__list li {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-sports__list li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-sports__list-highlight {
  color: #FFD700;
}

.page-sports__content-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__content-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px; /* Add padding at bottom for text */
  text-align: center;
}

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

.page-sports__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-sports__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-sports__promo-card p {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 25px;
  padding: 0 20px;
  text-align: center;
}

/* Security Section - uses content-layout with reverse */
.page-sports__security-section {
  padding: 80px 0;
}

/* How to Start Section */
.page-sports__how-to-start-section {
  padding: 80px 0;
  background-color: #1A202C; /* Ensure dark background */
}

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

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

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

.page-sports__step-card img {
  
  
  margin: 0 auto 20px auto;
  object-fit: contain;
}

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

.page-sports__step-card p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 30px;
  text-align: center;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
}

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

/* FAQ容器样式 */
.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08); /* Darker background for item */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ默认状态 - 答案隐藏 */
.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 15px;
  opacity: 0;
}