.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.4);
}

.back-to-top:hover {
    background: #ff8a65;
    transform: translateY(-2px);
}

.back-to-top.show {
    display: flex;
}

.sunny-footer {
    background:
        radial-gradient(ellipse at 20% 10%, #87ceeb 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, #98d8e8 0%, transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, #f0f8ff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

.sunny-footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.sunny-footer-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.sunny-footer-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: sunny-float 25s ease-in-out infinite;
}

.sunny-footer-shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.sunny-footer-shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 8s;
}

.sunny-footer-shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 70%;
    animation-delay: 16s;
}

@keyframes sunny-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }

    33% {
        transform: translateY(-15px) rotate(120deg);
        opacity: 0.8;
    }

    66% {
        transform: translateY(10px) rotate(240deg);
        opacity: 0.6;
    }
}

.sunny-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 20px;
    position: relative;
    z-index: 1;
}

.sunny-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.sunny-footer-section {
    color: #333;
}

.sunny-footer-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sunny-footer-title i {
    color: #ff6b35;
}

.sunny-footer-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sunny-footer-subtitle i {
    color: #ff6b35;
}

.sunny-footer-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.sunny-footer-stats {
    display: flex;
    gap: 30px;
}

.sunny-stat {
    text-align: center;
}

.sunny-stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sunny-stat-label {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.sunny-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sunny-footer-links li {
    margin-bottom: 12px;
}

.sunny-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 6px 0;
    position: relative;
    overflow: hidden;
}

.sunny-footer-link:hover,
.sunny-footer-link.sunny-hover {
    color: #ff6b35;
    transform: translateX(5px);
}

.sunny-footer-link i {
    font-size: 12px;
    opacity: 0.8;
}

.sunny-footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sunny-footer-copyright {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.sunny-footer-copyright a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sunny-footer-copyright a:hover {
    color: #ff8a65;
}

.sunny-footer-powered {
    margin-top: 8px;
}

.sunny-highlight {
    color: #ff6b35;
    font-weight: 600;
}

.sunny-heart {
    color: #ff6b6b;
    animation: sunny-heartbeat 2s ease-in-out infinite;
}

@keyframes sunny-heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.sunny-footer-social {
    display: flex;
    gap: 15px;
}

.sunny-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sunny-social-link:hover,
.sunny-social-link.sunny-pulse {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.sunny-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.sunny-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sunny-back-to-top:hover {
    background: rgba(255, 107, 53, 0.7);
    border-color: rgba(255, 107, 53, 0.8);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.sunny-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ffd700, #4caf50);
    z-index: 9999;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

@media (max-width: 768px) {
    .sunny-footer-container {
        padding: 30px 15px 15px;
    }

    .sunny-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .sunny-footer-title {
        font-size: 20px;
    }

    .sunny-footer-subtitle {
        font-size: 16px;
    }

    .sunny-footer-stats {
        justify-content: center;
        gap: 40px;
    }

    .sunny-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .sunny-footer-social {
        justify-content: center;
    }

    .sunny-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

.sunny-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    transform: scale(0);
    animation: sunny-ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes sunny-ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.sunny-friend-links-section {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sunny-friend-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 50%, rgba(255, 215, 0, 0.03) 100%);
    pointer-events: none;
}

.sunny-friend-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.sunny-friend-links-header {
    text-align: center;
    margin-bottom: 30px;
}

.sunny-friend-links-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sunny-friend-links-title i {
    color: #ff6b35;
    font-size: 22px;
}

.sunny-friend-links-desc {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.sunny-friend-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: start;
}

.sunny-friend-links-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sunny-friend-links-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.sunny-friend-links-list a:hover::before {
    left: 100%;
}

.sunny-friend-links-list a:hover {
    background: #fff;
    border-color: #ff6b35;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.sunny-friend-links-list a i {
    font-size: 18px;
    color: #ff6b35;
    flex-shrink: 0;
}

.sunny-friend-links-list a span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.sunny-friend-links-list a::after {
    content: '\f08e';
    font-family: 'FontAwesome';
    font-size: 12px;
    color: #ff6b35;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sunny-friend-links-list a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.sunny-friend-links-list a:not([class*="fa-"])::before {
    content: '\f0c1';
    font-family: 'FontAwesome';
    font-size: 16px;
    color: #ff6b35;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .sunny-friend-links-section {
        padding: 30px 0;
        margin: 30px 0;
    }

    .sunny-friend-links-container {
        padding: 0 15px;
    }

    .sunny-friend-links-title {
        font-size: 20px;
    }

    .sunny-friend-links-desc {
        font-size: 14px;
    }

    .sunny-friend-links-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }

    .sunny-friend-links-list a {
        padding: 12px 15px;
        font-size: 13px;
    }

    .sunny-friend-links-list a i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sunny-friend-links-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sunny-friend-links-list a {
        padding: 10px 12px;
    }
}

.sunny-friend-links-list a[href*="github"] {
    border-color: rgba(0, 0, 0, 0.1);
}

.sunny-friend-links-list a[href*="github"]:hover {
    background: #fff;
    border-color: #333;
}

.sunny-friend-links-list a[href*="blog"] {
    border-color: rgba(255, 182, 193, 0.2);
}

.sunny-friend-links-list a[href*="blog"]:hover {
    background: #fff;
    border-color: #ff69b4;
}

.sunny-friend-links-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.sunny-friend-links-empty i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: #ff6b35;
}

