/* 页脚样式 */
.footer-section {
    position: relative;
    width: 100%;
    background: var(--footer-gradient);
    padding: 8rem 1.5rem 2.5rem;
    color: white;
    overflow: visible;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-99%);
    z-index: 20;
    pointer-events: none;
    line-height: 0;
}

.footer-stars {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
}

.footer-star {
    position: absolute;
    width: 0.25rem;
    height: 0.25rem;
    background: white;
    border-radius: 50%;
    animation: twinkle 4s ease-in-out infinite;
}

.footer-star-1 {
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.footer-star-2 {
    top: 50%;
    right: 33.333%;
    animation-delay: 1s;
}

.footer-star-3 {
    bottom: 33.333%;
    left: 2.5rem;
    width: 0.5rem;
    height: 0.5rem;
    animation-delay: 2s;
}

.footer-container {
    max-width: 75rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(12, 1fr);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 5;
    }
}

.footer-logo {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.footer-brand-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
}

.footer-brand-subtitle {
    font-size: 1.25rem;
    color: rgba(191, 219, 254, 1);
    margin-bottom: 1rem;
    font-weight: 300;
}

.footer-divider {
    height: 1px;
    width: 5rem;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(191, 219, 254, 1);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 24rem;
}

.footer-mascot {
    position: relative;
    margin-top: 1rem;
    cursor: pointer;
}

.footer-mascot-circle {
    width: 5rem;
    height: 5rem;
    background: #3B82F6;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: bounce-slow 3s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-mascot-crown {
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    color: #FACC15;
    fill: #FACC15;
    transform: rotate(-12deg);
    width: 1.75rem;
    height: 1.75rem;
}

.footer-mascot-face {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.5rem;
}

.footer-mascot-eyes {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.footer-mascot-eye {
    width: 0.5rem;
    height: 0.5rem;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.footer-mascot:hover .footer-mascot-eye {
    transform: scale(1.5);
}

.footer-mascot-mouth {
    width: 0.75rem;
    height: 0.25rem;
    background: #F87171;
    border-radius: 0 0 9999px 9999px;
}

.footer-mascot-tooltip {
    position: absolute;
    left: 100%;
    margin-left: 1rem;
    background: white;
    color: #2563EB;
    padding: 0.25rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.footer-mascot:hover .footer-mascot-tooltip {
    opacity: 1;
}

.footer-nav {
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .footer-nav {
        grid-column: span 3;
    }
}

.footer-nav-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav-title::before {
    content: '';
    width: 0.25rem;
    height: 1.5rem;
    background: #FACC15;
    border-radius: 9999px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-item {
    color: rgba(191, 219, 254, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav-item:hover {
    color: white;
}

.footer-nav-arrow {
    width: 0.875rem;
    height: 0.875rem;
    opacity: 0;
    transform: translateX(-0.5rem);
    transition: all 0.3s;
    color: #FACC15;
}

.footer-nav-item:hover .footer-nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

.footer-nav-item:hover .footer-nav-text {
    transform: translateX(0.25rem);
}

.footer-nav-text {
    transition: transform 0.3s;
}

.footer-downloads {
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .footer-downloads {
        grid-column: span 4;
    }
}

.footer-downloads-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-downloads-title::before {
    content: '';
    width: 0.25rem;
    height: 1.5rem;
    background: #FACC15;
    border-radius: 9999px;
}

.footer-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.footer-download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.footer-download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-download-btn-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    fill: white;
}

.footer-download-btn-text {
    text-align: left;
}

.footer-download-btn-label {
    font-size: 0.625rem;
    color: rgba(209, 213, 219, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-download-btn-name {
    font-size: 0.875rem;
    font-weight: bold;
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.footer-social-btn:hover {
    transform: scale(1.05);
}

.footer-social-btn-xiaohongshu {
    --gradient-start: #EF4444;
    --gradient-end: #EC4899;
}

.footer-social-btn-weibo {
    --gradient-start: #F59E0B;
    --gradient-end: #F97316;
}

.footer-copyright {
    max-width: 75rem;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(191, 219, 254, 0.5);
}

@media (min-width: 768px) {
    .footer-copyright {
        flex-direction: row;
    }
}

.footer-copyright p {
    margin: 0.5rem 0;
}

@media (min-width: 768px) {
    .footer-copyright p {
        margin: 0;
    }
}

.footer-clouds {
    position: absolute;
    bottom: -3.125rem;
    left: 0;
    width: 100%;
    opacity: 0.1;
    pointer-events: none;
}

