:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --background-color: #B71C1C;
  --text-main-color: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
  --text-dark: #333333;
  --text-light: #ffffff;
  --header-offset: 122px; /* Default value, assumed from shared.css */
}

.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default for light backgrounds */
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly for visual flow, but not on image directly */
  margin-bottom: 40px;
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: var(--deep-red-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 0 10px var(--glow-color);
}

.page-the-thao__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--deep-red-color);
}

.page-the-thao__btn-outline {
  background-color: transparent;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-the-thao__btn-outline:hover {
  background-color: var(--border-color);
  color: var(--deep-red-color);
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-the-thao__light-bg {
  background-color: #f8f8f8;
  color: var(--text-dark);
}

.page-the-thao__dark-bg {
  background-color: var(--deep-red-color);
  color: var(--text-light);
}

.page-the-thao__background {
  background-color: var(--background-color);
}

.page-the-thao__text-main {
  color: var(--text-main-color);
}

/* Features Section */
.page-the-thao__info-section {
  padding: 60px 0;
}

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

.page-the-thao__feature-item {
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-the-thao__feature-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: var(--text-dark);
}

/* Sports Grid Section */
.page-the-thao__sports-grid-section {
  padding: 60px 0;
}

.page-the-thao__sports-grid-section .page-the-thao__section-title,
.page-the-thao__sports-grid-section .page-the-thao__section-description {
  color: var(--text-light);
}

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

.page-the-thao__sport-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__card-content {
  padding: 20px;
  color: var(--text-main-color);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-the-thao__card-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-the-thao__card-text {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Live Betting CTA */
.page-the-thao__live-betting-cta {
  padding: 80px 0;
}

.page-the-thao__flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-the-thao__live-betting-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-the-thao__live-betting-content .page-the-thao__section-title,
.page-the-thao__live-betting-content .page-the-thao__section-description {
  text-align: left;
  color: var(--text-main-color);
}

.page-the-thao__live-betting-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-the-thao__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 60px 0;
}

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

.page-the-thao__promotion-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__promotion-card .page-the-thao__card-image {
  height: 180px; /* Adjust height for promotion cards */
}

.page-the-thao__promotion-card .page-the-thao__card-title {
  color: var(--primary-color);
}

.page-the-thao__promotion-card .page-the-thao__card-text {
  color: var(--text-dark);
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
}

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

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

.page-the-thao__step-number {
  background-color: var(--gold-color);
  color: var(--deep-red-color);
  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;
  border: 2px solid var(--border-color);
}

.page-the-thao__step-title {
  font-size: 1.6em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-the-thao__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.page-the-thao__guide-cta {
  text-align: center;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
}

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

.page-the-thao__faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}