StarDreamCupWeb/src/styles/components/Footer.css
2025-10-19 00:45:20 +08:00

229 lines
4.4 KiB
CSS

.bottom-bar {
position: relative;
background-color: #0A1124;
color: white;
padding: 60px 20px 30px;
z-index: 1;
}
.footer-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at top, rgba(22, 93, 255, 0.15) 0%, transparent 70%);
z-index: -1;
}
.footer-inner {
max-width: 1200px;
margin: 0 auto;
}
.footer-header {
text-align: center;
margin-bottom: 40px;
}
.footer-logo {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
margin-bottom: 15px;
}
.footer-logo-img {
width: 40px;
height: 40px;
border-radius: 8px;
object-fit: cover;
}
.footer-logo-text {
font-size: 1.2rem;
font-weight: 600;
color: white;
}
.footer-slogan {
color: #A9B3C9;
max-width: 600px;
margin: 0 auto;
}
.footer-social {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 50px;
padding-bottom: 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-social-link {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.1rem;
text-decoration: none;
transition: var(--transition-normal);
}
.footer-social-link:hover {
background-color: var(--primary-color);
transform: translateY(-3px);
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
margin-bottom: 50px;
}
.footer-column-title {
font-size: 1.1rem;
margin-bottom: 20px;
color: white;
position: relative;
padding-bottom: 8px;
}
.footer-column-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 30px;
height: 2px;
background-color: var(--primary-color);
}
.footer-nav {
list-style: none;
}
.footer-link {
color: #A9B3C9;
text-decoration: none;
display: block;
margin-bottom: 12px;
transition: var(--transition-normal);
}
.footer-link:hover {
color: white;
transform: translateX(5px);
}
.footer-newsletter {
max-width: 600px;
margin: 0 auto 50px;
padding: 30px;
background-color: rgba(255, 255, 255, 0.05);
border-radius: var(--radius);
text-align: center;
}
.newsletter-title {
font-size: 1.1rem;
margin-bottom: 10px;
color: white;
}
.newsletter-desc {
color: #A9B3C9;
margin-bottom: 20px;
font-size: 0.95rem;
}
.newsletter-form {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
.newsletter-input {
padding: 10px 16px;
border: 1px solid rgba(22, 93, 255, 0.3);
border-radius: var(--radius-sm);
min-width: 200px;
flex: 1;
max-width: 350px;
font-size: 1rem;
background-color: rgba(255, 255, 255, 0.08);
color: white;
transition: var(--transition-normal);
}
.newsletter-input::placeholder { color: #A9B3C9; }
.newsletter-input:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.2);
}
.newsletter-btn {
padding: 10px 24px;
background-color: var(--primary-color);
color: white;
border: none;
border-radius: var(--radius-sm);
font-weight: 500;
cursor: pointer;
transition: var(--transition-normal);
white-space: nowrap;
}
.newsletter-btn:hover {
background-color: var(--primary-dark);
transform: translateY(-2px);
}
.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #A9B3C9;
font-size: 0.9rem;
}
.footer-bottom-links { margin-bottom: 15px; }
.footer-bottom-link {
color: #A9B3C9;
text-decoration: none;
margin: 0 10px;
transition: var(--transition-normal);
}
.footer-bottom-link:hover { color: white; }
.footer-bottom-small {
font-size: 0.8rem;
margin-top: 10px;
opacity: 0.8;
}
/* 响应式调整 */
@media (max-width: 767px) {
.footer-content { grid-template-columns: 1fr; text-align: center; }
.footer-column-title::after { left: 50%; transform: translateX(-50%); }
.footer-newsletter { padding: 20px 15px; }
.newsletter-input { min-width: 100%; }
.footer-bottom-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px 15px;
}
.footer-bottom-link { margin: 0; }
}