/* ==========================================================
   Spicy KI Bottom CTA
   Dark premium adult design · responsive · no dependency
========================================================== */

.spicy-bottom-cta {
  --spicy-black: #050505;
  --spicy-dark: #0D0D0D;
  --spicy-card: #161616;
  --spicy-border: #2A2A2A;
  --spicy-text: #F5F5F5;
  --spicy-muted: #B8B8B8;
  --spicy-orange: #FF9B00;
  --spicy-orange-hover: #FFB000;
  --spicy-red: #FF3B1F;
  --spicy-pink: #FF2FA7;
  --spicy-green: #B6FF3B;

  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 999999;
  width: min(1120px, calc(100vw - 28px));
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  font-family: inherit;
}

.spicy-bottom-cta.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.spicy-bottom-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  color: var(--spicy-text);
  background:
    radial-gradient(circle at 10% 50%, rgba(255,155,0,.22), transparent 26%),
    radial-gradient(circle at 92% 60%, rgba(255,47,167,.16), transparent 28%),
    linear-gradient(135deg, rgba(5,5,5,.97) 0%, rgba(13,13,13,.97) 52%, rgba(22,22,22,.97) 100%);
  border: 1px solid rgba(255,155,0,.32);
  box-shadow:
    0 22px 60px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.035) inset;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.spicy-bottom-cta__inner:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--spicy-orange), var(--spicy-red), var(--spicy-pink));
}

.spicy-bottom-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,155,0,.18), rgba(255,59,31,.12));
  border: 1px solid rgba(255,155,0,.34);
  font-size: 22px;
  box-shadow: 0 10px 28px rgba(255,155,0,.12);
}

.spicy-bottom-cta__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spicy-bottom-cta__content strong {
  display: block;
  color: var(--spicy-text);
  font-size: clamp(14.5px, 1.5vw, 17px);
  line-height: 1.25;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spicy-bottom-cta__content span {
  display: block;
  color: var(--spicy-muted);
  font-size: 12.5px;
  line-height: 1.2;
}

.spicy-bottom-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--spicy-orange) 0%, var(--spicy-orange-hover) 45%, var(--spicy-red) 100%);
  color: #050505 !important;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(255,155,0,.34);
  animation: spicyBottomButtonShake 2.6s infinite;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.spicy-bottom-cta__button:hover,
.spicy-bottom-cta__button:focus-visible {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.08);
  box-shadow: 0 18px 38px rgba(255,155,0,.42);
  outline: none;
}

.spicy-bottom-cta__button:before {
  content: "👉";
  margin-right: 7px;
}

.spicy-bottom-cta__close {
  appearance: none;
  border: 1px solid var(--spicy-border);
  background: rgba(255,255,255,.045);
  color: var(--spicy-muted);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.spicy-bottom-cta__close:hover,
.spicy-bottom-cta__close:focus-visible {
  color: var(--spicy-orange-hover);
  border-color: rgba(255,155,0,.52);
  background: rgba(255,155,0,.08);
  transform: rotate(4deg);
  outline: none;
}

@keyframes spicyBottomButtonShake {
  0%, 78%, 100% {
    transform: translateX(0) rotate(0);
  }
  80% {
    transform: translateX(-2px) rotate(-1deg);
  }
  82% {
    transform: translateX(2px) rotate(1deg);
  }
  84% {
    transform: translateX(-2px) rotate(-1deg);
  }
  86% {
    transform: translateX(2px) rotate(1deg);
  }
  88% {
    transform: translateX(0) rotate(0);
  }
}

@media (max-width: 780px) {
  .spicy-bottom-cta {
    bottom: 12px;
    width: calc(100vw - 20px);
  }

  .spicy-bottom-cta__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
  }

  .spicy-bottom-cta__button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
  }

  .spicy-bottom-cta__close {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .spicy-bottom-cta__icon {
    width: 42px;
    height: 42px;
  }

  .spicy-bottom-cta__content strong {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .spicy-bottom-cta__content span {
    font-size: 12px;
  }
}
