.footer {
    position: relative;
    background: linear-gradient(135deg, #07040a 0%, #0f0a1d 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    padding: 80px 40px 20px;
    z-index: 10;
    box-shadow: inset 0 10px 30px -15px rgba(157, 78, 221, 0.3);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.75rem;
    color: #a0a0a0;
    background: transparent;
}

/* Top cut */
.footer::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(120deg, transparent 0%, #07040a 60%, #0f0a1d 100%);
    clip-path: polygon(0 100%, 100% 20%, 100% 100%, 0% 100%);
    z-index: -1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: nowrap;
}

/* Left block */
.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 320px;
    position: relative;
    top: 15px;
}

.footer-left img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1.5px solid rgba(157, 78, 221, 0.4);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-left img:hover {
    border-color: #9d4edd;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4), 0 0 30px rgba(157, 78, 221, 0.1);
    transform: translateY(-3px);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-info strong {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.footer-slogan {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin: 2px 0;
}

/* Links */
.footer-links {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    gap: 12px 35px;
    flex: 1;
    max-width: 400px;
    position: relative;
    top: -10px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
    display: inline-block;
    width: max-content;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9d4edd, #ff007f);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Social media */
.footer-icons {
    display: flex;
    gap: 20px;
    min-width: 160px;
    position: relative;
    top: 20px;
}

.footer-icons a {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 42px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-icons a:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
}

/* Glow effect */
.footer-icons a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 55px;
    height: 55px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-icons a:hover::before {
    opacity: 1;
}

.footer-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 40px;
        text-align: center;
    }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .footer-left {
        flex-direction: column;
        top: 0;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        top: 0;
    }
    .footer-icons {
        justify-content: center;
        top: 0;
    }
}