/* style/the-thao.css */

/* General page styles */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: var(--text-main, #F3F8FF); /* Default text color for the page, adapting to dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--deep-navy) */
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main, #F3F8FF);
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary, #AFC4E8);
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__sub-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--gold, #F2C14E);
  line-height: 1.3;
}

.page-the-thao__text-block p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-secondary, #AFC4E8);
}

.page-the-thao a {
  color: var(--gold, #F2C14E);
  text-decoration: none;
}

.page-the-thao a:hover {
  text-decoration: underline;
}

/* Button styles */
.page-the-thao__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: var(--main-color, #1D5FD1); /* Lighter blue text for secondary button */
  border: 2px solid var(--main-color, #1D5FD1);
}

.page-the-thao__btn-secondary:hover {
  background: rgba(29, 95, 209, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-tertiary {
  background: var(--glow, #4FA8FF);
  color: var(--deep-navy, #08162B); /* Dark text for glow button */
  border: none;
}

.page-the-thao__btn-tertiary:hover {
  background: var(--gold, #F2C14E);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Image styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none !important; /* Ensure no filter on images */
}

.page-the-thao__dark-section {
  background-color: var(--deep-navy, #08162B); /* Dark background for sections */
  color: var(--text-main, #F3F8FF);
}

/* HERO Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--main-color, #113B7A); /* Hero section background */
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-the-thao__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: var(--text-main, #F3F8FF);
  text-align: left;
}

.page-the-thao__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-main, #F3F8FF);
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary, #AFC4E8);
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: var(--deep-navy, #08162B); /* Dark background */
}

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

.page-the-thao__feature-item {
  text-align: center;
  background-color: var(--card-bg, #10233F); /* Card background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__icon-box-media {
  width: 240px; /* Fixed width for square */
  height: 240px; /* Fixed height for square */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border-color, #244D84);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.5); /* Glow color */
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image is also round */
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-the-thao__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary, #AFC4E8);
}

/* Betting Types Section */
.page-the-thao__betting-types-section {
  padding: 60px 0;
  background-color: var(--main-color, #113B7A); /* Primary color background */
  color: var(--text-main, #F3F8FF);
}

.page-the-thao__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.page-the-thao__text-block {
  flex: 1 1 55%;
  min-width: 300px;
}

.page-the-thao__image-block {
  flex: 1 1 35%;
  min-width: 280px;
  text-align: center;
}

.page-the-thao__image-block--center {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao__content-image {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: var(--deep-navy, #08162B); /* Dark background */
  color: var(--text-main, #F3F8FF);
}

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

.page-the-thao__step-item {
  background-color: var(--card-bg, #10233F);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-number {
  background: var(--gold, #F2C14E);
  color: var(--deep-navy, #08162B);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-the-thao__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-main, #F3F8FF);
}

.page-the-thao__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary, #AFC4E8);
}

.page-the-thao__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Promo Section */
.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: var(--main-color, #113B7A); /* Primary color background */
  color: var(--text-main, #F3F8FF);
}

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

.page-the-thao__promo-card {
  background-color: var(--card-bg, #10233F); /* Card background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-the-thao__promo-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-the-thao__promo-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-secondary, #AFC4E8);
  flex-grow: 1;
}

/* Why Choose Section */
.page-the-thao__why-choose-section {
  padding: 60px 0;
  background-color: var(--deep-navy, #08162B); /* Dark background */
  color: var(--text-main, #F3F8FF);
}

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

.page-the-thao__advantage-item {
  background-color: var(--card-bg, #10233F);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-the-thao__advantage-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-the-thao__advantage-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary, #AFC4E8);
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--main-color, #113B7A); /* Primary color background */
  color: var(--text-main, #F3F8FF);
}

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-the-thao__faq-item {
  background-color: var(--card-bg, #10233F);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-the-thao__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}