/* Footer */
.footer {
    width: 100%;
    background: #000;
    padding: 80px 40px 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Footer Stars - uniquement à l'extérieur du globe */
.footer-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Masquer les étoiles dans la zone du globe (70% en bas) */
    clip-path: polygon(0% 0%,
            100% 0%,
            100% 70%,
            0% 70%);
}

/* Footer Glow */
.footer-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.15) 0%, rgba(139, 92, 246, 0.1) 30%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: footerPulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes footerPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Footer Globe - Lumières uniquement à l'extérieur */
.footer-globe-container {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}


.footer-globe {
    position: absolute;
    bottom: -280px;
    left: 50%;
    transform: translateX(-50%);
    width: 117%;
    height: 489px;
    background: #000;
    border-radius: 56%;
    box-shadow: -9px -4px 45px rgba(255, 10, 255, 0.3), 0 -10px 100px rgba(255, 255, 255, 0.2), 7px 33px 140px rgba(251, 255, 255, 0.1);
    border-top: 2px solid rgba(255, 255, 255, 0.75);
}


/* Halo lumineux au-dessus du globe */
.footer-globe::after {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 250px;

    filter: blur(60px);
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 2;
    padding-bottom: 180px;
}

.footer-left {
    flex: 1;
    max-width: 600px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.footer-logo img {
    width: 40px;
    height: auto;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.award-badge svg {
    width: 14px;
    height: 14px;
    color: #FFD700;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 42px);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.footer-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-link svg {
    width: 16px;
    height: 16px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    border-radius: 118px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.footer-credit {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.footer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-time {
    text-align: right;
}

.time-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Footer Responsive */
@media (max-width: 928px) {
    .footer {
        padding: 60px 20px 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-right {
        align-items: flex-start;
        width: 100%;
    }

    .footer-avatar {
        width: 100px;
        height: 100px;
    }

    .footer-time {
        text-align: left;
    }

    .footer-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-globe {
        position: absolute;
        bottom: -280px;
        left: 50%;
        transform: translateX(-50%);
        width: 203%;
        height: 427px;
        background: #000;
        border-radius: 56%;
        box-shadow: -9px -4px 45px rgba(255, 10, 255, 0.3), 0 -10px 100px rgba(255, 255, 255, 0.2), 7px 33px 140px rgba(251, 255, 255, 0.1);
        border-top: 2px solid rgba(255, 255, 255, 0.75);
    }
}