/* ----------------------------------------------------------
BADGE DE DESENVOLVEDORES
   ---------------------------------------------------------- */
.dev-badge {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 100;
    border: 1px solid rgba(0, 149, 217, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 149, 217, 0.1);
    perspective: 1000px;
    /* Para o efeito 3D */
    animation: devBadgeRotate3D 6s infinite ease-in-out;
}

.dark .dev-badge {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Borda Animada em Degradê - Cores mais vivas */
.dev-badge::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    z-index: -1;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5, #00d2ff, #3a7bd5);
    background-size: 300% 100%;
    border-radius: 14px;
    opacity: 0.4;
    animation: borderMove 4s linear infinite;
}

@keyframes devBadgeRotate3D {
    0% {
        transform: rotateY(0deg) translateY(0);
    }

    20% {
        transform: rotateY(360deg) translateY(-15px);
    }

    /* O "Drop Spin" rápido */
    40% {
        transform: rotateY(360deg) translateY(-10px);
    }

    60% {
        transform: rotateY(370deg) translateY(-12px);
    }

    80% {
        transform: rotateY(350deg) translateY(-8px);
    }

    100% {
        transform: rotateY(360deg) translateY(0);
    }
}

.dev-badge:hover {
    transform: scale(1.1) rotateY(0) rotateX(0) !important;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 35px rgba(0, 149, 217, 0.25);
}

.dark .dev-badge:hover {
    background: rgba(30, 41, 59, 0.95);
}

.dev-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    border-radius: 8px;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 149, 217, 0.3);
}

.dev-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0072A6;
    /* Azul mais vivo para tema claro */
    letter-spacing: 0.01em;
}

.dark .dev-badge span {
    color: #f1f5f9;
}

@media (max-width: 640px) {
    .dev-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 0.4rem 0.8rem;
    }
}