/* =========================================================
   MU EXODUS - INTERACTIVE SOCIAL SIDE DOCK v1
   Inspired by TSM / Premium Floating Social Bar
   ========================================================= */

#exo-social-dock {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 9999;
    font-family: "Roboto", Arial, sans-serif;
    box-sizing: border-box;
}

#exo-social-dock * {
    box-sizing: border-box;
}

.exo-social-dock__bar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 5px 6px 4px;
    background: rgba(12, 16, 21, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(239, 193, 79, 0.25);
    border-left: 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.55), 0 0 15px rgba(239, 193, 79, 0.08);
}

.exo-social-item {
    position: relative;
}

.exo-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    font-size: 20px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.exo-social-btn:hover,
.exo-social-item.is-open .exo-social-btn {
    transform: translateX(3px);
    border-color: rgba(239, 193, 79, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Platform Colors on Hover */
.exo-social-item[data-target="facebook"] .exo-social-btn:hover,
.exo-social-item[data-target="facebook"].is-open .exo-social-btn {
    background: rgba(24, 119, 242, 0.25);
    border-color: #1877f2;
    color: #1877f2;
    box-shadow: 0 0 16px rgba(24, 119, 242, 0.4);
}

.exo-social-item[data-target="instagram"] .exo-social-btn:hover,
.exo-social-item[data-target="instagram"].is-open .exo-social-btn {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.25), rgba(253, 29, 29, 0.25));
    border-color: #e1306c;
    color: #e1306c;
    box-shadow: 0 0 16px rgba(225, 48, 108, 0.4);
}

.exo-social-item[data-target="whatsapp"] .exo-social-btn:hover,
.exo-social-item[data-target="whatsapp"].is-open .exo-social-btn {
    background: rgba(37, 211, 102, 0.25);
    border-color: #25d366;
    color: #25d366;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

.exo-social-item[data-target="discord"] .exo-social-btn:hover,
.exo-social-item[data-target="discord"].is-open .exo-social-btn {
    background: rgba(88, 101, 242, 0.25);
    border-color: #5865f2;
    color: #5865f2;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.4);
}

.exo-social-item[data-target="community"] .exo-social-btn:hover,
.exo-social-item[data-target="community"].is-open .exo-social-btn {
    background: rgba(239, 193, 79, 0.25);
    border-color: #efc14f;
    color: #efc14f;
    box-shadow: 0 0 16px rgba(239, 193, 79, 0.4);
}

/* Popover Drawers (Flyout Cards) */
.exo-social-drawer {
    position: absolute;
    top: 50%;
    left: 54px;
    transform: translateY(-50%) translateX(-15px) scale(0.95);
    width: 340px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: linear-gradient(145deg, rgba(12, 16, 21, 0.98), rgba(20, 27, 36, 0.98));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(239, 193, 79, 0.35);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(239, 193, 79, 0.12);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease;
}

.exo-social-item.is-open .exo-social-drawer {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(-50%) translateX(0) scale(1);
}

/* Pointer Arrow */
.exo-social-drawer::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -7px;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(12, 16, 21, 0.98);
    border-left: 1px solid rgba(239, 193, 79, 0.35);
    border-bottom: 1px solid rgba(239, 193, 79, 0.35);
}

.exo-social-drawer__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(239, 193, 79, 0.20);
    border-radius: 11px 11px 0 0;
    background: linear-gradient(90deg, rgba(23, 29, 38, 0.98), rgba(12, 16, 21, 0.98));
}

.exo-social-drawer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 18px;
}

.exo-social-drawer__info {
    flex: 1;
    min-width: 0;
}

.exo-social-drawer__info strong {
    display: block;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
    line-height: 15px;
}

.exo-social-drawer__info small {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 10px;
    line-height: 12px;
}

.exo-social-drawer__body {
    padding: 14px;
}

.exo-social-drawer__body p {
    margin: 0 0 12px 0;
    color: #cbd5e1;
    font-size: 11.5px;
    line-height: 16px;
}

.exo-social-drawer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(239, 193, 79, 0.4);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(239, 193, 79, 0.22), rgba(180, 130, 20, 0.22));
    color: #efc14f !important;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: all 0.2s ease;
}

.exo-social-drawer__cta:hover {
    background: rgba(239, 193, 79, 0.38);
    color: #fff !important;
    box-shadow: 0 0 14px rgba(239, 193, 79, 0.35);
}

/* Facebook Embed Box */
.exo-fb-embed-container {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
}

.exo-fb-embed-container iframe {
    width: 100% !important;
    height: 380px !important;
    border: none !important;
    overflow: hidden !important;
}

/* Responsive Hide for Small Screens */
@media (max-width: 768px) {
    #exo-social-dock {
        top: auto;
        bottom: 80px;
        transform: none;
    }
    .exo-social-drawer {
        width: 290px;
    }
}
