/* style/sports.css */
:root {
  --primary-color: #0A2240; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --accent-color: #DC143C; /* Crimson Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f4f7f6;
  --bg-dark: #1a3e63;
  --border-color: #e0e0e0;
}

.page-sports {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

.page-sports h1, .page-sports h2, .page-sports h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports h1 {
  font-size: 3.2em;
  color: var(--text-light);
}

.page-sports h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-sports h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-sports h3 {
  font-size: 1.8em;
  color: var(--primary-color);
}

.page-sports p {
  margin-bottom: 15px;
}

.page-sports a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-sports a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-sports .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-sports .cta-button:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: var(--secondary-color);
  text-decoration: none;
}

/* Hero Section */
.page-sports .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3e63 100%); /* Dark gradient for hero */
  color: var(--text-light);
}

.page-sports .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports .hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-sports .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-sports .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image */
}

.page-sports .hero-content h1 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-sports .hero-content h1 a:hover {
  text-decoration: underline;
}

.page-sports .hero-content p {
  font-size: 1.2em;
  color: #e0e0e0;
}

/* Intro Section */
.page-sports .intro-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

/* Sports Diversity Section */
.page-sports .sports-diversity {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-sports .sports-diversity h2 {
  color: var(--secondary-color);
}

.page-sports .sports-diversity h2::after {
  background-color: var(--text-light);
}

.page-sports .sports-diversity p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

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

.page-sports .sport-card {
  background-color: #2a4c73; /* Slightly lighter dark blue */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports .sport-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-sports .sport-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.page-sports .sport-card h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-sports .sport-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-sports .sport-card h3 a:hover {
  text-decoration: underline;
}

.page-sports .sport-card p {
  color: #c0c0c0;
  font-size: 0.95em;
  flex-grow: 1;
  text-align: left;
}

/* Betting Odds Section */
.page-sports .betting-odds {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-sports .betting-odds p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-sports .odds-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-sports .feature-item {
  background-color: #ffffff;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-sports .feature-item:hover {
  transform: translateY(-5px);
}

.page-sports .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-top: 0;
}

.page-sports .feature-item p {
  text-align: left;
  font-size: 0.95em;
  color: var(--text-dark);
}

/* Promotions Section */
.page-sports .promotions-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-sports .promotions-section h2 {
  color: var(--secondary-color);
}

.page-sports .promotions-section h2::after {
  background-color: var(--text-light);
}

.page-sports .promotions-section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

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

.page-sports .promo-card {
  background-color: #2a4c73;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-sports .promo-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.page-sports .promo-card h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-sports .promo-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-sports .promo-card h3 a:hover {
  text-decoration: underline;
}

.page-sports .promo-card p {
  color: #c0c0c0;
  font-size: 0.95em;
  flex-grow: 1;
  text-align: left;
}

/* Guide Section */
.page-sports .guide-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-sports .guide-section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-sports .step-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports .step-item .step-number {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports .step-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-sports .step-item h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-sports .step-item h3 a:hover {
  text-decoration: underline;
}

.page-sports .step-item p {
  font-size: 0.95em;
  color: var(--text-dark);
  text-align: left;
}

/* Security & Support Section */
.page-sports .security-support-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-sports .security-support-section h2 {
  color: var(--secondary-color);
}

.page-sports .security-support-section h2::after {
  background-color: var(--text-light);
}

.page-sports .security-support-section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

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

.page-sports .info-item {
  background-color: #2a4c73;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports .info-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  aspect-ratio: 16/9;
}

.page-sports .info-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-sports .info-item p {
  color: #c0c0c0;
  font-size: 0.95em;
  flex-grow: 1;
  text-align: left;
}

/* Tips Section */
.page-sports .tips-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-sports .tips-section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-sports .tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-sports .tips-list li {
  background-color: #ffffff;
  border-left: 4px solid var(--accent-color);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
}

.page-sports .tips-list li strong {
  color: var(--primary-color);
}

/* FAQ Section */
.page-sports .faq-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-sports .faq-section h2 {
  color: var(--secondary-color);
}

.page-sports .faq-section h2::after {
  background-color: var(--text-light);
}

.page-sports .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-sports .faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sports .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #2a4c73;
  border: 1px solid #3d6a9c;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-sports .faq-question:hover {
  background: #3d6a9c;
}

.page-sports .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
}

.page-sports .faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-sports .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #1a3e63;
  color: #c0c0c0;
  border-radius: 0 0 5px 5px;
}

.page-sports .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px;
}

.page-sports .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.page-sports .faq-answer p {
  margin-bottom: 0;
  color: #c0c0c0;
}

.page-sports .faq-answer a {
  color: var(--secondary-color);
}

.page-sports .faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports h1 {
    font-size: 2.8em;
  }
  .page-sports h2 {
    font-size: 2em;
  }
  .page-sports h3 {
    font-size: 1.5em;
  }
  .page-sports .hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-sports h1 {
    font-size: 2.2em;
  }
  .page-sports h2 {
    font-size: 1.8em;
  }
  .page-sports h3 {
    font-size: 1.3em;
  }
  .page-sports .hero-section {
    padding: 40px 15px;
  }
  .page-sports .hero-image img {
    border-radius: 4px;
  }
  .page-sports .hero-content {
    padding: 15px;
    margin-top: -40px;
  }
  .page-sports .hero-content p {
    font-size: 1em;
  }
  .page-sports .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-sports .sports-grid, .page-sports .odds-features, .page-sports .promo-grid, .page-sports .steps-grid, .page-sports .info-grid {
    grid-template-columns: 1fr;
  }
  .page-sports .sport-card, .page-sports .feature-item, .page-sports .promo-card, .page-sports .step-item, .page-sports .info-item {
    padding: 20px;
  }
  .page-sports .faq-question {
    padding: 12px;
    flex-direction: row;
    align-items: center;
  }
  .page-sports .faq-question h3 {
    margin-bottom: 0;
  }
  .page-sports .faq-toggle {
    align-self: center;
    margin-top: 0;
  }
  .page-sports .tips-list li {
    padding: 15px 20px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-sports h1 {
    font-size: 1.8em;
  }
  .page-sports h2 {
    font-size: 1.5em;
  }
  .page-sports h3 {
    font-size: 1.1em;
  }
  .page-sports .hero-content {
    margin-top: -30px;
  }
  .page-sports .hero-content p {
    font-size: 0.9em;
  }
  .page-sports .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-sports .sport-card img, .page-sports .promo-card img, .page-sports .info-item img {
    max-width: 200px;
  }
}