/* style/sports.css */
:root {
  --primary-color: #007bff; /* Xanh dương đậm */
  --secondary-color: #ffc107; /* Vàng sáng */
  --dark-background: #1a1a2e; /* Nền tối */
  --light-text: #ffffff; /* Chữ sáng */
  --dark-text: #333333; /* Chữ tối */
  --light-gray: #f8f9fa; /* Xám nhạt */
  --medium-gray: #e9ecef; /* Xám vừa */
  --border-color: #dee2e6;
}

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

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

.page-sports h1, .page-sports h2, .page-sports h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-sports h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--dark-text);
}

.page-sports h3 {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-sports p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-sports ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-sports ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

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

.page-sports .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-sports .cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-sports .cta-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--dark-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.page-sports .cta-small:hover {
  background: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-1px);
}

/* 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), var(--dark-background));
  color: var(--light-text);
}

.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;
}

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

.page-sports .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-sports .hero-content p {
  font-size: 1.2em;
  color: var(--light-text);
  max-width: 800px;
  margin: 20px auto 30px auto;
}

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

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

.page-sports .feature-item {
  background-color: var(--light-text);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports .feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

/* Sports Categories Section */
.page-sports .sports-categories-section {
  background-color: var(--medium-gray);
  padding: 60px 0;
  text-align: center;
}

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

.page-sports .category-card {
  background-color: var(--light-text);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-sports .category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports .category-card h3 {
  font-size: 1.6em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
  text-align: left;
}

.page-sports .category-card h3 .page-sports.category-link {
  color: var(--primary-color);
}

.page-sports .category-card h3 .page-sports.category-link:hover {
  color: var(--secondary-color);
}

.page-sports .category-card p {
  font-size: 1em;
  color: var(--dark-text);
  padding: 0 20px 20px 20px;
  text-align: left;
  flex-grow: 1;
}

/* Odds & Live Betting Section */
.page-sports .odds-live-betting-section {
  background-color: var(--light-gray);
  padding: 60px 0;
  text-align: center;
}

.page-sports .odds-live-betting-section ul {
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  list-style-type: none;
  padding-left: 0;
}

.page-sports .odds-live-betting-section ul li {
  background-color: var(--light-text);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
}

.page-sports .odds-live-betting-section ul li strong {
  color: var(--primary-color);
}

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

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

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

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

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

.page-sports .promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-sports .promo-card p {
  font-size: 1em;
  color: var(--light-text);
}

/* How To Section */
.page-sports .how-to-section {
  background-color: var(--light-gray);
  padding: 60px 0;
  text-align: center;
}

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

.page-sports .step-item {
  background-color: var(--light-text);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports .step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-sports .step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

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

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

.page-sports .tips-section ul li {
  background-color: var(--light-text);
  border-left: 5px solid var(--primary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  text-align: left;
}

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

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

.page-sports .faq-section h2 {
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--light-text);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--primary-color);
}

.faq-question:hover {
  background: var(--medium-gray);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--dark-text);
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--dark-text);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px;
  border-color: var(--primary-color);
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
}

/* Conclusion Section */
.page-sports .conclusion-section {
  background-color: var(--dark-background);
  padding: 60px 0;
  text-align: center;
  color: var(--light-text);
}

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

.page-sports .conclusion-section p {
  color: var(--light-text);
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-sports .conclusion-section a {
  color: var(--secondary-color);
}

.page-sports .conclusion-section a:hover {
  color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports h1 {
    font-size: 2.4em;
  }
  .page-sports h2 {
    font-size: 2em;
  }
  .page-sports h3 {
    font-size: 1.6em;
  }
  .page-sports .hero-content p {
    font-size: 1.1em;
  }
  .page-sports .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-sports .container {
    padding: 15px;
  }
  .page-sports h1 {
    font-size: 2em;
  }
  .page-sports h2 {
    font-size: 1.8em;
  }
  .page-sports h3 {
    font-size: 1.4em;
  }
  .page-sports p {
    font-size: 1em;
  }
  .page-sports .hero-section {
    padding: 40px 15px;
  }
  .page-sports .hero-image img {
    border-radius: 8px;
  }
  .page-sports .features-grid, .page-sports .category-grid, .page-sports .promo-grid, .page-sports .step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports .feature-item, .page-sports .category-card, .page-sports .promo-card, .page-sports .step-item {
    padding: 20px;
  }
  .page-sports .feature-icon {
    width: 80px;
    height: 80px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-sports h1 {
    font-size: 1.8em;
  }
  .page-sports h2 {
    font-size: 1.6em;
  }
  .page-sports h3 {
    font-size: 1.2em;
  }
  .page-sports .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-sports .hero-content p {
    font-size: 0.95em;
  }
  .page-sports .category-card img {
    height: 160px;
  }
}