.page-so-sanh-nha-cai {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-so-sanh-nha-cai__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-so-sanh-nha-cai__hero-section {
  padding-top: 10px; /* Rely on body for header offset */
  padding-bottom: 40px;
  background-color: #0D0E12;
  position: relative;
  overflow: hidden;
}

.page-so-sanh-nha-cai__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.page-so-sanh-nha-cai__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-so-sanh-nha-cai__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFB04D; /* Glow */
}

.page-so-sanh-nha-cai__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-so-sanh-nha-cai__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-so-sanh-nha-cai__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-so-sanh-nha-cai__hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

/* General Section Titles & Descriptions */
.page-so-sanh-nha-cai__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-so-sanh-nha-cai__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Intro Section */
.page-so-sanh-nha-cai__intro-section {
  background-color: #17191F; /* Card BG */
  padding: 60px 0;
}

.page-so-sanh-nha-cai__features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-so-sanh-nha-cai__feature-item {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: #0D0E12; /* Background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
}

.page-so-sanh-nha-cai__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FFA53A; /* Auxiliary color */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-so-sanh-nha-cai__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-so-sanh-nha-cai__feature-title {
  font-size: 1.8em;
  color: #FF8C1A; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-so-sanh-nha-cai__feature-text {
  color: #FFF3E6;
  font-size: 1em;
}

/* Criteria Section */
.page-so-sanh-nha-cai__criteria-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-so-sanh-nha-cai__criteria-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-so-sanh-nha-cai__criteria-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-so-sanh-nha-cai__criteria-card .page-so-sanh-nha-cai__card-title {
  font-size: 1.5em;
  color: #FFA53A; /* Auxiliary color */
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-so-sanh-nha-cai__criteria-card .page-so-sanh-nha-cai__card-text {
  color: #FFF3E6;
  padding: 0 20px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

/* Top Bookmakers Section */
.page-so-sanh-nha-cai__top-bookmakers-section {
  background-color: #17191F; /* Card BG */
  padding: 60px 0;
}

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

.page-so-sanh-nha-cai__bookmaker-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-so-sanh-nha-cai__bookmaker-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
  display: block;
}

.page-so-sanh-nha-cai__bookmaker-card .page-so-sanh-nha-cai__card-title {
  font-size: 1.6em;
  color: #FF8C1A; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-so-sanh-nha-cai__bookmaker-card .page-so-sanh-nha-cai__card-text {
  color: #FFF3E6;
  font-size: 0.95em;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Guide Section */
.page-so-sanh-nha-cai__guide-section {
  background-color: #0D0E12;
  padding: 60px 0;
}

.page-so-sanh-nha-cai__guide-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-so-sanh-nha-cai__step-item {
  flex: 1 1 300px;
  max-width: 380px;
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
}

.page-so-sanh-nha-cai__step-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 25px;
}

.page-so-sanh-nha-cai__step-title {
  font-size: 1.7em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
  padding: 0 20px;
}

.page-so-sanh-nha-cai__step-text {
  color: #FFF3E6;
  font-size: 1em;
  padding: 0 20px;
}

/* Promo Section */
.page-so-sanh-nha-cai__promo-section {
  background-color: #17191F; /* Card BG */
  padding: 60px 0;
}

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

.page-so-sanh-nha-cai__promo-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-so-sanh-nha-cai__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-so-sanh-nha-cai__promo-card .page-so-sanh-nha-cai__card-title {
  font-size: 1.5em;
  color: #FF8C1A; /* Primary color */
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-so-sanh-nha-cai__promo-card .page-so-sanh-nha-cai__card-text {
  color: #FFF3E6;
  padding: 0 20px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

/* FAQ Section */
.page-so-sanh-nha-cai__faq-section {
  background-color: #0D0E12;
  padding: 60px 0;
}

.page-so-sanh-nha-cai__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-so-sanh-nha-cai__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.page-so-sanh-nha-cai__faq-item[open] {
  background-color: #0D0E12; /* Darker background when open */
}

.page-so-sanh-nha-cai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25em;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color */
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.3s ease;
}

.page-so-sanh-nha-cai__faq-question::-webkit-details-marker {
  display: none;
}

.page-so-sanh-nha-cai__faq-question:hover {
  color: #FFB04D; /* Glow on hover */
}

.page-so-sanh-nha-cai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-so-sanh-nha-cai__faq-item[open] .page-so-sanh-nha-cai__faq-toggle {
  transform: rotate(45deg);
}

.page-so-sanh-nha-cai__faq-answer {
  padding: 0 25px 20px;
  color: #FFF3E6;
  font-size: 1em;
}

/* Conclusion Section */
.page-so-sanh-nha-cai__conclusion-section {
  background-color: #17191F; /* Card BG */
  padding: 60px 0;
  text-align: center;
}

/* Buttons */
.page-so-sanh-nha-cai__btn-primary,
.page-so-sanh-nha-cai__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-so-sanh-nha-cai__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 132, 26, 0.4);
}

