/* Footer Styles */
.site-footer {
    position: relative;
    margin-top: 60px;
    padding: 40px 0 20px;
    background: linear-gradient(to right, var(--dark), #131339);
    border-top: 4px solid var(--primary);
    color: var(--light);
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Brand Section */
.footer-section.brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light);
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-tagline {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Social Icons Section */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--light);
    transition: transform 0.3s ease, color 0.3s ease;
    width: 70px;
    text-align: center;
}

.social-icon.icon-only {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.discord-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    color: #7289DA;
}

.github-icon {
    color: #f0f6fc;
}

.youtube-icon {
    color: #FF0000;
}

.social-icon .icon-label {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-top: 5px;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.icon-only:hover {
    transform: scale(1.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Websites Section */
.website-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.website-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light);
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.website-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.website-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: var(--secondary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: var(--light);
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

/* Decorative Elements */
.footer-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    overflow: hidden;
}

.pixel-decoration {
    position: absolute;
    bottom: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
}

.pixel-decoration.left {
    left: 0;
    width: 60%;
    animation: pixel-slide-right 8s infinite linear;
}

.pixel-decoration.right {
    right: 0;
    width: 30%;
    animation: pixel-slide-left 8s infinite linear;
}

@keyframes pixel-slide-right {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pixel-slide-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-200%); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-section.brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section.brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
