/* General styles for the 'Hướng dẫn cá cược' page */
.page-huong-dan-ca-cuoc {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-huong-dan-ca-cuoc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-huong-dan-ca-cuoc__section {
  padding: 60px 0;
  text-align: center;
}

.page-huong-dan-ca-cuoc__section-title {
  font-size: 36px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-huong-dan-ca-cuoc__section-description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-huong-dan-ca-cuoc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #F4F7FB;
}

.page-huong-dan-ca-cuoc__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-huong-dan-ca-cuoc__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-huong-dan-ca-cuoc__hero-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: center;
  padding: 0 20px;
}

.page-huong-dan-ca-cuoc__main-title {
  font-size: clamp(32px, 4vw, 48px); /* H1 font size with clamp */
  color: #2F6BFF; /* Main color */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-huong-dan-ca-cuoc__intro-text {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

.page-huong-dan-ca-cuoc__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-huong-dan-ca-cuoc__btn-primary,
.page-huong-dan-ca-cuoc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-ca-cuoc__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-huong-dan-ca-cuoc__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-huong-dan-ca-cuoc__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-ca-cuoc__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

/* Why Choose Section */
.page-huong-dan-ca-cuoc__why-choose {
  background-color: #F4F7FB; /* Background */
}

.page-huong-dan-ca-cuoc__feature-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-huong-dan-ca-cuoc__feature-item {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: #ffffff; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-huong-dan-ca-cuoc__feature-heading {
  font-size: 22px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-huong-dan-ca-cuoc__feature-item p {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

/* Registration Guide Section */
.page-huong-dan-ca-cuoc__registration-guide {
  background-color: #2F6BFF; /* Main color for dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-huong-dan-ca-cuoc__registration-guide .page-huong-dan-ca-cuoc__section-title,
.page-huong-dan-ca-cuoc__registration-guide .page-huong-dan-ca-cuoc__section-description {
  color: #ffffff;
}

.page-huong-dan-ca-cuoc__registration-guide .page-huong-dan-ca-cuoc__btn-primary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.page-huong-dan-ca-cuoc__registration-guide .page-huong-dan-ca-cuoc__btn-primary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.page-huong-dan-ca-cuoc__content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  text-align: left;
}

.page-huong-dan-ca-cuoc__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-huong-dan-ca-cuoc__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-huong-dan-ca-cuoc__image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-huong-dan-ca-cuoc__step-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-huong-dan-ca-cuoc__step-item {
  margin-bottom: 30px;
}

.page-huong-dan-ca-cuoc__step-heading {
  font-size: 24px;
  color: #ffffff; /* Light text for dark background */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-huong-dan-ca-cuoc__step-item p {
  font-size: 16px;
  color: #f0f0f0; /* Slightly lighter white for paragraph */
}

/* Betting Types Section */
.page-huong-dan-ca-cuoc__betting-types {
  background-color: #F4F7FB; /* Background */
}

.page-huong-dan-ca-cuoc__bet-type-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-huong-dan-ca-cuoc__bet-type-item {
  background-color: #ffffff; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  text-align: left;
  border: 1px solid #D6E2FF; /* Border */
}

.page-huong-dan-ca-cuoc__bet-type-heading {
  font-size: 20px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-huong-dan-ca-cuoc__bet-type-item p {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

.page-huong-dan-ca-cuoc__text-info {
  font-size: 18px;
  color: #1F2D3D;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* How to Bet Section */
.page-huong-dan-ca-cuoc__how-to-bet {
  background-color: #6FA3FF; /* Auxiliary color for dark background */
  color: #ffffff;
}

.page-huong-dan-ca-cuoc__how-to-bet .page-huong-dan-ca-cuoc__section-title,
.page-huong-dan-ca-cuoc__how-to-bet .page-huong-dan-ca-cuoc__section-description {
  color: #ffffff;
}

.page-huong-dan-ca-cuoc__how-to-bet .page-huong-dan-ca-cuoc__btn-primary {
  background: #ffffff;
  color: #6FA3FF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.page-huong-dan-ca-cuoc__how-to-bet .page-huong-dan-ca-cuoc__btn-primary:hover {
  background: #f0f0f0;
  color: #6FA3FF;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}