/* --- SIFIRLAMA VE İZOLASYON --- */
.ikn-scr-wrapper,
.ikn-scr-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- TAŞIYICI ALAN (Sağ Alt Köşe Sabitleme) --- */
.ikn-scr-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    z-index: 99997; /* Header ve diğer bileşenlerle çakışmaz */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Üstüne gelince buton hafif büyüsün ve parlasın */
.ikn-scr-wrapper:hover {
    transform: scale(1.08);
}

/* --- NEON KAPSÜL (PILL) ÇERÇEVE --- */
.ikn-scr-pill {
    position: relative;
    width: 44px;
    height: 72px;
    border-radius: 25px;
    /* <-- GÖNDERDİĞİN RESİMDEKİ NEON YEŞİLİ/SARI RENGİ BURADAN (#ccff00) --> */
    border: 2px solid #ccff00;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.5), inset 0 0 10px rgba(204, 255, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 10px;
    background: rgba(16, 16, 18, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.ikn-scr-wrapper:hover .ikn-scr-pill {
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.8), inset 0 0 15px rgba(204, 255, 0, 0.3);
    background: rgba(204, 255, 0, 0.08);
}

/* --- MOUSE İKONU GÖVDESİ --- */
.ikn-scr-mouse {
    width: 18px;
    height: 26px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 4px;
    margin-bottom: 6px;
}

/* Mouse İçindeki Animasyonlu Kaydırma Tekerleği (Wheel) */
.ikn-scr-wheel {
    width: 2px;
    height: 5px;
    background-color: #ffffff;
    border-radius: 2px;
    animation: iknWheelScroll 1.6s ease-in-out infinite;
}

@keyframes iknWheelScroll {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(5px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* --- OK İKONU (Aşağı Zıplayan) --- */
.ikn-scr-arrow {
    width: 16px;
    height: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    animation: iknArrowBounce 1.6s ease-in-out infinite;
}

.ikn-scr-arrow svg {
    width: 100%;
    height: 100%;
}

@keyframes iknArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* --- ALT YAZI ETİKETİ (AŞAĞI KAYDIR / YUKARI ÇIK) --- */
.ikn-scr-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease, transform 0.3s ease;
}

.ikn-scr-wrapper:hover .ikn-scr-label {
    color: #ccff00;
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.6);
}

/* =========================================================
   AKILLI MOD DEĞİŞİMİ (.ikn-mode-up) - YUKARI ÇIK MODU
   ========================================================= */
/* Sayfa aşağı kaydırıldığında ok 180 derece yukarı döner! */
.ikn-scr-wrapper.ikn-mode-up .ikn-scr-arrow {
    transform: rotate(180deg);
    color: #ccff00; /* Ok yukarı dönünce neon yeşili parlar! */
    animation: iknArrowBounceUp 1.6s ease-in-out infinite;
}

@keyframes iknArrowBounceUp {
    0%, 100% { transform: rotate(180deg) translateY(0); }
    50% { transform: rotate(180deg) translateY(4px); } /* Zıplama yönü de tersine döner */
}

.ikn-scr-wrapper.ikn-mode-up:hover .ikn-scr-pill {
    border-color: #ffffff; /* Yukarı çık modunda hover beyaz parlama yapar */
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

/* =========================================================
   MOBİL UYUM (RESPONSIVE)
   ========================================================= */
@media (max-width: 768px) {
    .ikn-scr-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .ikn-scr-pill {
        width: 38px;
        height: 62px;
        border-width: 1.5px;
        padding-top: 8px;
        margin-bottom: 6px;
    }

    .ikn-scr-mouse {
        width: 15px;
        height: 22px;
        border-width: 1.5px;
        margin-bottom: 4px;
    }

    .ikn-scr-arrow {
        width: 14px;
        height: 14px;
    }

    /* Mobilde yazı fazla yer kaplamasın, biraz daha kibar olsun */
    .ikn-scr-label {
        font-size: 9.5px;
        letter-spacing: 1px;
    }
}