.usx-offer-root {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 10000;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    "Noto Sans", "Liberation Sans", sans-serif;
  color: #0f172a;
}

.usx-offer-root * {
  box-sizing: border-box;
}

.usx-offer-launcher {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.85), rgba(15, 23, 42, 0.8));
  color: #fff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.usx-offer-launcher:hover {
  transform: translateY(-1px);
}

.usx-offer-launcher:active {
  transform: translateY(0);
}

.usx-offer-launcher-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #38bdf8, #7c3aed);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.35);
  font-weight: 900;
}

.usx-offer-panel {
  width: min(360px, calc(100vw - 32px));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
}

.usx-offer-root[data-state="open"] .usx-offer-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.usx-offer-root[data-state="launcher"] .usx-offer-launcher {
  display: inline-flex;
}

.usx-offer-root[data-state="launcher"] .usx-offer-panel {
  display: none;
}

.usx-offer-header {
  position: relative;
  padding: 16px 16px 14px 16px;
  color: #fff;
  background-image: linear-gradient(
      135deg,
      rgba(2, 6, 23, 0.88),
      rgba(15, 23, 42, 0.65)
    ),
    url("../assets/images/offer.png");
  background-size: cover;
  background-position: center;
}

.usx-offer-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.usx-offer-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0;
}

.usx-offer-subtitle {
  margin: 6px 0 0 0;
  font-size: 13px;
  opacity: 0.92;
}

.usx-offer-close {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.usx-offer-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.usx-offer-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.usx-offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.usx-offer-body {
  padding: 14px 16px 14px 16px;
}

.usx-offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.usx-offer-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.usx-offer-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  flex: 0 0 28px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(124, 58, 237, 0.12));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(2, 6, 23, 0.08);
}

.usx-offer-item b {
  display: block;
  font-size: 13px;
  margin-bottom: 1px;
}

.usx-offer-item span {
  display: block;
  font-size: 12.5px;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.3;
}

.usx-offer-actions {
  padding: 0 16px 16px 16px;
  display: grid;
  gap: 10px;
}

.usx-offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.25);
}

.usx-offer-cta:hover {
  filter: brightness(1.03);
}

.usx-offer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.usx-offer-link {
  color: rgba(15, 23, 42, 0.78);
  text-decoration: none;
}

.usx-offer-link:hover {
  text-decoration: underline;
}

.usx-offer-links button.usx-offer-link {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.usx-offer-muted {
  color: rgba(15, 23, 42, 0.58);
}

@media (prefers-reduced-motion: no-preference) {
  .usx-offer-panel,
  .usx-offer-launcher {
    transition: transform 180ms ease, opacity 180ms ease, filter 180ms ease;
  }
}

@media (max-width: 480px) {
  .usx-offer-root {
    right: 16px;
    bottom: 86px;
  }
}
