.container {
    text-align: center;
    color: #ff5e16ed;
    width: 100%;
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    margin: 20px auto;
    padding: 100px 0;
}

.error-404 {
    font-size: 120px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
.message h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.message p {
    font-size: 24px;
    margin-top: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.back-home {
    display: inline-block;
    padding: 14px 40px;
    background: #ff5e16ed;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #ff5e16ed;
    backdrop-filter: blur(10px);
}

.back-home:hover {
    background: #ff5e16ed;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.links a:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .error-404 {
        font-size: 80px;
    }
    
    .message {
        font-size: 18px;
    }
    
    .back-home {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/** 500 异常 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #1D1D1D;
    line-height: 1.6;
}

.error-container {
    /* max-width: 800px; */
    /* margin: 100px auto; */
    padding: 80px;
    /* background-color: #fff; */
    border-radius: 12px;
    /* box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); */
    text-align: center;
}

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

.error-code {
    font-size: 120px;
    font-weight: bold;
    color: #ff5905;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.error-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #343a40;
}

.error-message {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #ff5905;
    color: #fff;
}

.btn-primary:hover {
    background-color: #ff6600;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #1D1D1D;
    border: 1px solid #d8d8d8;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
}

.error-icon {
    font-size: 80px;
    margin-bottom: 30px;
    color: #ff5905;
}

@media (max-width: 768px) {
    .error-container {
        margin: 50px 20px;
        padding: 30px 20px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
        margin-bottom: 10px;
    }
}
