/* Remove White Space Below Footer */
html, body {
    margin: 0;
    padding: 0;
}

/* Premium Footer Design */
.footer-section {
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 50%, #0a0f1c 100%);
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(192, 139, 45, 0.5) 25%, 
        rgba(192, 139, 45, 0.8) 50%, 
        rgba(192, 139, 45, 0.5) 75%, 
        transparent
    );
}

/* Animated Background */
.footer-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(192, 139, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(178, 43, 43, 0.1) 0%, transparent 50%);
    animation: bgShift 15s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.05); }
}

/* Logo Section */
.footer-logo {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(192, 139, 45, 0.05), rgba(178, 43, 43, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(192, 139, 45, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(192, 139, 45, 0.3), rgba(178, 43, 43, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-logo:hover::before {
    opacity: 1;
}

.footer-logo:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(192, 139, 45, 0.08), rgba(178, 43, 43, 0.08));
    border-color: rgba(192, 139, 45, 0.3);
    box-shadow: 0 10px 40px rgba(192, 139, 45, 0.2);
}

.footer-logo img {
    transition: all 0.4s ease;
}

.footer-logo:hover img {
    filter: drop-shadow(0 0 20px rgba(192, 139, 45, 0.6));
}

.footer-logo h2 {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f5d061 0%, #C08B2D 50%, #f5d061 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* Section Titles */
.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C08B2D, #f5d061);
    border-radius: 10px;
}

.footer-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, rgba(192, 139, 45, 0.5), transparent);
    border-radius: 10px;
    filter: blur(8px);
}

.footer-title i {
    background: linear-gradient(135deg, #C08B2D, #f5d061);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Links */
.footer-links li {
    position: relative;
    overflow: hidden;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-right: 1.5rem;
}

.footer-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #C08B2D;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(192, 139, 45, 0.5);
}

.footer-link:hover {
    color: #f5d061;
    padding-right: 2rem;
}

.footer-link:hover::before {
    opacity: 1;
    animation: pulse 1.5s ease-in-out infinite;
}

.footer-link i {
    transition: all 0.3s ease;
}

.footer-link:hover i {
    transform: translateX(-3px);
    color: #f5d061;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(192, 139, 45, 0.7);
        transform: translateY(-50%) scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(192, 139, 45, 0);
        transform: translateY(-50%) scale(1.2);
    }
}

/* Social Links */
.social-links {
    gap: 0.875rem !important;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: currentColor;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #0d5fc9);
    border-color: #1877f2;
}

.social-link.twitter:hover {
    background: linear-gradient(135deg, #1da1f2, #0d8fd9);
    border-color: #1da1f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
}

.social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-color: #ff0000;
}

.social-link.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #006699);
    border-color: #0088cc;
}

/* Contact Info */
.contact-info {
    gap: 1.25rem !important;
}

.contact-item {
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(192, 139, 45, 0.08), rgba(178, 43, 43, 0.05));
    border-color: rgba(192, 139, 45, 0.2);
    transform: translateX(-5px);
}

.contact-icon {
    background: linear-gradient(135deg, #C08B2D, #B22B2B) !important;
    box-shadow: 0 4px 15px rgba(192, 139, 45, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 20px rgba(192, 139, 45, 0.5);
}

.contact-link, .contact-text {
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-link,
.contact-item:hover .contact-text {
    color: #ffffff;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, 
        rgba(192, 139, 45, 0.12) 0%, 
        rgba(178, 43, 43, 0.08) 50%,
        rgba(192, 139, 45, 0.12) 100%
    ) !important;
    border: 2px solid rgba(192, 139, 45, 0.25);
    border-radius: 20px !important;
    padding: 3rem !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 139, 45, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.newsletter-icon i {
    background: linear-gradient(135deg, #C08B2D, #f5d061);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.newsletter-title {
    background: linear-gradient(135deg, #ffffff 0%, #f5d061 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
    font-weight: 500;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.newsletter-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Bottom Footer */
.footer-bottom {
    border-top: 1px solid rgba(192, 139, 45, 0.2) !important;
    padding-top: 2rem !important;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(192, 139, 45, 0.5) 25%, 
        rgba(192, 139, 45, 0.8) 50%, 
        rgba(192, 139, 45, 0.5) 75%, 
        transparent
    );
    box-shadow: 0 0 20px rgba(192, 139, 45, 0.3);
}

.copyright {
    color: #94a3b8 !important;
}

.copyright i {
    color: #C08B2D;
}

.legal-link {
    color: #cbd5e1;
    transition: all 0.3s ease;
    position: relative;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C08B2D, #f5d061);
    transition: width 0.3s ease;
}

.legal-link:hover::after {
    width: 100%;
}

.legal-link:hover {
    color: #f5d061 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-section {
        padding: 3rem 1rem;
    }
    
    .newsletter-section {
        padding: 2rem 1.5rem !important;
    }
    
    .footer-title {
        font-size: 1.125rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
}

