/* ============================================
   PREMIUM MODERN FOOTER STYLES
   Clean White Design with Advanced Animations
   ============================================ */

/* Keyframe Animations */
@keyframes starPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.4)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8)); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Modern Footer Base */
.modern-footer {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 60px 0 0;
    margin-top: 80px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.footer-share-section {
    text-align: center;
    margin-bottom: 60px;
}

.share-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.share-fb {
    background: #1877f2;
    color: white;
}

.share-x {
    background: #000000;
    color: white;
}

.share-linkedin {
    background: #0077b5;
    color: white;
}

.share-reddit {
    background: #ff4500;
    color: white;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 200px repeat(4, 1fr);
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-products {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.footer-links-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.footer-links-list a:hover {
    color: #1e293b;
    transform: translateX(4px);
}

.footer-links-list a:hover::after {
    width: 100%;
}

.footer-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-product-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.footer-product-link:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #e2e8f0;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.footer-product-link svg {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-product-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
}

@media (max-width: 1024px) {
    .footer-bottom-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .footer-bottom-left {
        order: 1;
    }
    
    .footer-rating {
        order: 2;
    }
    
    .footer-social-icons {
        order: 3;
        justify-content: center;
    }
}

.footer-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-support-btn:hover {
    background: #f8fafc;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.footer-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-rating:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.2);
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars svg {
    animation: starPulse 2s ease-in-out infinite;
}

.rating-stars svg:nth-child(1) { animation-delay: 0s; }
.rating-stars svg:nth-child(2) { animation-delay: 0.1s; }
.rating-stars svg:nth-child(3) { animation-delay: 0.2s; }
.rating-stars svg:nth-child(4) { animation-delay: 0.3s; }
.rating-stars svg:nth-child(5) { animation-delay: 0.4s; }

.rating-text strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.rating-text p {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-icons a:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: white;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 6px 16px rgba(30, 41, 59, 0.25);
}

.footer-final-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .footer-final-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-legal-links {
        justify-content: center;
    }
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.footer-legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #667eea;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal-links a:hover {
    color: #1e293b;
}

.footer-legal-links a:hover::after {
    width: 100%;
}

.footer-copyright {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.heart {
    color: #ef4444;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.4));
}

/* Responsive Improvements */
@media (max-width: 640px) {
    .modern-footer {
        padding: 40px 0 0;
        margin-top: 60px;
    }
    
    .share-title {
        font-size: 20px;
    }
    
    .share-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .footer-rating {
        padding: 12px 16px;
    }
    
    .rating-text strong {
        font-size: 20px;
    }
}
