/* Trang khuyến mãi 88j - phong cách sạch, dễ đọc */
:root {
  --km-primary: #26A9E0;
  --km-primary-dark: #1a8cb8;
  --km-bg: #FFFFFF;
  --km-text: #333333;
  --km-text-dark: #000000;
  --km-login: #EA7C07;
  --km-border: #e2eef5;
  --km-light-bg: #f4fafd;
}

.page-khuyen-mai {
  color: var(--km-text);
  background-color: var(--km-bg);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  max-width: 100%;
  overflow-x: hidden;
}

.page-khuyen-mai h1,
.page-khuyen-mai h2,
.page-khuyen-mai h3 {
  color: var(--km-primary);
  line-height: 1.35;
  margin-top: 0;
}

.page-khuyen-mai p {
  margin: 0 0 1em;
  color: var(--km-text);
}

.page-khuyen-mai__hero-section {
  padding-top: 10px;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  background-color: var(--km-light-bg);
}

.page-khuyen-mai__hero-image {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-khuyen-mai__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(38, 169, 224, 0.15);
}

.page-khuyen-mai__hero-content {
  max-width: 1000px;
  margin: 24px auto 0;
  padding: 0 16px 32px;
  text-align: center;
}

.page-khuyen-mai__hero-content h1 {
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai__hero-intro {
  max-width: 820px;
  margin: 0 auto 24px;
  color: #444444;
  font-size: 1.05rem;
}

.page-khuyen-mai__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-khuyen-mai__btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-khuyen-mai__btn--primary {
  background-color: var(--km-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(38, 169, 224, 0.35);
}

.page-khuyen-mai__btn--primary:hover {
  background-color: var(--km-primary-dark);
  transform: translateY(-2px);
}

.page-khuyen-mai__btn--login {
  background-color: var(--km-login);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(234, 124, 7, 0.35);
}

.page-khuyen-mai__btn--login:hover {
  background-color: #c96604;
  transform: translateY(-2px);
}

.page-khuyen-mai__btn--secondary {
  background-color: #FFFFFF;
  color: var(--km-primary);
  border: 2px solid var(--km-primary);
}

.page-khuyen-mai__btn--secondary:hover {
  background-color: var(--km-light-bg);
  transform: translateY(-2px);
}

.page-khuyen-mai__intro-section,
.page-khuyen-mai__advantages-section,
.page-khuyen-mai__games-section,
.page-khuyen-mai__promo-section,
.page-khuyen-mai__closing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
}

.page-khuyen-mai__intro-section {
  border-bottom: 1px solid var(--km-border);
}

.page-khuyen-mai__intro-section h2,
.page-khuyen-mai__advantages-section h2,
.page-khuyen-mai__games-section h2,
.page-khuyen-mai__promo-section h2,
.page-khuyen-mai__closing-section h2 {
  margin-bottom: 20px;
  font-weight: 700;
}

.page-khuyen-mai__advantage-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.page-khuyen-mai__advantage-item {
  background-color: var(--km-light-bg);
  border-left: 4px solid var(--km-primary);
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__advantage-item h3 {
  margin-bottom: 8px;
  font-weight: 600;
}

.page-khuyen-mai__advantage-item p {
  margin-bottom: 0;
}

.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.page-khuyen-mai__promo-card {
  background-color: #FFFFFF;
  border: 2px solid var(--km-border);
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(38, 169, 224, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(38, 169, 224, 0.18);
  border-color: var(--km-primary);
}

.page-khuyen-mai__promo-card h3 {
  margin-bottom: 12px;
  font-weight: 700;
}

.page-khuyen-mai__promo-card p {
  flex: 1 1 auto;
  margin-bottom: 20px;
}

.page-khuyen-mai__promo-card .page-khuyen-mai__btn {
  align-self: flex-start;
}

.page-khuyen-mai__promo-steps {
  padding-left: 1.4em;
  line-height: 1.85;
  margin-top: 20px;
}

.page-khuyen-mai__promo-step {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--km-border);
}

.page-khuyen-mai__promo-step:last-child {
  border-bottom: none;
}

.page-khuyen-mai__promo-step h3 {
  margin-bottom: 8px;
  font-weight: 600;
}

.page-khuyen-mai__inline-link {
  color: var(--km-primary);
  font-weight: 600;
  text-decoration: underline;
}

.page-khuyen-mai__inline-link:hover {
  color: var(--km-primary-dark);
}

.page-khuyen-mai__notice-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-khuyen-mai__notice-item {
  position: relative;
  padding: 12px 16px 12px 42px;
  margin-bottom: 10px;
  background-color: var(--km-light-bg);
  border-radius: 6px;
}

.page-khuyen-mai__notice-item::before {
  content: "✔";
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--km-primary);
  font-weight: 700;
}

.page-khuyen-mai__closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

@media (max-width: 768px) {
  .page-khuyen-mai img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-khuyen-mai__hero-section {
    padding-top: 8px;
  }

  .page-khuyen-mai__hero-content {
    padding: 0 14px 24px;
    margin-top: 16px;
  }

  .page-khuyen-mai__hero-content h1 {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  .page-khuyen-mai__hero-intro {
    font-size: 0.98rem;
  }

  .page-khuyen-mai__intro-section,
  .page-khuyen-mai__advantages-section,
  .page-khuyen-mai__games-section,
  .page-khuyen-mai__promo-section,
  .page-khuyen-mai__closing-section {
    padding: 32px 14px;
  }

  .page-khuyen-mai__advantage-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-khuyen-mai__hero-actions,
  .page-khuyen-mai__closing-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .page-khuyen-mai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-khuyen-mai__promo-card {
    padding: 20px 16px;
  }
}