/* CONTAINER */
.ard-sosmed {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* BUTTON (UNGU GOLD) */
.toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;

    background: linear-gradient(145deg, #2a0a3d, #4b1d6b);
    color: gold;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.4),
        0 0 12px rgba(255,215,0,0.4);

    font-size: 22px;
    transition: all .3s ease;
}

.toggle-btn:hover {
    transform: scale(1.08);
    box-shadow:
        0 12px 25px rgba(0,0,0,0.5),
        0 0 18px rgba(255,215,0,0.7);
}

/* MENU CONTAINER */
.sosmed-container {
    display: flex;
    align-items: center;
    gap: 12px;

    overflow: hidden;
    max-width: 0;
    opacity: 0;

    transition: all .5s ease;
}

.sosmed-container.active {
    max-width: 520px;
    opacity: 1;
}

/* ITEM */
.sosmed-item {
    position: relative;
    transform: translateX(-30px) scale(0.7);
    opacity: 0;
}

/* MASUK SATU-SATU */
.sosmed-container.active .sosmed-item {
    animation: slideLuxury 0.5s forwards;
}

.sosmed-container.active .sosmed-item:nth-child(1) { animation-delay: 0.1s; }
.sosmed-container.active .sosmed-item:nth-child(2) { animation-delay: 0.2s; }
.sosmed-container.active .sosmed-item:nth-child(3) { animation-delay: 0.3s; }
.sosmed-container.active .sosmed-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideLuxury {
    0% {
        transform: translateX(-30px) scale(0.7);
        opacity: 0;
    }
    60% {
        transform: translateX(5px) scale(1.1);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* ICON STYLE (UNGU GOLD CIRCLE) */
.sosmed-item img {
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 50%;

    /* GLASS + GOLD */
    background: linear-gradient(145deg, #3a0f52, #1a0626);

    border: 2px solid rgba(255, 215, 0, 0.6);

    box-shadow:
        0 6px 16px rgba(0,0,0,0.5),
        0 0 10px rgba(255,215,0,0.5),
        inset 0 0 6px rgba(255,215,0,0.3);

    transition: all .3s ease;

    /* FLOATING */
    animation: floatLuxury 3s ease-in-out infinite;
}

/* FLOATING */
@keyframes floatLuxury {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* DELAY FLOAT */
.sosmed-item:nth-child(1) img { animation-delay: 0s; }
.sosmed-item:nth-child(2) img { animation-delay: 0.3s; }
.sosmed-item:nth-child(3) img { animation-delay: 0.6s; }
.sosmed-item:nth-child(4) img { animation-delay: 0.9s; }

/* GLOW RING */
.sosmed-item::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;

    background: radial-gradient(circle, rgba(255,215,0,0.4), transparent);

    opacity: 0.6;
    z-index: -1;
}

/* HOVER EFFECT */
.sosmed-item:hover img {
    transform: scale(1.2) rotate(5deg);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.6),
        0 0 18px rgba(255,215,0,0.9),
        inset 0 0 10px rgba(255,215,0,0.6);
}

/* MOBILE */
@media (max-width: 768px) {
    .toggle-btn {
        width: 50px;
        height: 50px;
    }

    .sosmed-item img {
        width: 45px;
        height: 45px;
        padding: 8px;
    }
}