129 lines
2.3 KiB
CSS
129 lines
2.3 KiB
CSS
:root {
|
|
--primary: #6366f1;
|
|
--primary-hover: #4f46e5;
|
|
--background: #f8fafc;
|
|
--text: #0f172a;
|
|
--gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Segoe UI', system-ui, sans-serif;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--background);
|
|
padding: 1rem;
|
|
line-height: 1.5;
|
|
color: var(--text);
|
|
}
|
|
|
|
.error-container {
|
|
text-align: center;
|
|
max-width: 600px;
|
|
padding: 2rem;
|
|
background: white;
|
|
border-radius: 1.5rem;
|
|
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.error-container::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 8px;
|
|
background: var(--gradient);
|
|
}
|
|
|
|
.error-graphic {
|
|
width: 200px;
|
|
height: 200px;
|
|
margin: 0 auto 2rem;
|
|
position: relative;
|
|
animation: float 3s ease-in-out infinite;
|
|
}
|
|
|
|
.error-code {
|
|
font-size: 4rem;
|
|
font-weight: 800;
|
|
background: var(--gradient);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.875rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.error-message {
|
|
color: #64748b;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 0.5rem;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
color: white;
|
|
border: 2px solid var(--primary);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
border: 2px solid #e2e8f0;
|
|
color: var(--text);
|
|
background: white;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
border-color: #cbd5e1;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-20px); }
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.error-code {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
} |