/* =============================================
   FOOTER — APOCALYPTIC THEME
   ============================================= */

footer {
    background: #0a0c08;
    border-top: 1px solid rgba(200, 0, 4, 0.2);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Background Glow Effect */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C80004, transparent);
    opacity: 0.5;
    box-shadow: 0 0 50px 5px rgba(200, 0, 4, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

/* --- COLUMN 1: BRAND --- */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    display: inline-block;
    width: fit-content;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(200, 0, 4, 0.2));
}

.footer-desc {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Rajdhani', sans-serif;
    max-width: 300px;
    text-decoration: none;
}

/* --- COLUMN 2: QUICK LINKS (HIDDEN FOR NOW) --- */
.footer-title {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #C80004;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 10px;
    opacity: 0.5;
}

/* --- COLUMN 3: COMMUNITY --- */
.footer-social-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.btn-social {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Discord Button */
.btn-discord {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.2);
}

.btn-discord:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
}

/* Steam Button */
.btn-steam {
    background: rgba(23, 26, 33, 0.5);
    color: #c7d5e0;
    border-color: rgba(199, 213, 224, 0.2);
}

.btn-steam:hover {
    background: #171a21;
    color: #fff;
    box-shadow: 0 0 20px rgba(199, 213, 224, 0.2);
    transform: translateY(-2px);
}

/* Instagram Button */
.btn-instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
    border-color: rgba(225, 48, 108, 0.2);
}

.btn-instagram:hover {
    background: #E1306C;
    color: #fff;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.4);
    transform: translateY(-2px);
}

/* YouTube Button */
.btn-youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.2);
}

.btn-youtube:hover {
    background: #FF0000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* TikTok Button */
.btn-tiktok {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-tiktok:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    text-shadow: 2px 2px 0px #ff0050, -2px -2px 0px #00f2ea;
    transform: translateY(-2px);
}

/* Bottom Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #444;
    font-family: 'Rajdhani', sans-serif;
}

/* Force 3rd column for community even if middle is hidden */
.footer-col-right {
    grid-column: 3;
    text-align: right;
    align-items: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-col-right {
        grid-column: auto;
        align-items: center;
    }

    .footer-social-btns {
        align-items: center;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
