.main-footer {
    width: 100%;
    background: radial-gradient(circle at 50% -20%, #16213e 0%, #05070a 100%);
    padding: 100px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    clear: both;
}

.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

.footer-logo img {
    width: 45px;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.footer-desc {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social-inline {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon-box svg {
    width: 20px;
    height: 20px;
    fill: #9ca3af;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-icon-box:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon-box:hover svg {
    fill: white;
    transform: scale(1.1) rotate(5deg);
}

.social-icon-box.discord:hover { 
    background: #5865F2; 
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4); 
}

.social-icon-box.youtube:hover { 
    background: #FF0000; 
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); 
}

.social-icon-box.tiktok:hover { 
    background: #000000; 
    border-color: #fe2c55; 
    box-shadow: 0 0 20px rgba(254, 44, 85, 0.4); 
}

.social-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.social-icon-box:hover::before {
    left: 100%;
}

.lang-selector-container {
    position: relative;
    width: fit-content;
    margin-top: 15px;
}

.lang-selector-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.lang-selector-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
}

.lang-selector-box img {
    width: 20px;
    border-radius: 2px;
}

.chevron {
    font-size: 0.7rem;
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.lang-dropdown {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    background: rgba(10, 15, 28, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    padding: 8px;
    min-width: 160px;
    display: none;
    backdrop-filter: blur(15px);
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.lang-dropdown.show {
    display: block;
    animation: slideInUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #cbd5e1;
}

.lang-option:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #fff;
}

.lang-option img {
    width: 20px;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(15px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-col a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 16px;
    transition: all 0.3s ease-out;
    position: relative;
    padding-left: 0;
    width: fit-content;
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 15px;
}

.footer-col a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: all 0.3s ease;
    border-radius: 2px;
    opacity: 0;
}

.footer-col a:hover::before {
    width: 8px;
    left: 0;
    opacity: 1;
}

.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-copyright {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
    color: #fff;
}

.footer-disclaimer {
    color: #9ca3af;
    font-size: 0.75rem;
    opacity: 0.4;
}

@media (max-width: 900px) {
    .footer-top { 
        grid-template-columns: 1fr 1fr; 
        gap: 40px; 
    }
    .footer-brand-col { 
        grid-column: span 2; 
        text-align: center; 
        align-items: center; 
        margin-bottom: 20px; 
    }
    .footer-social-inline { 
        justify-content: center; 
    }
    .lang-selector-box {
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .footer-top { 
        grid-template-columns: 1fr; 
    }
    .footer-brand-col { 
        grid-column: span 1; 
    }
}