.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.author-modal {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.author-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.author-modal-close:hover {
    color: #333;
}

.author-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #4CAF50;
}

.author-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.author-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
    margin-bottom: 10px;
}

.author-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.author-btn i {
    display: inline-block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding-right: 0 !important;
}

.author-btn-github {
    background: #24292e;
    color: #fff;
}

.author-btn-github:hover {
    background: #1b1f23;
}

.author-btn-gmail {
    background: #EA4335;
    color: #fff;
}

.author-btn-gmail:hover {
    background: #c5221f;
}

.author-btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.author-btn-whatsapp:hover {
    background: #1da851;
}

.author-float-bubble {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: bubblePulse 2s infinite;
}

.author-float-bubble.active {
    display: block;
}

.author-float-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.4);
    animation: bubbleRing 2s infinite;
    z-index: -1;
}

@keyframes bubblePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bubbleRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.author-float-bubble img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #4CAF50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: block;
    object-fit: cover;
}