/* Steve (maskot) temalı buton hover efektleri — sv-1: zıplayan yüz, sv-2: kayarak gelen yüz + balon, sv-3: düşünen yüz + metin kaydırma */
@property --sv-ang { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes sv-spin { to { --sv-ang: 360deg; } }

.sv { --sv-ang: 0deg; animation: sv-spin 1.3s linear infinite paused; transition-property: color, background-color, border-color, box-shadow, transform, padding; }
.sv:hover { animation-play-state: running; box-shadow: 0 0 22px -2px rgba(79,168,240,.55), 0 10px 30px -10px rgba(37,99,235,.8); }
.sv:active { transform: scale(.97); }

/* dönen Steve halkası kenarlık */
.sv-ring { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--sv-ang), #fff, #a8d8ff 18%, #4fa8f0 38%, #1a6ec7 55%, #0a4fa8 70%, #fff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; transition: opacity .35s; }
.sv:hover .sv-ring { opacity: 1; }

/* mini Steve yüzü */
.sv-face { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  background: conic-gradient(from var(--sv-ang), #fff, #a8d8ff, #4fa8f0, #1a6ec7, #fff); }
.sv-face::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: #050508; }
.sv-eye { position: relative; z-index: 1; width: 2.5px; height: 8px; border-radius: 2px; background: #fff; box-shadow: 0 0 4px rgba(255,255,255,.6);
  animation: sv-blink 3.5s infinite; transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s; }
@keyframes sv-blink { 0%,88%,100% { transform: scaleY(1); } 92% { transform: scaleY(.1); } }

/* V1 — zıpla, göz kırp, sağa bak */
.sv-1:hover .sv-face { animation: sv-jump .55s cubic-bezier(.34,1.56,.64,1); }
.sv-1:hover .sv-eye { animation: sv-blink1 .22s ease-in-out .15s, sv-look .3s forwards .4s; }
@keyframes sv-jump { 35% { transform: translateY(-6px) scale(1.06,.94); } 55% { transform: scale(.96,1.04); } 75% { transform: translateY(-2px); } }
@keyframes sv-blink1 { 45% { transform: scaleY(.1); } }
@keyframes sv-look { to { transform: translateX(2.5px); } }

/* V2 — yüz gizli, hover'da dönerek gelir + konuşma balonu */
.sv-2 .sv-face { width: 0; margin-right: -10px; opacity: 0; transform: scale(.3) rotate(-90deg);
  transition: width .4s cubic-bezier(.34,1.56,.64,1), margin .4s cubic-bezier(.34,1.56,.64,1), opacity .25s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.sv-2:hover .sv-face { width: 22px; margin-right: 0; opacity: 1; transform: none; }
.sv.nb-primary.sv-2:hover { padding-left: 12px; }
.sv-tip { position: absolute; left: 50%; top: calc(100% + 12px); transform: translate(-50%,6px) scale(.8); opacity: 0; pointer-events: none; z-index: 5;
  background: #fff; color: #0a0a0a; font-size: 11.5px; font-weight: 800; letter-spacing: 0; text-transform: none; padding: 6px 12px; border-radius: 14px 14px 14px 4px;
  white-space: nowrap; box-shadow: 0 8px 24px rgba(26,110,199,.25); transition: .35s cubic-bezier(.34,1.56,.64,1); }
.sv-2:hover .sv-tip { opacity: 1; transform: translate(-50%,0) scale(1); transition-delay: .15s; }

/* V3 — gözler yerini yazıyor noktalarına bırakır, metin yukarı kayar */
.sv-dots { position: absolute; z-index: 1; display: flex; gap: 2px; opacity: 0; transform: scale(.6); transition: .2s; }
.sv-dots i { width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: sv-dot 1s infinite ease-in-out; }
.sv-dots i:nth-child(2) { animation-delay: .12s; } .sv-dots i:nth-child(3) { animation-delay: .24s; }
@keyframes sv-dot { 0%,80%,100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-2.5px); opacity: 1; } }
.sv-3:hover .sv-eye { opacity: 0; transform: scale(.4); }
.sv-3:hover .sv-dots { opacity: 1; transform: none; }
.sv-swap { position: relative; z-index: 1; display: inline-block; overflow: hidden; height: 1.4em; line-height: 1.4em; vertical-align: middle; }
.sv-swap > span { display: block; transition: transform .4s cubic-bezier(.65,0,.35,1); }
.sv-3:hover .sv-swap > span { transform: translateY(-100%); }

@media (hover: none) { .sv-tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .sv, .sv *, .sv-ring { animation: none !important; transition: none !important; } }
