/* App promotion modal — mời tải app iOS / chờ Android */
.appromo-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 40, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99980;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.appromo-backdrop.is-open {
  opacity: 1;
}

.appromo-modal {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 22, 40, 0.28);
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.appromo-backdrop.is-open .appromo-modal {
  transform: scale(1);
}

.appromo-header {
  background: linear-gradient(135deg, #1a2540 0%, #2d3a6b 60%, #3a4a85 100%);
  color: #fff;
  padding: 28px 24px 24px;
  text-align: center;
  position: relative;
}

.appromo-bell {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.appromo-bell::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00c896;
  border: 2px solid #1a2540;
}

.appromo-bell svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.appromo-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.appromo-subtitle {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.appromo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}

.appromo-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.appromo-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.appromo-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e4e7ee;
  background: #0d0d12;
  color: #fff;
  text-decoration: none;
  transition: transform 150ms, box-shadow 150ms;
  cursor: pointer;
}

.appromo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 22, 40, 0.18);
}

.appromo-btn--coming {
  background: #f4f5f8;
  color: #5c6478;
  border-color: #e4e7ee;
  cursor: default;
}

.appromo-btn--coming:hover {
  transform: none;
  box-shadow: none;
}

.appromo-btn-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appromo-btn-icon svg {
  width: 26px;
  height: 26px;
}

.appromo-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
  flex: 1;
}

.appromo-btn-label {
  font-size: 11px;
  opacity: 0.78;
  letter-spacing: 0.02em;
}

.appromo-btn-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.appromo-btn-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ffe9a8;
  color: #8a5a00;
  letter-spacing: 0.02em;
}

@media (max-width: 380px) {
  .appromo-modal {
    max-width: 100%;
  }
  .appromo-title {
    font-size: 16px;
  }
}
