/**
 * iColorFill - Footer Stylesheet
 * Footer 组件样式
 */

/* Footer Styles */
.site-footer {
    background-color: #073642;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    border-radius: 197.5px 0px;
    opacity: 0.3;
    background: #d33682;
    filter: blur(140px);
    height: 60%;
    width: 50%;
    position: absolute;
    top: 20%;
    left: -25%;
    z-index: 0;
}

.site-footer::after {
    content: "";
    border-radius: 197.5px 0px;
    opacity: 0.2;
    background: #87CEEB;
    filter: blur(120px);
    height: 40%;
    width: 40%;
    position: absolute;
    bottom: 10%;
    right: -20%;
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 30px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.brand-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-name {
    font-family: "Lexend", sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #ffffff;
    text-transform: uppercase;
}

.brand-description {
    font-family: "Lexend", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #aaa;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-column h3 {
    font-family: "Lexend", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #d33682;
    text-transform: uppercase;
    margin: 0 0 25px;
    letter-spacing: 1px;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-item {
    margin-bottom: 15px;
}

.link-item a {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-item a:hover {
    color: #ffffff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: #d33682;
    flex-shrink: 0;
}

.live-indicator {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
}

.pulse-dot::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #d33682;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #d33682;
    border-radius: 50%;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(211, 54, 130, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(211, 54, 130, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(211, 54, 130, 0);
    }
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    color: #aaa;
}

.copyright a {
    color: #d33682;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #ffffff;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* Responsive */
@media screen and (max-width: 1199px) {
    .footer-container {
        padding: 60px 20px 20px;
    }
    .footer-grid {
        gap: 60px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 767px) {
    .footer-container {
        padding: 40px 16px 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .brand-name {
        font-size: 24px;
    }
    .brand-description {
        font-size: 14px;
    }
    .brand-icon-img {
        width: 40px;
        height: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-legal {
        gap: 20px;
    }
}

/* Language Selector */
.language-selector {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-label {
    font-family: "Lexend", sans-serif;
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.language-flags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.flag-item {
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    color: #fff;
    font-family: "Lexend", sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.flag-item:hover {
    color: #d33682;
    transform: scale(1.05);
}

.flag-item.active {
    color: #d33682;
    position: relative;
}

.flag-item.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: #d33682;
    border-radius: 1px;
}

@media screen and (max-width: 767px) {
    .language-selector {
        margin-top: 15px;
    }
    .language-flags {
        gap: 10px;
    }
    .flag-item {
        font-size: 13px;
    }
}
