/**
 * Footer Component Styles
 * 页脚组件的统一样式
 */

/* ============ FOOTER ============ */
footer.footer {
    background-color: #000000;
    padding: 40px 20px 30px;
    border-top: 2px solid rgba(255, 215, 0, 0.15);
    color: #888888;
    font-size: 0.9rem;
}

footer.footer .footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

footer.footer .footer-grid {
    display: flex !important;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    flex-wrap: wrap;
    flex-direction: row !important;
}

footer.footer .footer-section {
    text-align: left;
    flex: 1;
    min-width: 150px;
}

footer.footer .footer-section-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--primary-gold, #FFD700);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer.footer .footer-section-subtitle {
    font-size: 0.75rem;
    color: #aaaaaa;
    margin-bottom: 12px;
    line-height: 1.4;
}

footer.footer .footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding-left: 0;
    text-align: left;
}

footer.footer .footer-links-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 8px 15px;
}

footer.footer .footer-link {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

footer.footer .footer-link:hover {
    color: var(--primary-gold, #FFD700);
    transform: translateX(3px);
}

footer.footer .footer-info-item {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

footer.footer .footer-info-label {
    font-weight: 600;
    color: var(--primary-gold, #FFD700);
    min-width: 60px;
    font-size: 0.75rem;
}

footer.footer .footer-info-text {
    color: #aaaaaa;
    font-size: 0.75rem;
}

footer.footer .footer-email {
    color: var(--primary-gold, #FFD700);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer.footer .footer-email:hover {
    color: var(--primary-white, #FFFFFF);
}

footer.footer .footer-bottom {
    text-align: center;
}

footer.footer .footer-disclaimer {
    font-size: 0.75rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 10px;
}

footer.footer .footer-copyright {
    font-size: 0.75rem;
    color: #555555;
    font-weight: 600;
}

footer.footer .footer-divider {
    color: rgba(255, 215, 0, 0.1);
    margin: 0 3px;
}

/* 图标样式 */
footer.footer .icon-inline {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.25em;
    margin-right: 8px;
}

/* ============ 响应式设计 ============ */

/* 平板设备 */
@media (max-width: 992px) {
    footer.footer .footer-grid {
        gap: 30px !important;
    }
    
    footer.footer .footer-section {
        min-width: 45%;
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    footer.footer {
        padding: 30px 15px 20px !important;
    }
    
    footer.footer .footer-grid {
        flex-direction: column !important;
        gap: 30px !important;
        align-items: center !important;
    }
    
    footer.footer .footer-section {
        min-width: 100% !important;
        max-width: 500px;
        text-align: center !important;
    }
    
    footer.footer .footer-section-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
    
    footer.footer .footer-links-list {
        align-items: center !important;
        text-align: center !important;
    }
    
    footer.footer .footer-links-grid {
        grid-template-columns: 1fr !important;
        justify-items: center;
        gap: 8px;
    }
    
    footer.footer .footer-link {
        justify-content: center;
    }
    
    footer.footer .footer-info-item {
        justify-content: center !important;
        text-align: center !important;
        flex-wrap: wrap;
    }
    
    footer.footer .footer-info-label {
        min-width: auto;
        margin-right: 4px;
    }
    
    footer.footer .footer-info-text {
        text-align: center;
    }
    
    footer.footer .footer-bottom {
        padding: 0 10px;
    }
    
    footer.footer .footer-disclaimer {
        text-align: center !important;
        line-height: 1.6;
    }
}

/* 小屏幕移动设备 */
@media (max-width: 480px) {
    footer.footer {
        padding: 25px 10px 15px !important;
    }
    
    footer.footer .footer-grid {
        gap: 25px !important;
    }
    
    footer.footer .footer-section-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    footer.footer .footer-section-subtitle {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }
    
    footer.footer .footer-link {
        font-size: 0.8rem;
    }
    
    footer.footer .footer-info-label,
    footer.footer .footer-info-text {
        font-size: 0.7rem;
    }
    
    footer.footer .footer-disclaimer {
        font-size: 0.65rem !important;
        line-height: 1.5 !important;
        padding: 0 5px;
    }
    
    footer.footer .footer-copyright {
        font-size: 0.7rem;
    }
    
    footer.footer .icon-inline {
        width: 1em;
        height: 1em;
        margin-right: 4px;
    }
}