.sunny-friend-links-empty p {
    font-size: 16px;
    margin-bottom: 20px;
}

.sunny-friend-links-empty a {
    color: #ff6b35;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #ff6b35;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sunny-friend-links-empty a:hover {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

.sunny-scroll-controls {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sunny-scroll-controls.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sunny-scroll-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107, #ffb300);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.sunny-scroll-btn.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.sunny-scroll-btn:hover {
    background: linear-gradient(135deg, #ffb300, #ffa000);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4);
}

.sunny-scroll-btn:active {
    transform: scale(0.95);
}

.sunny-scroll-btn i {
    font-size: 16px;
    color: #333;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.sunny-scroll-text {
    font-size: 10px;
    color: #333;
    font-weight: 500;
    line-height: 1;
    transition: all 0.3s ease;
}

.sunny-scroll-btn:hover i,
.sunny-scroll-btn:hover .sunny-scroll-text {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


.sunny-scroll-btn .sunny-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: sunny-ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes sunny-ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


.sunny-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #ffb300, #ffa000);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}


@media (max-width: 768px) {
    .sunny-scroll-controls {
        right: 20px;
        bottom: 20px;
        gap: 8px;
    }

    .sunny-scroll-btn {
        width: 45px;
        height: 45px;
    }

    .sunny-scroll-btn i {
        font-size: 14px;
    }

    .sunny-scroll-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .sunny-scroll-controls {
        right: 15px;
        bottom: 15px;
        gap: 6px;
    }

    .sunny-scroll-btn {
        width: 40px;
        height: 40px;
    }

    .sunny-scroll-btn i {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .sunny-scroll-text {
        font-size: 8px;
    }
}


.sunny-dark-mode .sunny-scroll-btn {
    background: linear-gradient(135deg, #4a4a4a, #333);
    border-color: rgba(255, 255, 255, 0.1);
}

.sunny-dark-mode .sunny-scroll-btn:hover {
    background: linear-gradient(135deg, #555, #444);
}

.sunny-dark-mode .sunny-scroll-btn i,
.sunny-dark-mode .sunny-scroll-text {
    color: #fff;
}

.sunny-scroll-btn.sunny-scroll-top {
    transition-delay: 0.1s;
}

.sunny-scroll-btn.sunny-scroll-bottom {
    transition-delay: 0.2s;
}