.page-so-sanh-nha-cai__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Lighter gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 132, 26, 0.6);
}

.page-so-sanh-nha-cai__btn-secondary {
  background-color: transparent;
  color: #FF8C1A; /* Primary color */
  border: 2px solid #FF8C1A; /* Primary color border */
}

.page-so-sanh-nha-cai__btn-secondary:hover {
  background-color: #FF8C1A; /* Primary color background on hover */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 132, 26, 0.4);
}

.page-so-sanh-nha-cai__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* General image styling for content sections */
.page-so-sanh-nha-cai img:not(.page-so-sanh-nha-cai__icon-box-media img) {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-so-sanh-nha-cai__hero-title {
    font-size: 2.8em;
  }
  .page-so-sanh-nha-cai__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-so-sanh-nha-cai {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-so-sanh-nha-cai__hero-section {
    padding-top: 10px !important; /* Fixed header offset handled by body */
  }

  .page-so-sanh-nha-cai__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
  }

  .page-so-sanh-nha-cai__hero-content,
  .page-so-sanh-nha-cai__hero-image {
    flex: 1 1 100%;
    min-width: unset;
    text-align: center;
  }

  .page-so-sanh-nha-cai__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-so-sanh-nha-cai__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-so-sanh-nha-cai__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  .page-so-sanh-nha-cai__btn-primary,
  .page-so-sanh-nha-cai__btn-secondary,
  .page-so-sanh-nha-cai a[class*="button"],
  .page-so-sanh-nha-cai a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-so-sanh-nha-cai__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-so-sanh-nha-cai__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-so-sanh-nha-cai__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-so-sanh-nha-cai__features-grid,
  .page-so-sanh-nha-cai__criteria-grid,
  .page-so-sanh-nha-cai__bookmakers-grid,
  .page-so-sanh-nha-cai__guide-steps,
  .page-so-sanh-nha-cai__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-so-sanh-nha-cai__feature-item,
  .page-so-sanh-nha-cai__step-item {
    max-width: 100%;
  }

  .page-so-sanh-nha-cai__icon-box-media {
    width: 150px;
    height: 150px;
    border: 3px solid #FFA53A;
    margin-bottom: 20px;
  }

  .page-so-sanh-nha-cai__feature-title {
    font-size: 1.5em;
  }

  .page-so-sanh-nha-cai__criteria-card .page-so-sanh-nha-cai__card-title,
  .page-so-sanh-nha-cai__bookmaker-card .page-so-sanh-nha-cai__card-title,
  .page-so-sanh-nha-cai__promo-card .page-so-sanh-nha-cai__card-title {
    font-size: 1.3em;
  }

  .page-so-sanh-nha-cai__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-so-sanh-nha-cai__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* Mobile image specific rules */
  .page-so-sanh-nha-cai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-so-sanh-nha-cai__hero-main-image,
  .page-so-sanh-nha-cai__criteria-image,
  .page-so-sanh-nha-cai__bookmaker-logo,
  .page-so-sanh-nha-cai__step-image,
  .page-so-sanh-nha-cai__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Exception for icon-box-media to remain circular */
  .page-so-sanh-nha-cai__icon-box-media {
    width: 150px !important;
    height: 150px !important;
    margin-bottom: 20px;
  }
  .page-so-sanh-nha-cai__icon-box-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Ensure all content containers have padding for mobile */
  .page-so-sanh-nha-cai__intro-section,
  .page-so-sanh-nha-cai__criteria-section,
  .page-so-sanh-nha-cai__top-bookmakers-section,
  .page-so-sanh-nha-cai__guide-section,
  .page-so-sanh-nha-cai__promo-section,
  .page-so-sanh-nha-cai__faq-section,
  .page-so-sanh-nha-cai__conclusion-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
}