/* style/th-thao.css */

/* General Styles for the page content */
.page-th-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light background */
  background-color: #f8f8f8; /* Light background */
}

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

.page-th-thao section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-th-thao section:nth-of-type(even) {
  background-color: #f0f4f7; /* Slightly different background for alternating sections */
}

.page-th-thao h1,
.page-th-thao h2,
.page-th-thao h3 {
  color: #0A2342; /* Primary color for headings */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-th-thao h1 {
  font-size: 3.2em;
  color: #ffffff; /* White for hero section H1 */
  margin-bottom: 15px;
}

.page-th-thao h2 {
  font-size: 2.5em;
  border-bottom: 2px solid #FFD700; /* Auxiliary color for emphasis */
  padding-bottom: 10px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
}

.page-th-thao h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #0A2342;
}

.page-th-thao p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
}

.page-th-thao ul,
.page-th-thao ol {
  margin-bottom: 15px;
  padding-left: 25px;
  list-style-type: disc;
}

.page-th-thao ol {
  list-style-type: decimal;
}

.page-th-thao li {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.page-th-thao a {
  color: #0A2342; /* Primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-th-thao a:hover {
  color: #FFD700; /* Auxiliary color on hover */
  text-decoration: underline;
}

/* CTA Button Styles */
.page-th-thao .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: #FFD700; /* Auxiliary color for buttons */
  color: #0A2342; /* Dark text on auxiliary background */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-th-thao .cta-button:hover {
  background: #e6c200; /* Slightly darker auxiliary on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-th-thao .secondary-cta {
  background: #0A2342; /* Primary color for secondary buttons */
  color: #FFD700; /* Auxiliary text on primary background */
  box-shadow: 0 5px 15px rgba(10, 35, 66, 0.4);
}

.page-th-thao .secondary-cta:hover {
  background: #1a3a5e; /* Slightly lighter primary on hover */
  color: #FFD700;
  box-shadow: 0 8px 20px rgba(10, 35, 66, 0.6);
}

.page-th-thao .final-cta {
  display: block;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Hero Section */
.page-th-thao .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A2342 0%, #3a5b82 100%); /* Gradient background */
  overflow: hidden;
  border-radius: 0; /* No border radius for hero section */
  box-shadow: none;
}

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

.page-th-thao .hero-image {
  width: 100%;
  max-width: 1000px; /* Limit image width */
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-th-thao .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff; /* White text for hero content */
}

.page-th-thao .hero-content p {
  font-size: 1.3em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

/* Content Images */
.page-th-thao .content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Rules Section */
.page-th-thao .rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-th-thao .rule-item {
  background-color: #fefefe;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FFD700;
}

.page-th-thao .rule-item h3 {
  color: #0A2342;
  font-size: 1.6em;
  text-align: left;
  margin-bottom: 15px;
}

.page-th-thao .rule-item ul {
  list-style-type: square;
  padding-left: 20px;
}

/* Bet Types Section */
.page-th-thao .bet-type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-th-thao .bet-type-cards .card {
  background-color: #fefefe;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-bottom: 5px solid #0A2342;
}

.page-th-thao .bet-type-cards .card h3 {
  color: #0A2342;
  font-size: 1.6em;
}

/* Strategy Section */
.page-th-thao .strategy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-th-thao .strategy-item {
  background-color: #fefefe;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-right: 5px solid #FFD700;
}

.page-th-thao .strategy-item h3 {
  color: #0A2342;
  font-size: 1.6em;
  text-align: left;
  margin-bottom: 15px;
}

.page-th-thao .cta-bottom-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #555;
}

/* Online Experience Section */
.page-th-thao .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-th-thao .feature-item {
  background-color: #fefefe;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 5px solid #0A2342;
}

.page-th-thao .feature-item h3 {
  color: #0A2342;
  font-size: 1.6em;
}

/* Registration Section */
.page-th-thao .section-registration ol {
  list-style-type: decimal;
  padding-left: 30px;
}

.page-th-thao .section-registration li {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-th-thao .section-registration li strong {
  color: #0A2342;
  font-size: 1.2em;
}

/* FAQ Section */
.page-th-thao .section-faq {
  background-color: #f0f4f7;
}

.page-th-thao .faq-list {
  margin-top: 30px;
}

.page-th-thao .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-th-thao .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A2342; /* Dark background for question */
  color: #ffffff; /* Light text for question */
  border: 1px solid #0A2342;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-th-thao .faq-question:hover {
  background: #1a3a5e; /* Slightly lighter dark on hover */
  border-color: #FFD700;
}

.page-th-thao .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #ffffff;
  text-align: left;
}

.page-th-thao .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for toggle icon */
  transition: transform 0.3s ease;
}

.page-th-thao .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-th-thao .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 20px 25px;
  border-color: #FFD700;
}

.page-th-thao .faq-item.active .faq-question {
  border-radius: 8px 8px 0 0;
  background: #1a3a5e;
}

.page-th-thao .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFD700;
}

.page-th-thao .faq-answer p {
  margin-bottom: 0;
  color: #555555;
  text-align: left;
}


/* Conclusion Section */
.page-th-thao .section-conclusion {
  text-align: center;
  padding-bottom: 80px;
}

.page-th-thao .section-conclusion p {
  font-size: 1.15em;
  max-width: 800px;
  margin: 0 auto 25px auto;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-th-thao h1 {
    font-size: 2.8em;
  }
  .page-th-thao h2 {
    font-size: 2em;
  }
  .page-th-thao h3 {
    font-size: 1.5em;
  }
  .page-th-thao .hero-image {
    max-width: 800px;
  }
  .page-th-thao .rules-grid,
  .page-th-thao .bet-type-cards,
  .page-th-thao .strategy-list,
  .page-th-thao .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-th-thao section {
    padding: 40px 0;
  }
  .page-th-thao .hero-section {
    padding: 60px 15px;
  }
  .page-th-thao h1 {
    font-size: 2.2em;
  }
  .page-th-thao h2 {
    font-size: 1.8em;
    max-width: 95%;
  }
  .page-th-thao h3 {
    font-size: 1.3em;
  }
  .page-th-thao p,
  .page-th-thao li {
    font-size: 1em;
  }
  .page-th-thao .cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-th-thao .hero-image {
    margin-bottom: 25px;
    border-radius: 8px;
  }
  .page-th-thao .content-image {
    margin: 30px auto;
    border-radius: 6px;
  }
  .page-th-thao .faq-question {
    padding: 15px 20px;
  }
  .page-th-thao .faq-question h3 {
    font-size: 1.1em;
  }
  .page-th-thao .faq-toggle {
    font-size: 1.8em;
  }
  .page-th-thao .faq-answer {
    padding: 0 20px;
  }
  .page-th-thao .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-th-thao .container {
    padding: 15px;
  }
  .page-th-thao h1 {
    font-size: 1.8em;
  }
  .page-th-thao h2 {
    font-size: 1.5em;
  }
  .page-th-thao .hero-content p {
    font-size: 1.1em;
  }
  .page-th-thao .cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
}