/* resources/css/footer.css - GuideON Modern Update */

:root {
    --f-navy:       #07090f;
    --f-border:     rgba(255,255,255,0.06);
    --f-cyan:       #1de9d5;
    --f-blue:       #3b8eff;
    --f-purple:     #8b5cf6;
    --f-text:       #e8eef8;
    --f-muted:      #64748b;
    --f-grad:       linear-gradient(90deg, #1de9d5, #3b8eff, #8b5cf6);
}

.main-footer {
    position: relative;
    background: var(--f-navy);
    padding: 80px 0 0;
    overflow: hidden;
    border-top: 1px solid var(--f-border);
}

/* Ligne néon animée */
.main-footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; width: 100%; height: 2px;
    background: var(--f-grad);
    background-size: 200% auto;
    animation: gradShift 4s linear infinite;
}

@keyframes gradShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Orbe de fond */
.main-footer::after {
    content: '';
    position: absolute;
    bottom: -150px; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 400px;
    background: radial-gradient(ellipse at center, rgba(59,142,255,0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* BRAND & LOGO */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.logo-icon {
    width: 42px; height: 42px;
    background: var(--f-grad);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(99,102,241,0.3);
}

.footer-logo span {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
}

.footer-logo span span { color: var(--f-cyan); }

.footer-brand p {
    color: var(--f-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 320px;
}

/* SOCIALS */
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--f-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--f-muted);
    transition: 0.3s;
    text-decoration: none;
}
.social-link:hover {
    background: var(--f-grad);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

/* LINKS */
.footer-links h4, .footer-status h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links h4 i { color: var(--f-blue); font-size: 0.9rem; }

.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 12px; }

.footer-links ul li a {
    color: var(--f-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: #fff;
    transform: translateX(6px);
}

/* STATUS CARD */
.status-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--f-border);
    padding: 15px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.status-card:hover { border-color: var(--f-cyan); background: rgba(29,233,213,0.03); }

.status-dot.online {
    width: 10px; height: 10px;
    background: var(--f-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--f-cyan);
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.status-text span { display: block; color: #fff; font-size: 0.85rem; font-weight: 600; }
.status-text small { color: var(--f-cyan); font-size: 0.7rem; opacity: 0.8; }

.server-count { margin-top: 15px; font-size: 0.8rem; color: var(--f-muted); }
.server-count strong { color: var(--f-blue); }

/* BOTTOM BAR */
.footer-bottom {
    border-top: 1px solid var(--f-border);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--f-muted);
}

.disclaimer span { color: var(--f-blue); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-status { grid-column: span 3; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-status { grid-column: span 2; }
}
