[x-cloak] {
  display: none !important;
}

.arkos-popup-enter {
  transition:
    transform 650ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 500ms ease;
}

.arkos-popup-enter-start {
  transform: translate3d(110%, 0, 0) scale(0.97);
  opacity: 0;
}

.arkos-popup-enter-end {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.arkos-popup-leave {
  transition:
    transform 380ms cubic-bezier(0.4, 0, 1, 1),
    opacity 300ms ease;
}

.arkos-popup-leave-start {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.arkos-popup-leave-end {
  transform: translate3d(110%, 0, 0) scale(0.97);
  opacity: 0;
}

/* estilos proprios do card — nao dependem de classes utilitarias arbitrarias do Tailwind */
.arkos-popup-card {
  position: fixed;
  top: 92px;
  right: 16px;
  width: 320px;
  max-width: calc(100% - 32px);
  background: #1a1410;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

@media (min-width: 768px) {
  .arkos-popup-card {
    top: 100px;
    right: 24px;
  }
}

.arkos-popup-topbar {
  height: 2px;
  width: 100%;
  background: #e98984;
}

.arkos-popup-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 20px;
  background: #ffffff;
}

.arkos-popup-logo img {
  max-height: 75px;
  max-width: 166px;
  object-fit: contain;
}

.arkos-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.arkos-popup-close:hover {
  background: #ffffff;
  color: #1a1410;
  border-color: #ffffff;
  transform: rotate(90deg);
}

.arkos-popup-body {
  padding: 16px;
}

.arkos-popup-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.arkos-popup-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #e98984;
}

.arkos-popup-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: #e98984;
  opacity: 0.35;
  animation: arkos-pulse 1.8s ease-out infinite;
}

@keyframes arkos-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.arkos-popup-badge span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #e98984;
}

.arkos-popup-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.2px;
  color: #ffffff;
}

.arkos-popup-title strong,
.arkos-popup-title b {
  font-weight: 700;
  background: linear-gradient(90deg, #ffcd62 0%, #f8c75d 7%, #a37a22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.arkos-popup-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.arkos-popup-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.arkos-popup-meta-row svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: #e98984;
}

.arkos-popup-meta-row span {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.arkos-popup-cta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  text-decoration: none !important;
  border: none;
  transition: background 0.35s ease;
}

.arkos-popup-cta:hover,
.arkos-popup-cta:focus,
.arkos-popup-cta:visited {
  text-decoration: none !important;
}

.arkos-popup-cta:hover {
  background: #e98984;
}

.arkos-popup-cta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1410;
  transition: color 0.35s ease;
}

.arkos-popup-cta:hover .arkos-popup-cta-label {
  color: #ffffff;
}

.arkos-popup-cta-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1410;
  color: #ffffff;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}

.arkos-popup-cta-icon svg {
  width: 12px;
  height: 12px;
}

.arkos-popup-cta:hover .arkos-popup-cta-icon {
  background: #ffffff;
  color: #1a1410;
  transform: translateX(2px);
}
