/* ==========================================================================
   SOSYAL MEDYA HIZLI MENÜ - HAREKETLİ NEON KOYU CAM (DARK GLASS) TEMA
   ========================================================================== */

.ae-sm-wrapper {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99990;
    pointer-events: none;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    isolation: isolate;
    user-select: none;
    -webkit-user-select: none;
}

/* HAREKETLİ NEON ÇERÇEVELİ PANEL */
.ae-sm-card-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    border-radius: 30px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 176, 255, 0.3), 0 15px 35px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    pointer-events: auto;
    touch-action: manipulation;
}

/* 1. ETRAFINDA DÖNEN KESİNTİSİZ NEON IŞIK (SİYAN MAVİ) */
.ae-sm-card-panel::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 350%;
    top: -125%;
    left: -65px;
    background: linear-gradient(0deg, transparent, #00b0ff, #00f0ff, transparent);
    animation: ae-neon-spin 3.5s linear infinite;
    z-index: -2;
    will-change: transform;
}

@keyframes ae-neon-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 2. İÇ KOYU CAM KAPLAMA (MASKE) */
.ae-sm-card-panel::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(3, 10, 25, 0.92);
    border-radius: 28px;
    z-index: -1;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* SOSYAL MEDYA BUTONLARI */
.ae-sm-btn {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.15rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

/* SVG İKON DÜZENLEMESİ (X/TWITTER İÇİN) */
.ae-sm-btn svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.ae-sm-btn:hover {
    color: #00f0ff;
    background: rgba(0, 176, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.5);
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
}

/* TOOLTIP (SOLA AÇILAN ETİKET) */
.ae-sm-tooltip {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(3, 10, 25, 0.95);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.ae-sm-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(3, 10, 25, 0.95);
}

.ae-sm-btn:hover .ae-sm-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* MOBİL EKRAN KONUMLANDIRMASI (MINIMAL KOMPAKT YAPILANDIRMA) */
@media (max-width: 768px) {
    .ae-sm-wrapper {
        right: 8px;
        top: 22%;
        transform: translateY(0);
    }

    .ae-sm-card-panel {
        padding: 5px 4px;
        gap: 5px;
        border-radius: 18px;
        box-shadow: 0 0 12px rgba(0, 176, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.6);
    }

    .ae-sm-card-panel::before {
        width: 120px;
    }

    .ae-sm-card-panel::after {
        inset: 1.5px;
        border-radius: 16.5px;
    }

    .ae-sm-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .ae-sm-tooltip {
        display: none !important;
    }
}