/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4facfe, transparent);
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Brand */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo img {
    margin-right: 12px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #b8c6db;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-btn:hover::before {
    transform: scale(1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook {
    background: rgba(59, 89, 152, 0.2);
    border: 1px solid rgba(59, 89, 152, 0.3);
}
.social-btn.facebook::before { background: #3b5998; }

.social-btn.zalo {
    background: rgba(0, 155, 249, 0.2);
    border: 1px solid rgba(0, 155, 249, 0.3);
}
.social-btn.zalo::before { background: #009bf9; }

.social-btn.telegram {
    background: rgba(0, 136, 204, 0.2);
    border: 1px solid rgba(0, 136, 204, 0.3);
}
.social-btn.telegram::before { background: #0088cc; }

.social-btn.youtube {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
}
.social-btn.youtube::before { background: #ff0000; }

/* Footer Links Section */
.footer-links-section h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-section h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b8c6db;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #4facfe;
    font-size: 8px;
    transform: translateX(-5px);
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.footer-links a:hover::before {
    transform: translateX(0);
    opacity: 1;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b8c6db;
    font-size: 14px;
}

.contact-item i {
    width: 18px;
    color: #4facfe;
    font-size: 16px;
}

.contact-item a {
    color: #b8c6db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4facfe;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    color: #b8c6db;
    font-size: 13px;
    line-height: 1.5;
}

.made-with-love {
    margin-top: 5px !important;
}

.heart {
    color: #e25555;
    animation: heartbeat 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 50%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.1); }
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: #b8c6db;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4facfe;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-info {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .main-footer .container {
        padding: 0 15px;
    }
    
    .footer-logo span {
        font-size: 20px;
    }
    
    .social-btn {
        width: 35px;
        height: 35px;
    }
    
    .footer-social {
        gap: 8px;
    }
}