.sylt-it-magic {
  --sylt-cyan: #6ef6ff;
  --sylt-blue: #087da5;
  --sylt-coral: #ff5e49;
  position: relative;
  isolation: isolate;
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: clamp(8px, 1.3vw, 16px);
  border-radius: clamp(18px, 3vw, 34px);
  background: linear-gradient(135deg, #ffffffb8, #68eaf32b 45%, #ff72552e);
  box-shadow: 0 28px 80px #053b6538, 0 8px 26px #063b5d22;
  animation: sylt-breathe 5.5s ease-in-out infinite;
}

.sylt-it-magic::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -14%;
  pointer-events: none;
  border-radius: 38%;
  background:
    radial-gradient(circle at 72% 44%, #6ef6ff70 0 3%, transparent 24%),
    radial-gradient(circle at 28% 62%, #ff79544a 0 2%, transparent 25%);
  filter: blur(28px);
  animation: sylt-aurora 9s ease-in-out infinite alternate;
}

.sylt-it-frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(12px, 2.2vw, 25px);
  background: #073956;
  transform: translateZ(0);
}

.sylt-it-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -40% -70%;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 38%, #ffffff10 44%, #ffffff8f 49%, #83f7ff55 51%, transparent 58%);
  transform: translateX(-45%) rotate(4deg);
  animation: sylt-shimmer 7s cubic-bezier(.45, 0, .55, 1) infinite;
  mix-blend-mode: screen;
}

.sylt-it-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 69% 56%, transparent 0 7%, #51f4ff16 15%, transparent 32%);
  animation: sylt-data-pulse 3.8s ease-out infinite;
  mix-blend-mode: screen;
}

.sylt-it-image {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.012);
  filter: saturate(1.04) contrast(1.025);
  animation: sylt-float 8s ease-in-out infinite;
}

.sylt-it-sparkles {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sylt-it-sparkles i {
  --size: 5px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 7px 2px #fff, 0 0 18px 6px var(--sylt-cyan);
  opacity: 0;
  animation: sylt-spark 3.6s ease-in-out infinite;
  animation-delay: var(--delay);
}

.sylt-it-sparkles i::before,
.sylt-it-sparkles i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(transparent, #fff, transparent);
  transform: translate(-50%, -50%);
}

.sylt-it-sparkles i::before { width: 1px; height: calc(var(--size) * 4); }
.sylt-it-sparkles i::after { width: calc(var(--size) * 4); height: 1px; transform: translate(-50%, -50%) rotate(90deg); }
.sylt-it-sparkles i:nth-child(3n) { --size: 3px; }
.sylt-it-sparkles i:nth-child(4n) { box-shadow: 0 0 7px 2px #fff, 0 0 18px 6px var(--sylt-coral); }

.sylt-it-orbit {
  position: absolute;
  z-index: 4;
  left: 13%;
  bottom: 8%;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sylt-cyan);
  box-shadow: 0 0 6px #fff, 0 0 20px 7px #42efff;
  pointer-events: none;
  animation: sylt-travel 7.5s ease-in-out infinite;
}

@keyframes sylt-breathe {
  0%, 100% { transform: translateY(0); box-shadow: 0 28px 80px #053b6538, 0 8px 26px #063b5d22; }
  50% { transform: translateY(-5px); box-shadow: 0 35px 95px #057ea34f, 0 0 32px #6ef6ff48; }
}
@keyframes sylt-float { 0%, 100% { transform: scale(1.012); } 50% { transform: scale(1.025); } }
@keyframes sylt-aurora { from { transform: translate(-2%, 2%) scale(.96); } to { transform: translate(3%, -3%) scale(1.06); } }
@keyframes sylt-shimmer { 0%, 18% { transform: translateX(-45%) rotate(4deg); opacity: 0; } 28% { opacity: .75; } 48%, 100% { transform: translateX(45%) rotate(4deg); opacity: 0; } }
@keyframes sylt-data-pulse { 0% { opacity: 0; transform: scale(.35); } 25% { opacity: 1; } 75%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes sylt-spark { 0%, 68%, 100% { opacity: 0; transform: scale(.2) rotate(0); } 76% { opacity: 1; transform: scale(1) rotate(45deg); } 84% { opacity: 0; transform: scale(.35) rotate(90deg); } }
@keyframes sylt-travel { 0%, 100% { left: 13%; bottom: 8%; opacity: 0; } 12% { opacity: 1; } 45% { left: 47%; bottom: 24%; opacity: .95; } 74% { left: 70%; bottom: 43%; opacity: 1; } 88% { left: 83%; bottom: 50%; opacity: 0; } }

@media (max-width: 620px) {
  .sylt-it-magic { padding: 6px; border-radius: 18px; }
  .sylt-it-frame { border-radius: 13px; }
  .sylt-it-sparkles i:nth-child(n+8) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sylt-it-magic,
  .sylt-it-magic::before,
  .sylt-it-frame::before,
  .sylt-it-frame::after,
  .sylt-it-image,
  .sylt-it-sparkles i,
  .sylt-it-orbit { animation: none !important; }
  .sylt-it-sparkles i,
  .sylt-it-orbit { display: none; }
}
