/* 底部渐变过渡:大幅缩短,与页面背景融合 */ .footer-fade { height: 40px; background: transparent; pointer-events: none; } /* 底部样式 —— 透明背景,与页面主体融为一体 */ .footer { background: transparent; color: white; padding: 16px 0 10px; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.1fr 1fr 0.9fr; gap: 20px; margin-bottom: 12px; } .footer-section h3 { font-size: clamp(0.85rem, 1.5vw, 1.1rem); margin-bottom: 8px; color: var(--ice-blue, #cfe8ff); font-weight: 600; } .footer-section p { margin-bottom: 6px; font-size: clamp(0.7rem, 1.2vw, 0.85rem); opacity: 0.9; line-height: 1.6; } .footer-phone { color: var(--ice-blue, #cfe8ff); opacity: 1 !important; } .footer-section ul { list-style: none; } .footer-section ul li { margin-bottom: 6px; } .footer-section ul li a { color: white; text-decoration: none; transition: color 0.3s; opacity: 0.9; font-size: clamp(0.72rem, 1.2vw, 0.88rem); } .qr-grid { display: grid; grid-template-columns: repeat(3, 80px); gap: 6px; } .qr-slot { width: 80px; height: 80px; border: 1px dashed rgba(255, 255, 255, 0.38); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: rgba(255, 255, 255, 0.82); } .footer-section ul li a:hover { color: var(--electric-blue, #3DF8F8); opacity: 1; } /* 社交链接 */ .social-links { display: flex; gap: 20px; flex-wrap: wrap; } .social-links a { color: white; text-decoration: none; padding: 8px 15px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 5px; transition: all 0.3s; font-size: 0.9rem; } .social-links a:hover { background: var(--electric-blue, #3DF8F8); color: var(--rock-navy-0, #0E48C1); border-color: var(--electric-blue, #3DF8F8); } /* 底部栏 —— 移除分界线,保持透明 */ .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 8px 20px; border-top: none; text-align: center; font-size: clamp(0.68rem, 1.1vw, 0.82rem); opacity: 0.8; } .footer-bottom p { margin: 4px 0; } .footer-bottom a { color: var(--electric-blue, #3DF8F8); text-decoration: none; transition: color 0.3s; } .footer-bottom a:hover { color: white; text-decoration: underline; } /* 响应式 */ @media (max-width: 768px) { .footer-content { grid-template-columns: repeat(2, 1fr); gap: 16px; } .footer-fade { height: 30px; } } @media (max-width: 480px) { .footer { padding: 12px 0 8px; } .footer-content { grid-template-columns: 1fr; gap: 12px; } .social-links { gap: 8px; justify-content: center; } .social-links a { padding: 4px 10px; font-size: 0.7rem; } .footer-bottom { padding: 6px; } .footer-fade { height: 20px; } }