/* Footer专用样式文件 */

/* Footer基础样式 */
.pg-footer {
    background-color: #1f2937;
    color: #d1d5db;
    margin-top: auto;
}

.pg-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer主要内容区域 */
.pg-footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #374151;
}

.pg-footer__section {
    min-width: 0;
}

.pg-footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 1rem;
}

.pg-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg-footer__links li {
    margin-bottom: 0.5rem;
}

.pg-footer__link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    display: inline-block;
}

.pg-footer__link:hover {
    color: #3b82f6;
}

/* Footer底部区域 */
.pg-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
    gap: 2rem;
}

.pg-footer__bottom-left {
    flex: 1;
    max-width: 500px;
}

.pg-footer__logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.pg-footer__description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #9ca3af;
    margin: 0;
}

.pg-footer__bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

/* 社交媒体链接 */
.pg-footer__social {
    display: flex;
    gap: 1rem;
}

.pg-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    border-radius: 8px;
    color: #9ca3af;
    transition: all 0.2s;
    text-decoration: none;
}

.pg-footer__social-link:hover {
    background-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
}

.pg-footer__social-icon {
    width: 20px;
    height: 20px;
}

/* 版权信息 */
.pg-footer__copyright {
    text-align: right;
    font-size: 0.75rem;
    color: #9ca3af;
}

.pg-footer__copyright p {
    margin: 0.25rem 0;
}

.pg-footer__legal {
    margin-top: 0.5rem;
}

.pg-footer__legal-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.pg-footer__legal-link:hover {
    color: #d1d5db;
}

.pg-footer__separator {
    margin: 0 0.5rem;
    color: #6b7280;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pg-footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 0 1.5rem;
    }
    
    .pg-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    
    .pg-footer__bottom-right {
        align-items: flex-start;
        width: 100%;
    }
    
    .pg-footer__copyright {
        text-align: left;
    }
    
    .pg-footer__social {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .pg-footer .container {
        padding: 0 16px;
    }
    
    .pg-footer__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0 1rem;
    }
    
    .pg-footer__bottom {
        padding: 1.5rem 0;
    }
    
    .pg-footer__social-link {
        width: 36px;
        height: 36px;
    }
    
    .pg-footer__social-icon {
        width: 18px;
        height: 18px;
    }
}