/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    overflow: hidden;
    position: relative;
}

.container {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    z-index: 1;
}

.error-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ícone de cadeado */
.lock-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.lock {
    width: 80px;
    height: 90px;
    position: relative;
    z-index: 2;
}

.lock-top {
    width: 50px;
    height: 40px;
    border: 8px solid #667eea;
    border-bottom: none;
    border-radius: 40px 40px 0 0;
    margin: 0 auto;
    position: relative;
}

.lock-body {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.keyhole {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.keyhole::after {
    content: '';
    width: 6px;
    height: 16px;
    background: white;
    position: absolute;
    top: 8px;
    left: 3px;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%);
}

.lock-shadow {
    width: 80px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(5px);
}

/* Código de erro */
.error-code {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.number {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: slideIn 0.6s ease-out backwards;
}

.number:nth-child(1) {
    animation-delay: 0.1s;
}

.number:nth-child(2) {
    animation-delay: 0.2s;
}

.number:nth-child(3) {
    animation-delay: 0.3s;
}

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

/* Título e mensagem */
.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Sugestões */
.suggestions {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.suggestions p {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.suggestions ul {
    list-style: none;
    padding-left: 0;
}

.suggestions li {
    color: #4a5568;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Botões */
.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(-4px);
}

/* Decoração de fundo */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatCircle 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .error-content {
        padding: 2rem 1.5rem;
    }
    
    .error-code .number {
        font-size: 3.5rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .lock {
        width: 60px;
        height: 70px;
    }
    
    .lock-top {
        width: 40px;
        height: 30px;
        border-width: 6px;
    }
    
    .lock-body {
        width: 60px;
        height: 50px;
    }
    
    .error-code .number {
        font-size: 2.5rem;
        gap: 0.5rem;
    }
    
    .suggestions {
        padding: 1rem;
    }
}