.thunder-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);
}

.thunder-scroll-controls.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.thunder-scroll-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.thunder-scroll-btn.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.thunder-scroll-btn:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.thunder-scroll-btn:active {
    transform: scale(0.95);
}

.thunder-scroll-btn i {
    font-size: 16px;
    color: #fff;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.thunder-scroll-text {
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    line-height: 1;
    transition: all 0.3s ease;
}


.thunder-scroll-btn .thunder-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: thunder-ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes thunder-ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


.thunder-footer {
    background:
        radial-gradient(ellipse at 20% 10%, #1a1a3a 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, #16213e 0%, transparent 60%),
        linear-gradient(180deg, rgba(44, 62, 80, 0.8) 0%, #0f1419 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

.thunder-footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.thunder-footer-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.thunder-footer-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.05);
    animation: thunder-float 25s ease-in-out infinite;
}

.thunder-footer-shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.thunder-footer-shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 8s;
}

.thunder-footer-shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 70%;
    animation-delay: 16s;
}

@keyframes thunder-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

.thunder-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 20px;
    position: relative;
    z-index: 1;
}

.thunder-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.thunder-footer-section {
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: thunder-fade-in 0.6s ease forwards;
}

@keyframes thunder-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thunder-footer-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
}

.thunder-footer-title i {
    color: rgba(59, 130, 246, 0.8);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.thunder-footer-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.thunder-footer-subtitle i {
    color: rgba(59, 130, 246, 0.8);
}

.thunder-footer-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.thunder-footer-stats {
    display: flex;
    gap: 30px;
}

.thunder-stat {
    text-align: center;
}

.thunder-stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: rgba(59, 130, 246, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.thunder-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.thunder-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thunder-footer-links li {
    margin-bottom: 12px;
}

.thunder-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 6px 0;
    position: relative;
    overflow: hidden;
}

.thunder-footer-link:hover,
.thunder-footer-link.thunder-hover {
    color: rgba(59, 130, 246, 0.9);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.thunder-footer-link i {
    font-size: 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.thunder-footer-link:hover i {
    color: rgba(59, 130, 246, 0.9);
    text-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}

.thunder-footer-bottom {
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thunder-footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

.thunder-footer-copyright a {
    color: rgba(59, 130, 246, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.thunder-footer-copyright a:hover {
    color: rgba(59, 130, 246, 1);
    text-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
}

.thunder-footer-powered {
    margin-top: 8px;
}

.thunder-highlight {
    color: rgba(59, 130, 246, 0.9);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.thunder-heart {
    color: #ff6b6b;
    animation: thunder-heartbeat 2s ease-in-out infinite;
}

@keyframes thunder-heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.thunder-footer-social {
    display: flex;
    gap: 15px;
}

.thunder-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.thunder-social-link:hover,
.thunder-social-link.thunder-pulse {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    color: rgba(59, 130, 246, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}


.thunder-friend-links-section {
    background: rgba(59, 130, 246, 0.08);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 40px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.thunder-friend-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%, rgba(139, 92, 246, 0.03) 100%);
    pointer-events: none;
}

.thunder-friend-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.thunder-friend-links-header {
    text-align: center;
    margin-bottom: 30px;
}

.thunder-friend-links-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.thunder-friend-links-title i {
    color: rgba(59, 130, 246, 0.8);
    font-size: 22px;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.thunder-friend-links-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    margin: 0 auto;
}

.thunder-friend-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: start;
}

.thunder-friend-links-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.thunder-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.2), transparent);
    transition: left 0.5s ease;
}

.thunder-friend-links-list a:hover::before {
    left: 100%;
}

.thunder-friend-links-list a:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: rgba(59, 130, 246, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.thunder-friend-links-list a i {
    font-size: 18px;
    color: rgba(59, 130, 246, 0.8);
    flex-shrink: 0;
}

.thunder-friend-links-list a span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}


.thunder-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    transform: scale(0);
    animation: thunder-ripple-animation 0.6s linear;
    pointer-events: none;
}


@media (max-width: 768px) {
    .thunder-scroll-controls {
        right: 20px;
        bottom: 20px;
        gap: 8px;
    }

    .thunder-scroll-btn {
        width: 45px;
        height: 45px;
    }

    .thunder-scroll-btn i {
        font-size: 14px;
    }

    .thunder-scroll-text {
        font-size: 9px;
    }

    .thunder-footer-container {
        padding: 30px 15px 15px;
    }

    .thunder-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .thunder-footer-title {
        font-size: 20px;
    }

    .thunder-footer-subtitle {
        font-size: 16px;
    }

    .thunder-footer-stats {
        justify-content: center;
        gap: 40px;
    }

    .thunder-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .thunder-footer-social {
        justify-content: center;
    }

    .thunder-friend-links-section {
        padding: 30px 0;
        margin: 30px 0;
    }

    .thunder-friend-links-container {
        padding: 0 15px;
    }

    .thunder-friend-links-title {
        font-size: 20px;
    }

    .thunder-friend-links-desc {
        font-size: 14px;
    }

    .thunder-friend-links-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }

    .thunder-friend-links-list a {
        padding: 12px 15px;
        font-size: 13px;
    }

    .thunder-friend-links-list a i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .thunder-scroll-controls {
        right: 15px;
        bottom: 15px;
        gap: 6px;
    }

    .thunder-scroll-btn {
        width: 40px;
        height: 40px;
    }

    .thunder-scroll-btn i {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .thunder-scroll-text {
        font-size: 8px;
    }

    .thunder-friend-links-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .thunder-friend-links-list a {
        padding: 10px 12px;
    }
}


.thunder-scroll-btn.thunder-scroll-top {
    transition-delay: 0.1s;
}

.thunder-scroll-btn.thunder-scroll-bottom {
    transition-delay: 0.2s;
}


.thunder-paused .thunder-footer-shape {
    animation-play-state: paused;
}

.thunder-paused .thunder-heart {
    animation-play-state: paused;
}