.daylight-footer {
    background: #ffffff;
    color: #495057;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    max-width: 100%;
}

.daylight-footer.loaded {
    animation: footerFadeIn 0.8s ease-out;
}

@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.daylight-footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.daylight-footer-waves {
    position: relative;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 123, 255, 0.02) 25%,
            rgba(0, 123, 255, 0.03) 50%,
            rgba(0, 123, 255, 0.02) 75%,
            transparent 100%);
    animation: waveMove 20s ease-in-out infinite;
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.4;
}

.wave-2 {
    animation-delay: 7s;
    opacity: 0.3;
}

.wave-3 {
    animation-delay: 14s;
    opacity: 0.5;
}

@keyframes waveMove {

    0%,
    100% {
        transform: translateX(-100%) skewX(0deg);
    }

    50% {
        transform: translateX(100%) skewX(2deg);
    }
}


.daylight-friend-links-section {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.9));
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 50px 0;
    margin: 0;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(8px);
    width: 100%;
}

.daylight-friend-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.daylight-friend-links-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.daylight-friend-links-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.daylight-friend-links-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

.daylight-friend-links-title i {
    color: #3b82f6;
    font-size: 24px;
    animation: linkIconFloat 3s ease-in-out infinite;
}

@keyframes linkIconFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

.daylight-friend-links-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
    font-weight: 400;
}

.daylight-friend-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 35px;
}

.daylight-friend-links-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.daylight-friend-links-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(59, 130, 246, 0.08),
            transparent);
    transition: left 0.5s ease;
}

.daylight-friend-links-list a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.daylight-friend-links-list a:hover::before {
    left: 100%;
}

.daylight-friend-links-list a:hover::after,
.daylight-friend-links-list a.daylight-hover::after {
    transform: scaleX(1);
}

.daylight-friend-links-list a:hover,
.daylight-friend-links-list a.daylight-hover {
    background: #ffffff;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.daylight-friend-links-list a i {
    color: #3b82f6;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    width: 20px;
    text-align: center;
}

.daylight-friend-links-list a:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #1d4ed8;
}

.daylight-friend-links-list a span {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    transition: color 0.3s ease;
}

.daylight-friend-links-list a:hover span {
    color: #1e293b;
    font-weight: 600;
}


.daylight-friend-links-list a {
    opacity: 0;
    transform: translateY(20px);
    animation: linkFadeIn 0.6s ease-out forwards;
}

.daylight-friend-links-list a:nth-child(1) {
    animation-delay: 0.1s;
}

.daylight-friend-links-list a:nth-child(2) {
    animation-delay: 0.15s;
}

.daylight-friend-links-list a:nth-child(3) {
    animation-delay: 0.2s;
}

.daylight-friend-links-list a:nth-child(4) {
    animation-delay: 0.25s;
}

.daylight-friend-links-list a:nth-child(5) {
    animation-delay: 0.3s;
}

.daylight-friend-links-list a:nth-child(6) {
    animation-delay: 0.35s;
}

.daylight-friend-links-list a:nth-child(7) {
    animation-delay: 0.4s;
}

.daylight-friend-links-list a:nth-child(8) {
    animation-delay: 0.45s;
}

.daylight-friend-links-list a:nth-child(n+9) {
    animation-delay: 0.5s;
}

@keyframes linkFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.daylight-footer-container {
    width: 100%;
    padding: 40px 0 20px;
    position: relative;
    z-index: 2;
}

.daylight-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 30px;
}

.daylight-footer-main {
    display: flex;
    justify-content: center;
    align-items: center;
}


.daylight-footer-brand {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.daylight-footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.daylight-footer-title i {
    color: #3498db;
    font-size: 18px;
}

.daylight-footer-desc {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}


.daylight-footer-bottom {
    width: 100%;
    background: rgba(250, 250, 250, 0.9);
    border-top: 1px solid #f0f0f0;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.daylight-footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.copyright-text {
    color: #7f8c8d;
    font-size: 13px;
    font-weight: 500;
}

.icp-info {
    margin: 5px 0;
}

.icp-info a {
    color: #3498db;
    text-decoration: none;
    font-size: 12px;
    padding: 6px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 15px;
    transition: all 0.2s ease;
}

.icp-info a:hover {
    background: rgba(52, 152, 219, 0.2);
    color: #2980b9;
}

.powered-by {
    color: #95a5a6;
    font-size: 12px;
}

.daylight-highlight {
    color: #3498db;
    font-weight: 500;
}


.daylight-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    z-index: 9999;
    transition: width 0.3s ease;
}


.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


@media (max-width: 768px) {
    .daylight-footer {
        margin-top: 40px;
    }

    .daylight-friend-links-section {
        padding: 40px 0;
    }

    .daylight-friend-links-title {
        font-size: 22px;
    }

    .daylight-friend-links-desc {
        font-size: 14px;
    }

    .daylight-friend-links-list {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .daylight-friend-links-list a {
        padding: 15px 18px;
        font-size: 14px;
    }

    .daylight-footer-content {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .daylight-footer-title {
        font-size: 18px;
    }

    .daylight-footer-desc {
        font-size: 13px;
    }

    .daylight-footer-copyright {
        padding: 20px 15px;
        gap: 8px;
    }

    .copyright-text {
        font-size: 12px;
    }

    .icp-info a {
        font-size: 11px;
        padding: 5px 10px;
    }

    .powered-by {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .daylight-friend-links-section {
        padding: 30px 0;
    }

    .daylight-friend-links-title {
        font-size: 20px;
        flex-direction: column;
        gap: 8px;
    }

    .daylight-friend-links-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .daylight-friend-links-list a {
        padding: 14px 16px;
        font-size: 13px;
        gap: 12px;
    }

    .daylight-footer-content {
        padding: 0 10px;
    }

    .daylight-footer-copyright {
        padding: 15px 10px;
    }
}


.daylight-footer ::selection {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.daylight-footer ::-moz-selection {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}


@media (prefers-reduced-motion: reduce) {

    .wave,
    .ripple,
    .daylight-progress-bar,
    .daylight-friend-links-list a {
        animation: none !important;
    }

    .daylight-friend-links-list a {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


@media (prefers-color-scheme: dark) {
    .daylight-friend-links-section {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.9));
        border-color: #334155;
    }

    .daylight-friend-links-title {
        color: #f1f5f9;
    }

    .daylight-friend-links-desc {
        color: #94a3b8;
    }

    .daylight-friend-links-list a {
        background: #1e293b;
        border-color: #334155;
        color: #cbd5e1;
    }

    .daylight-friend-links-list a:hover {
        background: #334155;
        border-color: #3b82f6;
        color: #3b82f6;
    }
}