.page-the-thao-cac-loai-hinh-ca-cuoc {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.6;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__hero-content {
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
  text-align: center;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: #017439;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__btn-primary,
.page-the-thao-cac-loai-hinh-ca-cuoc__btn-secondary,
.page-the-thao-cac-loai-hinh-ca-cuoc__btn-text,
.page-the-thao-cac-loai-hinh-ca-cuoc__small-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__btn-secondary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__btn-text {
  color: #017439;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-size: 1em;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__btn-text:hover {
  text-decoration: underline;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__small-btn {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__container--center {
  text-align: center;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__sports-grid,
.page-the-thao-cac-loai-hinh-ca-cuoc__bet-type-grid,
.page-the-thao-cac-loai-hinh-ca-cuoc__steps-grid,
.page-the-thao-cac-loai-hinh-ca-cuoc__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__sport-card,
.page-the-thao-cac-loai-hinh-ca-cuoc__bet-type-card,
.page-the-thao-cac-loai-hinh-ca-cuoc__step-card,
.page-the-thao-cac-loai-hinh-ca-cuoc__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__sport-image,
.page-the-thao-cac-loai-hinh-ca-cuoc__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__sport-title,
.page-the-thao-cac-loai-hinh-ca-cuoc__bet-type-title,
.page-the-thao-cac-loai-hinh-ca-cuoc__step-title,
.page-the-thao-cac-loai-hinh-ca-cuoc__promo-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__sport-description,
.page-the-thao-cac-loai-hinh-ca-cuoc__bet-type-description,
.page-the-thao-cac-loai-hinh-ca-cuoc__step-description,
.page-the-thao-cac-loai-hinh-ca-cuoc__promo-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__tip-item {
  background-color: #e8f5e9; /* Light green background */
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__tip-item strong {
  color: #017439;
}

.page-the-thao-cac-loai-hinh-ca-cuoc__call-to-action-bottom {
  background-color: #f0f8f0;
  padding: 60px 0;
  margin-top: 40px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao-cac-loai-hinh-ca-cuoc {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__hero-section {
    margin-bottom: 20px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__hero-content {
    padding: 0 15px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__btn-primary,
  .page-the-thao-cac-loai-hinh-ca-cuoc__btn-secondary,
  .page-the-thao-cac-loai-hinh-ca-cuoc a[class*="button"],
  .page-the-thao-cac-loai-hinh-ca-cuoc a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__section {
    padding: 20px 0;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__paragraph {
    font-size: 1em;
    text-align: left;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__sports-grid,
  .page-the-thao-cac-loai-hinh-ca-cuoc__bet-type-grid,
  .page-the-thao-cac-loai-hinh-ca-cuoc__steps-grid,
  .page-the-thao-cac-loai-hinh-ca-cuoc__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__sport-card,
  .page-the-thao-cac-loai-hinh-ca-cuoc__bet-type-card,
  .page-the-thao-cac-loai-hinh-ca-cuoc__step-card,
  .page-the-thao-cac-loai-hinh-ca-cuoc__promo-card {
    padding: 20px;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__sport-image,
  .page-the-thao-cac-loai-hinh-ca-cuoc__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__sport-title,
  .page-the-thao-cac-loai-hinh-ca-cuoc__bet-type-title,
  .page-the-thao-cac-loai-hinh-ca-cuoc__step-title,
  .page-the-thao-cac-loai-hinh-ca-cuoc__promo-title {
    font-size: 1.3em;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__tip-item {
    padding: 10px 15px;
    font-size: 1em;
  }

  .page-the-thao-cac-loai-hinh-ca-cuoc__call-to-action-bottom {
    padding: 30px 0;
  }
}