/* Floating share button */
.share-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.share-fab__options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-fab.is-open .share-fab__options {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.share-fab__toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.5);
    background: #1a1f2e;
    color: #00d4ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 212, 255, 0.15);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.share-fab__toggle:hover {
    border-color: #00d4ff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.3);
    transform: scale(1.07);
}

.share-fab__toggle svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.share-fab.is-open .share-fab__toggle {
    border-color: #00d4ff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.3);
}

.share-fab.is-open .share-fab__toggle svg {
    transform: rotate(45deg);
}

/* Option buttons */
.share-fab__option {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: #1a1f2e;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.share-fab__option:hover {
    transform: scale(1.12);
}

.share-fab__option[data-platform="reddit"]:hover {
    border-color: #ff4500;
    color: #ff4500;
    box-shadow: 0 2px 14px rgba(255, 69, 0, 0.3);
}

.share-fab__option[data-platform="linkedin"]:hover {
    border-color: #0a66c2;
    color: #0a66c2;
    box-shadow: 0 2px 14px rgba(10, 102, 194, 0.3);
}

.share-fab__option[data-platform="twitter"]:hover {
    border-color: #e7e7e7;
    color: #e7e7e7;
    box-shadow: 0 2px 14px rgba(231, 231, 231, 0.15);
}

.share-fab__option[data-platform="copy"]:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    box-shadow: 0 2px 14px rgba(0, 212, 255, 0.25);
}

.share-fab__option svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex-shrink: 0;
}

/* Tooltip label */
.share-fab__tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #0a0f1c;
    color: #a0a9c0;
    font-size: 11px;
    font-family: 'Outfit', -apple-system, sans-serif;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.share-fab__option:hover .share-fab__tooltip {
    opacity: 1;
}

/* Copy toast */
.share-fab__toast {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: #00b894;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Outfit', -apple-system, sans-serif;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    z-index: 9001;
}

.share-fab__toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .share-fab {
        bottom: 16px;
        right: 16px;
    }

    .share-fab__toggle {
        width: 46px;
        height: 46px;
    }

    .share-fab__option {
        width: 40px;
        height: 40px;
    }

    .share-fab__tooltip {
        display: none;
    }

    .share-fab__toast {
        right: 16px;
        bottom: 80px;
    }
}
