/* style/betting-guide-basic-rules.css */
.page-betting-guide-basic-rules {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-betting-guide-basic-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-betting-guide-basic-rules__hero {
  background: linear-gradient(135deg, #0A2463 0%, #304e9c 100%); /* Dark blue gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-betting-guide-basic-rules__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-betting-guide-basic-rules__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
}

.page-betting-guide-basic-rules__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-betting-guide-basic-rules__title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #F3C700; /* Bright gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-betting-guide-basic-rules__subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-betting-guide-basic-rules__cta-button {
  display: inline-block;
  background-color: #F3C700; /* Bright gold for CTA */
  color: #0A2463; /* Dark blue text on gold */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-betting-guide-basic-rules__cta-button:hover {
  background-color: #e0b600; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-betting-guide-basic-rules__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
}

.page-betting-guide-basic-rules__section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-betting-guide-basic-rules__section:nth-of-type(even) {
  background-color: #f0f4f7; /* Light grey-blue for alternating sections */
}

.page-betting-guide-basic-rules__section-title {
  font-size: 2.2em;
  color: #0A2463; /* Dark blue for section titles */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-betting-guide-basic-rules__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #F3C700; /* Gold underline */
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-betting-guide-basic-rules__section p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #444;
}

.page-betting-guide-basic-rules__section p strong {
  color: #0A2463;
}

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

.page-betting-guide-basic-rules__term-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-betting-guide-basic-rules__term-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-betting-guide-basic-rules__term-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
  border-bottom: 2px solid #F3C700;
  padding-bottom: 10px;
}

.page-betting-guide-basic-rules__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-betting-guide-basic-rules__step-item {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 30px;
  border-left: 5px solid #F3C700; /* Gold accent bar */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
}

.page-betting-guide-basic-rules__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: -20px; /* Adjust as needed */
  top: -15px;
  background-color: #0A2463;
  color: #F3C700;
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
}

.page-betting-guide-basic-rules__step-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 10px;
  margin-top: 0;
  padding-left: 70px; /* Make space for the step number */
}

.page-betting-guide-basic-rules__step-item p {
  padding-left: 70px;
  margin-bottom: 10px;
}

.page-betting-guide-basic-rules__inline-link {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-betting-guide-basic-rules__inline-link:hover {
  color: #F3C700;
}

.page-betting-guide-basic-rules__list {
  list-style: none;
  padding-left: 0;
}

.page-betting-guide-basic-rules__list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444;
}

.page-betting-guide-basic-rules__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #F3C700; /* Gold checkmark */
  font-weight: bold;
  font-size: 1.2em;
  top: 0;
}

.page-betting-guide-basic-rules__cta-bottom {
  background-color: #0A2463; /* Dark blue background for final CTA */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-betting-guide-basic-rules__cta-bottom .page-betting-guide-basic-rules__section-title {
  color: #F3C700; /* Gold title on dark blue */
}

.page-betting-guide-basic-rules__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-betting-guide-basic-rules__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-betting-guide-basic-rules__cta-button--primary {
  background-color: #F3C700;
  color: #0A2463;
}

.page-betting-guide-basic-rules__cta-button--primary:hover {
  background-color: #e0b600;
}

.page-betting-guide-basic-rules__cta-button--secondary {
  background-color: transparent;
  color: #F3C700;
  border: 2px solid #F3C700;
}

.page-betting-guide-basic-rules__cta-button--secondary:hover {
  background-color: #F3C700;
  color: #0A2463;
  transform: translateY(-3px);
}

.page-betting-guide-basic-rules__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-betting-guide-basic-rules__image-small {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-betting-guide-basic-rules__title {
    font-size: 2.5em;
  }

  .page-betting-guide-basic-rules__subtitle {
    font-size: 1.2em;
  }

  .page-betting-guide-basic-rules__section-title {
    font-size: 1.8em;
  }

  .page-betting-guide-basic-rules__grid {
    grid-template-columns: 1fr;
  }

  .page-betting-guide-basic-rules__step-title {
    padding-left: 0;
    margin-top: 20px;
  }
  
  .page-betting-guide-basic-rules__step-item p {
    padding-left: 0;
  }

  .page-betting-guide-basic-rules__step-item::before {
    left: 15px;
    top: 15px;
  }

  .page-betting-guide-basic-rules__button-group {
    flex-direction: column;
    align-items: center;
  }

  .page-betting-guide-basic-rules__cta-button {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-betting-guide-basic-rules__title {
    font-size: 2em;
  }

  .page-betting-guide-basic-rules__subtitle {
    font-size: 1em;
  }

  .page-betting-guide-basic-rules__section {
    padding: 40px 0;
  }

  .page-betting-guide-basic-rules__section-title {
    font-size: 1.6em;
  }

  .page-betting-guide-basic-rules__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-betting-guide-basic-rules__image-small {
    max-width: 90%;
  }
}