/* =========================================
   ADMIN 404 - PÁGINA NO ENCONTRADA
   ========================================= */

.admin-404-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
}

.admin-404-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"><animate attributeName="r" values="2;4;2" dur="3s" repeatCount="indefinite"/></circle><circle cx="75" cy="75" r="3" fill="rgba(255,255,255,0.08)"><animate attributeName="r" values="3;6;3" dur="4s" repeatCount="indefinite"/></circle><circle cx="50" cy="10" r="1.5" fill="rgba(255,255,255,0.12)"><animate attributeName="r" values="1.5;3;1.5" dur="2.5s" repeatCount="indefinite"/></circle></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

.admin-404-content {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-404-animation {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.admin-404-number {
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: gradientShift 3s ease-in-out infinite, bounce 2s ease-in-out infinite;
    margin-bottom: 1rem;
    line-height: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.admin-404-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.admin-404-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-404-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    animation: slideInRight 1s ease-out 0.5s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-404-description {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.7s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.admin-404-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.9s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-404-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.admin-404-btn:hover::before {
    left: 100%;
}

.admin-404-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.admin-404-btn i {
    transition: transform 0.3s ease;
}

.admin-404-btn:hover i {
    transform: translateX(2px);
}

.admin-404-btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-color: rgba(255, 255, 255, 0.3);
}

.admin-404-btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
}

.admin-404-btn-secondary {
    background: rgba(108, 117, 125, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-404-btn-secondary:hover {
    background: rgba(108, 117, 125, 1);
}

/* Partículas flotantes */
.admin-404-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatUp 8s infinite linear;
}

.particle:nth-child(1) {
    left: 10%;
    width: 6px;
    height: 6px;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    width: 4px;
    height: 4px;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 30%;
    width: 8px;
    height: 8px;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 50%;
    width: 5px;
    height: 5px;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 70%;
    width: 7px;
    height: 7px;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 80%;
    width: 4px;
    height: 4px;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 90%;
    width: 6px;
    height: 6px;
    animation-delay: 6s;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 1;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-10vh) scale(1);
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .admin-404-number {
        font-size: 6rem;
    }
    
    .admin-404-title {
        font-size: 2rem;
    }
    
    .admin-404-subtitle {
        font-size: 1.1rem;
    }
    
    .admin-404-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .admin-404-btn {
        padding: 0.75rem 1.5rem;
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .admin-404-container {
        padding: 1rem;
    }
    
    .admin-404-number {
        font-size: 4.5rem;
    }
    
    .admin-404-title {
        font-size: 1.5rem;
    }
    
    .admin-404-subtitle {
        font-size: 1rem;
    }
    
    .admin-404-description {
        font-size: 0.9rem;
    }
}
