.footer {
    background-color: #CE6787;
    color: white;
    padding: 0 5% 0;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.footer-main-layout {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.footer-left-section {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

.footer-team-logo {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.footer-right-section {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    justify-content: space-between;
}

.footer-team-name {
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.footer-sponsors-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-sponsors-title {
    font-size: 1.2rem;
    margin: 15px;
    text-align: center;
}

.footer-sponsors-container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    height: 80px;
    margin-bottom: 20px;
}

.footer-sponsors-scroll {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    align-items: center;
    animation: scroll 20s linear infinite;
    background-color: antiquewhite;
}

.footer-sponsors-container:hover .footer-sponsors-scroll {
    animation-play-state: paused;
}

.footer-sponsor-logo {
    width: 120px;
    height: 60px;
    margin: 0 20px;
    object-fit: contain;
    filter: brightness(1) invert(0);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-sponsor-logo:hover {
    opacity: 1;
    filter: brightness(1) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.footer-contact-info {
    flex: 0 0 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
}

.footer-contact-column {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.footer-contact-title {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin: 10px;
}

.footer-contact-detail {
    line-height: 1.2;
    text-align: center;
    margin: 0 0 10px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.footer-license-content {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: white;
    margin-top: 5px;
}

.footer-license-content p {
    margin: 5px 0;
    text-align: center;
}

.footer-social-platforms {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
    filter: brightness(1) invert(0);
    opacity: 0.8;
}

.footer-social-icon:hover {
    transform: translateY(-5px);
    opacity: 1;
    filter: brightness(1) invert(1) drop-shadow(0 5px 5px rgba(0, 0, 0, 0.2));
}

.footer-straddle-girl {
    position: absolute;
    right: -5%;
    top: -195px;
    width: 250px;
    height: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 1;
}

.footer-straddle-girl:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-straddle-girl img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.footer-straddle-girl:hover .footer-tooltip {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .footer-team-name {
        font-size: 4rem;
        text-align: center;
        justify-content: center;
    }
    
    .footer-straddle-girl {
        width: 200px;
        height: 200px;
        top: -150px;
        right: -3%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 15px !important;
    }
    
    .footer-main-layout {
        display: block !important;
        width: 100% !important;
        margin-bottom: 40px !important;
    }
    
    .footer-left-section {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 auto 30px !important;
        text-align: center !important;
    }
    
    .footer-team-logo {
        margin: 0 auto !important;
        max-height: 200px !important;
    }
    
    .footer-right-section {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .footer-team-name {
        font-size: 3rem !important;
        text-align: center !important;
        margin: 0 0 30px 0 !important;
        display: block !important;
    }
    
    .footer-sponsors-section {
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .footer-sponsors-container {
        width: 90%;
        height: 60px !important;
    }
    
    .footer-sponsor-logo {
        width: 100px;
        height: 40px !important;
        margin: 0 15px !important;
    }
    
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    
    .footer-straddle-girl {
        width: 80px !important;
        height: 80px !important;
        top: -40px !important;
        right: 10px !important;
    }
    
    .footer-contact-info {
        flex-direction: column !important;
        padding-top: 15px !important;
        align-items: center !important;
    }
    
    .footer-contact-column {
        width: 100% !important;
        max-width: 300px !important;
        margin-bottom: 15px !important;
        padding: 5px !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        padding-top: 15px !important;
    }
}

@media (max-width: 480px) {
    .footer-team-name {
        font-size: 2.5rem !important;
    }
    
    .footer-team-logo {
        max-height: 150px !important;
    }
    
    .footer-sponsors-container {
        width: 95%;
        height: 50px !important;
    }
    
    .footer-sponsor-logo {
        width: 80px;
        height: 35px !important;
        margin: 0 10px !important;
    }
}

.footer a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:link, .footer a:visited {
    color: rgba(245, 223, 163, 1);
}

.footer a:hover {
    color: #12dc30;
}

.footer a:active {
    color: #ab1cbe;
}



/* email icon */

/* 添加样式确保图标正确显示 */
    .email-with-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .email-icon {
        width: 16px;
        height: 16px;
        display: inline-block;
        vertical-align: middle;
    }
    
    /* 响应式设计 - 在手机上调整布局 */
    @media (max-width: 768px) {
        .email-with-icon {
            flex-direction: column;
            gap: 4px;
        }
        
        .email-icon {
            margin-bottom: 4px;
        }
    }